NewFolder creates and returns a pointer to a new folder widget with the specified text and initial width.
(text string, width float32, contentPanel IPanel)
| 37 | // NewFolder creates and returns a pointer to a new folder widget |
| 38 | // with the specified text and initial width. |
| 39 | func NewFolder(text string, width float32, contentPanel IPanel) *Folder { |
| 40 | |
| 41 | f := new(Folder) |
| 42 | f.Initialize(text, width, contentPanel) |
| 43 | return f |
| 44 | } |
| 45 | |
| 46 | // Initialize initializes the Folder with the specified text and initial width |
| 47 | // It is normally used when the folder is embedded in another object. |
nothing calls this directly
no test coverage detected