Hook.insertSorted

Inserts a glib.Hook into a glib.HookList, sorted by the given function.

class Hook
static
void
insertSorted

Parameters

hookList HookList
hook Hook

the glib.Hook to insert

func GHookCompareFunc

the comparison function used to sort the glib.Hook elements