Trait gtk::ToolPaletteExt
[−]
[src]
pub trait ToolPaletteExt { fn add_drag_dest<P: IsA<Widget>>(
&self,
widget: &P,
flags: DestDefaults,
targets: ToolPaletteDragTargets,
actions: DragAction
); fn get_drag_item(&self, selection: &SelectionData) -> Option<Widget>; fn get_drop_group(&self, x: i32, y: i32) -> Option<ToolItemGroup>; fn get_drop_item(&self, x: i32, y: i32) -> Option<ToolItem>; fn get_exclusive(&self, group: &ToolItemGroup) -> bool; fn get_expand(&self, group: &ToolItemGroup) -> bool; fn get_group_position(&self, group: &ToolItemGroup) -> i32; fn get_icon_size(&self) -> i32; fn get_style(&self) -> ToolbarStyle; fn set_drag_source(&self, targets: ToolPaletteDragTargets); fn set_exclusive(&self, group: &ToolItemGroup, exclusive: bool); fn set_expand(&self, group: &ToolItemGroup, expand: bool); fn set_group_position(&self, group: &ToolItemGroup, position: i32); fn set_icon_size(&self, icon_size: i32); fn set_style(&self, style: ToolbarStyle); fn unset_icon_size(&self); fn unset_style(&self); fn get_property_icon_size_set(&self) -> bool; fn set_property_icon_size_set(&self, icon_size_set: bool); fn get_property_toolbar_style(&self) -> ToolbarStyle; fn set_property_toolbar_style(&self, toolbar_style: ToolbarStyle); }
Required Methods
fn add_drag_dest<P: IsA<Widget>>(
&self,
widget: &P,
flags: DestDefaults,
targets: ToolPaletteDragTargets,
actions: DragAction
)
&self,
widget: &P,
flags: DestDefaults,
targets: ToolPaletteDragTargets,
actions: DragAction
)
fn get_drag_item(&self, selection: &SelectionData) -> Option<Widget>
fn get_drop_group(&self, x: i32, y: i32) -> Option<ToolItemGroup>
fn get_drop_item(&self, x: i32, y: i32) -> Option<ToolItem>
fn get_exclusive(&self, group: &ToolItemGroup) -> bool
fn get_expand(&self, group: &ToolItemGroup) -> bool
fn get_group_position(&self, group: &ToolItemGroup) -> i32
fn get_icon_size(&self) -> i32
fn get_style(&self) -> ToolbarStyle
fn set_drag_source(&self, targets: ToolPaletteDragTargets)
fn set_exclusive(&self, group: &ToolItemGroup, exclusive: bool)
fn set_expand(&self, group: &ToolItemGroup, expand: bool)
fn set_group_position(&self, group: &ToolItemGroup, position: i32)
fn set_icon_size(&self, icon_size: i32)
fn set_style(&self, style: ToolbarStyle)
fn unset_icon_size(&self)
fn unset_style(&self)
fn get_property_icon_size_set(&self) -> bool
fn set_property_icon_size_set(&self, icon_size_set: bool)
fn get_property_toolbar_style(&self) -> ToolbarStyle
fn set_property_toolbar_style(&self, toolbar_style: ToolbarStyle)
Implementors
impl<O: IsA<ToolPalette> + IsA<Object>> ToolPaletteExt for O