show the gocui in the example
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
6f6f1a6c25
commit
5ba335ddee
|
@ -44,6 +44,8 @@ func main() {
|
||||||
})
|
})
|
||||||
log.Println("Main() END")
|
log.Println("Main() END")
|
||||||
time.Sleep(1 * time.Second)
|
time.Sleep(1 * time.Second)
|
||||||
|
gui.StartS("gocui")
|
||||||
|
gui.Redraw("gocui")
|
||||||
gui.Watchdog()
|
gui.Watchdog()
|
||||||
gui.StandardExit()
|
gui.StandardExit()
|
||||||
}
|
}
|
||||||
|
|
4
debug.go
4
debug.go
|
@ -130,10 +130,6 @@ func (n *Node) dumpWidget(b bool) string {
|
||||||
}
|
}
|
||||||
info = n.WidgetType.String()
|
info = n.WidgetType.String()
|
||||||
|
|
||||||
if (n.WidgetType == toolkit.Checkbox) {
|
|
||||||
info += " = " + strconv.FormatBool(n.widget.B)
|
|
||||||
}
|
|
||||||
|
|
||||||
d = strconv.Itoa(n.id) + " " + info
|
d = strconv.Itoa(n.id) + " " + info
|
||||||
|
|
||||||
var tabs string
|
var tabs string
|
||||||
|
|
Loading…
Reference in New Issue