MCPcopy
hub / github.com/lxn/walk / SetText

Method SetText

label.go:89–99  ·  view source on GitHub ↗
(text string)

Source from the content-addressed store, hash-verified

87}
88
89func (l *Label) SetText(text string) error {
90 if changed, err := l.setText(text); err != nil {
91 return err
92 } else if !changed {
93 return nil
94 }
95
96 l.textChangedPublisher.Publish()
97
98 return nil
99}

Callers 12

SetTitleMethod · 0.45
SetToolTipTextMethod · 0.45
setTextFromValueMethod · 0.45
processCharMethod · 0.45
NewLabelWithStyleFunction · 0.45
PresentErrorMethod · 0.45
CreateMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
initMethod · 0.45

Calls 2

setTextMethod · 0.45
PublishMethod · 0.45

Tested by

no test coverage detected