pub trait ToolItemGroupExt: 'static {
Show 29 methods
// Required methods
fn get_collapsed(&self) -> bool;
fn get_drop_item(&self, x: i32, y: i32) -> Option<ToolItem>;
fn get_ellipsize(&self) -> EllipsizeMode;
fn get_header_relief(&self) -> ReliefStyle;
fn get_item_position<P: IsA<ToolItem>>(&self, item: &P) -> i32;
fn get_label(&self) -> Option<GString>;
fn get_label_widget(&self) -> Option<Widget>;
fn get_n_items(&self) -> u32;
fn get_nth_item(&self, index: u32) -> Option<ToolItem>;
fn insert<P: IsA<ToolItem>>(&self, item: &P, 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<P: IsA<ToolItem>>(&self, item: &P, position: i32);
fn set_label(&self, label: &str);
fn set_label_widget<P: IsA<Widget>>(&self, label_widget: &P);
fn get_item_expand<T: IsA<ToolItem>>(&self, item: &T) -> bool;
fn set_item_expand<T: IsA<ToolItem>>(&self, item: &T, expand: bool);
fn get_item_fill<T: IsA<ToolItem>>(&self, item: &T) -> bool;
fn set_item_fill<T: IsA<ToolItem>>(&self, item: &T, fill: bool);
fn get_item_homogeneous<T: IsA<ToolItem>>(&self, item: &T) -> bool;
fn set_item_homogeneous<T: IsA<ToolItem>>(
&self,
item: &T,
homogeneous: bool,
);
fn get_item_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_property_collapsed_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_ellipsize_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_header_relief_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_label_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_label_widget_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn get_collapsed(&self) -> bool
fn get_drop_item(&self, x: i32, y: i32) -> Option<ToolItem>
fn get_ellipsize(&self) -> EllipsizeMode
fn get_header_relief(&self) -> ReliefStyle
fn get_item_position<P: IsA<ToolItem>>(&self, item: &P) -> i32
fn get_label(&self) -> Option<GString>
fn get_label_widget(&self) -> Option<Widget>
fn get_n_items(&self) -> u32
fn get_nth_item(&self, index: u32) -> Option<ToolItem>
fn insert<P: IsA<ToolItem>>(&self, item: &P, 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<P: IsA<ToolItem>>(&self, item: &P, position: i32)
fn set_label(&self, label: &str)
fn set_label_widget<P: IsA<Widget>>(&self, label_widget: &P)
fn get_item_expand<T: IsA<ToolItem>>(&self, item: &T) -> bool
fn set_item_expand<T: IsA<ToolItem>>(&self, item: &T, expand: bool)
fn get_item_fill<T: IsA<ToolItem>>(&self, item: &T) -> bool
fn set_item_fill<T: IsA<ToolItem>>(&self, item: &T, fill: bool)
fn get_item_homogeneous<T: IsA<ToolItem>>(&self, item: &T) -> bool
fn set_item_homogeneous<T: IsA<ToolItem>>(&self, item: &T, homogeneous: bool)
fn get_item_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_property_collapsed_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_ellipsize_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_header_relief_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_label_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_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.