diff options
| author | Jeff Carr <[email protected]> | 2024-01-30 01:37:21 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-30 01:37:21 -0600 |
| commit | 1ac95c7125b6f2f196138139b85c82284e5adbd7 (patch) | |
| tree | 48486ad0fac626994a4d1adffa384fd8a4584a10 /basicCombobox.go | |
| parent | bc99d221fcba4b0b528c1a1bcd485894b1b12793 (diff) | |
add Show() and Hide()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'basicCombobox.go')
| -rw-r--r-- | basicCombobox.go | 10 |
1 files changed, 10 insertions, 0 deletions
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 |
