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

Method AddGroup

gui/control_folder.go:89–95  ·  view source on GitHub ↗

AddGroup adds a group to the control folder

(text string)

Source from the content-addressed store, hash-verified

87
88// AddGroup adds a group to the control folder
89func (f *ControlFolder) AddGroup(text string) *ControlFolderGroup {
90
91 g := new(ControlFolderGroup)
92 g.control = f
93 g.node = f.tree.AddNode(text)
94 return g
95}
96
97// SetStyles set the folder styles overriding the default style
98func (f *ControlFolder) SetStyles(fs *ControlFolderStyles) {

Callers

nothing calls this directly

Calls 1

AddNodeMethod · 0.45

Tested by

no test coverage detected