Hook.compareIds

Compares the ids of two glib.Hook elements, returning a negative value if the second id is greater than the first.

class Hook
int
compareIds

Parameters

sibling Hook

a glib.Hook to compare with new_hook

Return Value

Type: int

a value <= 0 if the id of sibling is >= the id of new_hook