func newGroup(text string, control Control) Group { g := new(group) g.container = newContainer(control) g._id = C.newGroup(g.container.id) g.SetText(text) return g }
func newGroup(text string, control Control) Group { g := new(group) g.child = control g.container = newContainer(g.child.resize) g.child.setParent(g.container.parent()) g.controlSingleObject = newControlSingleObject(C.newGroup(g.container.id)) g.SetText(text) return g }