src/lib/Edje.h File Reference

Edje Graphical Design Library. More...

Go to the source code of this file.

Data Structures

struct  _Edje_External_Param
struct  _Edje_External_Param_Info
struct  _Edje_External_Type
 Information about an external type to be used. More...
struct  _Edje_External_Type_Info
struct  _Edje_Message_Float
struct  _Edje_Message_Float_Set
struct  _Edje_Message_Int
struct  _Edje_Message_Int_Set
struct  _Edje_Message_String
struct  _Edje_Message_String_Float
struct  _Edje_Message_String_Float_Set
struct  _Edje_Message_String_Int
struct  _Edje_Message_String_Int_Set
struct  _Edje_Message_String_Set
struct  _Edje_Version

Defines

#define EAPI
#define EDJE_EXTERNAL_DOUBLE_UNSET   DBL_MAX
#define EDJE_EXTERNAL_INT_UNSET   INT_MAX
#define EDJE_EXTERNAL_PARAM_INFO_BOOL(name)   EDJE_EXTERNAL_PARAM_INFO_BOOL_DEFAULT(name, 0)
#define EDJE_EXTERNAL_PARAM_INFO_BOOL_DEFAULT(name, def)   EDJE_EXTERNAL_PARAM_INFO_BOOL_FULL(name, def, "false", "true")
#define EDJE_EXTERNAL_PARAM_INFO_BOOL_DEFAULT_FLAGS(name, def, flags)   EDJE_EXTERNAL_PARAM_INFO_BOOL_FULL_FLAGS(name, def, "false", "true", flags)
#define EDJE_EXTERNAL_PARAM_INFO_BOOL_FLAGS(name, flags)   EDJE_EXTERNAL_PARAM_INFO_BOOL_DEFAULT_FLAGS(name, 0, flags)
#define EDJE_EXTERNAL_PARAM_INFO_BOOL_FULL(name, def, false_str, true_str)   EDJE_EXTERNAL_PARAM_INFO_BOOL_FULL_FLAGS(name, def, false_str, true_str, EDJE_EXTERNAL_PARAM_FLAGS_REGULAR)
#define EDJE_EXTERNAL_PARAM_INFO_BOOL_FULL_FLAGS(name, def, false_str, true_str, flags)   {name, EDJE_EXTERNAL_PARAM_TYPE_BOOL, flags, {.b = {def, false_str, true_str}}}
#define EDJE_EXTERNAL_PARAM_INFO_CHOICE_DYNAMIC_FULL(name, def_get, query)   EDJE_EXTERNAL_PARAM_INFO_CHOICE_DYNAMIC_FULL_FLAGS(name, def_get, query, EDJE_EXTERNAL_PARAM_FLAGS_REGULAR)
#define EDJE_EXTERNAL_PARAM_INFO_CHOICE_DYNAMIC_FULL_FLAGS(name, def_get, query, flags)   {name, EDJE_EXTERNAL_PARAM_TYPE_CHOICE, flags, {.c = {NULL, NULL, def_get, query}}}
#define EDJE_EXTERNAL_PARAM_INFO_CHOICE_FULL(name, def, choices)   EDJE_EXTERNAL_PARAM_INFO_CHOICE_FULL_FLAGS(name, def, choices, EDJE_EXTERNAL_PARAM_FLAGS_REGULAR)
#define EDJE_EXTERNAL_PARAM_INFO_CHOICE_FULL_FLAGS(name, def, choices, flags)   {name, EDJE_EXTERNAL_PARAM_TYPE_CHOICE, flags, {.c = {def, choices, NULL, NULL}}}
#define EDJE_EXTERNAL_PARAM_INFO_DOUBLE(name)   EDJE_EXTERNAL_PARAM_INFO_DOUBLE_DEFAULT(name, 0.0)
#define EDJE_EXTERNAL_PARAM_INFO_DOUBLE_DEFAULT(name, def)   EDJE_EXTERNAL_PARAM_INFO_DOUBLE_FULL(name, def, EDJE_EXTERNAL_DOUBLE_UNSET, EDJE_EXTERNAL_DOUBLE_UNSET, EDJE_EXTERNAL_DOUBLE_UNSET)
#define EDJE_EXTERNAL_PARAM_INFO_DOUBLE_DEFAULT_FLAGS(name, def, flags)   EDJE_EXTERNAL_PARAM_INFO_DOUBLE_FULL_FLAGS(name, def, EDJE_EXTERNAL_DOUBLE_UNSET, EDJE_EXTERNAL_DOUBLE_UNSET, EDJE_EXTERNAL_DOUBLE_UNSET, flags)
#define EDJE_EXTERNAL_PARAM_INFO_DOUBLE_FLAGS(name, flags)   EDJE_EXTERNAL_PARAM_INFO_DOUBLE_DEFAULT_FLAGS(name, 0.0, flags)
#define EDJE_EXTERNAL_PARAM_INFO_DOUBLE_FULL(name, def, min, max, step)   EDJE_EXTERNAL_PARAM_INFO_DOUBLE_FULL_FLAGS(name, def, min, max, step, EDJE_EXTERNAL_PARAM_FLAGS_REGULAR)
#define EDJE_EXTERNAL_PARAM_INFO_DOUBLE_FULL_FLAGS(name, def, min, max, step, flags)   {name, EDJE_EXTERNAL_PARAM_TYPE_DOUBLE, flags, {.d = {def, min, max, step}}}
#define EDJE_EXTERNAL_PARAM_INFO_INT(name)   EDJE_EXTERNAL_PARAM_INFO_INT_DEFAULT(name, 0)
#define EDJE_EXTERNAL_PARAM_INFO_INT_DEFAULT(name, def)   EDJE_EXTERNAL_PARAM_INFO_INT_FULL(name, def, EDJE_EXTERNAL_INT_UNSET, EDJE_EXTERNAL_INT_UNSET, EDJE_EXTERNAL_INT_UNSET)
#define EDJE_EXTERNAL_PARAM_INFO_INT_DEFAULT_FLAGS(name, def, flags)   EDJE_EXTERNAL_PARAM_INFO_INT_FULL_FLAGS(name, def, EDJE_EXTERNAL_INT_UNSET, EDJE_EXTERNAL_INT_UNSET, EDJE_EXTERNAL_INT_UNSET, flags)
#define EDJE_EXTERNAL_PARAM_INFO_INT_FLAGS(name, flags)   EDJE_EXTERNAL_PARAM_INFO_INT_DEFAULT_FLAGS(name, 0, flags)
#define EDJE_EXTERNAL_PARAM_INFO_INT_FULL(name, def, min, max, step)   EDJE_EXTERNAL_PARAM_INFO_INT_FULL_FLAGS(name, def, min, max, step, EDJE_EXTERNAL_PARAM_FLAGS_REGULAR)
#define EDJE_EXTERNAL_PARAM_INFO_INT_FULL_FLAGS(name, def, min, max, step, flags)   {name, EDJE_EXTERNAL_PARAM_TYPE_INT, flags, {.i = {def, min, max, step}}}
#define EDJE_EXTERNAL_PARAM_INFO_SENTINEL   {NULL, 0, 0, {.s = {NULL, NULL, NULL}}}
#define EDJE_EXTERNAL_PARAM_INFO_STRING(name)   EDJE_EXTERNAL_PARAM_INFO_STRING_DEFAULT(name, NULL)
#define EDJE_EXTERNAL_PARAM_INFO_STRING_DEFAULT(name, def)   EDJE_EXTERNAL_PARAM_INFO_STRING_FULL(name, def, NULL, NULL)
#define EDJE_EXTERNAL_PARAM_INFO_STRING_DEFAULT_FLAGS(name, def, flags)   EDJE_EXTERNAL_PARAM_INFO_STRING_FULL_FLAGS(name, def, NULL, NULL, flags)
#define EDJE_EXTERNAL_PARAM_INFO_STRING_FLAGS(name, flags)   EDJE_EXTERNAL_PARAM_INFO_STRING_DEFAULT_FLAGS(name, NULL, flags)
#define EDJE_EXTERNAL_PARAM_INFO_STRING_FULL(name, def, accept, deny)   EDJE_EXTERNAL_PARAM_INFO_STRING_FULL_FLAGS(name, def, accept, deny, EDJE_EXTERNAL_PARAM_FLAGS_REGULAR)
#define EDJE_EXTERNAL_PARAM_INFO_STRING_FULL_FLAGS(name, def, accept, deny, flags)   {name, EDJE_EXTERNAL_PARAM_TYPE_STRING, flags, {.s = {def, accept, deny}}}
#define EDJE_EXTERNAL_TYPE_ABI_VERSION   (3)
#define EDJE_VERSION_MAJOR   1
#define EDJE_VERSION_MINOR   0

Typedefs

typedef enum _Edje_Action_Type Edje_Action_Type
typedef enum _Edje_Aspect_Control Edje_Aspect_Control
typedef enum _Edje_Cursor Edje_Cursor
typedef enum _Edje_Drag_Dir Edje_Drag_Dir
typedef struct _Edje_External_Param Edje_External_Param
typedef enum
_Edje_External_Param_Flags 
Edje_External_Param_Flags
typedef struct
_Edje_External_Param_Info 
Edje_External_Param_Info
typedef enum
_Edje_External_Param_Type 
Edje_External_Param_Type
typedef struct _Edje_External_Type Edje_External_Type
typedef struct
_Edje_External_Type_Info 
Edje_External_Type_Info
typedef Evas_Object *(* Edje_Item_Provider_Cb )(void *data, Evas_Object *obj, const char *part, const char *item)
typedef enum _Edje_Load_Error Edje_Load_Error
typedef struct _Edje_Message_Float Edje_Message_Float
typedef struct
_Edje_Message_Float_Set 
Edje_Message_Float_Set
typedef void(* Edje_Message_Handler_Cb )(void *data, Evas_Object *obj, Edje_Message_Type type, int id, void *msg)
typedef struct _Edje_Message_Int Edje_Message_Int
typedef struct
_Edje_Message_Int_Set 
Edje_Message_Int_Set
typedef struct _Edje_Message_String Edje_Message_String
typedef struct
_Edje_Message_String_Float 
Edje_Message_String_Float
typedef struct
_Edje_Message_String_Float_Set 
Edje_Message_String_Float_Set
typedef struct
_Edje_Message_String_Int 
Edje_Message_String_Int
typedef struct
_Edje_Message_String_Int_Set 
Edje_Message_String_Int_Set
typedef struct
_Edje_Message_String_Set 
Edje_Message_String_Set
typedef enum _Edje_Message_Type Edje_Message_Type
typedef enum
_Edje_Object_Table_Homogeneous_Mode 
Edje_Object_Table_Homogeneous_Mode
typedef enum _Edje_Part_Type Edje_Part_Type
typedef struct _Edje_Perspective Edje_Perspective
typedef void(* Edje_Signal_Cb )(void *data, Evas_Object *obj, const char *emission, const char *source)
typedef void(* Edje_Text_Change_Cb )(void *data, Evas_Object *obj, const char *part)
typedef enum _Edje_Text_Effect Edje_Text_Effect
typedef void(* Edje_Text_Filter_Cb )(void *data, Evas_Object *obj, const char *part, Edje_Text_Filter_Type type, char **text)
typedef enum _Edje_Text_Filter_Type Edje_Text_Filter_Type
typedef enum _Edje_Tween_Mode Edje_Tween_Mode
typedef struct _Edje_Version Edje_Version

Enumerations

enum  _Edje_Action_Type {
  EDJE_ACTION_TYPE_NONE = 0, EDJE_ACTION_TYPE_STATE_SET = 1, EDJE_ACTION_TYPE_ACTION_STOP = 2, EDJE_ACTION_TYPE_SIGNAL_EMIT = 3,
  EDJE_ACTION_TYPE_DRAG_VAL_SET = 4, EDJE_ACTION_TYPE_DRAG_VAL_STEP = 5, EDJE_ACTION_TYPE_DRAG_VAL_PAGE = 6, EDJE_ACTION_TYPE_SCRIPT = 7,
  EDJE_ACTION_TYPE_FOCUS_SET = 8, EDJE_ACTION_TYPE_RESERVED00 = 9, EDJE_ACTION_TYPE_FOCUS_OBJECT = 10, EDJE_ACTION_TYPE_PARAM_COPY = 11,
  EDJE_ACTION_TYPE_PARAM_SET = 12, EDJE_ACTION_TYPE_LAST = 13
}
enum  _Edje_Aspect_Control {
  EDJE_ASPECT_CONTROL_NONE = 0, EDJE_ASPECT_CONTROL_NEITHER = 1, EDJE_ASPECT_CONTROL_HORIZONTAL = 2, EDJE_ASPECT_CONTROL_VERTICAL = 3,
  EDJE_ASPECT_CONTROL_BOTH = 4
}
enum  _Edje_Cursor {
  EDJE_CURSOR_MAIN, EDJE_CURSOR_SELECTION_BEGIN, EDJE_CURSOR_SELECTION_END, EDJE_CURSOR_PREEDIT_START,
  EDJE_CURSOR_PREEDIT_END, EDJE_CURSOR_USER, EDJE_CURSOR_USER_EXTRA
}
enum  _Edje_Drag_Dir { EDJE_DRAG_DIR_NONE = 0, EDJE_DRAG_DIR_X = 1, EDJE_DRAG_DIR_Y = 2, EDJE_DRAG_DIR_XY = 3 }
enum  _Edje_External_Param_Flags {
  EDJE_EXTERNAL_PARAM_FLAGS_NONE = 0, EDJE_EXTERNAL_PARAM_FLAGS_GET = (1 << 0), EDJE_EXTERNAL_PARAM_FLAGS_SET = (1 << 1), EDJE_EXTERNAL_PARAM_FLAGS_STATE = (1 << 2),
  EDJE_EXTERNAL_PARAM_FLAGS_CONSTRUCTOR = (1 << 3), EDJE_EXTERNAL_PARAM_FLAGS_REGULAR
}
enum  _Edje_External_Param_Type {
  EDJE_EXTERNAL_PARAM_TYPE_INT, EDJE_EXTERNAL_PARAM_TYPE_DOUBLE, EDJE_EXTERNAL_PARAM_TYPE_STRING, EDJE_EXTERNAL_PARAM_TYPE_BOOL,
  EDJE_EXTERNAL_PARAM_TYPE_CHOICE, EDJE_EXTERNAL_PARAM_TYPE_MAX
}
enum  _Edje_Load_Error {
  EDJE_LOAD_ERROR_NONE = 0, EDJE_LOAD_ERROR_GENERIC = 1, EDJE_LOAD_ERROR_DOES_NOT_EXIST = 2, EDJE_LOAD_ERROR_PERMISSION_DENIED = 3,
  EDJE_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED = 4, EDJE_LOAD_ERROR_CORRUPT_FILE = 5, EDJE_LOAD_ERROR_UNKNOWN_FORMAT = 6, EDJE_LOAD_ERROR_INCOMPATIBLE_FILE = 7,
  EDJE_LOAD_ERROR_UNKNOWN_COLLECTION = 8, EDJE_LOAD_ERROR_RECURSIVE_REFERENCE = 9
}
enum  _Edje_Message_Type {
  EDJE_MESSAGE_NONE = 0, EDJE_MESSAGE_SIGNAL = 1, EDJE_MESSAGE_STRING = 2, EDJE_MESSAGE_INT = 3,
  EDJE_MESSAGE_FLOAT = 4, EDJE_MESSAGE_STRING_SET = 5, EDJE_MESSAGE_INT_SET = 6, EDJE_MESSAGE_FLOAT_SET = 7,
  EDJE_MESSAGE_STRING_INT = 8, EDJE_MESSAGE_STRING_FLOAT = 9, EDJE_MESSAGE_STRING_INT_SET = 10, EDJE_MESSAGE_STRING_FLOAT_SET = 11
}
enum  _Edje_Object_Table_Homogeneous_Mode { EDJE_OBJECT_TABLE_HOMOGENEOUS_NONE = 0, EDJE_OBJECT_TABLE_HOMOGENEOUS_TABLE = 1, EDJE_OBJECT_TABLE_HOMOGENEOUS_ITEM = 2 }
enum  _Edje_Part_Type {
  EDJE_PART_TYPE_NONE = 0, EDJE_PART_TYPE_RECTANGLE = 1, EDJE_PART_TYPE_TEXT = 2, EDJE_PART_TYPE_IMAGE = 3,
  EDJE_PART_TYPE_SWALLOW = 4, EDJE_PART_TYPE_TEXTBLOCK = 5, EDJE_PART_TYPE_GRADIENT = 6, EDJE_PART_TYPE_GROUP = 7,
  EDJE_PART_TYPE_BOX = 8, EDJE_PART_TYPE_TABLE = 9, EDJE_PART_TYPE_EXTERNAL = 10, EDJE_PART_TYPE_LAST = 11
}
enum  _Edje_Text_Effect {
  EDJE_TEXT_EFFECT_NONE = 0, EDJE_TEXT_EFFECT_PLAIN = 1, EDJE_TEXT_EFFECT_OUTLINE = 2, EDJE_TEXT_EFFECT_SOFT_OUTLINE = 3,
  EDJE_TEXT_EFFECT_SHADOW = 4, EDJE_TEXT_EFFECT_SOFT_SHADOW = 5, EDJE_TEXT_EFFECT_OUTLINE_SHADOW = 6, EDJE_TEXT_EFFECT_OUTLINE_SOFT_SHADOW = 7,
  EDJE_TEXT_EFFECT_FAR_SHADOW = 8, EDJE_TEXT_EFFECT_FAR_SOFT_SHADOW = 9, EDJE_TEXT_EFFECT_GLOW = 10, EDJE_TEXT_EFFECT_LAST = 11
}
enum  _Edje_Text_Filter_Type { EDJE_TEXT_FILTER_TEXT = 0, EDJE_TEXT_FILTER_FORMAT = 1, EDJE_TEXT_FILTER_MARKUP = 2 }
enum  _Edje_Tween_Mode {
  EDJE_TWEEN_MODE_NONE = 0, EDJE_TWEEN_MODE_LINEAR = 1, EDJE_TWEEN_MODE_SINUSOIDAL = 2, EDJE_TWEEN_MODE_ACCELERATE = 3,
  EDJE_TWEEN_MODE_DECELERATE = 4, EDJE_TWEEN_MODE_LAST = 5
}

