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

Method AddCheckBox

gui/control_folder.go:111–116  ·  view source on GitHub ↗

AddCheckBox adds a checkbox to the control folder group

(text string)

Source from the content-addressed store, hash-verified

109
110// AddCheckBox adds a checkbox to the control folder group
111func (g *ControlFolderGroup) AddCheckBox(text string) *CheckRadio {
112
113 cb := NewCheckBox(text)
114 g.node.Add(cb)
115 return cb
116}
117
118// AddSlider adds a slider to the control folder group
119func (g *ControlFolderGroup) AddSlider(text string, sf, v float32) *Slider {

Callers

nothing calls this directly

Calls 2

NewCheckBoxFunction · 0.85
AddMethod · 0.45

Tested by

no test coverage detected