Trait libhelium::prelude::ModifierBadgeExt
source · pub trait ModifierBadgeExt: IsA<ModifierBadge> + Sealed + 'static {
// Provided methods
fn color(&self) -> Colors { ... }
fn set_color(&self, value: Colors) { ... }
fn is_tinted(&self) -> bool { ... }
fn set_tinted(&self, value: bool) { ... }
fn label(&self) -> Option<GString> { ... }
fn set_label(&self, value: Option<&str>) { ... }
fn alignment(&self) -> ModifierBadgeAlignment { ... }
fn set_alignment(&self, value: ModifierBadgeAlignment) { ... }
fn connect_color_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_tinted_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_label_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_alignment_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Expand description
Provided Methods§
fn color(&self) -> Colors
fn set_color(&self, value: Colors)
fn is_tinted(&self) -> bool
fn set_tinted(&self, value: bool)
fn label(&self) -> Option<GString>
fn set_label(&self, value: Option<&str>)
fn alignment(&self) -> ModifierBadgeAlignment
fn set_alignment(&self, value: ModifierBadgeAlignment)
fn connect_color_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_tinted_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_label_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_alignment_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Object Safety§
This trait is not object safe.