- Hands-On GUI Application Development in Go
- Andrew Williams
- 83字
- 2025-04-04 14:54:22
Controls
All the widgets defined in andlabs UI implement the Control interface and, as such, can be shown, hidden, enabled, or disabled and set as the content of a window through SetChild() (with the obvious exception of ui.Window). A window may not be the child of any other ui.Control, for obvious reasons. The definition of show() and hide() for a window will be set by the operating system or widget toolkit, as will the manner of disabling the window content.