MCPcopy
hub / github.com/g3n/engine / SetText

Method SetText

gui/imagelabel.go:55–58  ·  view source on GitHub ↗

SetText sets the text of the image label

(text string)

Source from the content-addressed store, hash-verified

53
54// SetText sets the text of the image label
55func (il *ImageLabel) SetText(text string) {
56
57 il.label.SetText(text)
58}
59
60// Text returns the current label text
61func (il *ImageLabel) Text() string {

Callers 2

SetIconMethod · 0.45
CopyFieldsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected