NewControlFolder creates and returns a pointer to a new control folder widget with the specified text and initial width
(text string, width float32)
| 30 | // NewControlFolder creates and returns a pointer to a new control folder widget |
| 31 | // with the specified text and initial width |
| 32 | func NewControlFolder(text string, width float32) *ControlFolder { |
| 33 | |
| 34 | f := new(ControlFolder) |
| 35 | f.Initialize(text, width) |
| 36 | return f |
| 37 | } |
| 38 | |
| 39 | // Initialize initializes the control folder with the specified text and initial width |
| 40 | // It is normally used when the control folder is embedded in another object |
nothing calls this directly
no test coverage detected