[]Struct gtk::ModelButton

pub struct ModelButton(_, _);

Methods

impl ModelButton[src]

pub fn new() -> ModelButton[src]

pub fn get_property_active(&self) -> bool[src]

pub fn set_property_active(&self, active: bool)[src]

pub fn get_property_centered(&self) -> bool[src]

pub fn set_property_centered(&self, centered: bool)[src]

pub fn get_property_icon(&self) -> Option<Icon>[src]

pub fn set_property_icon<P: IsA<Icon> + SetValueOptional>(
    &self,
    icon: Option<&P>
)
[src]

pub fn get_property_iconic(&self) -> bool[src]

pub fn set_property_iconic(&self, iconic: bool)[src]

pub fn get_property_inverted(&self) -> bool[src]

pub fn set_property_inverted(&self, inverted: bool)[src]

pub fn get_property_menu_name(&self) -> Option<GString>[src]

pub fn set_property_menu_name<'a, P: Into<Option<&'a str>>>(&self, menu_name: P)[src]

pub fn get_property_role(&self) -> ButtonRole[src]

pub fn set_property_role(&self, role: ButtonRole)[src]

pub fn get_property_text(&self) -> Option<GString>[src]

pub fn set_property_text<'a, P: Into<Option<&'a str>>>(&self, text: P)[src]

pub fn connect_property_active_notify<F: Fn(&ModelButton) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_centered_notify<F: Fn(&ModelButton) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_icon_notify<F: Fn(&ModelButton) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_iconic_notify<F: Fn(&ModelButton) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_inverted_notify<F: Fn(&ModelButton) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_menu_name_notify<F: Fn(&ModelButton) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_role_notify<F: Fn(&ModelButton) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_text_notify<F: Fn(&ModelButton) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Trait Implementations

impl Clone for ModelButton

impl Default for ModelButton[src]

impl Eq for ModelButton

impl Ord for ModelButton

impl<T: ObjectType> PartialEq<T> for ModelButton

impl<T: ObjectType> PartialOrd<T> for ModelButton

impl Display for ModelButton[src]

impl Debug for ModelButton

impl Hash for ModelButton

impl IsA<Button> for ModelButton

impl IsA<Bin> for ModelButton

impl IsA<Container> for ModelButton

impl IsA<Widget> for ModelButton

impl IsA<Buildable> for ModelButton

impl IsA<Actionable> for ModelButton

impl StaticType for ModelButton

Auto Trait Implementations

impl !Send for ModelButton

impl !Sync for ModelButton

impl Unpin for ModelButton

impl UnwindSafe for ModelButton

impl RefUnwindSafe for ModelButton

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]