pub trait TabExt: IsA<Tab> + Sealed + 'static {
Show 21 methods
// Provided methods
fn label(&self) -> GString { ... }
fn set_label(&self, value: &str) { ... }
fn set_tooltip(&self, value: &str) { ... }
fn is_pinned(&self) -> bool { ... }
fn set_pinned(&self, value: bool) { ... }
fn can_pin(&self) -> bool { ... }
fn set_can_pin(&self, value: bool) { ... }
fn can_close(&self) -> bool { ... }
fn set_can_close(&self, value: bool) { ... }
fn page(&self) -> Widget { ... }
fn set_page(&self, value: &impl IsA<Widget>) { ... }
fn menu(&self) -> Menu { ... }
fn actions(&self) -> SimpleActionGroup { ... }
fn set_menu(&self, menu: Option<&Menu>) { ... }
fn connect_label_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_tooltip_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_pinned_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_can_pin_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_can_close_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_page_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_menu_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Provided Methods§
fn label(&self) -> GString
fn set_label(&self, value: &str)
fn set_tooltip(&self, value: &str)
fn is_pinned(&self) -> bool
fn set_pinned(&self, value: bool)
fn can_pin(&self) -> bool
fn set_can_pin(&self, value: bool)
fn can_close(&self) -> bool
fn set_can_close(&self, value: bool)
fn page(&self) -> Widget
fn set_page(&self, value: &impl IsA<Widget>)
fn actions(&self) -> SimpleActionGroup
fn connect_label_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_tooltip_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_pinned_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_can_pin_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_can_close_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_page_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Object Safety§
This trait is not object safe.