diff options
| author | Jeff Carr <[email protected]> | 2025-02-06 19:00:00 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-06 19:00:00 -0600 |
| commit | 2a5734892a85804b6c44a0cd8dd22d20fed21d96 (patch) | |
| tree | 55e4164094dd468a8ef1812ed1cae5e7a605fc01 /eventMouseClick.go | |
| parent | f5d465901d2ec48e145c3c7ce04eceb69445a11f (diff) | |
trying to fix Hidden() to use the parent
Diffstat (limited to 'eventMouseClick.go')
| -rw-r--r-- | eventMouseClick.go | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/eventMouseClick.go b/eventMouseClick.go index 0d09007..5e21d02 100644 --- a/eventMouseClick.go +++ b/eventMouseClick.go @@ -76,10 +76,8 @@ func (tk *guiWidget) doWindowClick() { func (tk *guiWidget) doWidgetClick(w int, h int) { switch tk.node.WidgetType { case widget.Window: - // tk.dumpWidget("doWidgetClick()") tk.doWindowClick() return - case widget.Group: case widget.Checkbox: if tk.node.State.Checked { log.Log(WARN, "checkbox is being set to false") @@ -91,33 +89,12 @@ func (tk *guiWidget) doWidgetClick(w int, h int) { tk.setCheckbox() } me.myTree.SendUserEvent(tk.node) - case widget.Grid: - /* - newR := tk.realGocuiSize() - tk.placeGrid(newR.w0, newR.h0) - tk.showWidgets() - */ - case widget.Box: - /* - if tk.node.State.Direction == widget.Horizontal { - log.Log(GOCUI, "BOX IS HORIZONTAL", tk.String()) - } else { - log.Log(GOCUI, "BOX IS VERTICAL", tk.String()) - } - tk.placeWidgets(tk.startW, tk.startH) - tk.toggleTree() - */ case widget.Button: me.myTree.SendFromUser(tk.node) case widget.Combobox: tk.showDropdown() case widget.Dropdown: tk.showDropdown() - case widget.Stdout: - /* - log.Log(GOCUI, "stdout widget found!") - tk.dumpWidget("stdout click") - */ case widget.Flag: tk.dropdownClicked(w, h) default: |
