logo
pub trait BadgeExt: 'static {
    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_child_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 Badge methods.

Implementors

Badge

Required Methods

Implementors