Trait gtk::prelude::ToolItemExt

source ·
pub trait ToolItemExt: IsA<ToolItem> + Sealed + 'static {
Show 32 methods // Provided methods fn ellipsize_mode(&self) -> EllipsizeMode { ... } fn expands(&self) -> bool { ... } fn is_homogeneous(&self) -> bool { ... } fn icon_size(&self) -> IconSize { ... } fn is_important(&self) -> bool { ... } fn orientation(&self) -> Orientation { ... } fn proxy_menu_item(&self, menu_item_id: &str) -> Option<Widget> { ... } fn relief_style(&self) -> ReliefStyle { ... } fn text_alignment(&self) -> f32 { ... } fn text_orientation(&self) -> Orientation { ... } fn text_size_group(&self) -> Option<SizeGroup> { ... } fn toolbar_style(&self) -> ToolbarStyle { ... } fn uses_drag_window(&self) -> bool { ... } fn is_visible_horizontal(&self) -> bool { ... } fn is_visible_vertical(&self) -> bool { ... } fn rebuild_menu(&self) { ... } fn retrieve_proxy_menu_item(&self) -> Option<Widget> { ... } fn set_expand(&self, expand: bool) { ... } fn set_homogeneous(&self, homogeneous: bool) { ... } fn set_is_important(&self, is_important: bool) { ... } fn set_proxy_menu_item( &self, menu_item_id: &str, menu_item: Option<&impl IsA<Widget>> ) { ... } fn set_tooltip_markup(&self, markup: &str) { ... } fn set_tooltip_text(&self, text: &str) { ... } fn set_use_drag_window(&self, use_drag_window: bool) { ... } fn set_visible_horizontal(&self, visible_horizontal: bool) { ... } fn set_visible_vertical(&self, visible_vertical: bool) { ... } fn toolbar_reconfigured(&self) { ... } fn connect_create_menu_proxy<F: Fn(&Self) -> Propagation + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_toolbar_reconfigured<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_is_important_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_visible_horizontal_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_visible_vertical_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn ellipsize_mode(&self) -> EllipsizeMode

source

fn expands(&self) -> bool

source

fn is_homogeneous(&self) -> bool

source

fn icon_size(&self) -> IconSize

source

fn is_important(&self) -> bool

source

fn orientation(&self) -> Orientation

source

fn proxy_menu_item(&self, menu_item_id: &str) -> Option<Widget>

source

fn relief_style(&self) -> ReliefStyle

source

fn text_alignment(&self) -> f32

source

fn text_orientation(&self) -> Orientation

source

fn text_size_group(&self) -> Option<SizeGroup>

source

fn toolbar_style(&self) -> ToolbarStyle

source

fn uses_drag_window(&self) -> bool

source

fn is_visible_horizontal(&self) -> bool

source

fn is_visible_vertical(&self) -> bool

source

fn rebuild_menu(&self)

source

fn retrieve_proxy_menu_item(&self) -> Option<Widget>

source

fn set_expand(&self, expand: bool)

source

fn set_homogeneous(&self, homogeneous: bool)

source

fn set_is_important(&self, is_important: bool)

source

fn set_proxy_menu_item( &self, menu_item_id: &str, menu_item: Option<&impl IsA<Widget>> )

source

fn set_tooltip_markup(&self, markup: &str)

source

fn set_tooltip_text(&self, text: &str)

source

fn set_use_drag_window(&self, use_drag_window: bool)

source

fn set_visible_horizontal(&self, visible_horizontal: bool)

source

fn set_visible_vertical(&self, visible_vertical: bool)

source

fn toolbar_reconfigured(&self)

source

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

source

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

source

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

source

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

source

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

Implementors§