summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-03 23:49:36 -0600
committerJeff Carr <[email protected]>2025-03-03 23:49:36 -0600
commitf98a8fdd89d1e0de3e091fdc80f0751e7778a246 (patch)
tree251932aeb7f6f8783e51e59d40aa8998e6f709da
parent18fc6238dfc73170227afe26f19e1628ff45f461 (diff)
add Custom() close window methodv0.22.18
-rw-r--r--genericWindow.go1
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 {