Trait libhelium::prelude::ButtonContentExt
source · pub trait ButtonContentExt: IsA<ButtonContent> + Sealed + 'static {
// Provided methods
fn icon(&self) -> GString { ... }
fn set_icon(&self, value: &str) { ... }
fn label(&self) -> GString { ... }
fn set_label(&self, value: &str) { ... }
fn connect_icon_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_label_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Expand description
Provided Methods§
fn icon(&self) -> GString
fn set_icon(&self, value: &str)
fn label(&self) -> GString
fn set_label(&self, value: &str)
fn connect_icon_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_label_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Object Safety§
This trait is not object safe.