diff --git a/basicCombobox.go b/basicCombobox.go index 3b318d9..8377f3f 100644 --- a/basicCombobox.go +++ b/basicCombobox.go @@ -48,6 +48,16 @@ func (d *BasicCombobox) Ready() bool { return d.ready } +func (n *BasicCombobox) Hide() { + n.l.Hide() + n.d.Hide() +} + +func (n *BasicCombobox) Show() { + n.l.Show() + n.d.Show() +} + func (d *BasicCombobox) Enable() { if d == nil { return diff --git a/basicEntry.go b/basicEntry.go index 040a9cb..da39962 100644 --- a/basicEntry.go +++ b/basicEntry.go @@ -40,6 +40,16 @@ func (n *BasicEntry) Disable() { n.v.Disable() } +func (n *BasicEntry) Show() { + n.l.Show() + n.v.Show() +} + +func (n *BasicEntry) Hide() { + n.l.Hide() + n.v.Hide() +} + func (n *BasicEntry) String() string { log.Log(GADGETS, "BasicEntry.String() =", n.v.String()) return n.v.String()