ShortcutTrigger.compare

The types of @trigger1 and @trigger2 are #gconstpointer only to allow use of this function as a #GCompareFunc.

They must each be a GtkShortcutTrigger.

class ShortcutTrigger
int
compare

Parameters

trigger2 ShortcutTrigger

a GtkShortcutTrigger

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.

Meta