pub trait EmblemedIconExt: IsA<EmblemedIcon> + Sealed + 'static {
    // Provided methods
    fn add_emblem(&self, emblem: &Emblem) { ... }
    fn clear_emblems(&self) { ... }
    fn emblems(&self) -> Vec<Emblem> { ... }
    fn icon(&self) -> Icon { ... }
    fn gicon(&self) -> Option<Icon> { ... }
}
Expand description

Trait containing all EmblemedIcon methods.

Implementors

EmblemedIcon

Provided Methods§

source

fn add_emblem(&self, emblem: &Emblem)

Adds emblem to the GList of GEmblems.

emblem

a Emblem

source

fn clear_emblems(&self)

Removes all the emblems from icon.

source

fn emblems(&self) -> Vec<Emblem>

Gets the list of emblems for the icon.

Returns

a GList of GEmblems that is owned by self

source

fn icon(&self) -> Icon

Gets the main icon for self.

Returns

a Icon that is owned by self

source

fn gicon(&self) -> Option<Icon>

Object Safety§

This trait is not object safe.

Implementors§