Class: Gio::EmblemedIcon

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Constructor Details

#initialize(icon, emblem) ⇒ Gio::EmblemedIcon

Creates a new emblemed icon for icon with the emblem emblem.

Parameters:

Instance Method Details

#add_emblem(emblem) ⇒ nil

Adds emblem to the #GList of #GEmblems.

Parameters:

Returns:

  • (nil)

#clear_emblems ⇒ nil

Removes all the emblems from icon.

Returns:

  • (nil)

#emblems ⇒ GLib::List<Gio::Emblem>

Gets the list of emblems for the icon.

Returns:

  • (GLib::List<Gio::Emblem>) —

    a #GList of
    #GEmblems that is owned by emblemed

#gicon ⇒ Gio::Icon

The [ifaceGio.Icon] to attach emblems to.

Returns:

#gicon=(gicon) ⇒ Gio::Icon

The [ifaceGio.Icon] to attach emblems to.

Parameters:

Returns:

#icon ⇒ Gio::Icon

Gets the main icon for emblemed.

Returns:

  • (Gio::Icon) —

    a #GIcon that is owned by emblemed