MCPcopy Create free account
hub / github.com/andlabs/ui / SetText

Method SetText

label.go:40–44  ·  view source on GitHub ↗

SetText sets the Label's text to text.

(text string)

Source from the content-addressed store, hash-verified

38
39// SetText sets the Label's text to text.
40func (l *Label) SetText(text string) {
41 ctext := C.CString(text)
42 C.uiLabelSetText(l.l, ctext)
43 freestr(ctext)
44}

Callers 2

setupUIFunction · 0.95
counterFunction · 0.45

Calls 1

freestrFunction · 0.85

Tested by

no test coverage detected