pub trait EmblemedIconExt: 'static {
    // Required 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

Required 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>

Implementors§