Struct gtk::Toolbar
[−]
pub struct Toolbar(_, _);
Methods
impl Toolbar
[src]
fn new() -> Toolbar
fn get_drop_index(&self, x: i32, y: i32) -> i32
fn get_icon_size(&self) -> IconSize
fn get_item_index<T: IsA<ToolItem>>(&self, item: &T) -> i32
fn get_n_items(&self) -> i32
fn get_nth_item(&self, n: i32) -> Option<ToolItem>
fn get_show_arrow(&self) -> bool
fn insert<T: IsA<ToolItem>>(&self, item: &T, pos: i32)
fn set_drop_highlight_item<T: IsA<ToolItem>>(&self,
tool_item: Option<&T>,
index_: i32)
tool_item: Option<&T>,
index_: i32)
fn set_icon_size(&self, icon_size: IconSize)
fn set_show_arrow(&self, show_arrow: bool)
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)
fn get_item_expand<T: IsA<Widget>>(&self, item: &T) -> bool
fn set_item_expand<T: IsA<Widget>>(&self, item: &T, expand: bool)
fn get_item_homogeneous<T: IsA<Widget>>(&self, item: &T) -> bool
fn set_item_homogeneous<T: IsA<Widget>>(&self, item: &T, homogeneous: bool)
fn connect_focus_home_or_end<F: Fn(&Toolbar, bool) -> bool + 'static>(&self,
f: F)
-> u64
f: F)
-> u64
fn connect_orientation_changed<F: Fn(&Toolbar, Orientation) + 'static>(&self,
f: F)
-> u64
f: F)
-> u64
fn connect_style_changed<F: Fn(&Toolbar, ToolbarStyle) + 'static>(&self,
f: F)
-> u64
f: F)
-> u64
Trait Implementations
impl Clone for Toolbar
fn clone(&self) -> Toolbar
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 Toolbar
impl Hash for Toolbar
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 Toolbar
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for Toolbar
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 !=
.