more stuff for testing
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
8082a52862
commit
7a42716b98
3
Makefile
3
Makefile
|
@ -11,6 +11,9 @@ gocui: build
|
||||||
# ./gadgetwindow --gui gocui >/tmp/gadgetwindow.stderr 2>&1
|
# ./gadgetwindow --gui gocui >/tmp/gadgetwindow.stderr 2>&1
|
||||||
./gadgetwindow --gui gocui --tmp-log
|
./gadgetwindow --gui gocui --tmp-log
|
||||||
|
|
||||||
|
log:
|
||||||
|
tail -f /tmp/guilogfile
|
||||||
|
|
||||||
test-tmp-log: build
|
test-tmp-log: build
|
||||||
./gadgetwindow --gui andlabs --tmp-log
|
./gadgetwindow --gui andlabs --tmp-log
|
||||||
|
|
||||||
|
|
3
main.go
3
main.go
|
@ -83,6 +83,9 @@ func helloworld() {
|
||||||
group.NewButton("Hide apple", func() {
|
group.NewButton("Hide apple", func() {
|
||||||
apple.Hide()
|
apple.Hide()
|
||||||
})
|
})
|
||||||
|
group.NewCheckbox("test checkbox").SetChecked(true)
|
||||||
|
group.NewLabel("test label")
|
||||||
|
gadgets.NewBasicEntry(group, "test entry")
|
||||||
group.NewButton("set socks", func() {
|
group.NewButton("set socks", func() {
|
||||||
section1.SetSocks("blue")
|
section1.SetSocks("blue")
|
||||||
section2.SetSocks("green")
|
section2.SetSocks("green")
|
||||||
|
|
Loading…
Reference in New Issue