Emblem

GEmblem is an implementation of GIcon that supports having an emblem, which is an icon with additional properties. It can than be added to a GEmblemedIcon

Currently, only metainformation about the emblem's origin is supported. More may be added in the future.

Constructors

this
this(GEmblem* gEmblem, bool ownedRef = false)

Sets our main struct and passes it to the parent class.

this
this(IconIF icon)

Creates a new emblem for icon.

this
this(IconIF icon, GEmblemOrigin origin)

Creates a new emblem for icon.

Members

Functions

getEmblemStruct
GEmblem* getEmblemStruct(bool transferOwnership = false)

Get the main Gtk struct

getIcon
IconIF getIcon()

Gives back the icon from emblem.

getOrigin
GEmblemOrigin getOrigin()

Gets the origin of the emblem.

getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

getType
GType getType()

Variables

gEmblem
GEmblem* gEmblem;

the main Gtk struct