oneliner.Hide()

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-23 03:18:07 -06:00
parent 5eea7f5059
commit 7254203e4e
1 changed files with 6 additions and 0 deletions

View File

@ -48,6 +48,12 @@ func (n *OneLiner) Disable() {
n.v.Hide()
}
func (n *OneLiner) Hide() {
log.Log(GADGETS, "OneLiner.Disable()")
n.l.Hide()
n.v.Hide()
}
func NewOneLiner(n *gui.Node, label string) *OneLiner {
d := OneLiner{
p: n,