pub trait ToolPaletteExt: 'static {
Show 24 methods
// Required methods
fn add_drag_dest(
&self,
widget: &impl IsA<Widget>,
flags: DestDefaults,
targets: ToolPaletteDragTargets,
actions: DragAction
);
fn drag_item(&self, selection: &SelectionData) -> Option<Widget>;
fn drop_group(&self, x: i32, y: i32) -> Option<ToolItemGroup>;
fn drop_item(&self, x: i32, y: i32) -> Option<ToolItem>;
fn is_exclusive(&self, group: &impl IsA<ToolItemGroup>) -> bool;
fn expands(&self, group: &impl IsA<ToolItemGroup>) -> bool;
fn group_position(&self, group: &impl IsA<ToolItemGroup>) -> i32;
fn icon_size(&self) -> IconSize;
fn style(&self) -> ToolbarStyle;
fn set_drag_source(&self, targets: ToolPaletteDragTargets);
fn set_exclusive(&self, group: &impl IsA<ToolItemGroup>, exclusive: bool);
fn set_expand(&self, group: &impl IsA<ToolItemGroup>, expand: bool);
fn set_group_position(&self, group: &impl IsA<ToolItemGroup>, position: i32);
fn set_icon_size(&self, icon_size: IconSize);
fn set_style(&self, style: ToolbarStyle);
fn unset_icon_size(&self);
fn unset_style(&self);
fn is_icon_size_set(&self) -> bool;
fn set_icon_size_set(&self, icon_size_set: bool);
fn toolbar_style(&self) -> ToolbarStyle;
fn set_toolbar_style(&self, toolbar_style: ToolbarStyle);
fn connect_icon_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_icon_size_set_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_toolbar_style_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}