diff options
| author | Jeff Carr <[email protected]> | 2025-03-03 23:49:36 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-03 23:49:36 -0600 |
| commit | f98a8fdd89d1e0de3e091fdc80f0751e7778a246 (patch) | |
| tree | 251932aeb7f6f8783e51e59d40aa8998e6f709da | |
| parent | 18fc6238dfc73170227afe26f19e1628ff45f461 (diff) | |
add Custom() close window methodv0.22.18
| -rw-r--r-- | genericWindow.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/genericWindow.go b/genericWindow.go index f2695fd..1324c57 100644 --- a/genericWindow.go +++ b/genericWindow.go @@ -20,6 +20,7 @@ type GenericWindow struct { Group *gui.Node // the first item top box is always a group Middle *gui.Node // the middle box (shelf style) Bottom *gui.Node // the bottom box (stack style) + Custom func() // a user defined close() window function } func (gw *GenericWindow) Hidden() bool { |
