gio.EmblemAn object for emblems.Synopsisgio.Emblemgobject.GObjectgio.Icongio.Emblemiconget_iconget_originFunctionsgio.emblem_new_with_originoriginAncestry+-- gobject.GObject
+-- gio.Emblem
Implemented Interfacesgio.Emblem
implements
gio.IconDescription
The gio.Emblem
class is an implementation of gio.Icon
that supports having an emblem, which is an icon with additional properties.
It can than be added to a
gio.EmblemedIcon.
Currently, only metainformation about the emblem's origin is supported.
More may be added in the future.
Constructorgio.Emblemiconicon :a
gio.Icon containing the icon.
Returns :a new
gio.Emblem.
Creates a new gio.Emblem for icon.
Methodsgio.Emblem.get_iconget_iconReturns :a
gio.Icon.
The get_icon() method gives back the icon from emblem.
gio.Emblem.get_originget_originReturns :the origin of the emblem.
The get_origin() method gets the origin of the emblem.
Functionsgio.emblem_new_with_originemblem_new_with_originoriginorigin :a
defining the emblem's origin .
Returns :A gio.Emblem.
The emblem_new_with_origin() function creates
a new emblem for icon.