EXAMPLE: enabled/busy in Widget Tree VIEW SOURCE

This example demonstrates how the enabled and busy set-get properties behave in the context of a hierarchical tree of widgets. In the example, a widget tree is created from instances of a dummy UizeDotCom.TestWidget class. The root widget has two child widgets of the same class, and one of those children has a further two children of the same class. The widget exposes controls for its enabled and busy properties, and provides two buttons to demonstrate the effect of different combinations of enabled and busy at different levels of the tree. Play around with different values and see how the inheritance system for these properties operates.

ACTIONS ON ROOT WIDGET:   RESET TREE  |  TOGGLE ENABLED  |  TOGGLE BUSY  |  BUSY FOR 4 SECONDS