|
Data Structures |
struct | _GHookList |
struct | _GHook |
Defines |
#define | G_HOOK_FLAG_USER_SHIFT (4) |
#define | G_HOOK(hook) ((GHook*) (hook)) |
#define | G_HOOK_FLAGS(hook) (G_HOOK (hook)->flags) |
#define | G_HOOK_ACTIVE(hook) |
#define | G_HOOK_IN_CALL(hook) |
#define | G_HOOK_IS_VALID(hook) |
#define | G_HOOK_IS_UNLINKED(hook) |
#define | g_hook_append(hook_list, hook) g_hook_insert_before ((hook_list), NULL, (hook)) |
Typedefs |
typedef typedefG_BEGIN_DECLS
struct _GHook | GHook |
typedef _GHookList | GHookList |
typedef gint(* | GHookCompareFunc )(GHook *new_hook, GHook *sibling) |
typedef gboolean(* | GHookFindFunc )(GHook *hook, gpointer data) |
typedef void(* | GHookMarshaller )(GHook *hook, gpointer marshal_data) |
typedef gboolean(* | GHookCheckMarshaller )(GHook *hook, gpointer marshal_data) |
typedef void(* | GHookFunc )(gpointer data) |
typedef gboolean(* | GHookCheckFunc )(gpointer data) |
typedef void(* | GHookFinalizeFunc )(GHookList *hook_list, GHook *hook) |
Enumerations |
enum | GHookFlagMask { G_HOOK_FLAG_ACTIVE = 1 << 0,
G_HOOK_FLAG_IN_CALL = 1 << 1,
G_HOOK_FLAG_MASK = 0x0f
} |
Functions |
IMPORT_C void | g_hook_list_init (GHookList *hook_list, guint hook_size) |
IMPORT_C void | g_hook_list_clear (GHookList *hook_list) |
IMPORT_C GHook * | g_hook_alloc (GHookList *hook_list) |
IMPORT_C void | g_hook_free (GHookList *hook_list, GHook *hook) |
IMPORT_C GHook * | g_hook_ref (GHookList *hook_list, GHook *hook) |
IMPORT_C void | g_hook_unref (GHookList *hook_list, GHook *hook) |
IMPORT_C gboolean | g_hook_destroy (GHookList *hook_list, gulong hook_id) |
IMPORT_C void | g_hook_destroy_link (GHookList *hook_list, GHook *hook) |
IMPORT_C void | g_hook_prepend (GHookList *hook_list, GHook *hook) |
IMPORT_C void | g_hook_insert_before (GHookList *hook_list, GHook *sibling, GHook *hook) |
IMPORT_C void | g_hook_insert_sorted (GHookList *hook_list, GHook *hook, GHookCompareFunc func) |
IMPORT_C GHook * | g_hook_get (GHookList *hook_list, gulong hook_id) |
IMPORT_C GHook * | g_hook_find (GHookList *hook_list, gboolean need_valids, GHookFindFunc func, gpointer data) |
IMPORT_C GHook * | g_hook_find_data (GHookList *hook_list, gboolean need_valids, gpointer data) |
IMPORT_C GHook * | g_hook_find_func (GHookList *hook_list, gboolean need_valids, gpointer func) |
IMPORT_C GHook * | g_hook_find_func_data (GHookList *hook_list, gboolean need_valids, gpointer func, gpointer data) |
IMPORT_C GHook * | g_hook_first_valid (GHookList *hook_list, gboolean may_be_in_call) |
IMPORT_C GHook * | g_hook_next_valid (GHookList *hook_list, GHook *hook, gboolean may_be_in_call) |
IMPORT_C gint | g_hook_compare_ids (GHook *new_hook, GHook *sibling) |
IMPORT_C void | g_hook_list_invoke (GHookList *hook_list, gboolean may_recurse) |
IMPORT_C void | g_hook_list_invoke_check (GHookList *hook_list, gboolean may_recurse) |
IMPORT_C void | g_hook_list_marshal (GHookList *hook_list, gboolean may_recurse, GHookMarshaller marshaller, gpointer marshal_data) |
IMPORT_C void | g_hook_list_marshal_check (GHookList *hook_list, gboolean may_recurse, GHookCheckMarshaller marshaller, gpointer marshal_data) |