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 #GEmblem

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 #GIcon that is owned by @self

source

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

The Icon to attach emblems to.

Object Safety§

This trait is not object safe.

Implementors§