diff options
| author | Jeff Carr <[email protected]> | 2024-01-04 12:34:42 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-04 12:34:42 -0600 |
| commit | 6f566c0051e9627a7560b9e38ab860ae8a0940c3 (patch) | |
| tree | 8c962e4fbeb60557ac9f56eb0e5956f8597717ea | |
| parent | 3f7cca35f3889a7174e852af5a9edbe10b7b51fb (diff) | |
changes for the log control window()v0.10.3
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | args.go | 4 | ||||
| -rw-r--r-- | common.go | 7 |
2 files changed, 5 insertions, 6 deletions
@@ -58,8 +58,4 @@ func init() { CHANGE.Subsystem = "gui" CHANGE.Desc = "user changed something" CHANGE.Register() - - for _, s := range log.ListFlags() { - log.Info("go.wit.com/gui/gui ListFlags() returned:", s) - } } @@ -108,8 +108,6 @@ func (n *Node) AppendText(str string) { func (n *Node) GetText() string { if (n.S != n.Text) { log.Warn("GetText() is screwed up. TODO: fix this dumb crap") - stuff := log.ListFlags() - log.Warn("ListFlags() =", stuff) } if (n.S != "") { return n.S @@ -211,6 +209,11 @@ func (n *Node) Window(title string) *Node { return n.NewWindow(title) } +func (n *Node) Ready() bool { + if n == nil {return false} + return true +} + // This should not really do anything. as per the docs, the "Standard()" way // should be the default way /* |
