Where one Tabs keeps its pages: a slot per tab, made the first time the tab is selected and kept, hidden, after.
More...
#include <mount.hpp>
|
| std::vector< SlotWidget * > | pageSlots |
| | Each page's slot; null until the tab is first selected.
|
| std::optional< std::size_t > | shown |
| | The page shown now, if any; may be past the last page, and then none is shown.
|
| std::optional< std::size_t > | highlighted |
| | The tab the bar highlights, as far as the mount knows: the last one it set, or the user's pick since.
|
| std::function< void(std::size_t)> | onSelect |
| | The Tabs' onSelect, run as a widget callback; empty when the Tabs has none.
|
Where one Tabs keeps its pages: a slot per tab, made the first time the tab is selected and kept, hidden, after.
Definition at line 198 of file mount.hpp.
◆ pageSlots
| std::vector<SlotWidget*> morph::ui::detail::Pages::pageSlots |
Each page's slot; null until the tab is first selected.
Definition at line 200 of file mount.hpp.
◆ shown
| std::optional<std::size_t> morph::ui::detail::Pages::shown |
The page shown now, if any; may be past the last page, and then none is shown.
Definition at line 202 of file mount.hpp.
◆ highlighted
| std::optional<std::size_t> morph::ui::detail::Pages::highlighted |
The tab the bar highlights, as far as the mount knows: the last one it set, or the user's pick since.
Definition at line 204 of file mount.hpp.
◆ onSelect
| std::function<void(std::size_t)> morph::ui::detail::Pages::onSelect |
The documentation for this struct was generated from the following file: