diff options
| author | Jeff Carr <[email protected]> | 2024-01-18 21:26:36 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-18 21:26:36 -0600 |
| commit | 179dd22fe03618d7b859dab17042c70e4098490d (patch) | |
| tree | c2ddea8ed11b407f46b725156936f193ef5b31bf /init.go | |
| parent | aa3e8f14f59a4432f20e032741a910dc0f490e3b (diff) | |
make common Delete() codev0.0.4
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'init.go')
| -rw-r--r-- | init.go | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -31,18 +31,21 @@ func (me *TreeInfo) catchActionChannel() { log.Info("catchActionChannel() for loop") select { case a := <-me.pluginChan: - log.Info("catchActionChannel() SELECT widget id =", a.WidgetId, a.ProgName) - log.Warn("catchActionChannel() STUFF", a.WidgetId, a.ActionType, a.WidgetType) + log.Verbose("catchActionChannel() on ", a.WidgetId, a.WidgetType, a.ProgName) + // log.Warn("catchActionChannel() STUFF", a.WidgetId, a.ActionType, a.WidgetType) + /* if a.WidgetType == widget.Dropdown { log.Warn("Found dropdown", a.WidgetId, a.ActionType, a.WidgetType) for i, s := range a.State.Strings { log.Warn("a.State.Strings =", i, s) } } + */ muAction.Lock() + // send this to the toolkit me.toolkit(a) muAction.Unlock() - log.Info("catchActionChannel() STUFF END", a.WidgetId, a.ActionType, a.WidgetType) + // log.Info("catchActionChannel() STUFF END", a.WidgetId, a.ActionType, a.WidgetType) } } } |
