gtk::prelude

Trait ToolItemGroupExt

Source
pub trait ToolItemGroupExt:
    IsA<ToolItemGroup>
    + Sealed
    + 'static {
Show 29 methods // Provided methods fn is_collapsed(&self) -> bool { ... } fn drop_item(&self, x: i32, y: i32) -> Option<ToolItem> { ... } fn ellipsize(&self) -> EllipsizeMode { ... } fn header_relief(&self) -> ReliefStyle { ... } fn item_position(&self, item: &impl IsA<ToolItem>) -> i32 { ... } fn label(&self) -> Option<GString> { ... } fn label_widget(&self) -> Option<Widget> { ... } fn n_items(&self) -> u32 { ... } fn nth_item(&self, index: u32) -> Option<ToolItem> { ... } fn insert(&self, item: &impl IsA<ToolItem>, position: i32) { ... } fn set_collapsed(&self, collapsed: bool) { ... } fn set_ellipsize(&self, ellipsize: EllipsizeMode) { ... } fn set_header_relief(&self, style: ReliefStyle) { ... } fn set_item_position(&self, item: &impl IsA<ToolItem>, position: i32) { ... } fn set_label(&self, label: &str) { ... } fn set_label_widget(&self, label_widget: &impl IsA<Widget>) { ... } fn item_expands<T: IsA<ToolItem>>(&self, item: &T) -> bool { ... } fn set_item_expand<T: IsA<ToolItem>>(&self, item: &T, expand: bool) { ... } fn item_fills<T: IsA<ToolItem>>(&self, item: &T) -> bool { ... } fn set_item_fill<T: IsA<ToolItem>>(&self, item: &T, fill: bool) { ... } fn item_is_homogeneous<T: IsA<ToolItem>>(&self, item: &T) -> bool { ... } fn set_item_homogeneous<T: IsA<ToolItem>>( &self, item: &T, homogeneous: bool, ) { ... } fn item_is_new_row<T: IsA<ToolItem>>(&self, item: &T) -> bool { ... } fn set_item_new_row<T: IsA<ToolItem>>(&self, item: &T, new_row: bool) { ... } fn connect_collapsed_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_ellipsize_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_header_relief_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_label_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_label_widget_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn is_collapsed(&self) -> bool

Source

fn drop_item(&self, x: i32, y: i32) -> Option<ToolItem>

Source

fn ellipsize(&self) -> EllipsizeMode

Source

fn header_relief(&self) -> ReliefStyle

Source

fn item_position(&self, item: &impl IsA<ToolItem>) -> i32

Source

fn label(&self) -> Option<GString>

Source

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

Source

fn n_items(&self) -> u32

Source

fn nth_item(&self, index: u32) -> Option<ToolItem>

Source

fn insert(&self, item: &impl IsA<ToolItem>, position: i32)

Source

fn set_collapsed(&self, collapsed: bool)

Source

fn set_ellipsize(&self, ellipsize: EllipsizeMode)

Source

fn set_header_relief(&self, style: ReliefStyle)

Source

fn set_item_position(&self, item: &impl IsA<ToolItem>, position: i32)

Source

fn set_label(&self, label: &str)

Source

fn set_label_widget(&self, label_widget: &impl IsA<Widget>)

Source

fn item_expands<T: IsA<ToolItem>>(&self, item: &T) -> bool

Source

fn set_item_expand<T: IsA<ToolItem>>(&self, item: &T, expand: bool)

Source

fn item_fills<T: IsA<ToolItem>>(&self, item: &T) -> bool

Source

fn set_item_fill<T: IsA<ToolItem>>(&self, item: &T, fill: bool)

Source

fn item_is_homogeneous<T: IsA<ToolItem>>(&self, item: &T) -> bool

Source

fn set_item_homogeneous<T: IsA<ToolItem>>(&self, item: &T, homogeneous: bool)

Source

fn item_is_new_row<T: IsA<ToolItem>>(&self, item: &T) -> bool

Source

fn set_item_new_row<T: IsA<ToolItem>>(&self, item: &T, new_row: bool)

Source

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

Source

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

Source

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

Source

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

Source

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