summaryrefslogtreecommitdiff
path: root/toolkit/andlabs/label.go
blob: 0fa075e77a4c5557f825abaa7952a886869ee70c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package main

import (
	"github.com/andlabs/ui"
	_ "github.com/andlabs/ui/winmanifest"
)

func (p *node) newLabel(n *node) {
	log(logInfo, "NewLabel()", n.Name)

	newt := new(andlabsT)
	c := ui.NewLabel(n.Name)
	newt.uiLabel = c
	newt.uiControl = c

	n.tk = newt
	p.place(n)
}