Functions

EAPI const Eina_List * edje_available_modules_get (void)
EAPI void edje_box_layout_register (const char *name, Evas_Object_Box_Layout func, void *(*layout_data_get)(void *), void(*layout_data_free)(void *), void(*free_data)(void *), void *data)
 Registers a custom layout to be used in edje boxes.
EAPI void edje_collection_cache_flush (void)
 Clean the collection cache.
EAPI int edje_collection_cache_get (void)
 Return the collection cache size.
EAPI void edje_collection_cache_set (int count)
 Set the collection cache size.
EAPI void edje_color_class_del (const char *color_class)
 Delete edje color class.
EAPI Eina_Bool edje_color_class_get (const char *color_class, int *r, int *g, int *b, int *a, int *r2, int *g2, int *b2, int *a2, int *r3, int *g3, int *b3, int *a3)
 Get Edje color class.
EAPI Eina_List * edje_color_class_list (void)
 Lists color classes.
EAPI Eina_Bool edje_color_class_set (const char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3)
 Set Edje color class.
EAPI const Edje_Perspectiveedje_evas_global_perspective_get (const Evas *e)
EAPI void edje_extern_object_aspect_set (Evas_Object *obj, Edje_Aspect_Control aspect, Evas_Coord aw, Evas_Coord ah)
 Set the object aspect size.
EAPI void edje_extern_object_max_size_set (Evas_Object *obj, Evas_Coord maxw, Evas_Coord maxh)
 Set the object maximum size.
EAPI void edje_extern_object_min_size_set (Evas_Object *obj, Evas_Coord minw, Evas_Coord minh)
 Set the object minimum size.
EAPI Eina_Iterator * edje_external_iterator_get (void)
 Returns an iterator that emits Eina_Hash_Tuple pointers with key being the name and data being the Edje_External_Type pointer.
EAPI Eina_Bool edje_external_param_bool_get (const Eina_List *params, const char *key, Eina_Bool *ret)
EAPI Eina_Bool edje_external_param_choice_get (const Eina_List *params, const char *key, const char **ret)
EAPI Eina_Bool edje_external_param_double_get (const Eina_List *params, const char *key, double *ret)
EAPI Edje_External_Paramedje_external_param_find (const Eina_List *params, const char *key)
EAPI const
Edje_External_Param_Info
edje_external_param_info_get (const char *type_name)
 Get the array of parameters information about a type given its name.
EAPI Eina_Bool edje_external_param_int_get (const Eina_List *params, const char *key, int *ret)
EAPI Eina_Bool edje_external_param_string_get (const Eina_List *params, const char *key, const char **ret)
EAPI const char * edje_external_param_type_str (Edje_External_Param_Type type) EINA_PURE
 Converts type identifier to string nicer representation.
EAPI unsigned int edje_external_type_abi_version_get (void) EINA_CONST
 Return the current ABI version for Edje_External_Type structure.
EAPI void edje_external_type_array_register (const Edje_External_Type_Info *array)
 Register a batch of types and their information.
EAPI void edje_external_type_array_unregister (const Edje_External_Type_Info *array)
 Unregister a batch of given external type previously registered.
EAPI const Edje_External_Typeedje_external_type_get (const char *type_name)
EAPI Eina_Bool edje_external_type_register (const char *type_name, const Edje_External_Type *type_info)
 Register given type name to return the given information.
EAPI Eina_Bool edje_external_type_unregister (const char *type_name)
 Unregister given type name previously registered.
EAPI void edje_file_cache_flush (void)
 Clean the file cache.
EAPI int edje_file_cache_get (void)
 Return the file cache size.
EAPI void edje_file_cache_set (int count)
 Set the file cache size.
EAPI Eina_List * edje_file_collection_list (const char *file)
 Get a list of groups in an edje file.
EAPI void edje_file_collection_list_free (Eina_List *lst)
 Free file collection list.
EAPI char * edje_file_data_get (const char *file, const char *key)
 Get data from the file level data block of an edje file.
EAPI Eina_Bool edje_file_group_exists (const char *file, const char *glob)
 Determine whether a group matching glob exists in an edje file.
EAPI const char * edje_fontset_append_get (void)
 Get the edje append fontset.
EAPI void edje_fontset_append_set (const char *fonts)
 Set the edje append fontset.
EAPI double edje_frametime_get (void)
 Get edje trasitions' frame time.
EAPI void edje_frametime_set (double t)
 Set edje trasitions' frame time.
EAPI void edje_freeze (void)
 Freeze Edje objects.
EAPI int edje_init (void)
 Initialize the edje library.
EAPI const char * edje_load_error_str (Edje_Load_Error error)
EAPI void edje_message_signal_process (void)
 Process all queued up edje messages.
EAPI Eina_Bool edje_module_load (const char *module)
EAPI Evas_Object * edje_object_add (Evas *evas)
 Constructs the Edje object.
EAPI Eina_Bool edje_object_animation_get (const Evas_Object *obj)
 Get the edje object's animation state.
EAPI void edje_object_animation_set (Evas_Object *obj, Eina_Bool on)
 Set the object's animation state.
EAPI void edje_object_calc_force (Evas_Object *obj)
 Force a Size/Geometry calculation.
EAPI void edje_object_color_class_del (Evas_Object *obj, const char *color_class)
 Delete the object color class.
EAPI Eina_Bool edje_object_color_class_get (const Evas_Object *o, const char *color_class, int *r, int *g, int *b, int *a, int *r2, int *g2, int *b2, int *a2, int *r3, int *g3, int *b3, int *a3)
 Gets the object color class.
EAPI Eina_Bool edje_object_color_class_set (Evas_Object *obj, const char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3)
 Sets the object color class.
EAPI const char * edje_object_data_get (const Evas_Object *obj, const char *key)
 Get Edje object data.
EAPI void edje_object_file_get (const Evas_Object *obj, const char **file, const char **group)
 Get the file and group name that obj was loaded from.
EAPI Eina_Bool edje_object_file_set (Evas_Object *obj, const char *file, const char *group)
 Sets the EET file and group to load obj from.
EAPI int edje_object_freeze (Evas_Object *obj)
 Freeze object.
EAPI void edje_object_item_provider_set (Evas_Object *obj, Edje_Item_Provider_Cb func, void *data)
 Set the function that provides item objects for named items in an edje entry text.
EAPI Edje_Load_Error edje_object_load_error_get (const Evas_Object *obj)
 Gets the Edje load error.
EAPI void edje_object_message_handler_set (Evas_Object *obj, Edje_Message_Handler_Cb func, void *data)
 Set the message handler function for this an object.
EAPI void edje_object_message_send (Evas_Object *obj, Edje_Message_Type type, int id, void *msg)
 Send message to object.
EAPI void edje_object_message_signal_process (Evas_Object *obj)
 Process an object's message queue.
EAPI Eina_Bool edje_object_part_box_append (Evas_Object *obj, const char *part, Evas_Object *child)
 Appends an object to the box.
EAPI Eina_Bool edje_object_part_box_insert_at (Evas_Object *obj, const char *part, Evas_Object *child, unsigned int pos)
 Inserts an object to the box.
EAPI Eina_Bool edje_object_part_box_insert_before (Evas_Object *obj, const char *part, Evas_Object *child, const Evas_Object *reference)
 Adds an object to the box.
EAPI Eina_Bool edje_object_part_box_prepend (Evas_Object *obj, const char *part, Evas_Object *child)
 Prepends an object to the box.
EAPI Evas_Object * edje_object_part_box_remove (Evas_Object *obj, const char *part, Evas_Object *child)
 Removes an object from the box.
EAPI Eina_Bool edje_object_part_box_remove_all (Evas_Object *obj, const char *part, Eina_Bool clear)
 Removes all elements from the box.
EAPI Evas_Object * edje_object_part_box_remove_at (Evas_Object *obj, const char *part, unsigned int pos)
 Removes an object from the box.
EAPI Edje_Drag_Dir edje_object_part_drag_dir_get (const Evas_Object *obj, const char *part)
 Determine dragable directions.
EAPI Eina_Bool edje_object_part_drag_page (Evas_Object *obj, const char *part, double dx, double dy)
 Pages x,y steps.
EAPI Eina_Bool edje_object_part_drag_page_get (const Evas_Object *obj, const char *part, double *dx, double *dy)
 Gets the page step increments.
EAPI Eina_Bool edje_object_part_drag_page_set (Evas_Object *obj, const char *part, double dx, double dy)
 Sets the page step increments.
EAPI Eina_Bool edje_object_part_drag_size_get (const Evas_Object *obj, const char *part, double *dw, double *dh)
 Get the dragable object size.
EAPI Eina_Bool edje_object_part_drag_size_set (Evas_Object *obj, const char *part, double dw, double dh)
 Set the dragable object size.
EAPI Eina_Bool edje_object_part_drag_step (Evas_Object *obj, const char *part, double dx, double dy)
 Steps the dragable x,y steps.
EAPI Eina_Bool edje_object_part_drag_step_get (const Evas_Object *obj, const char *part, double *dx, double *dy)
 Gets the drag step increment values.
EAPI Eina_Bool edje_object_part_drag_step_set (Evas_Object *obj, const char *part, double dx, double dy)
 Sets the drag step increment.
EAPI Eina_Bool edje_object_part_drag_value_get (const Evas_Object *obj, const char *part, double *dx, double *dy)
 Get the dragable object location.
EAPI Eina_Bool edje_object_part_drag_value_set (Evas_Object *obj, const char *part, double dx, double dy)
 Set the dragable object location.
EAPI Eina_Bool edje_object_part_exists (const Evas_Object *obj, const char *part)
 Check if Edje part exists.
EAPI Evas_Object * edje_object_part_external_content_get (const Evas_Object *obj, const char *part, const char *content)
EAPI Evas_Object * edje_object_part_external_object_get (const Evas_Object *obj, const char *part)
 Get the object created by this external part.
EAPI Eina_Bool edje_object_part_external_param_get (const Evas_Object *obj, const char *part, Edje_External_Param *param)
 Get the parameter for the external part.
EAPI Eina_Bool edje_object_part_external_param_set (Evas_Object *obj, const char *part, const Edje_External_Param *param)
 Set the parameter for the external part.
EAPI Edje_External_Param_Type edje_object_part_external_param_type_get (const Evas_Object *obj, const char *part, const char *param)
 Facility to query the type of the given parameter of the given part.
EAPI Eina_Bool edje_object_part_geometry_get (const Evas_Object *obj, const char *part, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h)
 Get the geometry of an Edje part.
EAPI const Evas_Object * edje_object_part_object_get (const Evas_Object *obj, const char *part)
 Gets the evas object from a part.
EAPI const char * edje_object_part_state_get (const Evas_Object *obj, const char *part, double *val_ret)
 Returns the state of the Edje part.
EAPI Eina_Bool edje_object_part_swallow (Evas_Object *obj, const char *part, Evas_Object *obj_swallow)
 Swallows an object into the edje.
EAPI Evas_Object * edje_object_part_swallow_get (const Evas_Object *obj, const char *part)
 Get the object currently swallowed by a part.
EAPI Evas_Object * edje_object_part_table_child_get (Evas_Object *obj, const char *part, unsigned int col, unsigned int row)
 Retrieve a child from a table.
EAPI Eina_Bool edje_object_part_table_clear (Evas_Object *obj, const char *part, Eina_Bool clear)
 Removes all object from the table.
EAPI Eina_Bool edje_object_part_table_col_row_size_get (const Evas_Object *obj, const char *part, int *cols, int *rows)
 Gets the number of columns and rows the table has.
EAPI Eina_Bool edje_object_part_table_pack (Evas_Object *obj, const char *part, Evas_Object *child_obj, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan)
 Packs an object into the table.
EAPI Eina_Bool edje_object_part_table_unpack (Evas_Object *obj, const char *part, Evas_Object *child_obj)
 Removes an object from the table.
EAPI const Eina_List * edje_object_part_text_anchor_geometry_get (const Evas_Object *obj, const char *part, const char *anchor)
 Return a list of Evas_Textblock_Rectangle anchor rectangles.
EAPI const Eina_List * edje_object_part_text_anchor_list_get (const Evas_Object *obj, const char *part)
 Return a list of char anchor names.
