lib/ewl_callback.c File Reference
#include "ewl_base.h"
#include "ewl_macros.h"
#include "ewl_private.h"
#include "ewl_debug.h"
Include dependency graph for ewl_callback.c:

Functions | |
int | ewl_callback_append (Ewl_Widget *w, unsigned int t, Ewl_Callback_Function f, void *user_data) |
Append a callback of the specified type. | |
void | ewl_callback_call (Ewl_Widget *w, unsigned int t) |
Execute callbacks of specified types for the widget. | |
void | ewl_callback_call_with_event_data (Ewl_Widget *w, unsigned int t, void *ev_data) |
Execute callbacks with event data. | |
void | ewl_callback_clear (Ewl_Widget *w) |
void | ewl_callback_del (Ewl_Widget *w, unsigned int t, Ewl_Callback_Function f) |
Delete the specified callback function from the widget. | |
void | ewl_callback_del_cb_id (Ewl_Widget *w, unsigned int t, int cb_id) |
void | ewl_callback_del_type (Ewl_Widget *w, unsigned int t) |
void | ewl_callback_del_with_data (Ewl_Widget *w, unsigned int t, Ewl_Callback_Function f, void *d) |
Delete the specified callback function from the widget. | |
int | ewl_callback_insert_after (Ewl_Widget *w, unsigned int t, Ewl_Callback_Function f, void *user_data, Ewl_Callback_Function after, void *after_data) |
Add a callback after a previous callback in list. | |
int | ewl_callback_prepend (Ewl_Widget *w, unsigned int t, Ewl_Callback_Function f, void *user_data) |
prepend a callback of the specified type | |
unsigned int | ewl_callback_type_add (void) |
Creates and returns a new callback identifier. | |
int | ewl_callbacks_init (void) |
Setup internal registration variables for callbacks. | |
void | ewl_callbacks_shutdown (void) |
Destroy internal registration variables for callbacks. |