EmblemedIcon

GEmblemedIcon is an implementation of GIcon that supports adding an emblem to an icon. Adding multiple emblems to an icon is ensured via g_emblemed_icon_add_emblem().

Note that GEmblemedIcon allows no control over the position of the emblems. See also GEmblem for more information.

Constructors

this
this(GEmblemedIcon* gEmblemedIcon, bool ownedRef = false)

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

this
this(IconIF icon, Emblem emblem)

Creates a new emblemed icon for icon with the emblem emblem.

Members

Functions

addEmblem
void addEmblem(Emblem emblem)

Adds emblem to the GList of GEmblems

clearEmblems
void clearEmblems()

Removes all the emblems from icon.

getEmblemedIconStruct
GEmblemedIcon* getEmblemedIconStruct(bool transferOwnership = false)

Get the main Gtk struct

getEmblems
ListG getEmblems()

Gets the list of emblems for the icon.

getIcon
IconIF getIcon()

Gets the main icon for emblemed.

getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

getType
GType getType()

Variables

gEmblemedIcon
GEmblemedIcon* gEmblemedIcon;

the main Gtk struct