ShortcutTrigger.hash

uint hash()

Generates a hash value for a [gtk.shortcut_trigger.ShortcutTrigger].

The output of this function is guaranteed to be the same for a given value only per-process. It may change between different processor architectures or even different versions of GTK. Do not use this function as a basis for building protocols or file formats.

The types of trigger is gconstpointer only to allow use of this function with [glib.hash_table.HashTable]. They must each be a [gtk.shortcut_trigger.ShortcutTrigger].

Returns

a hash value corresponding to trigger