From a3fc02c2f7e22f92b76ff6db92618be0cf3656a6 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 21 Oct 2022 11:40:08 -0500 Subject: v0.4.1 set sane toolkit default look and feel autogenerate README.md from doc.go (goreadme cmd) remove passing arguements on a mouse click() make defaults for padding, margin, stretchy, etc add a checkbox widget function rename to NewButton() keep cleaning up toolkit code fix date. I was somehow in the future Signed-off-by: Jeff Carr --- int.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'int.go') diff --git a/int.go b/int.go index d2409da..34e22e7 100644 --- a/int.go +++ b/int.go @@ -4,6 +4,8 @@ import "log" import "github.com/davecgh/go-spew/spew" +import toolkit "git.wit.org/wit/gui/toolkit/andlabs" + /* Get the int from the gui toolkit because eventually this gui package should become it's own seperate go routine and never interact from the @@ -14,7 +16,7 @@ import "github.com/davecgh/go-spew/spew" Is it "has to go" or "should go"? Probably it makes sense to strictly inforce it. No "callback" functions. IPC only (go channels) */ func (n *Node) Int() int { - if (Config.DebugToolkit) { + if (toolkit.DebugToolkit) { log.Println("gui.Node.Int() for node name =", n.Name) scs := spew.ConfigState{MaxDepth: 1} scs.Dump(n) -- cgit v1.2.3