Add adds a child panel to this node
(child IPanel)
| 273 | |
| 274 | // Add adds a child panel to this node |
| 275 | func (n *TreeNode) Add(child IPanel) { |
| 276 | |
| 277 | n.InsertAt(n.Len(), child) |
| 278 | } |
| 279 | |
| 280 | // InsertNodeAt inserts a new node at the specified position in this node |
| 281 | // If the position is invalid, the function panics |