show the user changed the dropdown
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
7a42716b98
commit
1a0de8d839
2
Makefile
2
Makefile
|
@ -12,7 +12,7 @@ gocui: build
|
|||
./gadgetwindow --gui gocui --tmp-log
|
||||
|
||||
log:
|
||||
tail -f /tmp/guilogfile
|
||||
tail -f /tmp/guilogfile /tmp/witgui.*
|
||||
|
||||
test-tmp-log: build
|
||||
./gadgetwindow --gui andlabs --tmp-log
|
||||
|
|
|
@ -39,6 +39,9 @@ func newChoices(parent *gui.Node) *choices {
|
|||
c.computers.AddText("Beagleboard")
|
||||
c.computers.AddText("Unmatched Rev B")
|
||||
c.computers.SetText("Beagleboard")
|
||||
c.computers.Custom = func() {
|
||||
log.Info("You changed the computer to:", c.computers.String())
|
||||
}
|
||||
|
||||
c.colors = c.grid.NewCombobox().SetProgName("COLORS")
|
||||
c.colors.AddText("Cyan")
|
||||
|
|
Loading…
Reference in New Issue