Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-17 03:19:59 -06:00
parent 4feb266a17
commit b39e2e1c5e
1 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,7 @@ var myGui *gui.Node // This is the beginning of the binary tree of widgets
// go will sit here until the window exits // go will sit here until the window exits
func main() { func main() {
myGui = gui.New().Default() myGui = gui.New().Default()
// myGui.LoadToolkit("nocui") myGui.LoadToolkit("nocui")
helloworld() helloworld()
gui.Watchdog() gui.Watchdog()
@ -40,11 +40,13 @@ func helloworld() {
dd.AddText("asdjf") dd.AddText("asdjf")
dd.AddText("a1jf") dd.AddText("a1jf")
dd.AddText("jf") dd.AddText("jf")
dd.SetText("Beagleboard")
cb := grid.NewCombobox().SetProgName("COLORS") cb := grid.NewCombobox().SetProgName("COLORS")
cb.AddText("Cyan") cb.AddText("Cyan")
cb.AddText("Magenta") cb.AddText("Magenta")
cb.AddText("Yellow") cb.AddText("Yellow")
cb.SetText("orange")
queryGroup := box.NewGroup("query") queryGroup := box.NewGroup("query")