Trait 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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§