[][src]Trait gio::EmblemedIconExt

pub trait EmblemedIconExt: 'static {
    fn add_emblem(&self, emblem: &Emblem);
fn clear_emblems(&self);
fn get_emblems(&self) -> Vec<Emblem>;
fn get_icon(&self) -> Option<Icon>;
fn get_property_gicon(&self) -> Option<Icon>; }

Trait containing all EmblemedIcon methods.

Implementors

EmblemedIcon

Required methods

fn add_emblem(&self, emblem: &Emblem)

Adds emblem to the glib::List of GEmblems.

emblem

a Emblem

fn clear_emblems(&self)

Removes all the emblems from icon.

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

Gets the list of emblems for the icon.

Returns

a glib::List of GEmblems that is owned by self

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

Gets the main icon for self.

Returns

a Icon that is owned by self

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

Loading content...

Implementors

impl<O: IsA<EmblemedIcon>> EmblemedIconExt for O[src]

Loading content...