Emblem
Superclasses: Object
Implemented Interfaces: Icon
- Constructors:
Emblem(**properties)
new(icon:Gio.Icon) -> Gio.Emblem
new_with_origin(icon:Gio.Icon, origin:Gio.EmblemOrigin) -> Gio.Emblem
Constructors
- class Emblem
- classmethod new(icon: Icon) Emblem
Creates a new emblem for
icon
.Added in version 2.18.
- Parameters:
icon – a GIcon containing the icon.
- classmethod new_with_origin(icon: Icon, origin: EmblemOrigin) Emblem
Creates a new emblem for
icon
.Added in version 2.18.
- Parameters:
icon – a GIcon containing the icon.
origin – a GEmblemOrigin enum defining the emblem’s origin
Methods
- class Emblem
-
- get_origin() EmblemOrigin
Gets the origin of the emblem.
Added in version 2.18.
Properties
- class Emblem
-
- props.origin: EmblemOrigin
The origin the emblem is derived from.
Added in version 2.18.