EAPI void edje_object_part_text_cursor_begin_set (Evas_Object *obj, const char *part, Edje_Cursor cur)
 XX.
EAPI const char * edje_object_part_text_cursor_content_get (const Evas_Object *obj, const char *part, Edje_Cursor cur)
 XX.
EAPI Eina_Bool edje_object_part_text_cursor_coord_set (Evas_Object *obj, const char *part, Edje_Cursor cur, Evas_Coord x, Evas_Coord y)
 Position the given cursor to a X,Y position.
EAPI void edje_object_part_text_cursor_copy (Evas_Object *obj, const char *part, Edje_Cursor src, Edje_Cursor dst)
 XX.
EAPI Eina_Bool edje_object_part_text_cursor_down (Evas_Object *obj, const char *part, Edje_Cursor cur)
 XX.
EAPI void edje_object_part_text_cursor_end_set (Evas_Object *obj, const char *part, Edje_Cursor cur)
 XX.
EAPI void edje_object_part_text_cursor_geometry_get (const Evas_Object *obj, const char *part, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h)
 Returns the cursor geometry of the part relative to the edje object.
EAPI Eina_Bool edje_object_part_text_cursor_is_format_get (const Evas_Object *obj, const char *part, Edje_Cursor cur)
 XX.
EAPI Eina_Bool edje_object_part_text_cursor_is_visible_format_get (const Evas_Object *obj, const char *part, Edje_Cursor cur)
 XX.
EAPI void edje_object_part_text_cursor_line_begin_set (Evas_Object *obj, const char *part, Edje_Cursor cur)
 XX.
EAPI void edje_object_part_text_cursor_line_end_set (Evas_Object *obj, const char *part, Edje_Cursor cur)
 XX.
EAPI Eina_Bool edje_object_part_text_cursor_next (Evas_Object *obj, const char *part, Edje_Cursor cur)
 XX.
EAPI Eina_Bool edje_object_part_text_cursor_prev (Evas_Object *obj, const char *part, Edje_Cursor cur)
 XX.
EAPI Eina_Bool edje_object_part_text_cursor_up (Evas_Object *obj, const char *part, Edje_Cursor cur)
 XX.
EAPI const char * edje_object_part_text_get (const Evas_Object *obj, const char *part)
 Return the text of the object part.
EAPI void edje_object_part_text_insert (Evas_Object *obj, const char *part, const char *text)
 Insert text for an object part.
EAPI Eina_Bool edje_object_part_text_item_geometry_get (const Evas_Object *obj, const char *part, const char *item, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch)
 Return item geometry.
EAPI const Eina_List * edje_object_part_text_item_list_get (const Evas_Object *obj, const char *part)
 Return a list of char item names.
EAPI void edje_object_part_text_select_abort (const Evas_Object *obj, const char *part)
 Aborts any selection action on a part.
EAPI void edje_object_part_text_select_all (const Evas_Object *obj, const char *part)
 Set the selection to be everything.
EAPI void edje_object_part_text_select_allow_set (const Evas_Object *obj, const char *part, Eina_Bool allow)
 Enables selection if the entry is an EXPLICIT selection mode type.
EAPI void edje_object_part_text_select_begin (const Evas_Object *obj, const char *part)
 Starts selecting at current cursor position.
EAPI void edje_object_part_text_select_extend (const Evas_Object *obj, const char *part)
 Extends the current selection to the current cursor position.
EAPI void edje_object_part_text_select_none (const Evas_Object *obj, const char *part)
 Set the selection to be none.
EAPI const char * edje_object_part_text_selection_get (const Evas_Object *obj, const char *part)
 Return the selection text of the object part.
EAPI Eina_Bool edje_object_part_text_set (Evas_Object *obj, const char *part, const char *text)
 Sets the text for an object part.
EAPI char * edje_object_part_text_unescaped_get (const Evas_Object *obj, const char *part)
 Returns the text of the object part, without escaping.
EAPI Eina_Bool edje_object_part_text_unescaped_set (Evas_Object *obj, const char *part, const char *text_to_escape)
 Sets the raw (non escaped) text for an object part.
EAPI void edje_object_part_unswallow (Evas_Object *obj, Evas_Object *obj_swallow)
EAPI Eina_Bool edje_object_parts_extends_calc (Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h)
 Calculate the geometry used by all parts.
EAPI const Edje_Perspectiveedje_object_perspective_get (const Evas_Object *obj)
EAPI void edje_object_perspective_set (Evas_Object *obj, Edje_Perspective *ps)
EAPI Eina_Bool edje_object_play_get (const Evas_Object *obj)
 Get the edje object's play/pause state.
EAPI void edje_object_play_set (Evas_Object *obj, Eina_Bool play)
 Set the edje object to playing or paused states.
EAPI Eina_Bool edje_object_preload (Evas_Object *obj, Eina_Bool cancel)
EAPI double edje_object_scale_get (const Evas_Object *obj)
 Get the edje object's scaling factor.
EAPI Eina_Bool edje_object_scale_set (Evas_Object *obj, double scale)
 Set the edje object's scaling factor.
EAPI void edje_object_signal_callback_add (Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data)
EAPI void * edje_object_signal_callback_del (Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func)
EAPI void * edje_object_signal_callback_del_full (Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data)
 Remove a signal-triggered callback from an object.
EAPI void edje_object_signal_emit (Evas_Object *obj, const char *emission, const char *source)
 Send a signal to an edje object.
EAPI void edje_object_size_max_get (const Evas_Object *obj, Evas_Coord *maxw, Evas_Coord *maxh)
 Get the maximum size for an object.
EAPI void edje_object_size_min_calc (Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh)
 Calculate minimum size.
EAPI void edje_object_size_min_get (const Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh)
 Get the minimum size for an object.
EAPI void edje_object_size_min_restricted_calc (Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh, Evas_Coord restrictedw, Evas_Coord restrictedh)
 Calculate minimum size.
EAPI void edje_object_text_change_cb_set (Evas_Object *obj, Edje_Text_Change_Cb func, void *data)
 Set the object text callback.
EAPI Eina_Bool edje_object_text_class_set (Evas_Object *obj, const char *text_class, const char *font, Evas_Font_Size size)
 Sets Edje text class.
EAPI void edje_object_text_insert_filter_callback_add (Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func, void *data)
 Add a filter function for newly inserted text.
EAPI void * edje_object_text_insert_filter_callback_del (Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func)
 Delete a function from the filter list.
EAPI void * edje_object_text_insert_filter_callback_del_full (Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func, void *data)
 Delete a function and matching user data from the filter list.
EAPI int edje_object_thaw (Evas_Object *obj)
 Thaw object.
EAPI void edje_perspective_free (Edje_Perspective *ps)
EAPI Eina_Bool edje_perspective_global_get (const Edje_Perspective *ps)
EAPI void edje_perspective_global_set (Edje_Perspective *ps, Eina_Bool global)
EAPI Edje_Perspectiveedje_perspective_new (Evas *e)
EAPI void edje_perspective_set (Edje_Perspective *ps, Evas_Coord px, Evas_Coord py, Evas_Coord z0, Evas_Coord foc)
EAPI double edje_scale_get (void)
 Get edje's global scaling factor.
EAPI void edje_scale_set (double scale)
 Set edje's global scaling factor.
EAPI int edje_shutdown (void)
 Shutdown the edje library.
EAPI void edje_text_class_del (const char *text_class)
 Delete the text class.
EAPI Eina_List * edje_text_class_list (void)
 List text classes.
EAPI Eina_Bool edje_text_class_set (const char *text_class, const char *font, Evas_Font_Size size)
 Set the Edje text class.
EAPI void edje_thaw (void)
 Thaw edje objects.

Variables

EAPI Edje_Versionedje_version

Detailed Description

Edje Graphical Design Library.

These routines are used for Edje.


Define Documentation

#define EAPI
#define EDJE_EXTERNAL_DOUBLE_UNSET   DBL_MAX

Referenced by edje_edit_state_add().

#define EDJE_EXTERNAL_INT_UNSET   INT_MAX

Referenced by edje_edit_state_add().

#define EDJE_EXTERNAL_PARAM_INFO_BOOL ( name   )     EDJE_EXTERNAL_PARAM_INFO_BOOL_DEFAULT(name, 0)
#define EDJE_EXTERNAL_PARAM_INFO_BOOL_DEFAULT ( name,
def   )     EDJE_EXTERNAL_PARAM_INFO_BOOL_FULL(name, def, "false", "true")
#define EDJE_EXTERNAL_PARAM_INFO_BOOL_DEFAULT_FLAGS ( name,
def,
flags   )     EDJE_EXTERNAL_PARAM_INFO_BOOL_FULL_FLAGS(name, def, "false", "true", flags)
#define EDJE_EXTERNAL_PARAM_INFO_BOOL_FLAGS ( name,
flags   )     EDJE_EXTERNAL_PARAM_INFO_BOOL_DEFAULT_FLAGS(name, 0, flags)
#define EDJE_EXTERNAL_PARAM_INFO_BOOL_FULL ( name,
def,
false_str,
true_str   )     EDJE_EXTERNAL_PARAM_INFO_BOOL_FULL_FLAGS(name, def, false_str, true_str, EDJE_EXTERNAL_PARAM_FLAGS_REGULAR)
#define EDJE_EXTERNAL_PARAM_INFO_BOOL_FULL_FLAGS ( name,
def,
false_str,
true_str,
flags   )     {name, EDJE_EXTERNAL_PARAM_TYPE_BOOL, flags, {.b = {def, false_str, true_str}}}
#define EDJE_EXTERNAL_PARAM_INFO_CHOICE_DYNAMIC_FULL ( name,
def_get,
query   )     EDJE_EXTERNAL_PARAM_INFO_CHOICE_DYNAMIC_FULL_FLAGS(name, def_get, query, EDJE_EXTERNAL_PARAM_FLAGS_REGULAR)
#define EDJE_EXTERNAL_PARAM_INFO_CHOICE_DYNAMIC_FULL_FLAGS ( name,
def_get,
query,
flags   )     {name, EDJE_EXTERNAL_PARAM_TYPE_CHOICE, flags, {.c = {NULL, NULL, def_get, query}}}
#define EDJE_EXTERNAL_PARAM_INFO_CHOICE_FULL ( name,
def,
choices   )     EDJE_EXTERNAL_PARAM_INFO_CHOICE_FULL_FLAGS(name, def, choices, EDJE_EXTERNAL_PARAM_FLAGS_REGULAR)
#define EDJE_EXTERNAL_PARAM_INFO_CHOICE_FULL_FLAGS ( name,
def,
choices,
flags   )     {name, EDJE_EXTERNAL_PARAM_TYPE_CHOICE, flags, {.c = {def, choices, NULL, NULL}}}
#define EDJE_EXTERNAL_PARAM_INFO_DOUBLE ( name   )     EDJE_EXTERNAL_PARAM_INFO_DOUBLE_DEFAULT(name, 0.0)
#define EDJE_EXTERNAL_PARAM_INFO_DOUBLE_DEFAULT ( name,
def   )     EDJE_EXTERNAL_PARAM_INFO_DOUBLE_FULL(name, def, EDJE_EXTERNAL_DOUBLE_UNSET, EDJE_EXTERNAL_DOUBLE_UNSET, EDJE_EXTERNAL_DOUBLE_UNSET)
#define EDJE_EXTERNAL_PARAM_INFO_DOUBLE_DEFAULT_FLAGS ( name,
def,
flags   )     EDJE_EXTERNAL_PARAM_INFO_DOUBLE_FULL_FLAGS(name, def, EDJE_EXTERNAL_DOUBLE_UNSET, EDJE_EXTERNAL_DOUBLE_UNSET, EDJE_EXTERNAL_DOUBLE_UNSET, flags)
#define EDJE_EXTERNAL_PARAM_INFO_DOUBLE_FLAGS ( name,
flags   )     EDJE_EXTERNAL_PARAM_INFO_DOUBLE_DEFAULT_FLAGS(name, 0.0, flags)
#define EDJE_EXTERNAL_PARAM_INFO_DOUBLE_FULL ( name,
def,
min,
max,
step   )     EDJE_EXTERNAL_PARAM_INFO_DOUBLE_FULL_FLAGS(name, def, min, max, step, EDJE_EXTERNAL_PARAM_FLAGS_REGULAR)
#define EDJE_EXTERNAL_PARAM_INFO_DOUBLE_FULL_FLAGS ( name,
def,
min,
max,
step,
flags   )     {name, EDJE_EXTERNAL_PARAM_TYPE_DOUBLE, flags, {.d = {def, min, max, step}}}
#define EDJE_EXTERNAL_PARAM_INFO_INT ( name   )     EDJE_EXTERNAL_PARAM_INFO_INT_DEFAULT(name, 0)
#define EDJE_EXTERNAL_PARAM_INFO_INT_DEFAULT ( name,
def   )     EDJE_EXTERNAL_PARAM_INFO_INT_FULL(name, def, EDJE_EXTERNAL_INT_UNSET, EDJE_EXTERNAL_INT_UNSET, EDJE_EXTERNAL_INT_UNSET)
#define EDJE_EXTERNAL_PARAM_INFO_INT_DEFAULT_FLAGS ( name,
def,
flags   )     EDJE_EXTERNAL_PARAM_INFO_INT_FULL_FLAGS(name, def, EDJE_EXTERNAL_INT_UNSET, EDJE_EXTERNAL_INT_UNSET, EDJE_EXTERNAL_INT_UNSET, flags)
#define EDJE_EXTERNAL_PARAM_INFO_INT_FLAGS ( name,
flags   )     EDJE_EXTERNAL_PARAM_INFO_INT_DEFAULT_FLAGS(name, 0, flags)
#define EDJE_EXTERNAL_PARAM_INFO_INT_FULL ( name,
def,
min,
max,
step   )     EDJE_EXTERNAL_PARAM_INFO_INT_FULL_FLAGS(name, def, min, max, step, EDJE_EXTERNAL_PARAM_FLAGS_REGULAR)
#define EDJE_EXTERNAL_PARAM_INFO_INT_FULL_FLAGS ( name,
def,
min,
max,
step,
flags   )     {name, EDJE_EXTERNAL_PARAM_TYPE_INT, flags, {.i = {def, min, max, step}}}
#define EDJE_EXTERNAL_PARAM_INFO_SENTINEL   {NULL, 0, 0, {.s = {NULL, NULL, NULL}}}
#define EDJE_EXTERNAL_PARAM_INFO_STRING ( name   )     EDJE_EXTERNAL_PARAM_INFO_STRING_DEFAULT(name, NULL)
#define EDJE_EXTERNAL_PARAM_INFO_STRING_DEFAULT ( name,
def   )     EDJE_EXTERNAL_PARAM_INFO_STRING_FULL(name, def, NULL, NULL)
#define EDJE_EXTERNAL_PARAM_INFO_STRING_DEFAULT_FLAGS ( name,
def,
flags   )     EDJE_EXTERNAL_PARAM_INFO_STRING_FULL_FLAGS(name, def, NULL, NULL, flags)
#define EDJE_EXTERNAL_PARAM_INFO_STRING_FLAGS ( name,
flags   )     EDJE_EXTERNAL_PARAM_INFO_STRING_DEFAULT_FLAGS(name, NULL, flags)
#define EDJE_EXTERNAL_PARAM_INFO_STRING_FULL ( name,
def,
accept,
deny   )     EDJE_EXTERNAL_PARAM_INFO_STRING_FULL_FLAGS(name, def, accept, deny, EDJE_EXTERNAL_PARAM_FLAGS_REGULAR)
#define EDJE_EXTERNAL_PARAM_INFO_STRING_FULL_FLAGS ( name,
def,
accept,
deny,
flags   )     {name, EDJE_EXTERNAL_PARAM_TYPE_STRING, flags, {.s = {def, accept, deny}}}
#define EDJE_EXTERNAL_TYPE_ABI_VERSION   (3)
#define EDJE_VERSION_MAJOR   1
#define EDJE_VERSION_MINOR   0

