lib/ewl_misc.c File Reference
#include <locale.h>
#include "ewl_base.h"
#include "ewl_icon_theme.h"
#include "ewl_io_manager.h"
#include "ewl_text_context.h"
#include "ewl_mvc.h"
#include "ewl_macros.h"
#include "ewl_private.h"
#include "ewl_debug.h"
#include <Evas.h>
#include <Edje.h>

Data Structures | |
| struct | Ewl_Configure_Queue |
| Memory buffer for tracking widgets ready for a configure pass. More... | |
Defines | |
| #define | EWL_CONFIGURE_QUEUE_SIZE 4092 |
| #define | EWL_GC_LIMIT 300 |
Typedefs | |
| typedef struct Ewl_Configure_Queue | Ewl_Configure_Queue |
Functions | |
| void | ewl_backtrace (void) |
| This will print a backtrace at the given point. | |
| void | ewl_canvas_destroy (void *evas) |
| void | ewl_canvas_object_destroy (void *obj) |
| int | ewl_cast_pointer_to_integer (void *ptr) |
| void | ewl_configure_request (Ewl_Widget *w) |
| Ask for a widget to be configured during idle loop. | |
| void | ewl_debug_indent_print (int mod_dir) |
| Creates a string used to indent debug messages. | |
| void | ewl_destroy_request (Ewl_Widget *w) |
| int | ewl_init (int *argc, char **argv) |
| Initialize the internal variables of ewl to begin the program. | |
| void | ewl_main (void) |
| The main execution loop of EWL. | |
| void | ewl_main_iterate (void) |
| One iteration of the main execution loop of EWL. | |
| void | ewl_main_quit (void) |
| Notifies ewl to quit at the end of this pass of the main loop. | |
| void | ewl_print_help (void) |
| Print out the Ewl help text. | |
| void | ewl_print_warning (void) |
| This is used by debugging macros for breakpoints. | |
| void | ewl_realize_cancel_request (Ewl_Widget *w) |
| void | ewl_realize_request (Ewl_Widget *w) |
| void | ewl_segv (void) |
| This will cause EWL to SEGV. (Handy for debugging). | |
| int | ewl_shutdown (void) |
| Cleanup internal data structures used by ewl. | |
| void | ewl_shutdown_add (Ewl_Shutdown_Hook hook) |
| Allows a widget to hookup a shutdown callback that will be called when Ewl is shutdown. | |
Variables | |
| Ecore_List * | configure_active = NULL |
| Ecore_List * | configure_available = NULL |
| Ecore_List * | ewl_embed_list |
| Ecore_List * | ewl_window_list |
Define Documentation
| #define EWL_CONFIGURE_QUEUE_SIZE 4092 |
Referenced by ewl_configure_request().
| #define EWL_GC_LIMIT 300 |
Typedef Documentation
| typedef struct Ewl_Configure_Queue Ewl_Configure_Queue |
Function Documentation
| void ewl_backtrace | ( | void | ) |
This will print a backtrace at the given point.
- Returns:
- Returns no value.
References Ewl_Config_Cache::backtrace, ewl_config_cache, and FREE.
| int ewl_cast_pointer_to_integer | ( | void * | ptr | ) |
- Parameters:
-
ptr,: the pointer to cast
- Returns:
- The integer value of the pointer
References DENTER_FUNCTION, DLEVEL_STABLE, DRETURN_INT, and DWARNING.
| void ewl_print_warning | ( | void | ) |
This is used by debugging macros for breakpoints.
- Returns:
- Returns no value. Set a breakpoint at this function in order to retrieve backtraces from warning messages.
| void ewl_segv | ( | void | ) |
This will cause EWL to SEGV. (Handy for debugging).
- Returns:
- Returns no value.
References ewl_config_cache, and Ewl_Config_Cache::segv.
Variable Documentation
| Ecore_List* configure_active = NULL |
Referenced by ewl_configure_request(), ewl_init(), and ewl_shutdown().
| Ecore_List* configure_available = NULL |
Referenced by ewl_configure_request(), ewl_init(), and ewl_shutdown().
| Ecore_List* ewl_embed_list |
| Ecore_List* ewl_window_list |
Referenced by ewl_init(), ewl_shutdown(), ewl_window_cb_destroy(), ewl_window_init(), and ewl_window_window_find().