Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.
40
func
(l *Label) SetText(text string) {
41
ctext := C.CString(text)
42
C.uiLabelSetText(l.l, ctext)
43
freestr(ctext)
44
}
Callers
2
setupUI
Function · 0.95
counter
Function · 0.45
Calls
1
freestr
Function · 0.85
Tested by
no test coverage detected