From e21b61fa9690e547d47a71ad99bfd2af6eb8c58a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 19 Jan 2024 18:31:56 -0600 Subject: [PATCH] enable() and disable() on the whole window Signed-off-by: Jeff Carr --- basicWindow.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/basicWindow.go b/basicWindow.go index fbc4f02..ae99d2a 100644 --- a/basicWindow.go +++ b/basicWindow.go @@ -52,6 +52,14 @@ func (w *BasicWindow) Hide() { return } +func (w *BasicWindow) Enable() { + w.box.Enable() +} + +func (w *BasicWindow) Disable() { + w.box.Disable() +} + func (w *BasicWindow) Toggle() { if !w.Ready() { return