debian/andlabs/group.go

19 lines
277 B
Go

package main
import (
"github.com/andlabs/ui"
_ "github.com/andlabs/ui/winmanifest"
)
func (p *node) newGroup(n *node) {
newt := new(guiWidget)
g := ui.NewGroup(getString(n.value))
g.SetMargined(margin)
newt.uiGroup = g
newt.uiControl = g
n.tk = newt
p.place(n)
}