SetExpanded sets the expanded state of this node
(state bool)
| 228 | |
| 229 | // SetExpanded sets the expanded state of this node |
| 230 | func (n *TreeNode) SetExpanded(state bool) { |
| 231 | |
| 232 | n.expanded = state |
| 233 | n.update() |
| 234 | n.updateItems() |
| 235 | } |
| 236 | |
| 237 | // FindChild searches for the specified child in this node and |
| 238 | // all its children. If found, returns the parent node and |
nothing calls this directly
no test coverage detected