AddBottomBar adds the given function for configuring a control bar at the bottom of the window
(fun func(parent Widget))
| 187 | // AddBottomBar adds the given function for configuring a control bar |
| 188 | // at the bottom of the window |
| 189 | func (bd *Body) AddBottomBar(fun func(parent Widget)) { |
| 190 | bd.Scene.Bars.Bottom.Add(fun) |
| 191 | } |
| 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)) { |