[][src]Struct gtk::ModelButton

pub struct ModelButton(_, _);

Implementations

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(&self, menu_name: Option<&str>)[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(&self, text: Option<&str>)[src]

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

pub fn set_property_use_markup(&self, use_markup: bool)[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]

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

Trait Implementations

impl Clone for ModelButton[src]

impl Debug for ModelButton[src]

impl Default for ModelButton[src]

impl Display for ModelButton[src]

impl Eq for ModelButton[src]

impl Hash for ModelButton[src]

impl IsA<Actionable> for ModelButton[src]

impl IsA<Bin> for ModelButton[src]

impl IsA<Buildable> for ModelButton[src]

impl IsA<Button> for ModelButton[src]

impl IsA<Container> for ModelButton[src]

impl IsA<Widget> for ModelButton[src]

impl Ord for ModelButton[src]

impl<T: ObjectType> PartialEq<T> for ModelButton[src]

impl<T: ObjectType> PartialOrd<T> for ModelButton[src]

impl StaticType for ModelButton[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

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

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

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

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> 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, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

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

impl<T> ToValue for T where
    T: SetValue + ?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.