diff options
| author | Jeff Carr <[email protected]> | 2025-02-14 18:11:19 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-14 18:11:19 -0600 |
| commit | a83ca26ac3380be410cd8aaceef7b6a2c7d2701a (patch) | |
| tree | 28e5cf62e8cd216b50e1d1bbdc3e3b758b0f67cb /event.go | |
| parent | c4e48c6403936c7f5d1f60d590fc3a91fecdc83d (diff) | |
switch to treeInitv0.22.26v0.22.25v0.22.24v0.22.23v0.22.22v0.22.21v0.22.20v0.22.19v0.22.18v0.22.17v0.22.16v0.22.15
Diffstat (limited to 'event.go')
| -rw-r--r-- | event.go | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/event.go b/event.go deleted file mode 100644 index 9fea1b0..0000000 --- a/event.go +++ /dev/null @@ -1,51 +0,0 @@ -package main - -/* -import ( - "go.wit.com/log" - "go.wit.com/widget" - "go.wit.com/toolkits/tree" -) - -func doWidgetClick(n *tree.Node) { - switch n.WidgetType { - case widget.Root: - // THIS IS THE BEGINING OF THE LAYOUT - // rootNode.nextW = 0 - // rootNode.nextH = 0 - // rootNode.redoTabs(true) - case widget.Flag: - // me.rootNode.redoColor(true) - // rootNode.dumpTree(true) - case widget.Window: - // setCurrentWindow(w) - // n.doUserEvent() - case widget.Tab: - // setCurrentTab(w) - case widget.Group: - // n.placeWidgets() - // n.toggleTree() - case widget.Checkbox: - if n.Bool() { - // n.setCheckbox(false) - } else { - // n.setCheckbox(true) - } - // n.doUserEvent() - case widget.Grid: - // rootNode.hideWidgets() - // n.placeGrid() - // n.showWidgets() - case widget.Box: - // n.showWidgetPlacement(logNow, "drawTree()") - if n.Bool() { - log.Log(NOW, "BOX IS HORIZONTAL", n.GetProgName()) - } else { - log.Log(NOW, "BOX IS VERTICAL", n.GetProgName()) - } - case widget.Button: - // n.doUserEvent() - default: - } -} -*/ |
