diff options
| author | Jeff Carr <[email protected]> | 2024-01-17 21:21:29 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-17 21:21:29 -0600 |
| commit | a6a3e1193fa7c77165f3ed2eb0031f319b4abdd0 (patch) | |
| tree | 2c5a9fbf4dbc5f7bd5cb235542082da5eba342c6 /window.go | |
| parent | 8ef3fc7a73a004385d36561c6c8acc4be7e3e24b (diff) | |
work around a toolkit panic()v0.12.11
things should work when
GUI is not really there
Int() and Bool()
helloworld works
compiles and runs
RawWindow shouldn't auto exit
add StandardExit()
Signed-off-by: Jeff Carr <[email protected]>
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'window.go')
| -rw-r--r-- | window.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,6 +16,7 @@ func (parent *Node) NewWindow(title string) *Node { log.Info("NewWindow()", title) newNode.progname = title + newNode.label = title newNode.value = title // inform the toolkits @@ -29,7 +30,6 @@ func (parent *Node) RawWindow(title string) *Node { // Windows are created off of the master node of the Binary Tree newNode = parent.newNode(title, widget.Window) - newNode.Custom = StandardExit newNode.hidden = true log.Info("RawWindow()", title) @@ -78,7 +78,7 @@ func (n *Node) TestDraw() { // enable and n.hidden = false n.changed = true - log.Warn("TestDraw() sending widget.Add", n.id, n.WidgetType, n.progname) + log.Verbose("TestDraw() sending widget.Add", n.id, n.WidgetType, n.progname) sendAction(n, widget.Add) for _, child := range n.children { |
