summaryrefslogtreecommitdiff
path: root/cmds/buttonplugin/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-03 17:49:37 -0500
committerJeff Carr <[email protected]>2023-04-03 17:49:37 -0500
commit8982b2a8cfb10ad2ac2e50c0fcbdad88556e495a (patch)
treeeac01f4fcfeec2da568fa597e831648a78104f72 /cmds/buttonplugin/main.go
parentefe4d11576c0dbb0b1e4189274f9908c3eb7e7c3 (diff)
gocui: simple grid working
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'cmds/buttonplugin/main.go')
-rw-r--r--cmds/buttonplugin/main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmds/buttonplugin/main.go b/cmds/buttonplugin/main.go
index 8168c31..d1b0489 100644
--- a/cmds/buttonplugin/main.go
+++ b/cmds/buttonplugin/main.go
@@ -63,7 +63,9 @@ func buttonWindow() {
g1.NewButton("hello2", func () {
log.Println("world2")
})
- more2 = g1.NewGroup("more2")
+ more2 = g1.NewGrid("gridnuts", 3, 3)
+
+ more2.NewLabel("more2")
g.NewButton("this app is useful for plugin debuggin", func () {
})