AddGroup adds a group to the control folder
(text string)
| 87 | |
| 88 | // AddGroup adds a group to the control folder |
| 89 | func (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 |
| 98 | func (f *ControlFolder) SetStyles(fs *ControlFolderStyles) { |