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

Method SetStyles

gui/control_folder.go:98–108  ·  view source on GitHub ↗

SetStyles set the folder styles overriding the default style

(fs *ControlFolderStyles)

Source from the content-addressed store, hash-verified

96
97// SetStyles set the folder styles overriding the default style
98func (f *ControlFolder) SetStyles(fs *ControlFolderStyles) {
99
100 f.styles = fs
101
102 f.Folder.styles = fs.Folder
103 f.tree.styles = fs.Tree
104
105 f.tree.update()
106 f.Folder.update()
107
108}
109
110// AddCheckBox adds a checkbox to the control folder group
111func (g *ControlFolderGroup) AddCheckBox(text string) *CheckRadio {

Callers 1

InitializeMethod · 0.45

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected