diff options
| author | Jeff Carr <[email protected]> | 2024-01-07 05:46:59 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-07 05:46:59 -0600 |
| commit | 930bdc941b1181460f4c38dc708dc53d583ab5d3 (patch) | |
| tree | 725fc54433bcc5a5947922bae0fee2a6b830b346 /smartwindow/structs.go | |
| parent | 82b5717f48f258f6ea792cd4e895c0ba99cf1e11 (diff) | |
remove debugging options
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'smartwindow/structs.go')
| -rw-r--r-- | smartwindow/structs.go | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/smartwindow/structs.go b/smartwindow/structs.go new file mode 100644 index 0000000..d70ea3c --- /dev/null +++ b/smartwindow/structs.go @@ -0,0 +1,21 @@ +package smartwindow + +import ( + "go.wit.com/gui/gui" + "go.wit.com/gui/gadgets" +) + +type SmartWindow struct { + ready bool // track if the window is ready + hidden bool // track if the window is hidden from the toolkits + changed bool // track if something changed in the window + + title string // what the user sees as the name + name string // the programatic name aka: "CALANDAR" + + parent *gui.Node // where to place the window if you try to draw it + window *gadgets.BasicWindow // the underlying BasicWindow + box *gui.Node // the box inside the window // get this from BasicWindow() ? + + populate func(*SmartWindow) // the function to generate the widgets +} |
