From 7a42716b987b995217073b3de22a3898f735958d Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 1 Feb 2024 22:00:23 -0600 Subject: [PATCH] more stuff for testing Signed-off-by: Jeff Carr --- Makefile | 3 +++ main.go | 3 +++ 2 files changed, 6 insertions(+) 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")