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

Function NewCheckBox

gui/checkradio.go:47–50  ·  view source on GitHub ↗

NewCheckBox creates and returns a pointer to a new CheckBox widget with the specified text

(text string)

Source from the content-addressed store, hash-verified

45// NewCheckBox creates and returns a pointer to a new CheckBox widget
46// with the specified text
47func NewCheckBox(text string) *CheckRadio {
48
49 return newCheckRadio(true, text)
50}
51
52// NewRadioButton creates and returns a pointer to a new RadioButton widget
53// with the specified text

Callers 3

buildCheckBoxFunction · 0.85
AddCheckBoxMethod · 0.85
AddCheckBoxMethod · 0.85

Calls 1

newCheckRadioFunction · 0.85

Tested by

no test coverage detected