|
Data Structures
|
struct |
_GSource |
struct |
_GSourceCallbackFuncs |
struct |
_GSourceFuncs |
struct |
_GPollFD |
Defines
|
#define |
G_PRIORITY_HIGH -100
|
#define |
G_PRIORITY_DEFAULT 0
|
#define |
G_PRIORITY_HIGH_IDLE 100
|
#define |
G_PRIORITY_DEFAULT_IDLE 200
|
#define |
G_PRIORITY_LOW 300
|
#define |
g_main_new(is_running) g_main_loop_new (NULL, is_running);
|
#define |
g_main_run(loop) g_main_loop_run(loop)
|
#define |
g_main_quit(loop) g_main_loop_quit(loop)
|
#define |
g_main_destroy(loop) g_main_loop_unref(loop)
|
#define |
g_main_is_running(loop) g_main_loop_is_running(loop)
|
#define |
g_main_iteration(may_block) g_main_context_iteration (NULL, may_block)
|
#define |
g_main_pending() g_main_context_pending (NULL)
|
#define |
g_main_set_poll_func(func) g_main_context_set_poll_func (NULL, func)
|
Typedefs
|
typedef typedefG_BEGIN_DECLS
struct _GMainContext
|
GMainContext |
typedef _GMainLoop |
GMainLoop |
typedef _GSource
|
GSource |
typedef _GSourceCallbackFuncs
|
GSourceCallbackFuncs |
typedef _GSourceFuncs
|
GSourceFuncs |
typedef gboolean(*
|
GSourceFunc )(gpointer data)
|
typedef void(* |
GChildWatchFunc )(GPid pid, gint status, gpointer data)
|
typedef void(* |
GSourceDummyMarshal )(void)
|
typedef _GPollFD
|
GPollFD |
typedef gint(*
|
GPollFunc )(GPollFD *ufds, guint nfsd, gint timeout_)
|
Functions
|
IMPORT_C GMainContext *
|
g_main_context_new (void)
|
IMPORT_C GMainContext *
|
g_main_context_ref (GMainContext *context)
|
IMPORT_C void |
g_main_context_unref (GMainContext *context)
|
IMPORT_C GMainContext *
|
g_main_context_default (void)
|
IMPORT_C gboolean
|
g_main_context_iteration (GMainContext *context, gboolean may_block)
|
IMPORT_C gboolean
|
g_main_context_pending (GMainContext *context)
|
IMPORT_C GSource *
|
g_main_context_find_source_by_id (GMainContext *context, guint source_id)
|
IMPORT_C GSource *
|
g_main_context_find_source_by_user_data (GMainContext *context, gpointer user_data)
|
IMPORT_C GSource *
|
g_main_context_find_source_by_funcs_user_data (GMainContext *context, GSourceFuncs *funcs, gpointer user_data)
|
IMPORT_C void |
g_main_context_wakeup (GMainContext *context)
|
IMPORT_C gboolean
|
g_main_context_acquire (GMainContext *context)
|
IMPORT_C void |
g_main_context_release (GMainContext *context)
|
IMPORT_C gboolean
|
g_main_context_is_owner (GMainContext *context)
|
IMPORT_C gboolean
|
g_main_context_wait (GMainContext *context, GCond *cond, GMutex *mutex)
|
IMPORT_C gboolean
|
g_main_context_prepare (GMainContext *context, gint *priority)
|
IMPORT_C gint
|
g_main_context_query (GMainContext *context, gint max_priority, gint *timeout_, GPollFD *fds, gint n_fds)
|
IMPORT_C gint
|
g_main_context_check (GMainContext *context, gint max_priority, GPollFD *fds, gint n_fds)
|
IMPORT_C void |
g_main_context_dispatch (GMainContext *context)
|
IMPORT_C void |
g_main_context_set_poll_func (GMainContext *context, GPollFunc func)
|
IMPORT_C GPollFunc
|
g_main_context_get_poll_func (GMainContext *context)
|
IMPORT_C void |
g_main_context_add_poll (GMainContext *context, GPollFD *fd, gint priority)
|
IMPORT_C void |
g_main_context_remove_poll (GMainContext *context, GPollFD *fd)
|
IMPORT_C int |
g_main_depth (void)
|
IMPORT_C GMainLoop *
|
g_main_loop_new (GMainContext *context, gboolean is_running)
|
IMPORT_C void |
g_main_loop_run (GMainLoop *loop)
|
IMPORT_C void |
g_main_loop_quit (GMainLoop *loop)
|
IMPORT_C GMainLoop *
|
g_main_loop_ref (GMainLoop *loop)
|
IMPORT_C void |
g_main_loop_unref (GMainLoop *loop)
|
IMPORT_C gboolean
|
g_main_loop_is_running (GMainLoop *loop)
|
IMPORT_C GMainContext *
|
g_main_loop_get_context (GMainLoop *loop)
|
IMPORT_C GSource *
|
g_source_new (GSourceFuncs *source_funcs, guint struct_size)
|
IMPORT_C GSource *
|
g_source_ref (GSource *source)
|
IMPORT_C void |
g_source_unref (GSource *source)
|
IMPORT_C guint
|
g_source_attach (GSource *source, GMainContext *context)
|
IMPORT_C void |
g_source_destroy (GSource *source)
|
IMPORT_C void |
g_source_set_priority (GSource *source, gint priority)
|
IMPORT_C gint
|
g_source_get_priority (GSource *source)
|
IMPORT_C void |
g_source_set_can_recurse (GSource *source, gboolean can_recurse)
|
IMPORT_C gboolean
|
g_source_get_can_recurse (GSource *source)
|
IMPORT_C guint
|
g_source_get_id (GSource *source)
|
IMPORT_C GMainContext *
|
g_source_get_context (GSource *source)
|
IMPORT_C void |
g_source_set_callback (GSource *source, GSourceFunc func, gpointer data, GDestroyNotify notify)
|
IMPORT_C void |
g_source_set_callback_indirect (GSource *source, gpointer callback_data, GSourceCallbackFuncs *callback_funcs)
|
IMPORT_C void |
g_source_add_poll (GSource *source, GPollFD *fd)
|
IMPORT_C void |
g_source_remove_poll (GSource *source, GPollFD *fd)
|
IMPORT_C void |
g_source_get_current_time (GSource *source, GTimeVal *timeval)
|
IMPORT_C GSource *
|
g_idle_source_new (void)
|
IMPORT_C GSource *
|
g_child_watch_source_new (GPid pid)
|
IMPORT_C GSource *
|
g_timeout_source_new (guint interval)
|
IMPORT_C void |
g_get_current_time (GTimeVal *result)
|
IMPORT_C gboolean
|
g_source_remove (guint tag)
|
IMPORT_C gboolean
|
g_source_remove_by_user_data (gpointer user_data)
|
IMPORT_C gboolean
|
g_source_remove_by_funcs_user_data (GSourceFuncs *funcs, gpointer user_data)
|
IMPORT_C guint
|
g_timeout_add_full (gint priority, guint interval, GSourceFunc function, gpointer data, GDestroyNotify notify)
|
IMPORT_C guint
|
g_timeout_add (guint interval, GSourceFunc function, gpointer data)
|
IMPORT_C guint
|
g_child_watch_add_full (gint priority, GPid pid, GChildWatchFunc function, gpointer data, GDestroyNotify notify)
|
IMPORT_C guint
|
g_child_watch_add (GPid pid, GChildWatchFunc function, gpointer data)
|
IMPORT_C guint
|
g_idle_add (GSourceFunc function, gpointer data)
|
IMPORT_C guint
|
g_idle_add_full (gint priority, GSourceFunc function, gpointer data, GDestroyNotify notify)
|
IMPORT_C gboolean
|
g_idle_remove_by_data (gpointer data)
|
Variables
|
GLIB_VAR GSourceFuncs
|
g_timeout_funcs |
GLIB_VAR GSourceFuncs
|
g_child_watch_funcs |
GLIB_VAR GSourceFuncs
|
g_idle_funcs |