diff options
| author | Jeff Carr <[email protected]> | 2023-04-08 08:40:31 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-08 08:40:31 -0500 |
| commit | 5d2f6e7fb241298eb15b1917c1947089a12247fe (patch) | |
| tree | 0f67fc7c2955b40904a3ac4600cf82f53938398b /cmds/buttonplugin/main.go | |
| parent | 0f3074ab5d606822ae0d170da84507d6e24471e6 (diff) | |
gocui: keep deprecating non-gochannel code
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'cmds/buttonplugin/main.go')
| -rw-r--r-- | cmds/buttonplugin/main.go | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/cmds/buttonplugin/main.go b/cmds/buttonplugin/main.go index f09afd3..c4b9064 100644 --- a/cmds/buttonplugin/main.go +++ b/cmds/buttonplugin/main.go @@ -28,6 +28,7 @@ func main() { // gui.Init() // buttonWindow() + gui.SetDebug(true) myGui = gui.Start() time.Sleep(1 * time.Second) buttonWindow() @@ -42,11 +43,12 @@ func main() { // This creates a window func buttonWindow() { var w, t, g, more, more2 *gui.Node - gui.Config.Title = title - gui.Config.Width = 640 - gui.Config.Height = 480 - w = gui.NewWindow() + log.Println("buttonWindow()") + log.Println("buttonWindow()") + log.Println("buttonWindow()") + + w = myGui.NewWindow2(title) t = w.NewTab("buttonTab") g = t.NewGroup("buttonGroup") g1 := t.NewGroup("buttonGroup 2") |
