34 typedef std::unique_ptr<tab_button> tab_pointer;
35 typedef std::vector<tab_pointer> tab_list;
89 void update_placement();
96 std::optional<horizontal_layout> iHorizontalLayout;
97 std::optional<vertical_layout> iVerticalLayout;
declare_event(style_changed) public typedef std::optional< tab_index > optional_tab_index
bool visible() const override
void select_previous_tab() override
bool closable_tabs() const noexcept override
const i_widget & as_widget() const override
tab_bar(i_widget &aParent, i_tab_container &aContainer, bool aClosableTabs=false, neogfx::tab_container_style aStyle=neogfx::tab_container_style::TabAlignmentTop)
bool is_tab_selected() const noexcept override
optional_tab_index next_visible_tab(tab_index aStartFrom) const override
uint32_t tab_count() const noexcept override
i_tab & insert_tab(tab_index aTabIndex, i_string const &aTabText) override
tab_index index_of(const i_tab &aTab) const override
tab_bar(i_layout &aLayout, i_tab_container &aContainer, bool aClosableTabs=false, neogfx::tab_container_style aStyle=neogfx::tab_container_style::TabAlignmentTop)
void hide_tab(tab_index aTabIndex) override
bool is_managing_layout() const override
void selecting_tab(i_tab &aTab) override
void show_tab(tab_index aTabIndex) override
bool has_parent_container() const override
tab_bar(i_tab_container &aContainer, bool aClosableTabs=false, neogfx::tab_container_style aStyle=neogfx::tab_container_style::TabAlignmentTop)
void remove_tab(tab_index aTabIndex) override
bool has_tabs() const noexcept override
const i_tab & selected_tab() const override
void set_tab_container_style(neogfx::tab_container_style aStyle) override
bool has_tab_page(tab_index aTabIndex) const override
optional_tab_index previous_visible_tab(tab_index aStartFrom) const override
void adding_tab(i_tab &aTab) override
size minimum_size(optional_size const &aAvailableSpace=optional_size{}) const override
const i_tab_container & parent_container() const override
i_tab & add_tab(i_string const &aTabText) override
const i_tab & tab(tab_index aTabIndex) const override
void select_next_tab() override
i_tab_container::tab_index tab_index
void set_tab_icon_size(const size &aIconSize) override
neogfx::size_policy size_policy() const override
void removing_tab(i_tab &aTab) override
void set_closable_tabs(bool aClosableTabs) override
#define define_declared_event(name, declName,...)