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;
}

Required Methods§

source

fn add_drag_dest( &self, widget: &impl IsA<Widget>, flags: DestDefaults, targets: ToolPaletteDragTargets, actions: DragAction )

source

fn drag_item(&self, selection: &SelectionData) -> Option<Widget>

source

fn drop_group(&self, x: i32, y: i32) -> Option<ToolItemGroup>

source

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

source

fn is_exclusive(&self, group: &impl IsA<ToolItemGroup>) -> bool

source

fn expands(&self, group: &impl IsA<ToolItemGroup>) -> bool

source

fn group_position(&self, group: &impl IsA<ToolItemGroup>) -> i32

source

fn icon_size(&self) -> IconSize

source

fn style(&self) -> ToolbarStyle

source

fn set_drag_source(&self, targets: ToolPaletteDragTargets)

source

fn set_exclusive(&self, group: &impl IsA<ToolItemGroup>, exclusive: bool)

source

fn set_expand(&self, group: &impl IsA<ToolItemGroup>, expand: bool)

source

fn set_group_position(&self, group: &impl IsA<ToolItemGroup>, position: i32)

source

fn set_icon_size(&self, icon_size: IconSize)

source

fn set_style(&self, style: ToolbarStyle)

source

fn unset_icon_size(&self)

source

fn unset_style(&self)

source

fn is_icon_size_set(&self) -> bool

source

fn set_icon_size_set(&self, icon_size_set: bool)

source

fn toolbar_style(&self) -> ToolbarStyle

source

fn set_toolbar_style(&self, toolbar_style: ToolbarStyle)

source

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

source

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

source

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

Implementors§