Struct gtk::MenuToolButton
[−]
pub struct MenuToolButton(_, _);
Methods
impl MenuToolButton
[src]
fn new<'a, 'b, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>, R: Into<Option<&'b str>>>(
icon_widget: Q,
label: R
) -> MenuToolButton
icon_widget: Q,
label: R
) -> MenuToolButton
fn new_from_stock(stock_id: &str) -> MenuToolButton
Trait Implementations
impl Clone for MenuToolButton
fn clone(&self) -> MenuToolButton
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 MenuToolButton
impl Hash for MenuToolButton
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl StaticType for MenuToolButton
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for MenuToolButton
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 !=
.