debian/andlabs/label.go

17 lines
253 B
Go
Raw Normal View History

2024-01-01 16:11:54 -06:00
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))
2024-01-01 16:11:54 -06:00
newt.uiLabel = c
newt.uiControl = c
n.tk = newt
p.place(n)
}