Typedef Documentation

typedef enum _Edje_Cursor Edje_Cursor
typedef Evas_Object*(* Edje_Item_Provider_Cb)(void *data, Evas_Object *obj, const char *part, const char *item)
typedef void(* Edje_Message_Handler_Cb)(void *data, Evas_Object *obj, Edje_Message_Type type, int id, void *msg)
typedef void(* Edje_Signal_Cb)(void *data, Evas_Object *obj, const char *emission, const char *source)
typedef void(* Edje_Text_Change_Cb)(void *data, Evas_Object *obj, const char *part)
typedef void(* Edje_Text_Filter_Cb)(void *data, Evas_Object *obj, const char *part, Edje_Text_Filter_Type type, char **text)
typedef struct _Edje_Version Edje_Version

Enumeration Type Documentation

Enumerator:
EDJE_ACTION_TYPE_NONE 
EDJE_ACTION_TYPE_STATE_SET 
EDJE_ACTION_TYPE_ACTION_STOP 
EDJE_ACTION_TYPE_SIGNAL_EMIT 
EDJE_ACTION_TYPE_DRAG_VAL_SET 
EDJE_ACTION_TYPE_DRAG_VAL_STEP 
EDJE_ACTION_TYPE_DRAG_VAL_PAGE 
EDJE_ACTION_TYPE_SCRIPT 
EDJE_ACTION_TYPE_FOCUS_SET 
EDJE_ACTION_TYPE_RESERVED00 
EDJE_ACTION_TYPE_FOCUS_OBJECT 
EDJE_ACTION_TYPE_PARAM_COPY 
EDJE_ACTION_TYPE_PARAM_SET 
EDJE_ACTION_TYPE_LAST 
Enumerator:
EDJE_ASPECT_CONTROL_NONE 
EDJE_ASPECT_CONTROL_NEITHER 
EDJE_ASPECT_CONTROL_HORIZONTAL 
EDJE_ASPECT_CONTROL_VERTICAL 
EDJE_ASPECT_CONTROL_BOTH 
Enumerator:
EDJE_CURSOR_MAIN 
EDJE_CURSOR_SELECTION_BEGIN 
EDJE_CURSOR_SELECTION_END 
EDJE_CURSOR_PREEDIT_START 
EDJE_CURSOR_PREEDIT_END 
EDJE_CURSOR_USER 
EDJE_CURSOR_USER_EXTRA 
Enumerator:
EDJE_DRAG_DIR_NONE 
EDJE_DRAG_DIR_X 
EDJE_DRAG_DIR_Y 
EDJE_DRAG_DIR_XY 
Enumerator:
EDJE_EXTERNAL_PARAM_FLAGS_NONE 
EDJE_EXTERNAL_PARAM_FLAGS_GET 
EDJE_EXTERNAL_PARAM_FLAGS_SET 
EDJE_EXTERNAL_PARAM_FLAGS_STATE 
EDJE_EXTERNAL_PARAM_FLAGS_CONSTRUCTOR 
EDJE_EXTERNAL_PARAM_FLAGS_REGULAR 
Enumerator:
EDJE_EXTERNAL_PARAM_TYPE_INT 
EDJE_EXTERNAL_PARAM_TYPE_DOUBLE 
EDJE_EXTERNAL_PARAM_TYPE_STRING 
EDJE_EXTERNAL_PARAM_TYPE_BOOL 
EDJE_EXTERNAL_PARAM_TYPE_CHOICE 
EDJE_EXTERNAL_PARAM_TYPE_MAX 
Enumerator:
EDJE_LOAD_ERROR_NONE 
EDJE_LOAD_ERROR_GENERIC 
EDJE_LOAD_ERROR_DOES_NOT_EXIST 
EDJE_LOAD_ERROR_PERMISSION_DENIED 
EDJE_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED 
EDJE_LOAD_ERROR_CORRUPT_FILE 
EDJE_LOAD_ERROR_UNKNOWN_FORMAT 
EDJE_LOAD_ERROR_INCOMPATIBLE_FILE 
EDJE_LOAD_ERROR_UNKNOWN_COLLECTION 
EDJE_LOAD_ERROR_RECURSIVE_REFERENCE 
Enumerator:
EDJE_MESSAGE_NONE 
EDJE_MESSAGE_SIGNAL 
EDJE_MESSAGE_STRING 
EDJE_MESSAGE_INT 
EDJE_MESSAGE_FLOAT 
EDJE_MESSAGE_STRING_SET 
EDJE_MESSAGE_INT_SET 
EDJE_MESSAGE_FLOAT_SET 
EDJE_MESSAGE_STRING_INT 
EDJE_MESSAGE_STRING_FLOAT 
EDJE_MESSAGE_STRING_INT_SET 
EDJE_MESSAGE_STRING_FLOAT_SET 
Enumerator:
EDJE_OBJECT_TABLE_HOMOGENEOUS_NONE 
EDJE_OBJECT_TABLE_HOMOGENEOUS_TABLE 
EDJE_OBJECT_TABLE_HOMOGENEOUS_ITEM 
Enumerator:
EDJE_PART_TYPE_NONE 
EDJE_PART_TYPE_RECTANGLE 
EDJE_PART_TYPE_TEXT 
EDJE_PART_TYPE_IMAGE 
EDJE_PART_TYPE_SWALLOW 
EDJE_PART_TYPE_TEXTBLOCK 
EDJE_PART_TYPE_GRADIENT 
EDJE_PART_TYPE_GROUP 
EDJE_PART_TYPE_BOX 
EDJE_PART_TYPE_TABLE 
EDJE_PART_TYPE_EXTERNAL 
EDJE_PART_TYPE_LAST 
Enumerator:
EDJE_TEXT_EFFECT_NONE 
EDJE_TEXT_EFFECT_PLAIN 
EDJE_TEXT_EFFECT_OUTLINE 
EDJE_TEXT_EFFECT_SOFT_OUTLINE 
EDJE_TEXT_EFFECT_SHADOW 
EDJE_TEXT_EFFECT_SOFT_SHADOW 
EDJE_TEXT_EFFECT_OUTLINE_SHADOW 
EDJE_TEXT_EFFECT_OUTLINE_SOFT_SHADOW 
EDJE_TEXT_EFFECT_FAR_SHADOW 
EDJE_TEXT_EFFECT_FAR_SOFT_SHADOW 
EDJE_TEXT_EFFECT_GLOW 
EDJE_TEXT_EFFECT_LAST 
Enumerator:
EDJE_TEXT_FILTER_TEXT 
EDJE_TEXT_FILTER_FORMAT 
EDJE_TEXT_FILTER_MARKUP 
Enumerator:
EDJE_TWEEN_MODE_NONE 
EDJE_TWEEN_MODE_LINEAR 
EDJE_TWEEN_MODE_SINUSOIDAL 
EDJE_TWEEN_MODE_ACCELERATE 
EDJE_TWEEN_MODE_DECELERATE 
EDJE_TWEEN_MODE_LAST 

Function Documentation

EAPI const Eina_List* edje_available_modules_get ( void   ) 
EAPI void edje_box_layout_register ( const char *  name,
Evas_Object_Box_Layout  func,
void *(*)(void *)  layout_data_get,
void(*)(void *)  layout_data_free,
void(*)(void *)  free_data,
void *  data 
)

Registers a custom layout to be used in edje boxes.

Parameters:
name The name of the layout
func The function defining the layout
layout_data_get This function gets the custom data pointer for func
layout_data_free Passed to func to free its private data when needed
free_data Frees data
data Private pointer passed to layout_data_get

This function registers custom layouts that can be referred from themes by the registered name. The Evas_Object_Box_Layout functions receive two pointers for internal use, one being private data, and the other the function to free that data when it's not longer needed. From Edje, this private data will be retrieved by calling layout_data_get, and layout_data_free will be the free function passed to func. layout_data_get will be called with data as its parameter, and this one will be freed by free_data whenever the layout is unregistered from Edje.

References _Edje_Box_Layout::data, ERR, _Edje_Box_Layout::free_data, _Edje_Box_Layout::func, _Edje_Box_Layout::layout_data_free, and _Edje_Box_Layout::layout_data_get.

EAPI void edje_color_class_del ( const char *  color_class  ) 

Delete edje color class.

Parameters:
color_class This function deletes any values at the process level for the specified color class.

Deleting color emits a signal "color_class,del" with source being the given color class in all objects.

References _edje_emit(), _edje_recalc(), _Edje::dirty, and _Edje_Color_Class::name.

EAPI Eina_Bool edje_color_class_get ( const char *  color_class,
int *  r,
int *  g,
int *  b,
int *  a,
int *  r2,
int *  g2,
int *  b2,
int *  a2,
int *  r3,
int *  g3,
int *  b3,
int *  a3 
)

Get Edje color class.

Parameters:
color_class 
r Object Red value
g Object Green value
b Object Blue value
a Object Alpha value
r2 Outline Red value
g2 Outline Green value
b2 Outline Blue value
a2 Outline Alpha value
r3 Shadow Red value
g3 Shadow Green value
b3 Shadow Blue value
a3 Shadow Alpha value
Returns:
EINA_TRUE if found or EINA_FALSE if not found and all values are zeroed.

This function gets the color values for a process level color class. This value is the globally set and not per-object, that is, the value that would be used by objects if they did not override with edje_object_color_class_set().

The first color is the object, the second is the text outline, and the third is the text shadow. (Note that the second two only apply to text parts).

See also:
edje_color_class_set().
Note:
unlike Evas, Edje colors are not pre-multiplied. That is, half-transparent white is 255 255 255 128.

References S.

EAPI Eina_List* edje_color_class_list ( void   ) 

Lists color classes.

Returns:
A list of color class names (strings). These strings and the list must be free()'d by the caller.

This function lists all color classes known about by the current process.

References _Edje_List_Foreach_Data::list.

EAPI Eina_Bool edje_color_class_set ( const char *  color_class,
int  r,
int  g,
int  b,
int  a,
int  r2,
int  g2,
int  b2,
int  a2,
int  r3,
int  g3,
int  b3,
int  a3 
)

Set Edje color class.

Parameters:
color_class 
r Object Red value
g Object Green value
b Object Blue value
a Object Alpha value
r2 Outline Red value
g2 Outline Green value
b2 Outline Blue value
a2 Outline Alpha value
r3 Shadow Red value
g3 Shadow Green value
b3 Shadow Blue value
a3 Shadow Alpha value

This function sets the color values for a process level color class. This will cause all edje parts in the current process that have the specified color class to have their colors multiplied by these values. (Object level color classes set by edje_object_color_class_set() will override the values set by this function).

The first color is the object, the second is the text outline, and the third is the text shadow. (Note that the second two only apply to text parts).

Setting color emits a signal "color_class,set" with source being the given color class in all objects.

See also:
edje_color_class_set().
Note:
unlike Evas, Edje colors are not pre-multiplied. That is, half-transparent white is 255 255 255 128.

References _edje_emit(), _edje_recalc(), _Edje_Color_Class::a, _Edje_Color_Class::a2, _Edje_Color_Class::a3, _Edje_Color_Class::b, _Edje_Color_Class::b2, _Edje_Color_Class::b3, _Edje::dirty, _Edje_Color_Class::g, _Edje_Color_Class::g2, _Edje_Color_Class::g3, _Edje_Color_Class::name, _Edje_Color_Class::r, _Edje_Color_Class::r2, and _Edje_Color_Class::r3.

EAPI const Edje_Perspective* edje_evas_global_perspective_get ( const Evas *  e  ) 
EAPI void edje_extern_object_aspect_set ( Evas_Object *  obj,
Edje_Aspect_Control  aspect,
Evas_Coord  aw,
Evas_Coord  ah 
)

Set the object aspect size.

Parameters:
obj A valid Evas_Object handle
aspect The aspect control axes
aw The aspect radio width
ah The aspect ratio height

This sets the desired aspect ratio to keep an object that will be swallowed by Edje. The width and height define a preferred size ASPECT and the object may be scaled to be larger or smaller, but retaining the relative scale of both aspect width and height.

References _Edje_Real_Part::aspect, EDJE_ASPECT_CONTROL_BOTH, EDJE_ASPECT_CONTROL_HORIZONTAL, EDJE_ASPECT_CONTROL_NEITHER, EDJE_ASPECT_CONTROL_NONE, EDJE_ASPECT_CONTROL_VERTICAL, _Edje_Aspect::h, _Edje_Aspect::mode, _Edje_Real_Part::swallow_params, and _Edje_Aspect::w.

EAPI void edje_extern_object_max_size_set ( Evas_Object *  obj,
Evas_Coord  maxw,
Evas_Coord  maxh 
)

Set the object maximum size.

Parameters:
obj A valid Evas_Object handle
maxw The maximum width
maxh The maximum height

This sets the maximum size restriction for the object.

References _Edje_Size::h, _Edje_Real_Part::max, _Edje_Real_Part::swallow_params, and _Edje_Size::w.

EAPI void edje_extern_object_min_size_set ( Evas_Object *  obj,
Evas_Coord  minw,
Evas_Coord  minh 
)

Set the object minimum size.

Parameters:
obj A valid Evas_Object handle
minw The minimum width
minh The minimum height

This sets the minimum size restriction for the object.

References _Edje_Size::h, _Edje_Real_Part::min, _Edje_Real_Part::swallow_params, and _Edje_Size::w.

EAPI Eina_Iterator* edje_external_iterator_get ( void   ) 

Returns an iterator that emits Eina_Hash_Tuple pointers with key being the name and data being the Edje_External_Type pointer.

 const Eina_Hash_Tuple *tuple;
 Eina_Iterator *itr;
 const Eina_List *l, *modules;
 const char *s;

 modules = edje_available_modules_get();
 EINA_LIST_FOREACH(modules, l, s)
   {
      if (!edje_module_load(s))
        printf("Error loading edje module: %s\n", s);
   }

 itr = edje_external_iterator_get();
 EINA_ITERATOR_FOREACH(itr, tuple)
   {
      const char *name = tuple->key;
      const Edje_External_Type *type = tuple->data;

      if ((!type) ||
          (type->abi_version != edje_external_type_abi_version_get()))
        {
           printf("Error: invalid type %p (abi: %d, expected: %d)\n",
                   type, type ? type->abi_version : 0,
                   edje_external_type_abi_version_get());
           continue;
        }

      printf("%s: %s (%s) label='%s' desc='%s'\n",
             name, type->module, type->module_name,
             type->label_get ? type->label_get(type->data) : "",
             type->description_get ? type->description_get(type->data) : "");
   }
