gio.EmblemedIconIcon with emblems.Synopsisgio.EmblemedIcongobject.GObjectgio.Icongio.EmblemedIconiconemblemadd_emblememblemget_iconAncestry+-- gobject.GObject
+-- gio.EmblemedIcon
Implemented Interfacesgio.EmblemedIcon
implements
gio.IconDescription
The gio.EmblemedIcon
class is an implementation of gio.Icon
that supports adding an emblem to an icon. Adding multiple emblems to an icon is ensured via
gio.EmblemedIcon.add_emblem().
Note that
gio.EmblemedIcon
allows no control over the position of the emblems. See also
gio.Emblem
for more information.
Constructorgio.EmblemedIconiconemblemicon :a
gio.Icon.
emblem :a
gio.Emblem.
Returns :a new
gio.Icon.
Creates a new gio.Icon
for icon with the emblem emblem.
Methodsgio.EmblemedIcon.add_emblemadd_emblememblememblem :a
gio.Emblem
The add_emblem() method adds emblem to the
list of gio.Emblems.
gio.EmblemedIcon.get_iconget_iconReturns :a
gio.Icon
that is owned by emblemed.
The get_icon() method gets the main icon for emblemed.