Synopsis#include <gio/gio.h> GIcon; GIconIface; guint g_icon_hash (gconstpointer icon); gboolean g_icon_equal (GIcon *icon1, GIcon *icon2); DescriptionGIcon is a very minimal interface for icons. It provides functions for checking the equality of two icons and hashing of icons. GIcon does not provide the actual pixmap for the icon as this is out of GIO's scope, however implementations of GIcon may contain the name of an icon (see GThemedIcon), or the path to an icon (see GLoadableIcon).
To obtain a hash of a GIcon, see
To check if two GIcons are equal, see
DetailsGIconIfacetypedef struct { GTypeInterface g_iface; /* Virtual Table */ guint (* hash) (GIcon *icon); gboolean (* equal) (GIcon *icon1, GIcon *icon2); } GIconIface; GIconIface is used to implement GIcon types for various different systems. See GThemedIcon and GLoadableIcon for examples of how to implement this interface.
g_icon_hash ()guint g_icon_hash (gconstpointer icon); Gets a hash for an icon.
|