ShortcutTrigger.compare

The types of trigger1 and trigger2 are gconstpointer only to allow use of this function as a [glib.types.CompareFunc].

They must each be a [gtk.shortcut_trigger.ShortcutTrigger].

Parameters

trigger2a [gtk.shortcut_trigger.ShortcutTrigger]

Returns

An integer less than, equal to, or greater than zero if

trigger1 is found, respectively, to be less than, to match, or be greater than trigger2.