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

Trait containing all ModifierBadge methods.

§Implementors

ModifierBadge

Provided Methods§

source

fn color(&self) -> Colors

source

fn set_color(&self, value: Colors)

source

fn is_tinted(&self) -> bool

source

fn set_tinted(&self, value: bool)

source

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

source

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

source

fn alignment(&self) -> ModifierBadgeAlignment

source

fn set_alignment(&self, value: ModifierBadgeAlignment)

source

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

source

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

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§