Top |
Functions
GIcon * | g_emblemed_icon_new () |
GIcon * | g_emblemed_icon_get_icon () |
GList * | g_emblemed_icon_get_emblems () |
void | g_emblemed_icon_add_emblem () |
void | g_emblemed_icon_clear_emblems () |
Description
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.
Functions
g_emblemed_icon_new ()
GIcon * g_emblemed_icon_new (GIcon *icon
,GEmblem *emblem
);
Creates a new emblemed icon for icon
with the emblem emblem
.
Since 2.18
g_emblemed_icon_get_icon ()
GIcon *
g_emblemed_icon_get_icon (GEmblemedIcon *emblemed
);
Gets the main icon for emblemed
.
Since 2.18
g_emblemed_icon_get_emblems ()
GList *
g_emblemed_icon_get_emblems (GEmblemedIcon *emblemed
);
Gets the list of emblems for the icon
.
Since 2.18
g_emblemed_icon_add_emblem ()
void g_emblemed_icon_add_emblem (GEmblemedIcon *emblemed
,GEmblem *emblem
);
Adds emblem
to the GList of GEmblems.
Since 2.18
g_emblemed_icon_clear_emblems ()
void
g_emblemed_icon_clear_emblems (GEmblemedIcon *emblemed
);
Removes all the emblems from icon
.
Since 2.28
Property Details
The “gicon”
property
“gicon” GIcon *
The GIcon to attach emblems to.
Flags: Read / Write / Construct Only