EAPI Eina_Bool edje_external_param_bool_get ( const Eina_List *  params,
const char *  key,
Eina_Bool *  ret 
)
EAPI Eina_Bool edje_external_param_choice_get ( const Eina_List *  params,
const char *  key,
const char **  ret 
)
EAPI Eina_Bool edje_external_param_double_get ( const Eina_List *  params,
const char *  key,
double *  ret 
)
EAPI const Edje_External_Param_Info* edje_external_param_info_get ( const char *  type_name  ) 

Get the array of parameters information about a type given its name.

Note:
the type names and other strings are static, that means they NOT translated. One must use Edje_External_Type::translate() to translate those.
Returns:
the NULL terminated array, or NULL if type is unknown or it does not have any parameter information.
See also:
edje_external_type_get()

References _Edje_External_Type::parameters_info, and type.

Referenced by edje_edit_state_add().

EAPI Eina_Bool edje_external_param_int_get ( const Eina_List *  params,
const char *  key,
int *  ret 
)
EAPI Eina_Bool edje_external_param_string_get ( const Eina_List *  params,
const char *  key,
const char **  ret 
)
EAPI const char* edje_external_param_type_str ( Edje_External_Param_Type  type  ) 

Converts type identifier to string nicer representation.

This may be used to debug or other informational purposes.

Parameters:
type the identifier to convert.
Returns:
the string with the string representation, or "(unknown)".

References EDJE_EXTERNAL_PARAM_TYPE_BOOL, EDJE_EXTERNAL_PARAM_TYPE_CHOICE, EDJE_EXTERNAL_PARAM_TYPE_DOUBLE, EDJE_EXTERNAL_PARAM_TYPE_INT, and EDJE_EXTERNAL_PARAM_TYPE_STRING.

EAPI unsigned int edje_external_type_abi_version_get ( void   ) 

Return the current ABI version for Edje_External_Type structure.

Always check this number before accessing Edje_External_Type in your own software. If the number is not the same, your software may access invalid memory and crash, or just get garbage values.

Warning:
NEVER, EVER define your own Edje_External_Type using the return of this function as it will change as Edje library (libedje.so) changes, but your type definition will not. Instead, use EDJE_EXTERNAL_TYPE_ABI_VERSION.

Summary:

Returns:
version this edje library was compiled.

References EDJE_EXTERNAL_TYPE_ABI_VERSION.

EAPI void edje_external_type_array_register ( const Edje_External_Type_Info array  ) 

Register a batch of types and their information.

This is the recommended function to add information as it's faster than the single version edje_external_type_register().

Note:
the given array is not modified, but the type name strings are not duplicated! That is, all type names must be live until they are unregistered! This was chosen to save some memory and most people will just define the array as a global static const type anyway.
Parameters:
array NULL terminated array with type name and information. Note that type name or information are not modified by are referenced, so they must keep alive after this function returns!
Returns:
EINA_TRUE on success, EINA_FALSE on failure (like type already registered).
See also:
edje_external_type_register()

References _Edje_External_Type::abi_version, EDJE_EXTERNAL_TYPE_ABI_VERSION, ERR, _Edje_External_Type_Info::info, and _Edje_External_Type_Info::name.

EAPI void edje_external_type_array_unregister ( const Edje_External_Type_Info array  ) 

Unregister a batch of given external type previously registered.

Parameters:
array NULL terminated array, should be the same as the one used to register with edje_external_type_array_register()
See also:
edje_external_type_unregister()

References _Edje_External_Type_Info::info, and _Edje_External_Type_Info::name.

EAPI const Edje_External_Type* edje_external_type_get ( const char *  type_name  ) 
EAPI Eina_Bool edje_external_type_register ( const char *  type_name,
const Edje_External_Type type_info 
)

Register given type name to return the given information.

Parameters:
type_name name to register and be known by edje's "source:" parameter of "type: EXTERNAL" parts.
type_info meta-information describing how to interact with it.
Returns:
EINA_TRUE on success, EINA_FALSE on failure (like type already registered).
See also:
edje_external_type_array_register()

References _Edje_External_Type::abi_version, EDJE_EXTERNAL_TYPE_ABI_VERSION, and ERR.

EAPI Eina_Bool edje_external_type_unregister ( const char *  type_name  ) 

Unregister given type name previously registered.

Parameters:
type_name name to unregister. It should be registered with edje_external_type_register() before.
Returns:
EINA_TRUE on success, EINA_FALSE on failure (like type_name did not exist).
See also:
edje_external_type_array_unregister()
EAPI Eina_List* edje_file_collection_list ( const char *  file  ) 

Get a list of groups in an edje file.

Parameters:
file The path to the edje file
Returns:
The Eina_List of group names (char *)

Note: the list must be freed using edje_file_collection_list_free() when you are done with it.

References _edje_cache_file_coll_open(), _edje_cache_file_unref(), and _Edje_File::collection.

EAPI void edje_file_collection_list_free ( Eina_List *  lst  ) 

Free file collection list.

Parameters:
lst The Eina_List of groups

Frees the list returned by edje_file_collection_list().

EAPI char* edje_file_data_get ( const char *  file,
const char *  key 
)

Get data from the file level data block of an edje file.

Parameters:
file The path to the .edj file
key The data key
Returns:
The string value of the data

If an edje file is built from the following edc:

data { item: "key1" "value1"; item: "key2" "value2"; } collections { ... }

Then, edje_file_data_get("key1") will return "value1"

References _edje_cache_file_coll_open(), _edje_cache_file_unref(), _Edje_File::data, and edje_string_get().

EAPI Eina_Bool edje_file_group_exists ( const char *  file,
const char *  glob 
)

Determine whether a group matching glob exists in an edje file.

Parameters:
file The file path
glob A glob to match on
Returns:
1 if a match is found, 0 otherwise

References _edje_cache_file_coll_open(), _edje_cache_file_unref(), _Edje_File::collection, _Edje_File::collection_patterns, edje_match_collection_dir_exec(), edje_match_collection_dir_init(), and edje_match_patterns_free().

EAPI const char* edje_fontset_append_get ( void   ) 

Get the edje append fontset.

Returns:
The edje append fontset.

This function returns the edje append fontset set by edje_fontset_append_set() function.

See also:
edje_fontset_append_set().

References _edje_fontset_append.

EAPI void edje_fontset_append_set ( const char *  fonts  ) 

Set the edje append fontset.

Parameters:
fonts The fontset to append.

This function sets the edje append fontset.

References _edje_fontset_append.

EAPI void edje_freeze ( void   ) 

Freeze Edje objects.

This function freezes every edje objects in the current process.

See edje_object_freeze().

References _edje_edjes, _edje_freeze_val, edje_object_freeze(), and INF.

EAPI Eina_Bool edje_module_load ( const char *  module  ) 
EAPI Evas_Object* edje_object_add ( Evas *  evas  ) 

Constructs the Edje object.

Parameters:
evas A valid Evas handle
Returns:
The Evas_Object pointer.

Creates the Edje smart object, returning the Evas_Object handle.

References _edje_object_smart_set().

Referenced by _edje_entry_real_part_init(), _edje_object_file_set_internal(), and edje_edit_part_source_set().

EAPI void edje_object_color_class_del ( Evas_Object *  obj,
const char *  color_class 
)

Delete the object color class.

Parameters:
obj The edje object's reference.
color_class The color class to be deleted.

This function deletes any values at the object level for the specified object and color class.

Deleting color emits a signal "color_class,del" with source being the given color.

References _edje_emit(), _edje_fetch(), _edje_recalc(), _Edje::color_classes, _Edje::dirty, edje_object_color_class_del(), EDJE_PART_TYPE_GROUP, _Edje_Color_Class::name, _Edje_Real_Part::part, _Edje_Real_Part::swallowed_object, _Edje::table_parts, _Edje::table_parts_size, and _Edje_Part::type.

Referenced by edje_object_color_class_del().

EAPI Eina_Bool edje_object_color_class_get ( const Evas_Object *  obj,
const char *  color_class,
int *  r,
int *  g,
int *  b,
int *  a,
int *  r2,
int *  g2,
int *  b2,
int *  a2,
int *  r3,
int *  g3,
int *  b3,
int *  a3 
)

Gets the object color class.

Parameters:
obj A valid Evas_Object handle
color_class 
r Object Red value
g Object Green value
b Object Blue value
a Object Alpha value
r2 Outline Red value
g2 Outline Green value
b2 Outline Blue value
a2 Outline Alpha value
r3 Shadow Red value
g3 Shadow Green value
b3 Shadow Blue value
a3 Shadow Alpha value
Returns:
EINA_TRUE if found or EINA_FALSE if not found and all values are zeroed.

This function gets the color values for an object level color class. If no explicit object color is set, then global values will be used.

The first color is the object, the second is the text outline, and the third is the text shadow. (Note that the second two only apply to text parts).

Note:
unlike Evas, Edje colors are not pre-multiplied. That is, half-transparent white is 255 255 255 128.

References _edje_color_class_find(), _edje_fetch(), and S.

EAPI Eina_Bool edje_object_color_class_set ( Evas_Object *  obj,
const char *  color_class,
int  r,
int  g,
int  b,
int  a,
int  r2,
int  g2,
int  b2,
int  a2,
int  r3,
int  g3,
int  b3,
int  a3 
)

Sets the object color class.

Parameters:
obj A valid Evas_Object handle
color_class 
r Object Red value
g Object Green value
b Object Blue value
a Object Alpha value
r2 Outline Red value
g2 Outline Green value
b2 Outline Blue value
a2 Outline Alpha value
r3 Shadow Red value
g3 Shadow Green value
b3 Shadow Blue value
a3 Shadow Alpha value

This function sets the color values for an object level color class. This will cause all edje parts in the specified object that have the specified color class to have their colors multiplied by these values.

The first color is the object, the second is the text outline, and the third is the text shadow. (Note that the second two only apply to text parts).

Setting color emits a signal "color_class,set" with source being the given color.

Note:
unlike Evas, Edje colors are not pre-multiplied. That is, half-transparent white is 255 255 255 128.

References _edje_emit(), _edje_fetch(), _edje_recalc(), _Edje_Color_Class::a, _Edje_Color_Class::a2, _Edje_Color_Class::a3, _Edje_Color_Class::b, _Edje_Color_Class::b2, _Edje_Color_Class::b3, _Edje::color_classes, _Edje::dirty, edje_object_color_class_set(), EDJE_PART_TYPE_GROUP, _Edje_Color_Class::g, _Edje_Color_Class::g2, _Edje_Color_Class::g3, _Edje_Color_Class::name, _Edje_Real_Part::part, _Edje_Color_Class::r, _Edje_Color_Class::r2, _Edje_Color_Class::r3, _Edje_Real_Part::swallowed_object, _Edje::table_parts, _Edje::table_parts_size, and _Edje_Part::type.

Referenced by edje_object_color_class_set().

EAPI const char* edje_object_data_get ( const Evas_Object *  obj,
const char *  key 
)

Get Edje object data.

Parameters:
obj A valid Evas_Object handle
key The data key
Returns:
The data string

This function fetches data specified at the object level.

In EDC this comes from a data block within the group block that obj was loaded from. E.g.

 collections {
   group {
     name: "a_group";
     data {
     item: "key1" "value1";
     item: "key2" "value2";
     }
   }
 }

References _edje_fetch(), _Edje::collection, _Edje_Part_Collection::data, and edje_string_get().

EAPI void edje_object_file_get ( const Evas_Object *  obj,
const char **  file,
const char **  group 
)

Get the file and group name that obj was loaded from.

Parameters:
obj A valid Evas_Object handle
file A pointer to store a pointer to the filename in
group A pointer to store a pointer to the group name in

This gets the EET file location and group for the given Evas_Object. If obj is either not an edje file, or has not had its file/group set using edje_object_file_set(), then both file and group will be set to NULL.

It is valid to pass in NULL for either file or group if you are not interested in one of the values.

References _edje_fetch(), _Edje::group, and _Edje::path.

EAPI Eina_Bool edje_object_file_set ( Evas_Object *  obj,
const char *  file,
const char *  group 
)

Sets the EET file and group to load obj from.

Parameters:
obj A valid Evas_Object handle
file The path to the EET file
group The group name in the Edje
Returns:
0 on Error
1 on Success and sets EDJE_LOAD_ERROR_NONE

Edje uses EET files, conventionally ending in .edj, to store object descriptions. A single file contains multiple named groups. This function specifies the file and group name to load obj from.

References _edje_fetch(), _Edje::api, and _Edje_Smart_Api::file_set.

Referenced by _edje_entry_real_part_init(), and edje_edit_part_source_set().

EAPI int edje_object_freeze ( Evas_Object *  obj  ) 

Freeze object.

Parameters:
obj A valid Evas_Object handle
Returns:
The frozen state or 0 on Error

This function puts all changes on hold. Successive freezes will nest, requiring an equal number of thaws.

References _edje_fetch(), _edje_freeze(), edje_object_freeze(), EDJE_PART_TYPE_GROUP, _Edje_Real_Part::part, _Edje_Real_Part::swallowed_object, _Edje::table_parts, _Edje::table_parts_size, and _Edje_Part::type.

Referenced by edje_freeze(), and edje_object_freeze().

EAPI void edje_object_item_provider_set ( Evas_Object *  obj,
Edje_Item_Provider_Cb  func,
void *  data 
)

Set the function that provides item objects for named items in an edje entry text.

Parameters:
obj A valid Evas Object handle
func The function to call (or NULL to disable) to get item objects
data The data pointer to pass to the func callback

Item objects may be deleted any time by Edje, and will be deleted when the Edje object is deleted (or file is set to a new file).

References _edje_fetch(), _Edje::data, _Edje::func, and _Edje::item_provider.

EAPI Edje_Load_Error edje_object_load_error_get ( const Evas_Object *  obj  ) 

Gets the Edje load error.

Parameters:
obj A valid Evas_Object handle
Returns:
The Edje load error:
EDJE_LOAD_ERROR_NONE: No Error
EDJE_LOAD_ERROR_GENERIC: Generic Error
EDJE_LOAD_ERROR_DOES_NOT_EXIST: Does not Exist
EDJE_LOAD_ERROR_PERMISSION_DENIED: Permission Denied
EDJE_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED: Resource Allocation Failed
EDJE_LOAD_ERROR_CORRUPT_FILE: Corrupt File
EDJE_LOAD_ERROR_UNKNOWN_FORMAT: Unknown Format
EDJE_LOAD_ERROR_INCOMPATIBLE_FILE: Incompatible File
EDJE_LOAD_ERROR_UNKNOWN_COLLECTION: Unknown Collection
EDJE_LOAD_ERROR_RECURSIVE_REFERENCE: Recursive Reference

References _edje_fetch(), EDJE_LOAD_ERROR_NONE, and _Edje::load_error.

Referenced by _edje_object_file_set_internal().

EAPI Eina_Bool edje_object_part_box_append ( Evas_Object *  obj,
const char *  part,
Evas_Object *  child 
)

Appends an object to the box.

Parameters:
obj A valid Evas_Object handle
part The part name
child The object to append
Returns:
1: Successfully added.
0: An error occurred.

Appends child to the box indicated by part.

References _edje_fetch(), _edje_real_part_box_append(), _edje_real_part_recursive_get(), EDJE_PART_TYPE_BOX, _Edje_Real_Part::part, and _Edje_Part::type.

