summaryrefslogtreecommitdiff
path: root/dropdown.go
diff options
context:
space:
mode:
Diffstat (limited to 'dropdown.go')
-rw-r--r--dropdown.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/dropdown.go b/dropdown.go
index 0d61b74..1523f35 100644
--- a/dropdown.go
+++ b/dropdown.go
@@ -7,7 +7,6 @@ import (
"fmt"
"strings"
- "github.com/awesome-gocui/gocui"
log "go.wit.com/log"
"go.wit.com/toolkits/tree"
"go.wit.com/widget"
@@ -104,9 +103,10 @@ func (tk *guiWidget) showDropdown() {
me.dropdownV.Show()
}
+/*
func hideDDview() error {
w, h := me.baseGui.MousePosition()
- log.Log(GOCUI, "hide dropdown menu() view msgMouseDown (w,h) =", w, h)
+ log.Log(GOCUI, "hide dropdown menu() view (w,h) =", w, h)
if me.dropdownV == nil {
return gocui.ErrUnknownView
}
@@ -119,7 +119,7 @@ func hideDDview() error {
func showDDview() error {
w, h := me.baseGui.MousePosition()
- log.Log(GOCUI, "show dropdown menu() view msgMouseDown (w,h) =", w, h)
+ log.Log(GOCUI, "show dropdown menu() view (w,h) =", w, h)
if me.dropdownV == nil {
return gocui.ErrUnknownView
}
@@ -129,6 +129,7 @@ func showDDview() error {
me.dropdownV.SetVisible(true)
return nil
}
+*/
// if there is a drop down view active, treat it like a dialog box and close it
func (w *guiWidget) dropdownClicked(mouseW, mouseH int) string {