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

Trait containing all ButtonContent methods.

§Implementors

ButtonContent

Provided Methods§

source

fn icon(&self) -> GString

source

fn set_icon(&self, value: &str)

source

fn label(&self) -> GString

source

fn set_label(&self, value: &str)

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§