diff options
| author | Jeff Carr <[email protected]> | 2023-03-26 17:19:20 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-03-26 17:19:20 -0500 |
| commit | 6013fde8332e8ecbffaf1a0977ba2e1da8ea8775 (patch) | |
| tree | 3f9ccd75e8699974f3412fdd79a20173672c19c2 /debugWindow.go | |
| parent | 6f91f5e080e06cdc0f34b13d23e5fd16ea37259a (diff) | |
improvements towards a working dns control panel
democui has the help menu
try to add mouse support to gocui
make a direct access method
Margin() and Pad() tests
add SPEW
also push devel branch to github
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'debugWindow.go')
| -rw-r--r-- | debugWindow.go | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/debugWindow.go b/debugWindow.go index 3275cb1..a445d28 100644 --- a/debugWindow.go +++ b/debugWindow.go @@ -74,7 +74,7 @@ func (n *Node) DebugTab(title string) *Node { dropdownWindowWidgets(g1) }) - g2 := newN.NewGroup("node things") + g2 := newN.NewGroup("more things") g2.NewButton("Node.ListChildren(true)", func () { if (activeWidget == nil) { @@ -87,6 +87,20 @@ func (n *Node) DebugTab(title string) *Node { makeConc() }) + g2.NewButton("List Plugins", func () { + for _, aplug := range allPlugins { + log("Loaded plugin:", aplug.name, aplug.filename) + } + }) + + g2.NewButton("load plugin 'gocui'", func () { + StartS("gocui") + }) + + g2.NewButton("load plugin 'democui'", func () { + StartS("democui") + }) + return newN } |
