MCPcopy Create free account
hub / github.com/cogentcore/core / WidgetValue

Method WidgetValue

texteditor/editor.go:209–209  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

207}
208
209func (ed *Editor) WidgetValue() any { return ed.Buffer.Text() }
210
211func (ed *Editor) SetWidgetValue(value any) error {
212 ed.Buffer.SetString(reflectx.ToString(value))

Callers

nothing calls this directly

Calls 1

TextMethod · 0.45

Tested by

no test coverage detected