SetStyles sets the tree styles overriding the default style.
(s *TreeStyles)
| 66 | |
| 67 | // SetStyles sets the tree styles overriding the default style. |
| 68 | func (t *Tree) SetStyles(s *TreeStyles) { |
| 69 | |
| 70 | t.styles = s |
| 71 | t.List.SetStyles(t.styles.List) |
| 72 | t.update() |
| 73 | } |
| 74 | |
| 75 | // InsertAt inserts a child panel at the specified position in the tree. |
| 76 | func (t *Tree) InsertAt(pos int, child IPanel) { |