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
hookList | a #GHookList |
hook | the #GHook to insert |
func | the comparison function used to sort the #GHook elements |