EAPI Eina_Bool edje_object_part_box_insert_at ( Evas_Object *  obj,
const char *  part,
Evas_Object *  child,
unsigned int  pos 
)

Inserts an object to the box.

Parameters:
obj A valid Evas_Object handle
part The part name
child The object to insert
pos The position where to insert child
Returns:
1: Successfully added.
0: An error occurred.

Adds child to the box indicated by part, in the position given by pos.

References _edje_fetch(), _edje_real_part_box_insert_at(), _edje_real_part_recursive_get(), EDJE_PART_TYPE_BOX, _Edje_Real_Part::part, and _Edje_Part::type.

EAPI Eina_Bool edje_object_part_box_insert_before ( Evas_Object *  obj,
const char *  part,
Evas_Object *  child,
const Evas_Object *  reference 
)

Adds an object to the box.

Parameters:
obj A valid Evas_Object handle
part The part name
child The object to insert
reference The object to be used as reference
Returns:
1: Successfully added.
0: An error occurred.

Inserts child in the box given by part, in the position marked by reference.

References _edje_fetch(), _edje_real_part_box_insert_before(), _edje_real_part_recursive_get(), EDJE_PART_TYPE_BOX, _Edje_Real_Part::part, and _Edje_Part::type.

EAPI Eina_Bool edje_object_part_box_prepend ( Evas_Object *  obj,
const char *  part,
Evas_Object *  child 
)

Prepends an object to the box.

Parameters:
obj A valid Evas_Object handle
part The part name
child The object to prepend
Returns:
1: Successfully added.
0: An error occurred.

Prepends child to the box indicated by part.

References _edje_fetch(), _edje_real_part_box_prepend(), _edje_real_part_recursive_get(), EDJE_PART_TYPE_BOX, _Edje_Real_Part::part, and _Edje_Part::type.

EAPI Evas_Object* edje_object_part_box_remove ( Evas_Object *  obj,
const char *  part,
Evas_Object *  child 
)

Removes an object from the box.

Parameters:
obj A valid Evas_Object handle
part The part name
child The object to remove
Returns:
Pointer to the object removed, or NULL.

Removes child from the box indicated by part.

References _edje_fetch(), _edje_real_part_box_remove(), _edje_real_part_recursive_get(), EDJE_PART_TYPE_BOX, _Edje_Real_Part::part, and _Edje_Part::type.

EAPI Eina_Bool edje_object_part_box_remove_all ( Evas_Object *  obj,
const char *  part,
Eina_Bool  clear 
)

Removes all elements from the box.

Parameters:
obj A valid Evas_Object handle
part The part name
clear Delete objects on removal
Returns:
1: Successfully cleared.
0: An error occurred.

Removes all the external objects from the box indicated by part. Elements created from the theme will not be removed.

References _edje_fetch(), _edje_real_part_box_remove_all(), _edje_real_part_recursive_get(), EDJE_PART_TYPE_BOX, _Edje_Real_Part::part, and _Edje_Part::type.

EAPI Evas_Object* edje_object_part_box_remove_at ( Evas_Object *  obj,
const char *  part,
unsigned int  pos 
)

Removes an object from the box.

Parameters:
obj A valid Evas_Object handle
part The part name
pos 
Returns:
Pointer to the object removed, or NULL.

Removes from the box indicated by part, the object in the position pos.

References _edje_fetch(), _edje_real_part_box_remove_at(), _edje_real_part_recursive_get(), EDJE_PART_TYPE_BOX, _Edje_Real_Part::part, and _Edje_Part::type.

EAPI Edje_Drag_Dir edje_object_part_drag_dir_get ( const Evas_Object *  obj,
const char *  part 
)

Determine dragable directions.

Parameters:
obj A valid Evas_Object handle
part The part name
Returns:
0: Not dragable
1: Dragable in X direction
2: Dragable in Y direction
3: Dragable in X & Y directions

References _edje_fetch(), _edje_real_part_recursive_get(), _edje_recalc_do(), _Edje_Part::dragable, EDJE_DRAG_DIR_NONE, EDJE_DRAG_DIR_X, EDJE_DRAG_DIR_XY, EDJE_DRAG_DIR_Y, _Edje_Real_Part::part, _Edje_Part_Dragable::x, and _Edje_Part_Dragable::y.

EAPI Eina_Bool edje_object_part_drag_page ( Evas_Object *  obj,
const char *  part,
double  dx,
double  dy 
)

Pages x,y steps.

Parameters:
obj A valid Evas_Object handle
part The part name
dx The x step
dy The y step

Pages x,y where the increment is defined by edje_object_part_drag_page_set.
WARNING: Paging is bugged!

References _edje_dragable_pos_set(), _edje_emit(), _edje_fetch(), _edje_real_part_recursive_get(), ADD, CLAMP, _Edje_Real_Part_Drag::count, _Edje_Real_Part_Drag::down, _Edje_Real_Part::drag, _Edje_Part::dragable, _Edje_Real_Part::edje, FLOAT_T, FROM_DOUBLE, MUL, _Edje_Part::name, _Edje_Real_Part_Drag::page, _Edje_Real_Part::part, _Edje_Real_Part_Drag::val, _Edje_Part_Dragable::x, _Edje_Position_Scale::x, _Edje_Part_Dragable::y, _Edje_Position_Scale::y, and ZERO.

EAPI Eina_Bool edje_object_part_drag_page_get ( const Evas_Object *  obj,
const char *  part,
double *  dx,
double *  dy 
)

Gets the page step increments.

Parameters:
obj A valid Evas_Object handle
part The part name
dx The dx page increment pointer
dy The dy page increment pointer

Gets the x,y page step increments for the dragable object.

References _edje_fetch(), _edje_real_part_recursive_get(), _edje_recalc_do(), _Edje_Real_Part::drag, _Edje_Real_Part_Drag::page, TO_DOUBLE, _Edje_Position_Scale::x, and _Edje_Position_Scale::y.

EAPI Eina_Bool edje_object_part_drag_page_set ( Evas_Object *  obj,
const char *  part,
double  dx,
double  dy 
)

Sets the page step increments.

Parameters:
obj A valid Evas_Object handle
part The part name
dx The x page step increment
dy The y page step increment

Sets the x,y page step increment values.

References _edje_fetch(), _edje_real_part_recursive_get(), _Edje_Real_Part::drag, FROM_DOUBLE, _Edje_Real_Part_Drag::page, _Edje_Position_Scale::x, and _Edje_Position_Scale::y.

EAPI Eina_Bool edje_object_part_drag_size_get ( const Evas_Object *  obj,
const char *  part,
double *  dw,
double *  dh 
)

Get the dragable object size.

Parameters:
obj A valid Evas_Object handle
part The part name
dw The drag width pointer
dh The drag height pointer

Gets the dragable object size.

References _edje_fetch(), _edje_real_part_recursive_get(), _edje_recalc_do(), _Edje_Real_Part::drag, _Edje_Real_Part_Drag::size, TO_DOUBLE, _Edje_Position_Scale::x, and _Edje_Position_Scale::y.

EAPI Eina_Bool edje_object_part_drag_size_set ( Evas_Object *  obj,
const char *  part,
double  dw,
double  dh 
)

Set the dragable object size.

Parameters:
obj A valid Evas_Object handle
part The part name
dw The drag width
dh The drag height

Sets the size of the dragable object.

References _edje_fetch(), _edje_real_part_recursive_get(), _edje_recalc(), _Edje::dirty, _Edje_Real_Part::drag, _Edje_Real_Part::edje, FROM_DOUBLE, _Edje_Real_Part_Drag::size, _Edje_Position_Scale::x, and _Edje_Position_Scale::y.

EAPI Eina_Bool edje_object_part_drag_step ( Evas_Object *  obj,
const char *  part,
double  dx,
double  dy 
)

Steps the dragable x,y steps.

Parameters:
obj A valid Evas_Object handle
part The part name
dx The x step
dy The y step

Steps x,y where the step increment is the amount set by edje_object_part_drag_step_set.

References _edje_dragable_pos_set(), _edje_emit(), _edje_fetch(), _edje_real_part_recursive_get(), ADD, CLAMP, _Edje_Real_Part_Drag::count, _Edje_Real_Part_Drag::down, _Edje_Real_Part::drag, _Edje_Part::dragable, _Edje_Real_Part::edje, FLOAT_T, FROM_DOUBLE, MUL, _Edje_Part::name, _Edje_Real_Part::part, _Edje_Real_Part_Drag::step, _Edje_Real_Part_Drag::val, _Edje_Part_Dragable::x, _Edje_Position_Scale::x, _Edje_Part_Dragable::y, _Edje_Position_Scale::y, and ZERO.

EAPI Eina_Bool edje_object_part_drag_step_get ( const Evas_Object *  obj,
const char *  part,
double *  dx,
double *  dy 
)

Gets the drag step increment values.

Parameters:
obj A valid Evas_Object handle
part The part
dx The x step increment pointer
dy The y step increment pointer

Gets the x and y step increments for the dragable object.

References _edje_fetch(), _edje_real_part_recursive_get(), _edje_recalc_do(), _Edje_Real_Part::drag, _Edje_Real_Part_Drag::step, TO_DOUBLE, _Edje_Position_Scale::x, and _Edje_Position_Scale::y.

EAPI Eina_Bool edje_object_part_drag_step_set ( Evas_Object *  obj,
const char *  part,
double  dx,
double  dy 
)

Sets the drag step increment.

Parameters:
obj A valid Evas_Object handle
part The part name
dx The x step amount
dy The y step amount

Sets the x,y step increments for a dragable object.

References _edje_fetch(), _edje_real_part_recursive_get(), _Edje_Real_Part::drag, FROM_DOUBLE, _Edje_Real_Part_Drag::step, _Edje_Position_Scale::x, and _Edje_Position_Scale::y.

EAPI Eina_Bool edje_object_part_drag_value_get ( const Evas_Object *  obj,
const char *  part,
double *  dx,
double *  dy 
)

Get the dragable object location.

Parameters:
obj A valid Evas_Object handle
part The part name
dx The X value pointer
dy The Y value pointer

Gets the drag location values.

References _edje_fetch(), _edje_real_part_recursive_get(), _edje_recalc_do(), _Edje_Real_Part::drag, _Edje_Part::dragable, _Edje_Real_Part::part, TO_DOUBLE, _Edje_Real_Part_Drag::val, _Edje_Part_Dragable::x, _Edje_Position_Scale::x, _Edje_Part_Dragable::y, and _Edje_Position_Scale::y.

EAPI Eina_Bool edje_object_part_drag_value_set ( Evas_Object *  obj,
const char *  part,
double  dx,
double  dy 
)
EAPI Eina_Bool edje_object_part_exists ( const Evas_Object *  obj,
const char *  part 
)

Check if Edje part exists.

Parameters:
obj A valid Evas_Object handle
part The part name to check
Returns:
0 on Error, 1 if Edje part exists.

This function returns if a part exists in the edje.

References _edje_fetch(), and _edje_real_part_recursive_get().

EAPI Evas_Object* edje_object_part_external_content_get ( const Evas_Object *  obj,
const char *  part,
const char *  content 
)
EAPI Evas_Object* edje_object_part_external_object_get ( const Evas_Object *  obj,
const char *  part 
)

Get the object created by this external part.

Parts of type external creates the part object using information provided by external plugins. It's somehow like "swallow" (edje_object_part_swallow()), but it's all set automatically.

This function returns the part created by such external plugins and being currently managed by this Edje.

Note:
Almost all swallow rules apply: you should not move, resize, hide, show, set the color or clipper of such part. It's a bit more restrictive as one must never delete this object!
Parameters:
obj A valid Evas_Object handle
part The part name
Returns:
The externally created object, or NULL if there is none or part is not an external.

References _edje_fetch(), _edje_real_part_recursive_get(), _edje_recalc_do(), EDJE_PART_TYPE_EXTERNAL, ERR, _Edje_Part::name, _Edje_Real_Part::part, _Edje_Real_Part::swallowed_object, and _Edje_Part::type.

EAPI Eina_Bool edje_object_part_external_param_get ( const Evas_Object *  obj,
const char *  part,
Edje_External_Param param 
)

Get the parameter for the external part.

Parts of type external may carry extra properties that have meanings defined by the external plugin. For instance, it may be a string that defines a button label. This property can be modifed by state parameters, by explicit calls to edje_object_part_external_param_set() or getting the actual object with edje_object_part_external_object_get() and calling native functions.

This function asks the external plugin what is the current value, independent on how it was set.

Parameters:
obj A valid Evas_Object handle
part The part name
param the parameter details. It is used as both input and output variable. This pointer should be valid, and the parameter must exist in Edje_External_Type::parameters_info, with the exact type, otherwise the operation will fail and EINA_FALSE will be returned.
Returns:
EINA_TRUE if everything went fine and param members are filled with information, EINA_FALSE on errors and param member values are not set or valid.

References _edje_external_param_get(), _edje_fetch(), _edje_real_part_recursive_get(), ERR, and _Edje_External_Param::name.

EAPI Eina_Bool edje_object_part_external_param_set ( Evas_Object *  obj,
const char *  part,
const Edje_External_Param param 
)

Set the parameter for the external part.

Parts of type external may carry extra properties that have meanings defined by the external plugin. For instance, it may be a string that defines a button label and setting this property will change that label on the fly.

Note:
external parts have parameters set when they change states. Those parameters will never be changed by this function. The interpretation of how state_set parameters and param_set will interact is up to the external plugin.
this function will not check if parameter value is valid using Edje_External_Param_Info minimum, maximum, valid choices and others. However these should be checked by the underlying implementation provided by the external plugin. This is done for performance reasons.
Parameters:
obj A valid Evas_Object handle
part The part name
param the parameter details, including its name, type and actual value. This pointer should be valid, and the parameter must exist in Edje_External_Type::parameters_info, with the exact type, otherwise the operation will fail and EINA_FALSE will be returned.
Returns:
EINA_TRUE if everything went fine, EINA_FALSE on errors.

References _edje_external_param_set(), _edje_fetch(), _edje_real_part_recursive_get(), ERR, and _Edje_External_Param::name.

Referenced by edje_edit_state_external_param_set().

EAPI Edje_External_Param_Type edje_object_part_external_param_type_get ( const Evas_Object *  obj,
const char *  part,
const char *  param 
)

Facility to query the type of the given parameter of the given part.

Parameters:
obj A valid Evas_Object handle
part The part name
param the parameter name to use.
Returns:
EDJE_EXTERNAL_PARAM_TYPE_MAX on errors, or another value from Edje_External_Param_Type on success.

References _edje_fetch(), _edje_real_part_recursive_get(), EDJE_EXTERNAL_PARAM_TYPE_MAX, ERR, _Edje_External_Type::module_name, _Edje_External_Param_Info::name, _Edje_External_Type::parameters_info, _Edje_Real_Part::swallowed_object, _Edje_External_Param_Info::type, and type.

EAPI Eina_Bool edje_object_part_geometry_get ( const Evas_Object *  obj,
const char *  part,
Evas_Coord *  x,
Evas_Coord *  y,
Evas_Coord *  w,
Evas_Coord *  h 
)

Get the geometry of an Edje part.

Parameters:
obj A valid Evas_Object handle
part The Edje part
x The x coordinate pointer
y The y coordinate pointer
w The width pointer
h The height pointer

