summaryrefslogtreecommitdiff
path: root/cmds/textbox
diff options
context:
space:
mode:
Diffstat (limited to 'cmds/textbox')
-rw-r--r--cmds/textbox/Makefile3
-rw-r--r--cmds/textbox/main.go12
2 files changed, 9 insertions, 6 deletions
diff --git a/cmds/textbox/Makefile b/cmds/textbox/Makefile
index 6ca4329..5785c10 100644
--- a/cmds/textbox/Makefile
+++ b/cmds/textbox/Makefile
@@ -1,5 +1,6 @@
run: build
- GOTRACEBACK=all ./textbox --gui-debug
+ # GOTRACEBACK=all ./textbox --gui-debug
+ GOTRACEBACK=all ./textbox --gui-debug >/tmp/witgui.log.stderr 2>&1
build-release:
go get -v -u -x .
diff --git a/cmds/textbox/main.go b/cmds/textbox/main.go
index 33d0cae..0dd17e6 100644
--- a/cmds/textbox/main.go
+++ b/cmds/textbox/main.go
@@ -24,7 +24,9 @@ func main() {
arg.MustParse(&args)
log.Println("Toolkit = ", args.Toolkit)
- // gui.InitPlugins([]string{"andlabs"})
+ // gui.SetDebug(true)
+ // gui.InitPlugins([]string{"gocui"})
+ // gui.InitPlugins([]string{"democui"})
gui.Main(initGUI)
}
@@ -68,10 +70,10 @@ func addDemoTab(window *gui.Node, title string) {
dd.AddDropdownName("more 2")
dd.AddDropdownName("more 3")
- g.SetNext(3,1)
- g1.NewLabel("label (3,1)")
- g.SetNext(3,2)
- g1.NewLabel("label (3,2)")
+ // g.SetNext(3,1)
+ // g1.NewLabel("label (3,1)")
+ // g.SetNext(3,2)
+ // g1.NewLabel("label (3,2)")
g2 := newNode.NewGroup("group 2")
tb := g2.NewTextbox("tb")