Struct gtk::ToolItemGroup
[−]
pub struct ToolItemGroup(_, _);
Methods
impl ToolItemGroup
[src]
fn new(label: &str) -> ToolItemGroup
fn get_collapsed(&self) -> bool
fn get_drop_item(&self, x: i32, y: i32) -> Option<ToolItem>
fn get_header_relief(&self) -> ReliefStyle
fn get_item_position<T: IsA<ToolItem>>(&self, item: &T) -> i32
fn get_label(&self) -> Option<String>
fn get_label_widget(&self) -> Option<Widget>
fn get_n_items(&self) -> u32
fn get_nth_item(&self, index: u32) -> Option<ToolItem>
fn insert<T: IsA<ToolItem>>(&self, item: &T, position: i32)
fn set_collapsed(&self, collapsed: bool)
fn set_header_relief(&self, style: ReliefStyle)
fn set_item_position<T: IsA<ToolItem>>(&self, item: &T, position: i32)
fn set_label(&self, label: &str)
fn set_label_widget<T: IsA<Widget>>(&self, label_widget: &T)
fn get_item_expand<T: IsA<ToolItem> + IsA<Widget>>(&self, item: &T) -> bool
fn set_item_expand<T: IsA<ToolItem> + IsA<Widget>>(&self,
item: &T,
expand: bool)
item: &T,
expand: bool)
fn get_item_fill<T: IsA<ToolItem> + IsA<Widget>>(&self, item: &T) -> bool
fn set_item_fill<T: IsA<ToolItem> + IsA<Widget>>(&self, item: &T, fill: bool)
fn get_item_homogeneous<T: IsA<ToolItem> + IsA<Widget>>(&self, item: &T) -> bool
fn set_item_homogeneous<T: IsA<ToolItem> + IsA<Widget>>(&self,
item: &T,
homogeneous: bool)
item: &T,
homogeneous: bool)
fn get_item_new_row<T: IsA<ToolItem> + IsA<Widget>>(&self, item: &T) -> bool
fn set_item_new_row<T: IsA<ToolItem> + IsA<Widget>>(&self,
item: &T,
new_row: bool)
item: &T,
new_row: bool)
Trait Implementations
impl Clone for ToolItemGroup
fn clone(&self) -> ToolItemGroup
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 ToolItemGroup
impl Hash for ToolItemGroup
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 ToolItemGroup
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for ToolItemGroup
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 !=
.