debian/andlabs/label.go

17 lines
253 B
Go

package main
import (
"github.com/andlabs/ui"
_ "github.com/andlabs/ui/winmanifest"
)
func (p *node) newLabel(n *node) {
newt := new(guiWidget)
c := ui.NewLabel(getString(n.value))
newt.uiLabel = c
newt.uiControl = c
n.tk = newt
p.place(n)
}