|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
Shows the case whose key the selector yields; remounts only when that key changes. More...
#include <view.hpp>
Public Attributes | |
| Prop< Key > | selector |
| Which case to show. | |
| std::vector< SwitchCase > | cases |
| The cases; the first one with the selected key wins. | |
| Node | fallback |
| Shown when no case matches; may be null, and then nothing is shown. | |
| Common | common {} |
| Visibility, enablement, layout, drag-and-drop. | |
Shows the case whose key the selector yields; remounts only when that key changes.
| std::vector<SwitchCase> morph::ui::Switch::cases |
| Node morph::ui::Switch::fallback |
| Common morph::ui::Switch::common {} |