enable() and disable() on the whole window

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-19 18:31:56 -06:00
parent e2c742e2ad
commit e21b61fa96
1 changed files with 8 additions and 0 deletions

View File

@ -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