Пример #1
0
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
}
Пример #2
0
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
}