Trait libhelium::prelude::BadgeExt

source ·
pub trait BadgeExt: IsA<Badge> + Sealed + 'static {
    // Provided methods
    fn child(&self) -> Option<Widget> { ... }
    fn set_child(&self, value: Option<&impl IsA<Widget>>) { ... }
    fn label(&self) -> Option<GString> { ... }
    fn set_label(&self, value: Option<&str>) { ... }
    fn connect_label_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all Badge methods.

§Implementors

Badge

Provided Methods§

source

fn child(&self) -> Option<Widget>

source

fn set_child(&self, value: Option<&impl IsA<Widget>>)

source

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

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<Badge>> BadgeExt for O