summaryrefslogtreecommitdiff
path: root/debug.go
diff options
context:
space:
mode:
Diffstat (limited to 'debug.go')
-rw-r--r--debug.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/debug.go b/debug.go
index 8a01cc1..b65cf9f 100644
--- a/debug.go
+++ b/debug.go
@@ -144,6 +144,10 @@ func (n *Node) dumpWidget(b bool) string {
return tabs + d
}
+func (n *Node) Children() []*Node {
+ return n.children
+}
+
// func (n *Node) ListChildren(dump bool, dropdown *Node, mapNodes map[string]*Node) {
func (n *Node) ListChildren(dump bool) {
if (n == nil) {