parent
4feb266a17
commit
b39e2e1c5e
4
main.go
4
main.go
|
@ -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
|
||||
func main() {
|
||||
myGui = gui.New().Default()
|
||||
// myGui.LoadToolkit("nocui")
|
||||
myGui.LoadToolkit("nocui")
|
||||
|
||||
helloworld()
|
||||
gui.Watchdog()
|
||||
|
@ -40,11 +40,13 @@ func helloworld() {
|
|||
dd.AddText("asdjf")
|
||||
dd.AddText("a1jf")
|
||||
dd.AddText("jf")
|
||||
dd.SetText("Beagleboard")
|
||||
|
||||
cb := grid.NewCombobox().SetProgName("COLORS")
|
||||
cb.AddText("Cyan")
|
||||
cb.AddText("Magenta")
|
||||
cb.AddText("Yellow")
|
||||
cb.SetText("orange")
|
||||
|
||||
queryGroup := box.NewGroup("query")
|
||||
|
||||
|
|
Loading…
Reference in New Issue