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.

class ShortcutTrigger
int
compare

Parameters

trigger2 gtk.shortcut_trigger.ShortcutTrigger

Return Value

Type: int

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.