Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
209
func
(ed *Editor) WidgetValue() any {
return
ed.Buffer.Text() }
210
211
func
(ed *Editor) SetWidgetValue(value any) error {
212
ed.Buffer.SetString(reflectx.ToString(value))
Callers
nothing calls this directly
Calls
1
Text
Method · 0.45
Tested by
no test coverage detected