|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
A tab bar over pages. More...
#include <view.hpp>
Public Attributes | |
| std::vector< Tab > | tabs |
| The pages, in order; set once. | |
| Prop< std::size_t > | selected |
| The selected page's index; an index past the last page shows none. | |
| std::function< void(std::size_t)> | onSelect |
| Called with the index the user picked, and with the page still shown when a picked page fails to mount. | |
| Common | common {} |
| Visibility, enablement, layout, drag-and-drop. | |
| std::vector<Tab> morph::ui::Tabs::tabs |
| Prop<std::size_t> morph::ui::Tabs::selected |
| std::function<void(std::size_t)> morph::ui::Tabs::onSelect |
| Common morph::ui::Tabs::common {} |