logo
pub trait TabSwitcherExt: 'static {
Show 21 methods fn n_tabs(&self) -> i32; fn tabs(&self) -> Vec<Tab>; fn tab_bar_behavior(&self) -> TabSwitcherTabBarBehavior; fn set_tab_bar_behavior(&self, value: TabSwitcherTabBarBehavior); fn tab_position(&self, tab: &impl IsA<Tab>) -> i32; fn current(&self) -> Option<Tab>; fn set_current(&self, value: &impl IsA<Tab>); fn insert_tab(&self, tab: &impl IsA<Tab>, index: i32) -> u32; fn remove_tab(&self, tab: &impl IsA<Tab>); fn menu(&self) -> Option<Menu>; fn actions(&self) -> Option<SimpleActionGroup>; fn set_menu(&self, menu: Option<&Menu>); fn connect_tab_added<F: Fn(&Self, &Tab) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_tab_removed<F: Fn(&Self, &Tab) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_tab_switched<F: Fn(&Self, Option<&Tab>, &Tab) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_new_tab_requested<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_n_tabs_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_tabs_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_tab_bar_behavior_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_current_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_menu_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}
Expand description

Trait containing all TabSwitcher methods.

Implementors

TabSwitcher

Required Methods

Implementors