Trait libhelium::prelude::TabExt

source ·
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 { ... }
}
Expand description

Trait containing all Tab methods.

§Implementors

Tab

Provided Methods§

source

fn label(&self) -> GString

source

fn set_label(&self, value: &str)

source

fn set_tooltip(&self, value: &str)

source

fn is_pinned(&self) -> bool

source

fn set_pinned(&self, value: bool)

source

fn can_pin(&self) -> bool

source

fn set_can_pin(&self, value: bool)

source

fn can_close(&self) -> bool

source

fn set_can_close(&self, value: bool)

source

fn page(&self) -> Widget

source

fn set_page(&self, value: &impl IsA<Widget>)

source

fn menu(&self) -> Menu

source

fn actions(&self) -> SimpleActionGroup

source

fn set_menu(&self, menu: Option<&Menu>)

The menu appearing when the tab is clicked

source

fn connect_label_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_tooltip_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_pinned_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_can_pin_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_can_close_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_page_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_menu_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<Tab>> TabExt for O