diff options
| author | Jeff Carr <[email protected]> | 2024-01-21 14:44:47 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-21 14:44:47 -0600 |
| commit | 1fdf786a72fd4af0c1acca45b250b5f66ef3e31b (patch) | |
| tree | 0f247e40f69c8bdce56574a3b608c78955b6b447 /window.go | |
| parent | ba70be3064c1d082eb0e9146562b7f07dd894fb0 (diff) | |
visable state is honored. TODO: fix hide/show
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'window.go')
| -rw-r--r-- | window.go | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -14,11 +14,12 @@ func (parent *Node) NewWindow(title string) *Node { newNode = parent.newNode(title, widget.Window) newNode.Custom = StandardExit - log.Info("NewWindow()", title) + log.Log(INFO, "NewWindow()", title) newNode.progname = title newNode.label = title newNode.value = title newNode.margin = true + newNode.visable = true // inform the toolkits sendAction(newNode, widget.Add) @@ -32,8 +33,9 @@ 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.hidden = true + newNode.visable = false - log.Info("RawWindow()", title) + log.Log(INFO, "RawWindow()", title) return newNode } |