This function gets the geometry of an Edje part.

It is valid to pass NULL as any of x, y, w or h, whose values you are uninterested in.

References _edje_fetch(), _edje_real_part_recursive_get(), _edje_recalc_do(), _Edje_Real_Part::h, _Edje_Real_Part::w, _Edje_Real_Part::x, and _Edje_Real_Part::y.

EAPI const Evas_Object* edje_object_part_object_get ( const Evas_Object *  obj,
const char *  part 
)

Gets the evas object from a part.

Parameters:
obj A valid Evas_Object handle
part The Edje part
Returns:
Returns the Evas_Object corresponding to the given part, or NULL on failure (if the part doesn't exist)

This functio gets the Evas_Object corresponding to a given part.

You should never modify the state of the returned object (with evas_object_move() or evas_object_hide() for example), but you can safely query info about its current state (with evas_object_visible_get() or evas_object_color_get() for example)

References _edje_fetch(), _edje_real_part_recursive_get(), _edje_recalc_do(), and _Edje_Real_Part::object.

EAPI const char* edje_object_part_state_get ( const Evas_Object *  obj,
const char *  part,
double *  val_ret 
)

Returns the state of the Edje part.

Parameters:
obj A valid Evas_Object handle
part The part name
val_ret 
Returns:
The part state:
"default" for the default state
"" for other states

References _edje_fetch(), _edje_real_part_recursive_get(), _edje_recalc_do(), _Edje_Real_Part::chosen_description, _Edje_Real_Part_State::description, INF, _Edje_Part_Description_Common::name, _Edje_Real_Part::param1, _Edje_Part_Description_Common::state, and _Edje_Part_Description_Common::value.

EAPI Eina_Bool edje_object_part_swallow ( Evas_Object *  obj,
const char *  part,
Evas_Object *  obj_swallow 
)

Swallows an object into the edje.

Parameters:
obj A valid Evas_Object handle
part The part name
obj_swallow The object to swallow

Swallows the object into the edje part so that all geometry changes for the part affect the swallowed object. (e.g. resize, move, show, raise/lower, etc.).

If an object has already been swallowed into this part, then it will first be unswallowed before the new object is swallowed.

References _edje_fetch(), _edje_real_part_recursive_get(), _edje_real_part_swallow(), _edje_recalc_do(), EDJE_PART_TYPE_SWALLOW, ERR, _Edje_Part::name, _Edje_Real_Part::part, and _Edje_Part::type.

Referenced by _edje_object_file_set_internal().

EAPI Evas_Object* edje_object_part_swallow_get ( const Evas_Object *  obj,
const char *  part 
)

Get the object currently swallowed by a part.

Parameters:
obj A valid Evas_Object handle
part The part name
Returns:
The swallowed object, or NULL if there is none.

References _edje_fetch(), _edje_real_part_recursive_get(), _edje_recalc_do(), and _Edje_Real_Part::swallowed_object.

EAPI Evas_Object* edje_object_part_table_child_get ( Evas_Object *  obj,
const char *  part,
unsigned int  col,
unsigned int  row 
)

Retrieve a child from a table.

Parameters:
obj A valid Evas_Object handle
part The part name
col The column of the child to get
row The row of the child to get
Returns:
The child Evas_Object

References _edje_fetch(), _edje_real_part_recursive_get(), EDJE_PART_TYPE_TABLE, _Edje_Real_Part::object, _Edje_Real_Part::part, and _Edje_Part::type.

EAPI Eina_Bool edje_object_part_table_clear ( Evas_Object *  obj,
const char *  part,
Eina_Bool  clear 
)

Removes all object from the table.

Parameters:
obj A valid Evas_Object handle
part The part name
clear If set, will delete subobjs on remove
Returns:
1: Successfully clear table.
0: An error occurred.

Removes all object from the table indicated by part, except the internal ones set from the theme.

References _edje_fetch(), _edje_real_part_recursive_get(), _edje_real_part_table_clear(), EDJE_PART_TYPE_TABLE, _Edje_Real_Part::part, and _Edje_Part::type.

EAPI Eina_Bool edje_object_part_table_col_row_size_get ( const Evas_Object *  obj,
const char *  part,
int *  cols,
int *  rows 
)

Gets the number of columns and rows the table has.

Parameters:
obj A valid Evas_Object handle
part The part name
cols Pointer where to store number of columns (can be NULL)
rows Pointer where to store number of rows (can be NULL)
Returns:
1: Successfully get some data.
0: An error occurred.

Retrieves the size of the table in number of columns and rows.

References _edje_fetch(), _edje_real_part_recursive_get(), EDJE_PART_TYPE_TABLE, _Edje_Real_Part::object, _Edje_Real_Part::part, and _Edje_Part::type.

EAPI Eina_Bool edje_object_part_table_pack ( Evas_Object *  obj,
const char *  part,
Evas_Object *  child_obj,
unsigned short  col,
unsigned short  row,
unsigned short  colspan,
unsigned short  rowspan 
)

Packs an object into the table.

Parameters:
obj A valid Evas_Object handle
part The part name
child_obj The object to pack in
col The column to place it in
row The row to place it in
colspan Columns the child will take
rowspan Rows the child will take
Returns:
1: Successfully added.
0: An error occurred.

Packs an object into the table indicated by part.

References _edje_fetch(), _edje_real_part_recursive_get(), _edje_real_part_table_pack(), EDJE_PART_TYPE_TABLE, _Edje_Real_Part::part, and _Edje_Part::type.

EAPI Eina_Bool edje_object_part_table_unpack ( Evas_Object *  obj,
const char *  part,
Evas_Object *  child_obj 
)

Removes an object from the table.

Parameters:
obj A valid Evas_Object handle
part The part name
child_obj The object to pack in
Returns:
1: Successfully removed.
0: An error occurred.

Removes an object from the table indicated by part.

References _edje_fetch(), _edje_real_part_recursive_get(), _edje_real_part_table_unpack(), EDJE_PART_TYPE_TABLE, _Edje_Real_Part::part, and _Edje_Part::type.

EAPI const Eina_List* edje_object_part_text_anchor_geometry_get ( const Evas_Object *  obj,
const char *  part,
const char *  anchor 
)

Return a list of Evas_Textblock_Rectangle anchor rectangles.

Parameters:
obj A valid Evas_Object handle
part The part name
anchor The anchor name
Returns:
The list of anchor rects (const Evas_Textblock_Rectangle *), do not modify! Geometry is relative to entry part.

This function return a list of Evas_Textblock_Rectangle anchor rectangles.

References _edje_entry_anchor_geometry_get(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI const Eina_List* edje_object_part_text_anchor_list_get ( const Evas_Object *  obj,
const char *  part 
)

Return a list of char anchor names.

Parameters:
obj A valid Evas_Object handle
part The part name
Returns:
The list of anchors (const char *), do not modify!

This function returns a list of char anchor names.

References _edje_entry_anchors_list(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI void edje_object_part_text_cursor_begin_set ( Evas_Object *  obj,
const char *  part,
Edje_Cursor  cur 
)

XX.

Parameters:
obj A valid Evas_Object handle
part The part name

References _edje_entry_cursor_begin(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI const char* edje_object_part_text_cursor_content_get ( const Evas_Object *  obj,
const char *  part,
Edje_Cursor  cur 
)

XX.

Parameters:
obj A valid Evas_Object handle
part The part name

References _edje_entry_cursor_content_get(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI Eina_Bool edje_object_part_text_cursor_coord_set ( Evas_Object *  obj,
const char *  part,
Edje_Cursor  cur,
Evas_Coord  x,
Evas_Coord  y 
)

Position the given cursor to a X,Y position.

This is frequently used with the user cursor.

Parameters:
obj An Edje object.
part The part containing the object.
cur The cursor to adjust.
x X Coordinate.
y Y Coordinate.
Returns:
True on success, false on error.

References _edje_entry_cursor_coord_set(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI void edje_object_part_text_cursor_copy ( Evas_Object *  obj,
const char *  part,
Edje_Cursor  src,
Edje_Cursor  dst 
)

XX.

Parameters:
obj A valid Evas_Object handle
part The part name

References _edje_entry_cursor_copy(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI Eina_Bool edje_object_part_text_cursor_down ( Evas_Object *  obj,
const char *  part,
Edje_Cursor  cur 
)

XX.

Parameters:
obj A valid Evas_Object handle
part The part name

References _edje_entry_cursor_down(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI void edje_object_part_text_cursor_end_set ( Evas_Object *  obj,
const char *  part,
Edje_Cursor  cur 
)

XX.

Parameters:
obj A valid Evas_Object handle
part The part name

References _edje_entry_cursor_end(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI void edje_object_part_text_cursor_geometry_get ( const Evas_Object *  obj,
const char *  part,
Evas_Coord *  x,
Evas_Coord *  y,
Evas_Coord *  w,
Evas_Coord *  h 
)

Returns the cursor geometry of the part relative to the edje object.

Parameters:
obj A valid Evas_Object handle
part The part name
x Cursor X position
y Cursor Y position
w Cursor width
h Cursor height

References _edje_entry_cursor_geometry_get(), _edje_fetch(), _edje_real_part_recursive_get(), _Edje_Real_Part::edje, EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, _Edje_Real_Part::part, _Edje::x, and _Edje::y.

EAPI Eina_Bool edje_object_part_text_cursor_is_format_get ( const Evas_Object *  obj,
const char *  part,
Edje_Cursor  cur 
)
EAPI Eina_Bool edje_object_part_text_cursor_is_visible_format_get ( const Evas_Object *  obj,
const char *  part,
Edje_Cursor  cur 
)
EAPI void edje_object_part_text_cursor_line_begin_set ( Evas_Object *  obj,
const char *  part,
Edje_Cursor  cur 
)

XX.

Parameters:
obj A valid Evas_Object handle
part The part name

References _edje_entry_cursor_line_begin(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI void edje_object_part_text_cursor_line_end_set ( Evas_Object *  obj,
const char *  part,
Edje_Cursor  cur 
)

XX.

Parameters:
obj A valid Evas_Object handle
part The part name

References _edje_entry_cursor_line_end(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI Eina_Bool edje_object_part_text_cursor_next ( Evas_Object *  obj,
const char *  part,
Edje_Cursor  cur 
)

XX.

Parameters:
obj A valid Evas_Object handle
part The part name

References _edje_entry_cursor_next(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI Eina_Bool edje_object_part_text_cursor_prev ( Evas_Object *  obj,
const char *  part,
Edje_Cursor  cur 
)

XX.

Parameters:
obj A valid Evas_Object handle
part The part name

References _edje_entry_cursor_prev(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI Eina_Bool edje_object_part_text_cursor_up ( Evas_Object *  obj,
const char *  part,
Edje_Cursor  cur 
)

XX.

Parameters:
obj A valid Evas_Object handle
part The part name

References _edje_entry_cursor_up(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI const char* edje_object_part_text_get ( const Evas_Object *  obj,
const char *  part 
)

Return the text of the object part.

Parameters:
obj A valid Evas_Object handle
part The part name
Returns:
The text string

This function returns the text associated to the object part.

References _edje_entry_text_get(), _edje_fetch(), _edje_real_part_recursive_get(), _edje_recalc_do(), EDJE_ENTRY_EDIT_MODE_NONE, EDJE_PART_TYPE_TEXT, EDJE_PART_TYPE_TEXTBLOCK, _Edje_Part::entry_mode, _Edje_Real_Part::object, _Edje_Real_Part::part, _Edje_Real_Part::text, and _Edje_Part::type.

Referenced by _edje_external_param_get().

EAPI void edje_object_part_text_insert ( Evas_Object *  obj,
const char *  part,
const char *  text 
)

Insert text for an object part.

Parameters:
obj A valid Evas Object handle
part The part name
text The text string

This function inserts the text for an object part just before the cursor position.

References _edje_entry_text_markup_insert(), _edje_fetch(), _edje_real_part_recursive_get(), _edje_recalc(), _Edje::data, _Edje::dirty, _Edje_Real_Part::edje, EDJE_ENTRY_EDIT_MODE_NONE, EDJE_PART_TYPE_TEXTBLOCK, _Edje_Part::entry_mode, _Edje::func, _Edje_Real_Part::part, _Edje::text_change, and _Edje_Part::type.

EAPI Eina_Bool edje_object_part_text_item_geometry_get ( const Evas_Object *  obj,
const char *  part,
const char *  item,
Evas_Coord *  cx,
Evas_Coord *  cy,
Evas_Coord *  cw,
Evas_Coord *  ch 
)

Return item geometry.

Parameters:
obj A valid Evas_Object handle
part The part name
item The item name
cx Item x return (relative to entry part)
cy Item y return (relative to entry part)
cw Item width return
ch Item height return
Returns:
1 if item exists, 0 if not

This function return a list of Evas_Textblock_Rectangle item rectangles.

References _edje_entry_item_geometry_get(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI const Eina_List* edje_object_part_text_item_list_get ( const Evas_Object *  obj,
const char *  part 
)

Return a list of char item names.

Parameters:
obj A valid Evas_Object handle
part The part name
Returns:
The list of items (const char *), do not modify!

This function returns a list of char item names.

References _edje_entry_items_list(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI void edje_object_part_text_select_abort ( const Evas_Object *  obj,
const char *  part 
)

Aborts any selection action on a part.

Parameters:
obj A valid Evas_Object handle
part The part name

References _edje_entry_select_abort(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI void edje_object_part_text_select_all ( const Evas_Object *  obj,
const char *  part 
)

Set the selection to be everything.

Parameters:
obj A valid Evas_Object handle
part The part name

This function selects all text of the object of the part.

References _edje_entry_select_all(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI void edje_object_part_text_select_allow_set ( const Evas_Object *  obj,
const char *  part,
Eina_Bool  allow 
)

Enables selection if the entry is an EXPLICIT selection mode type.

Parameters:
obj A valid Evas_Object handle
part The part name
allow EINA_TRUE to enable, EINA_FALSE otherwise

References _edje_entry_select_allow_set(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI void edje_object_part_text_select_begin ( const Evas_Object *  obj,
const char *  part 
)

Starts selecting at current cursor position.

Parameters:
obj A valid Evas_Object handle
part The part name

References _edje_entry_select_begin(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI void edje_object_part_text_select_extend ( const Evas_Object *  obj,
const char *  part 
)

Extends the current selection to the current cursor position.

Parameters:
obj A valid Evas_Object handle
part The part name

References _edje_entry_select_extend(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI void edje_object_part_text_select_none ( const Evas_Object *  obj,
const char *  part 
)

Set the selection to be none.

Parameters:
obj A valid Evas_Object handle
part The part name

This function sets the selection text to be none.

References _edje_entry_select_none(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI const char* edje_object_part_text_selection_get ( const Evas_Object *  obj,
const char *  part 
)

Return the selection text of the object part.

Parameters:
obj A valid Evas_Object handle
part The part name
Returns:
The text string

This function returns selection text of the object part.

References _edje_entry_selection_get(), _edje_fetch(), _edje_real_part_recursive_get(), EDJE_ENTRY_EDIT_MODE_NONE, _Edje_Part::entry_mode, and _Edje_Real_Part::part.

EAPI Eina_Bool edje_object_part_text_set ( Evas_Object *  obj,
const char *  part,
const char *  text 
)

Sets the text for an object part.

Parameters:
obj A valid Evas Object handle
part The part name
text The text string

References _edje_fetch(), _edje_object_part_text_raw_set(), _edje_real_part_recursive_get(), EDJE_PART_TYPE_TEXT, EDJE_PART_TYPE_TEXTBLOCK, _Edje_Real_Part::part, and _Edje_Part::type.

Referenced by _edje_external_param_set().

EAPI char* edje_object_part_text_unescaped_get ( const Evas_Object *  obj,
const char *  part 
)

Returns the text of the object part, without escaping.

Parameters:
obj A valid Evas_Object handle
part The part name
Returns:
The allocated text string without escaping, or NULL on problems.

This function is the counterpart of edje_object_part_text_unescaped_set(). Please notice that the result is newly allocated memory and should be released with free() when done.

See also:
edje_object_part_text_unescaped_set().

References _edje_entry_text_get(), _edje_fetch(), _edje_real_part_recursive_get(), _edje_recalc_do(), _edje_text_unescape(), EDJE_ENTRY_EDIT_MODE_NONE, EDJE_PART_TYPE_TEXT, EDJE_PART_TYPE_TEXTBLOCK, _Edje_Part::entry_mode, _Edje_Real_Part::object, _Edje_Real_Part::part, _Edje_Real_Part::text, and _Edje_Part::type.

EAPI Eina_Bool edje_object_part_text_unescaped_set ( Evas_Object *  obj,
const char *  part,
const char *  text_to_escape 
)

Sets the raw (non escaped) text for an object part.

Parameters:
obj A valid Evas Object handle
part The part name
text_to_escape The text string

This funciton will do escape for you if it is a TEXTBLOCK part, that is, if text contain tags, these tags will not be interpreted/parsed by TEXTBLOCK.

See also:
edje_object_part_text_unescaped_get().

References _edje_fetch(), _edje_object_part_text_raw_set(), _edje_real_part_recursive_get(), _edje_text_escape(), EDJE_PART_TYPE_TEXT, EDJE_PART_TYPE_TEXTBLOCK, _Edje_Real_Part::part, and _Edje_Part::type.

EAPI void edje_object_part_unswallow ( Evas_Object *  obj,
Evas_Object *  obj_swallow 
)
EAPI Eina_Bool edje_object_parts_extends_calc ( Evas_Object *  obj,
Evas_Coord *  x,
Evas_Coord *  y,
Evas_Coord *  w,
Evas_Coord *  h 
)

Calculate the geometry used by all parts.

Parameters:
obj A valid Evas_Object handle
x The x coordinate pointer
y The y coordinate pointer
w The width pointer
h The height pointer

Calculates the geometry used by all object parts. Including out of bounds parts.

References _edje_fetch(), _edje_recalc_do(), _Edje::calc_only, _Edje::dirty, _Edje_Real_Part::h, _Edje::table_parts, _Edje::table_parts_size, _Edje_Real_Part::w, _Edje_Real_Part::x, and _Edje_Real_Part::y.

EAPI const Edje_Perspective* edje_object_perspective_get ( const Evas_Object *  obj  ) 

References _Edje::persp.

EAPI void edje_object_perspective_set ( Evas_Object *  obj,
Edje_Perspective ps 
)
EAPI double edje_object_scale_get ( const Evas_Object *  obj  ) 

Get the edje object's scaling factor.

Parameters:
obj The edje object's reference.

This function returns the individual scale factor of the obj edje object, which can be set by edje_object_scale_set().

See also:
edje_object_scale_set().

References _edje_fetch(), _Edje::scale, and TO_DOUBLE.

EAPI Eina_Bool edje_object_scale_set ( Evas_Object *  obj,
double  scale 
)

Set the edje object's scaling factor.

Parameters:
obj The edje object's reference.
scale The edje object scale factor. The defaul is 1.0.

This function sets the individual scale factor of the obj edje object. This property (or edje's global scale factor, when applicable), will affect this object's parts. However, only parts which, at the EDC language level, were declared which the "scale" attribute set to 1 (default is zero) will be affected.

This scale factor can be retrieved with edje_object_scale_get().

See also:
edje_object_scale_get().

References _edje_fetch(), edje_object_calc_force(), FROM_DOUBLE, and _Edje::scale.

EAPI void edje_object_signal_callback_add ( Evas_Object *  obj,
const char *  emission,
const char *  source,
Edje_Signal_Cb  func,
void *  data 
)
EAPI void* edje_object_signal_callback_del ( Evas_Object *  obj,
const char *  emission,
const char *  source,
Edje_Signal_Cb  func 
)
EAPI void edje_object_size_max_get ( const Evas_Object *  obj,
Evas_Coord *  maxw,
Evas_Coord *  maxh 
)

Get the maximum size for an object.

Parameters:
obj A valid Evas_Object handle
maxw Maximum width pointer
maxh Maximum height pointer

Gets the object's maximum size values from the Edje. These are set to zero if no Edje is connected to the Evas Object.

References _edje_fetch(), _edje_recalc_do(), _Edje::collection, EDJE_INF_MAX_H, EDJE_INF_MAX_W, _Edje_Size::h, _Edje_Part_Collection::max, _Edje_Part_Collection::prop, and _Edje_Size::w.

EAPI void edje_object_size_min_calc ( Evas_Object *  obj,
Evas_Coord *  minw,
Evas_Coord *  minh 
)

Calculate minimum size.

Parameters:
obj A valid Evas_Object handle
minw Minimum width pointer
minh Minimum height pointer

Calculates the object's minimum size ?!

References edje_object_size_min_restricted_calc().

EAPI void edje_object_size_min_get ( const Evas_Object *  obj,
Evas_Coord *  minw,
Evas_Coord *  minh 
)

Get the minimum size for an object.

Parameters:
obj A valid Evas_Object handle
minw Minimum width pointer
minh Minimum height pointer

Gets the object's minimum size values from the Edje. These are set to zero if no Edje is connected to the Evas Object.

References _edje_fetch(), _Edje::collection, _Edje_Size::h, _Edje_Part_Collection::min, _Edje_Part_Collection::prop, and _Edje_Size::w.

EAPI void edje_object_size_min_restricted_calc ( Evas_Object *  obj,
Evas_Coord *  minw,
Evas_Coord *  minh,
Evas_Coord  restrictedw,
Evas_Coord  restrictedh 
)

Calculate minimum size.

Parameters:
obj A valid Evas_Object handle
minw Minimum width pointer
minh Minimum height pointer
restrictedw Do not allow object min width calc to be less than this
restrictedh Do not allow object min height calc to be less than this

Calculates the object's minimum size ?! Be careful the behaviour of this fonction is not really defined when a TEXTBLOCK part is present in the Edje_Object. This may change in futur implementation.

References _edje_fetch(), _edje_recalc(), _edje_recalc_do(), _Edje::calc_only, _Edje_Real_Part::chosen_description, _Edje::collection, _Edje::dirty, EDJE_PART_TYPE_TEXTBLOCK, ERR, _Edje_Part_Description_Common::fixed, _Edje::group, _Edje_Size::h, _Edje_Part_Description_Common::h, _Edje_Rectangle::h, _Edje_Real_Part::h, _Edje::h, _Edje::min, _Edje_Part::name, _Edje_Real_Part::part, _Edje::path, _Edje_Real_Part::req, _Edje::table_parts, _Edje::table_parts_size, _Edje_Part::type, _Edje_Size::w, _Edje_Part_Description_Common::w, _Edje_Rectangle::w, _Edje_Real_Part::w, and _Edje::w.

Referenced by edje_object_size_min_calc().

EAPI void edje_object_text_change_cb_set ( Evas_Object *  obj,
Edje_Text_Change_Cb  func,
void *  data 
)

Set the object text callback.

Parameters:
obj A valid Evas_Object handle
func The callback function to handle the text change
data The data associated to the callback function.

This function gets the geometry of an Edje part

It is valid to pass NULL as any of x, y, w or h, whose values you are uninterested in.

References _edje_fetch(), _Edje::data, edje_object_text_change_cb_set(), EDJE_PART_TYPE_GROUP, _Edje::func, _Edje_Real_Part::part, _Edje_Real_Part::swallowed_object, _Edje::table_parts, _Edje::table_parts_size, _Edje::text_change, and _Edje_Part::type.

Referenced by edje_object_text_change_cb_set().

EAPI Eina_Bool edje_object_text_class_set ( Evas_Object *  obj,
const char *  text_class,
const char *  font,
Evas_Font_Size  size 
)

Sets Edje text class.

Parameters:
obj A valid Evas_Object handle
text_class The text class name
font Font name
size Font Size

This function sets the text class for the Edje.

References _edje_fetch(), _edje_recalc(), _edje_textblock_style_all_update(), _Edje::dirty, edje_object_text_class_set(), EDJE_PART_TYPE_GROUP, _Edje_Text_Class::font, _Edje_Text_Class::name, _Edje_Real_Part::part, _Edje_Text_Class::size, _Edje_Real_Part::swallowed_object, _Edje::table_parts, _Edje::table_parts_size, _Edje::text_classes, and _Edje_Part::type.

Referenced by edje_object_text_class_set().

EAPI void edje_object_text_insert_filter_callback_add ( Evas_Object *  obj,
const char *  part,
Edje_Text_Filter_Cb  func,
void *  data 
)

Add a filter function for newly inserted text.

Whenever text is inserted (not the same as set) into the given part, the list of filter functions will be called to decide if and how the new text will be accepted. There are three types of filters, EDJE_TEXT_FILTER_TEXT, EDJE_TEXT_FILTER_FORMAT and EDJE_TEXT_FILTER_MARKUP. The text parameter in the func filter can be modified by the user and it's up to him to free the one passed if he's to change the pointer. If doing so, the newly set text should be malloc'ed, as once all the filters are called Edje will free it. If the text is to be rejected, freeing it and setting the pointer to NULL will make Edje break out of the filter cycle and reject the inserted text.

See also:
edje_object_text_insert_filter_callback_del
edje_object_text_insert_filter_callback_del_full
Parameters:
obj A valid Evas_Object handle
part The part name
func The callback function that will act as filter
data User provided data to pass to the filter function

References _edje_fetch(), _Edje_Text_Insert_Filter_Callback::data, _Edje_Text_Insert_Filter_Callback::func, _Edje_Text_Insert_Filter_Callback::part, and _Edje::text_insert_filter_callbacks.

EAPI void* edje_object_text_insert_filter_callback_del ( Evas_Object *  obj,
const char *  part,
Edje_Text_Filter_Cb  func 
)

Delete a function from the filter list.

Delete the given func filter from the list in part. Returns the user data pointer given when added.

See also:
edje_object_text_insert_filter_callback_add
edje_object_text_insert_filter_callback_del_full
Parameters:
obj A valid Evas_Object handle
part The part name
func The function callback to remove
Returns:
The user data pointer if succesful, or NULL otherwise

References _edje_fetch(), _Edje_Text_Insert_Filter_Callback::data, _Edje_Text_Insert_Filter_Callback::func, _Edje_Text_Insert_Filter_Callback::part, and _Edje::text_insert_filter_callbacks.

EAPI void* edje_object_text_insert_filter_callback_del_full ( Evas_Object *  obj,
const char *  part,
Edje_Text_Filter_Cb  func,
void *  data 
)

Delete a function and matching user data from the filter list.

Delete the given func filter and data user data from the list in part. Returns the user data pointer given when added.

See also:
edje_object_text_insert_filter_callback_add
edje_object_text_insert_filter_callback_del
Parameters:
obj A valid Evas_Object handle
part The part name
func The function callback to remove
data The data passed to the callback function
Returns:
The same data pointer if succesful, or NULL otherwise

References _edje_fetch(), _Edje_Text_Insert_Filter_Callback::data, _Edje_Text_Insert_Filter_Callback::func, _Edje_Text_Insert_Filter_Callback::part, and _Edje::text_insert_filter_callbacks.

EAPI int edje_object_thaw ( Evas_Object *  obj  ) 

Thaw object.

Parameters:
obj A valid Evas_Object handle
Returns:
The frozen state or 0 on Error

This allows frozen changes to occur.

References _edje_fetch(), _edje_thaw(), edje_object_thaw(), EDJE_PART_TYPE_GROUP, _Edje_Real_Part::part, _Edje_Real_Part::swallowed_object, _Edje::table_parts, _Edje::table_parts_size, and _Edje_Part::type.

Referenced by edje_object_thaw(), and edje_thaw().

EAPI void edje_perspective_free ( Edje_Perspective ps  ) 
EAPI Eina_Bool edje_perspective_global_get ( const Edje_Perspective ps  ) 
EAPI void edje_perspective_global_set ( Edje_Perspective ps,
Eina_Bool  global 
)
EAPI void edje_perspective_set ( Edje_Perspective ps,
Evas_Coord  px,
Evas_Coord  py,
Evas_Coord  z0,
Evas_Coord  foc 
)
EAPI double edje_scale_get ( void   ) 

Get edje's global scaling factor.

Returns:
The edje (global) scale factor. The defaul is 1.0.

This function returns edje's global scale factor, which can be set by edje_scale_set().

See also:
edje_scale_set().

References _edje_scale, and TO_DOUBLE.

EAPI void edje_scale_set ( double  scale  ) 

Set edje's global scaling factor.

Parameters:
scale The edje (global) scale factor. The defaul is 1.0.

Edje allows one to build scalable interfaces. Scale factors, which are set to neutral values by default (no scaling, actual sizes), are of two types: global and individual. Edje's global scaling factor will affect all its objects which hadn't their individual scaling factors altered from the default value. If they had it set differently, that factor will override the global one.

Scaling affects the values of min/max object sizes, which are multiplied by it. Font sizes are scaled, too.

This property can be retrieved with edje_scale_get().

See also:
edje_scale_get().

References _edje_edjes, _edje_scale, edje_object_calc_force(), and FROM_DOUBLE.

EAPI void edje_text_class_del ( const char *  text_class  ) 

Delete the text class.

Parameters:
text_class The text class name string

This function deletes any values at the process level for the specified text class.

References _edje_recalc(), _edje_textblock_style_all_update(), _Edje::dirty, _Edje_Text_Class::font, and _Edje_Text_Class::name.

EAPI Eina_List* edje_text_class_list ( void   ) 

List text classes.

Returns:
A list of text class names (strings). These strings are stringshares and the list must be free()'d by the caller.

This function lists all text classes known about by the current process.

References _Edje_List_Foreach_Data::list.

EAPI Eina_Bool edje_text_class_set ( const char *  text_class,
const char *  font,
Evas_Font_Size  size 
)

Set the Edje text class.

Parameters:
text_class The text class name
font The font name
size The font size

This function sets updates all edje members which belong to this text class with the new font attributes.

See also:
edje_text_class_get().

References _edje_recalc(), _edje_textblock_style_all_update(), _Edje::dirty, _Edje_Text_Class::font, _Edje_Text_Class::name, and _Edje_Text_Class::size.

EAPI void edje_thaw ( void   ) 

Thaw edje objects.

This function thaw all edje object in the current process.

See edje_object_thaw().

References _edje_edjes, _edje_freeze_calc_count, _edje_freeze_calc_list, _edje_freeze_val, edje_object_thaw(), _Edje::freeze_calc, and INF.


Variable Documentation