Trait ToolItemExt

Source
pub trait ToolItemExt: 'static {
Show 30 methods // Required methods fn get_ellipsize_mode(&self) -> EllipsizeMode; fn get_expand(&self) -> bool; fn get_homogeneous(&self) -> bool; fn get_icon_size(&self) -> IconSize; fn get_is_important(&self) -> bool; fn get_orientation(&self) -> Orientation; fn get_proxy_menu_item(&self, menu_item_id: &str) -> Option<Widget>; fn get_relief_style(&self) -> ReliefStyle; fn get_text_alignment(&self) -> f32; fn get_text_orientation(&self) -> Orientation; fn get_text_size_group(&self) -> Option<SizeGroup>; fn get_toolbar_style(&self) -> ToolbarStyle; fn get_use_drag_window(&self) -> bool; fn get_visible_horizontal(&self) -> bool; fn get_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<P: IsA<Widget>>( &self, menu_item_id: &str, menu_item: Option<&P>, ); 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) -> Inhibit + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_toolbar_reconfigured<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_is_important_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_visible_horizontal_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_visible_vertical_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId;
}

Required Methods§

Source

fn get_ellipsize_mode(&self) -> EllipsizeMode

Source

fn get_expand(&self) -> bool

Source

fn get_homogeneous(&self) -> bool

Source

fn get_icon_size(&self) -> IconSize

Source

fn get_is_important(&self) -> bool

Source

fn get_orientation(&self) -> Orientation

Source

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

Source

fn get_relief_style(&self) -> ReliefStyle

Source

fn get_text_alignment(&self) -> f32

Source

fn get_text_orientation(&self) -> Orientation

Source

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

Source

fn get_toolbar_style(&self) -> ToolbarStyle

Source

fn get_use_drag_window(&self) -> bool

Source

fn get_visible_horizontal(&self) -> bool

Source

fn get_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<P: IsA<Widget>>( &self, menu_item_id: &str, menu_item: Option<&P>, )

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) -> Inhibit + 'static>( &self, f: F, ) -> SignalHandlerId

Source

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

Source

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

Source

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

Source

fn connect_property_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§