Gio.Icon.hash
function hash(icon: void): Number(guint) { // Gjs wrapper for g_icon_hash() }
Gets a hash for an icon.
- icon
#gconstpointer to an icon object.
- Returns
a #guint containing a hash for the icon, suitable for use in a GLib.HashTable or similar data structure.