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 { ... }
}
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
Object Safety§
This trait is not object safe.