From f98a8fdd89d1e0de3e091fdc80f0751e7778a246 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 3 Mar 2025 23:49:36 -0600 Subject: add Custom() close window method --- genericWindow.go | 1 + 1 file changed, 1 insertion(+) 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 { -- cgit v1.2.3