Sets our main struct and passes it to the parent class.
A destructor is present on this object, but not explicitly documented in the source.
Compares the ids of two glib.Hook elements, returning a negative value if the second id is greater than the first.
Get the main Gtk struct
the main Gtk struct as a void*
data which is passed to func when this hook is invoked
the default finalize_hook function of a glib.HookList calls this member of the hook that is being finalized
flags which are set for this hook. See GHookFlagMask for predefined flags
the function to call when this hook is invoked. The possible signatures for this function are GHookFunc and GHookCheckFunc
the id of this hook, which is unique within its list
pointer to the next hook in the list
pointer to the previous hook in the list
the reference count of this hook
Allocates space for a glib.Hook and initializes it.
Destroys a glib.Hook, given its ID.
Removes one glib.Hook from a glib.HookList, marking it inactive and calling Hook.unref on it.
Finds a glib.Hook in a glib.HookList using the given function to test for a match.
Finds a glib.Hook in a glib.HookList with the given data.
Finds a glib.Hook in a glib.HookList with the given function.
Finds a glib.Hook in a glib.HookList with the given function and data.
Returns the first glib.Hook in a glib.HookList which has not been destroyed. The reference count for the glib.Hook is incremented, so you must call Hook.unref to restore it when no longer needed. (Or call Hook.nextValid if you are stepping through the glib.HookList)
Calls the glib.HookList finalize_hook function if it exists, and frees the memory allocated for the glib.Hook
Returns the glib.Hook with the given id, or NULL if it is not found.
Inserts a glib.Hook into a glib.HookList, before a given glib.Hook
Inserts a glib.Hook into a glib.HookList, sorted by the given function.
Returns the next glib.Hook in a glib.HookList which has not been destroyed. The reference count for the glib.Hook is incremented, so you must call Hook.unref to restore it when no longer needed. (Or continue to call Hook.nextValid until NULL is returned.)
Prepends a glib.Hook on the start of a glib.HookList
Increments the reference count for a glib.Hook
Decrements the reference count of a glib.Hook If the reference count falls to 0, the glib.Hook is removed from the glib.HookList and Hook.free is called to free it.
the main Gtk struct
The glib.Hook struct represents a single hook function in a glib.HookList