Trait libhelium::prelude::HeButtonExt

source ·
pub trait HeButtonExt: IsA<Button> + Sealed + 'static {
Show 30 methods // Provided methods fn color(&self) -> Colors { ... } fn set_color(&self, value: Colors) { ... } fn is_disclosure(&self) -> bool { ... } fn set_is_disclosure(&self, value: bool) { ... } fn is_iconic(&self) -> bool { ... } fn set_is_iconic(&self, value: bool) { ... } fn is_outline(&self) -> bool { ... } fn set_is_outline(&self, value: bool) { ... } fn is_tint(&self) -> bool { ... } fn set_is_tint(&self, value: bool) { ... } fn fills(&self) -> bool { ... } fn set_is_fill(&self, value: bool) { ... } fn is_pill(&self) -> bool { ... } fn set_is_pill(&self, value: bool) { ... } fn is_textual(&self) -> bool { ... } fn set_is_textual(&self, value: bool) { ... } fn icon(&self) -> Option<GString> { ... } fn set_icon(&self, value: Option<&str>) { ... } fn text(&self) -> GString { ... } fn set_text(&self, value: &str) { ... } fn connect_color_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_is_disclosure_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_is_iconic_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_is_outline_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_is_tint_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_is_fill_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_is_pill_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_is_textual_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_icon_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_text_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all Button methods.

§Implementors

Button

Provided Methods§

source

fn color(&self) -> Colors

source

fn set_color(&self, value: Colors)

source

fn is_disclosure(&self) -> bool

source

fn set_is_disclosure(&self, value: bool)

source

fn is_iconic(&self) -> bool

source

fn set_is_iconic(&self, value: bool)

source

fn is_outline(&self) -> bool

source

fn set_is_outline(&self, value: bool)

source

fn is_tint(&self) -> bool

source

fn set_is_tint(&self, value: bool)

source

fn fills(&self) -> bool

source

fn set_is_fill(&self, value: bool)

source

fn is_pill(&self) -> bool

source

fn set_is_pill(&self, value: bool)

source

fn is_textual(&self) -> bool

source

fn set_is_textual(&self, value: bool)

source

fn icon(&self) -> Option<GString>

source

fn set_icon(&self, value: Option<&str>)

source

fn text(&self) -> GString

source

fn set_text(&self, value: &str)

source

fn connect_color_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_is_disclosure_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_is_iconic_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_is_outline_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_is_tint_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_is_fill_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_is_pill_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_is_textual_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_icon_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_text_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<Button>> HeButtonExt for O