MCPcopy Index your code
hub / github.com/g3n/engine / SetStyles

Method SetStyles

gui/edit.go:106–110  ·  view source on GitHub ↗

SetStyles set the button styles overriding the default style

(es *EditStyles)

Source from the content-addressed store, hash-verified

104
105// SetStyles set the button styles overriding the default style
106func (ed *Edit) SetStyles(es *EditStyles) {
107
108 ed.styles = es
109 ed.update()
110}
111
112// LostKeyFocus satisfies the IPanel interface and is called by gui root
113// container when the panel loses the key focus

Callers

nothing calls this directly

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected