diff --git a/Makefile b/Makefile index 04bf569..97ac461 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,9 @@ gocui: build # ./gadgetwindow --gui gocui >/tmp/gadgetwindow.stderr 2>&1 ./gadgetwindow --gui gocui --tmp-log +log: + tail -f /tmp/guilogfile + test-tmp-log: build ./gadgetwindow --gui andlabs --tmp-log diff --git a/main.go b/main.go index 8eb1aca..5b7ce30 100644 --- a/main.go +++ b/main.go @@ -83,6 +83,9 @@ func helloworld() { group.NewButton("Hide apple", func() { apple.Hide() }) + group.NewCheckbox("test checkbox").SetChecked(true) + group.NewLabel("test label") + gadgets.NewBasicEntry(group, "test entry") group.NewButton("set socks", func() { section1.SetSocks("blue") section2.SetSocks("green")