Gio.Emblem¶
class — extends GObject.Object, Icon
GEmblem is an implementation of Icon that supports
having an emblem, which is an icon with additional properties.
It can than be added to a EmblemedIcon.
Currently, only metainformation about the emblem's origin is supported. More may be added in the future.
Constructors¶
new¶
Creates a new emblem for icon.
Parameters:
icon— a GIcon containing the icon.
new_with_origin¶
Creates a new emblem for icon.
Parameters:
icon— a GIcon containing the icon.origin— a GEmblemOrigin enum defining the emblem's origin
Methods¶
get_icon¶
Gives back the icon from emblem.
get_origin¶
Gets the origin of the emblem.
Properties¶
icon¶
The actual icon of the emblem.
origin¶
The origin the emblem is derived from.