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§
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 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 set_expand(&self, expand: bool)
fn set_homogeneous(&self, homogeneous: bool)
fn set_is_important(&self, is_important: bool)
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_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
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.