Go to the source code of this file.
Data Structures | |
| struct | _MetaEventQueue |
Functions | |
| static gboolean | eq_prepare (GSource *source, gint *timeout) |
| static gboolean | eq_check (GSource *source) |
| static gboolean | eq_dispatch (GSource *source, GSourceFunc callback, gpointer user_data) |
| static void | eq_destroy (GSource *source) |
| MetaEventQueue * | meta_event_queue_new (Display *display, MetaEventQueueFunc func, gpointer data) |
| void | meta_event_queue_free (MetaEventQueue *eq) |
| static gboolean | eq_events_pending (MetaEventQueue *eq) |
| static void | eq_queue_events (MetaEventQueue *eq) |
Variables | |
| static GSourceFuncs | eq_funcs |
| static gboolean eq_check | ( | GSource * | source | ) | [static] |
Definition at line 128 of file eventqueue.c.
References eq_events_pending(), FALSE, and _MetaEventQueue::poll_fd.
| static void eq_destroy | ( | GSource * | source | ) | [static] |
| static gboolean eq_dispatch | ( | GSource * | source, | |
| GSourceFunc | callback, | |||
| gpointer | user_data | |||
| ) | [static] |
Definition at line 141 of file eventqueue.c.
References eq_queue_events(), _MetaEventQueue::events, and TRUE.
| static gboolean eq_events_pending | ( | MetaEventQueue * | eq | ) | [static] |
Definition at line 92 of file eventqueue.c.
References _MetaEventQueue::display, and _MetaEventQueue::events.
Referenced by eq_check(), and eq_prepare().
| static gboolean eq_prepare | ( | GSource * | source, | |
| gint * | timeout | |||
| ) | [static] |
| static void eq_queue_events | ( | MetaEventQueue * | eq | ) | [static] |
Definition at line 98 of file eventqueue.c.
References _MetaEventQueue::display, and _MetaEventQueue::events.
Referenced by eq_dispatch().
| void meta_event_queue_free | ( | MetaEventQueue * | eq | ) |
Definition at line 82 of file eventqueue.c.
| MetaEventQueue* meta_event_queue_new | ( | Display * | display, | |
| MetaEventQueueFunc | func, | |||
| gpointer | data | |||
| ) |
Definition at line 53 of file eventqueue.c.
References _MetaEventQueue::connection_fd, _MetaEventQueue::display, eq_funcs, _MetaEventQueue::events, NULL, _MetaEventQueue::poll_fd, and TRUE.
GSourceFuncs eq_funcs [static] |
Initial value:
{
eq_prepare,
eq_check,
eq_dispatch,
eq_destroy
}
Definition at line 35 of file eventqueue.c.
Referenced by meta_event_queue_new().
1.5.5