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