diff options
Diffstat (limited to 'eventBindings.go')
| -rw-r--r-- | eventBindings.go | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/eventBindings.go b/eventBindings.go index 4f09e79..29e669c 100644 --- a/eventBindings.go +++ b/eventBindings.go @@ -69,26 +69,11 @@ func theSuperMouse(g *gocui.Gui, v *gocui.View) error { return nil } -/* -func addDropdown() *tree.Node { - return addDropdownNew(-222) -} -*/ - // use this to test code ideas // put whatever you want here and hit '2' to activate it func theNotsure(g *gocui.Gui, v *gocui.View) error { log.Info("got keypress 2. now what? dark =", me.dark) if me.clock.tk == nil { - me.clock.tk = makeNewFlagWidget(me.clock.wId) - me.clock.tk.dumpWidget("init() clock") - w, h := me.baseGui.MousePosition() - me.clock.tk.MoveToOffset(w, h) - me.clock.tk.labelN = time.Now().Format("15:04:05") - me.clock.tk.frame = false - me.clock.tk.setColorLabel() - me.clock.tk.Show() - me.clock.active = true - me.clock.tk.dumpWidget("showClock()") + makeClock() } else { me.clock.tk.v.Clear() me.clock.tk.labelN = time.Now().Format("15:04:05") |
