enable() and disable() on the whole window
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
e2c742e2ad
commit
e21b61fa96
|
@ -52,6 +52,14 @@ func (w *BasicWindow) Hide() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (w *BasicWindow) Enable() {
|
||||||
|
w.box.Enable()
|
||||||
|
}
|
||||||
|
|
||||||
|
func (w *BasicWindow) Disable() {
|
||||||
|
w.box.Disable()
|
||||||
|
}
|
||||||
|
|
||||||
func (w *BasicWindow) Toggle() {
|
func (w *BasicWindow) Toggle() {
|
||||||
if !w.Ready() {
|
if !w.Ready() {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue