AddAppBar adds plan maker function(s) for the top app bar, which can be used to add items to it.
(m ...func(p *tree.Plan))
| 192 | |
| 193 | // AddAppBar adds plan maker function(s) for the top app bar, which can be used to add items to it. |
| 194 | func (bd *Body) AddAppBar(m ...func(p *tree.Plan)) { |
| 195 | bd.Scene.AppBars = append(bd.Scene.AppBars, m...) |
| 196 | } |
| 197 | |
| 198 | // GetTopAppBar returns the TopAppBar Toolbar if it exists, nil otherwise. |
| 199 | func (bd *Body) GetTopAppBar() *Toolbar { |
no outgoing calls