Hook.insertSorted

void insertSorted(glib.hook_list.HookList hookList, glib.hook.Hook hook, glib.types.HookCompareFunc func)

Inserts a #GHook into a #GHookList, sorted by the given function.

Parameters

hookLista #GHookList
hookthe #GHook to insert
functhe comparison function used to sort the #GHook elements