Window is a Control that represents a top-level window. A Window contains one child Control that occupies the entirety of the window. Though a Window is a Control, a Window cannot be the child of another Control.
| 14 | // entirety of the window. Though a Window is a Control, |
| 15 | // a Window cannot be the child of another Control. |
| 16 | type Window struct { |
| 17 | ControlBase |
| 18 | w *C.uiWindow |
| 19 | child Control |
| 20 | onClosing func(w *Window) bool |
| 21 | } |
| 22 | |
| 23 | // NewWindow creates a new Window. |
| 24 | func NewWindow(title string, width int, height int, hasMenubar bool) *Window { |
nothing calls this directly
no outgoing calls
no test coverage detected