| GIO Reference Manual | ||||
|---|---|---|---|---|
#include <gio/gio.h>
GEmblemedIcon;
GIcon* g_emblemed_icon_new (GIcon *icon,
GEmblem *emblem);
GIcon* g_emblemed_icon_get_icon (GEmblemedIcon *emblemed);
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.
typedef struct _GEmblemedIcon GEmblemedIcon;
An implementation of GIcon for icons with emblems.
GIcon* g_emblemed_icon_new (GIcon *icon, GEmblem *emblem);
Creates a new emblemed icon for icon with the emblem emblem.
Since 2.18
GIcon* g_emblemed_icon_get_icon (GEmblemedIcon *emblemed);
Gets the main icon for emblemed.
|
a GEmblemedIcon |
Returns : |
a GIcon that is owned by emblemed
|
Since 2.18