insertBefore

fun insertBefore(hookList: HookList, sibling: Hook? = null, hook: Hook)

Inserts a #GHook into a #GHookList, before a given #GHook.

Parameters

hookList

a #GHookList

sibling

the #GHook to insert the new #GHook before

hook

the #GHook to insert