UpdateTree calls [WidgetBase.UpdateWidget] on every widget in the tree starting with this one and going down.
()
| 29 | // UpdateTree calls [WidgetBase.UpdateWidget] on every widget in the tree |
| 30 | // starting with this one and going down. |
| 31 | func (wb *WidgetBase) UpdateTree() { |
| 32 | wb.WidgetWalkDown(func(cw Widget, cwb *WidgetBase) bool { |
| 33 | cwb.UpdateWidget() |
| 34 | return tree.Continue |
| 35 | }) |
| 36 | } |
| 37 | |
| 38 | // Update updates the widget and all of its children by running [WidgetBase.UpdateWidget] |
| 39 | // and [WidgetBase.Style] on each one, and triggering a new layout pass with |