Struct gtk::ToolPalette
[−]
pub struct ToolPalette(_, _);
Methods
impl ToolPalette
[src]
fn new() -> ToolPalette
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)
Trait Implementations
impl Clone for ToolPalette
fn clone(&self) -> ToolPalette
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for ToolPalette
impl Hash for ToolPalette
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl StaticType for ToolPalette
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for ToolPalette
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.