Edje_Edit.h File Reference

Functions to deal with edje internal object. More...

Data Structures

struct  _Edje_Edit_Script_Error
 

Typedefs

typedef enum _Edje_Edit_Image_Comp Edje_Edit_Image_Comp
 
typedef struct _Edje_Edit_Script_Error Edje_Edit_Script_Error
 

Enumerations

enum  _Edje_Edit_Image_Comp {
  EDJE_EDIT_IMAGE_COMP_RAW,
  EDJE_EDIT_IMAGE_COMP_USER,
  EDJE_EDIT_IMAGE_COMP_COMP,
  EDJE_EDIT_IMAGE_COMP_LOSSY
}
 

Functions

General API

General functions that don't fit in other cateories.

EAPI Evas_Objectedje_edit_object_add (Evas *e)
 Adds an editable Edje object to the canvas. More...
 
EAPI void edje_edit_string_list_free (Eina_List *lst)
 Free a generic Eina_List of (char *) allocated by an edje_edit_*_get() function. More...
 
EAPI void edje_edit_string_free (const char *str)
 Free a generic string (char *) allocated by an edje_edit_*_get() function. More...
 
EAPI const char * edje_edit_compiler_get (Evas_Object *obj)
 Get the name of the program that compiled the edje file. More...
 
EAPI Eina_Bool edje_edit_save (Evas_Object *obj)
 Save the modified edje object back to his file. More...
 
EAPI Eina_Bool edje_edit_save_all (Evas_Object *obj)
 Saves every group back into the file. More...
 
EAPI void edje_edit_print_internal_status (Evas_Object *obj)
 Print on standard output many information about the internal status of the edje object. More...
 
Groups API

Functions to deal with groups property (see Edje Data Collection reference).

EAPI Eina_Bool edje_edit_group_add (Evas_Object *obj, const char *name)
 Create a new empty group in the given edje. More...
 
EAPI Eina_Bool edje_edit_group_del (Evas_Object *obj, const char *group_name)
 Delete the specified group from the given edje. More...
 
EAPI Eina_Bool edje_edit_group_exist (Evas_Object *obj, const char *group)
 Check if a group with the given name exist in the edje. More...
 
EAPI Eina_Bool edje_edit_group_name_set (Evas_Object *obj, const char *new_name)
 Set a new name for the current open group. More...
 
EAPI int edje_edit_group_min_w_get (Evas_Object *obj)
 Get the group minimum width. More...
 
EAPI Eina_Bool edje_edit_group_min_w_set (Evas_Object *obj, int w)
 Set the group minimum width. More...
 
EAPI int edje_edit_group_min_h_get (Evas_Object *obj)
 Get the group minimum height. More...
 
EAPI Eina_Bool edje_edit_group_min_h_set (Evas_Object *obj, int h)
 Set the group minimum height. More...
 
EAPI int edje_edit_group_max_w_get (Evas_Object *obj)
 Get the group maximum width. More...
 
EAPI Eina_Bool edje_edit_group_max_w_set (Evas_Object *obj, int w)
 Set the group maximum width. More...
 
EAPI int edje_edit_group_max_h_get (Evas_Object *obj)
 Get the group maximum height. More...
 
EAPI Eina_Bool edje_edit_group_max_h_set (Evas_Object *obj, int h)
 Set the group maximum height. More...
 
Data API

Functions to deal with data embedded in the edje (see Edje Data Collection reference).

EAPI Eina_Listedje_edit_data_list_get (Evas_Object *obj)
 Retrieves a list with the item names inside the data block. More...
 
EAPI Eina_Bool edje_edit_data_add (Evas_Object *obj, const char *itemname, const char *value)
 Create a new global data object in the given edje file. More...
 
EAPI Eina_Bool edje_edit_data_del (Evas_Object *obj, const char *itemname)
 Delete the given data object from edje. More...
 
EAPI const char * edje_edit_data_value_get (Evas_Object *obj, const char *itemname)
 Get the data associated with the given itemname. More...
 
EAPI Eina_Bool edje_edit_data_value_set (Evas_Object *obj, const char *itemname, const char *value)
 Set the data associated with the given itemname. More...
 
EAPI Eina_Bool edje_edit_data_name_set (Evas_Object *obj, const char *itemname, const char *newname)
 Change the name of the given data object. More...
 
EAPI Eina_Listedje_edit_group_data_list_get (Evas_Object *obj)
 Retrieves a list with the item names inside the data block at the group level. More...
 
EAPI Eina_Bool edje_edit_group_data_add (Evas_Object *obj, const char *itemname, const char *value)
 Create a new data object in the given edje file belonging to the current group. More...
 
EAPI Eina_Bool edje_edit_group_data_del (Evas_Object *obj, const char *itemname)
 Delete the given data object from the group. More...
 
EAPI const char * edje_edit_group_data_value_get (Evas_Object *obj, const char *itemname)
 Get the data associated with the given itemname. More...
 
EAPI Eina_Bool edje_edit_group_data_value_set (Evas_Object *obj, const char *itemname, const char *value)
 Set the data associated with the given itemname. More...
 
EAPI Eina_Bool edje_edit_group_data_name_set (Evas_Object *obj, const char *itemname, const char *newname)
 Change the name of the given data object. More...
 
Color Classes API

Functions to deal with Color Classes (see Edje Data Collection reference).

EAPI Eina_Listedje_edit_color_classes_list_get (Evas_Object *obj)
 Get the list of all the Color Classes in the given edje object. More...
 
EAPI Eina_Bool edje_edit_color_class_add (Evas_Object *obj, const char *name)
 Create a new color class object in the given edje. More...
 
EAPI Eina_Bool edje_edit_color_class_del (Evas_Object *obj, const char *name)
 Delete the given class object from edje. More...
 
EAPI Eina_Bool edje_edit_color_class_colors_get (Evas_Object *obj, const char *class_name, 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 all the colors that compose the class. More...
 
EAPI Eina_Bool edje_edit_color_class_colors_set (Evas_Object *obj, const char *class_name, 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 the colors for the given color class. More...
 
EAPI Eina_Bool edje_edit_color_class_name_set (Evas_Object *obj, const char *name, const char *newname)
 Change the name of a color class. More...
 
Text styles API

Functions to deal with text styles (see Edje Data Collection reference).

EAPI Eina_Listedje_edit_styles_list_get (Evas_Object *obj)
 Get the list of all the text styles in the given edje object. More...
 
EAPI Eina_Bool edje_edit_style_add (Evas_Object *obj, const char *style)
 Create a new text style object in the given edje. More...
 
EAPI Eina_Bool edje_edit_style_del (Evas_Object *obj, const char *style)
 Delete the given text style and all the child tags. More...
 
EAPI Eina_Listedje_edit_style_tags_list_get (Evas_Object *obj, const char *style)
 Get the list of all the tags name in the given text style. More...
 
EAPI const char * edje_edit_style_tag_value_get (Evas_Object *obj, const char *style, const char *tag)
 Get the value of the given tag. More...
 
EAPI Eina_Bool edje_edit_style_tag_value_set (Evas_Object *obj, const char *style, const char *tag, const char *new_value)
 Set the value of the given tag. More...
 
EAPI Eina_Bool edje_edit_style_tag_name_set (Evas_Object *obj, const char *style, const char *tag, const char *new_name)
 Set the name of the given tag. More...
 
EAPI Eina_Bool edje_edit_style_tag_add (Evas_Object *obj, const char *style, const char *tag_name)
 Add a new tag to the given text style. More...
 
EAPI Eina_Bool edje_edit_style_tag_del (Evas_Object *obj, const char *style, const char *tag)
 Delete the given tag. More...
 
Externals API

Functions to deal with list of external modules (see Edje Data Collection reference).

EAPI Eina_Listedje_edit_externals_list_get (Evas_Object *obj)
 Get the list of all the externals requested in the given edje object. More...
 
EAPI Eina_Bool edje_edit_external_add (Evas_Object *obj, const char *external)
 Add an external module to be requested on edje load. More...
 
EAPI Eina_Bool edje_edit_external_del (Evas_Object *obj, const char *external)
 Delete the given external from the list. More...
 
Parts API

Functions to deal with part objects (see Edje Data Collection reference).

EAPI Eina_Listedje_edit_parts_list_get (Evas_Object *obj)
 Get the list of all the parts in the given edje object. More...
 
EAPI Eina_Bool edje_edit_part_add (Evas_Object *obj, const char *name, Edje_Part_Type type)
 Create a new part in the given edje. More...
 
EAPI Eina_Bool edje_edit_part_external_add (Evas_Object *obj, const char *name, const char *source)
 Create a new part of type EXTERNAL in the given edje. More...
 
EAPI Eina_Bool edje_edit_part_del (Evas_Object *obj, const char *part)
 Delete the given part from the edje. More...
 
EAPI Eina_Bool edje_edit_part_exist (Evas_Object *obj, const char *part)
 Check if a part with the given name exist in the edje object. More...
 
EAPI const char * edje_edit_part_above_get (Evas_Object *obj, const char *part)
 Get the name of part stacked above the one passed. More...
 
EAPI const char * edje_edit_part_below_get (Evas_Object *obj, const char *part)
 Get the name of part stacked below the one passed. More...
 
EAPI Eina_Bool edje_edit_part_restack_below (Evas_Object *obj, const char *part)
 Move the given part below the previous one. More...
 
EAPI Eina_Bool edje_edit_part_restack_above (Evas_Object *obj, const char *part)
 Move the given part above the next one. More...
 
EAPI Eina_Bool edje_edit_part_name_set (Evas_Object *obj, const char *part, const char *new_name)
 Set a new name for part. More...
 
EAPI const char * edje_edit_part_api_name_get (Evas_Object *obj, const char *part)
 Get api's name of a part. More...
 
EAPI const char * edje_edit_part_api_description_get (Evas_Object *obj, const char *part)
 Get api's description of a part. More...
 
EAPI Eina_Bool edje_edit_part_api_name_set (Evas_Object *obj, const char *part, const char *name)
 Set api's name of a part. More...
 
EAPI Eina_Bool edje_edit_part_api_description_set (Evas_Object *obj, const char *part, const char *description)
 Set api's description of a part. More...
 
EAPI Edje_Part_Type edje_edit_part_type_get (Evas_Object *obj, const char *part)
 Get the type of a part. More...
 
EAPI const char * edje_edit_part_clip_to_get (Evas_Object *obj, const char *part)
 Get the clip_to part. More...
 
EAPI Eina_Bool edje_edit_part_clip_to_set (Evas_Object *obj, const char *part, const char *clip_to)
 Set a part to clip part to. More...
 
EAPI const char * edje_edit_part_source_get (Evas_Object *obj, const char *part)
 Get the source of part. More...
 
EAPI Eina_Bool edje_edit_part_source_set (Evas_Object *obj, const char *part, const char *source)
 Set the source of part. More...
 
EAPI Edje_Text_Effect edje_edit_part_effect_get (Evas_Object *obj, const char *part)
 Get the effect for a given part. More...
 
EAPI Eina_Bool edje_edit_part_effect_set (Evas_Object *obj, const char *part, Edje_Text_Effect effect)
 Set the effect for a given part. More...
 
EAPI const char * edje_edit_part_selected_state_get (Evas_Object *obj, const char *part, double *value)
 Get the current selected state in part. More...
 
EAPI Eina_Bool edje_edit_part_selected_state_set (Evas_Object *obj, const char *part, const char *state, double value)
 Set the current state in part. More...
 
EAPI Eina_Bool edje_edit_part_mouse_events_get (Evas_Object *obj, const char *part)
 Get mouse_events for part. More...
 
EAPI Eina_Bool edje_edit_part_mouse_events_set (Evas_Object *obj, const char *part, Eina_Bool mouse_events)
 Set mouse_events for part. More...
 
EAPI Eina_Bool edje_edit_part_repeat_events_get (Evas_Object *obj, const char *part)
 Get repeat_events for part. More...
 
EAPI Eina_Bool edje_edit_part_repeat_events_set (Evas_Object *obj, const char *part, Eina_Bool repeat_events)
 Set repeat_events for part. More...
 
EAPI Evas_Event_Flags edje_edit_part_ignore_flags_get (Evas_Object *obj, const char *part)
 Get ignore_flags for part. More...
 
EAPI Eina_Bool edje_edit_part_ignore_flags_set (Evas_Object *obj, const char *part, Evas_Event_Flags ignore_flags)
 Set ignore_flags for part. More...
 
EAPI Eina_Bool edje_edit_part_scale_set (Evas_Object *obj, const char *part, Eina_Bool scale)
 Set scale property for the part. More...
 
EAPI Eina_Bool edje_edit_part_scale_get (Evas_Object *obj, const char *part)
 Get scale for the part. More...
 
EAPI int edje_edit_part_drag_x_get (Evas_Object *obj, const char *part)
 Get horizontal dragable state for part. More...
 
EAPI Eina_Bool edje_edit_part_drag_x_set (Evas_Object *obj, const char *part, int drag)
 Set horizontal dragable state for part. More...
 
EAPI int edje_edit_part_drag_y_get (Evas_Object *obj, const char *part)
 Get vertical dragable state for part. More...
 
EAPI Eina_Bool edje_edit_part_drag_y_set (Evas_Object *obj, const char *part, int drag)
 Set vertical dragable state for part. More...
 
EAPI int edje_edit_part_drag_step_x_get (Evas_Object *obj, const char *part)
 Get horizontal dragable step for part. More...
 
EAPI Eina_Bool edje_edit_part_drag_step_x_set (Evas_Object *obj, const char *part, int step)
 Set horizontal dragable state for part. More...
 
EAPI int edje_edit_part_drag_step_y_get (Evas_Object *obj, const char *part)
 Get vertical dragable step for part. More...
 
EAPI Eina_Bool edje_edit_part_drag_step_y_set (Evas_Object *obj, const char *part, int step)
 Set vertical dragable state for part. More...
 
EAPI int edje_edit_part_drag_count_x_get (Evas_Object *obj, const char *part)
 Get horizontal dragable count for part. More...
 
EAPI Eina_Bool edje_edit_part_drag_count_x_set (Evas_Object *obj, const char *part, int count)
 Set horizontal dragable count for part. More...
 
EAPI int edje_edit_part_drag_count_y_get (Evas_Object *obj, const char *part)
 Get vertical dragable count for part. More...
 
EAPI Eina_Bool edje_edit_part_drag_count_y_set (Evas_Object *obj, const char *part, int count)
 Set vertical dragable count for part. More...
 
EAPI const char * edje_edit_part_drag_confine_get (Evas_Object *obj, const char *part)
 Get the name of the part that is used as 'confine' for the given draggies. More...
 
EAPI Eina_Bool edje_edit_part_drag_confine_set (Evas_Object *obj, const char *part, const char *confine)
 Set the name of the part that is used as 'confine' for the given draggies. More...
 
EAPI const char * edje_edit_part_drag_event_get (Evas_Object *obj, const char *part)
 Get the name of the part that is used as the receiver of the drag event. More...
 
EAPI Eina_Bool edje_edit_part_drag_event_set (Evas_Object *obj, const char *part, const char *event)
 Set the name of the part that will receive events from the given draggies. More...
 
EAPI const char * edje_edit_part_drag_threshold_get (Evas_Object *obj, const char *part)
 Get the name of the part that is used as 'threshold' for the given draggies. More...
 
EAPI Eina_Bool edje_edit_part_drag_threshold_set (Evas_Object *obj, const char *part, const char *threshold)
 Set the name of the part that is used as 'threshold' for the given draggies. More...
 
States API

Functions to deal with part states (see Edje Data Collection reference).

EAPI Eina_Listedje_edit_part_states_list_get (Evas_Object *obj, const char *part)
 Get the list of all the states in the given part. More...
 
EAPI Eina_Bool edje_edit_state_name_set (Evas_Object *obj, const char *part, const char *state, double value, const char *new_name, double new_value)
 Set a new name for the given state in the given part. More...
 
EAPI Eina_Bool edje_edit_state_add (Evas_Object *obj, const char *part, const char *name, double value)
 Create a new state to the give part. More...
 
EAPI Eina_Bool edje_edit_state_del (Evas_Object *obj, const char *part, const char *state, double value)
 Delete the given part state from the edje. More...
 
EAPI Eina_Bool edje_edit_state_exist (Evas_Object *obj, const char *part, const char *state, double value)
 Check if a part state with the given name exist. More...
 
EAPI Eina_Bool edje_edit_state_copy (Evas_Object *obj, const char *part, const char *from, double val_from, const char *to, double val_to)
 Copies the state from into to. More...
 
EAPI double edje_edit_state_rel1_relative_x_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the 'rel1 relative X' value of state. More...
 
EAPI double edje_edit_state_rel1_relative_y_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the 'rel1 relative Y' value of state. More...
 
EAPI double edje_edit_state_rel2_relative_x_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the 'rel2 relative X' value of state. More...
 
EAPI double edje_edit_state_rel2_relative_y_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the 'rel2 relative Y' value of state. More...
 
EAPI Eina_Bool edje_edit_state_rel1_relative_x_set (Evas_Object *obj, const char *part, const char *state, double value, double x)
 Set the 'rel1 relative X' value of state. More...
 
EAPI Eina_Bool edje_edit_state_rel1_relative_y_set (Evas_Object *obj, const char *part, const char *state, double value, double y)
 Set the 'rel1 relative Y' value of state. More...
 
EAPI Eina_Bool edje_edit_state_rel2_relative_x_set (Evas_Object *obj, const char *part, const char *state, double value, double x)
 Set the 'rel2 relative X' value of state. More...
 
EAPI Eina_Bool edje_edit_state_rel2_relative_y_set (Evas_Object *obj, const char *part, const char *state, double value, double y)
 Set the 'rel2 relative Y' value of state. More...
 
EAPI int edje_edit_state_rel1_offset_x_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the 'rel1 offset X' value of state. More...
 
EAPI int edje_edit_state_rel1_offset_y_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the 'rel1 offset Y' value of state. More...
 
EAPI int edje_edit_state_rel2_offset_x_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the 'rel2 offset X' value of state. More...
 
EAPI int edje_edit_state_rel2_offset_y_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the 'rel2 offset Y' value of state. More...
 
EAPI Eina_Bool edje_edit_state_rel1_offset_x_set (Evas_Object *obj, const char *part, const char *state, double value, double x)
 Set the 'rel1 offset X' value of state. More...
 
EAPI Eina_Bool edje_edit_state_rel1_offset_y_set (Evas_Object *obj, const char *part, const char *state, double value, double y)
 Set the 'rel1 offset Y' value of state. More...
 
EAPI Eina_Bool edje_edit_state_rel2_offset_x_set (Evas_Object *obj, const char *part, const char *state, double value, double x)
 Set the 'rel2 offset X' value of state. More...
 
EAPI Eina_Bool edje_edit_state_rel2_offset_y_set (Evas_Object *obj, const char *part, const char *state, double value, double y)
 Set the 'rel2 offset Y' value of state. More...
 
EAPI const char * edje_edit_state_rel1_to_x_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the part name rel1x is relative to. More...
 
EAPI const char * edje_edit_state_rel1_to_y_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the part name rel1y is relative to. More...
 
EAPI const char * edje_edit_state_rel2_to_x_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the part name rel2x is relative to. More...
 
EAPI const char * edje_edit_state_rel2_to_y_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the part name rel2y is relative to. More...
 
EAPI Eina_Bool edje_edit_state_rel1_to_x_set (Evas_Object *obj, const char *part, const char *state, double value, const char *rel_to)
 Set the part rel1x is relative to. More...
 
EAPI Eina_Bool edje_edit_state_rel1_to_y_set (Evas_Object *obj, const char *part, const char *state, double value, const char *rel_to)
 Set the part rel1y is relative to. More...
 
EAPI Eina_Bool edje_edit_state_rel2_to_x_set (Evas_Object *obj, const char *part, const char *state, double value, const char *rel_to)
 Set the part rel2x is relative to. More...
 
EAPI Eina_Bool edje_edit_state_rel2_to_y_set (Evas_Object *obj, const char *part, const char *state, double value, const char *rel_to)
 Set the part rel2y is relative to. More...
 
EAPI void edje_edit_state_color_get (Evas_Object *obj, const char *part, const char *state, double value, int *r, int *g, int *b, int *a)
 Get the color of a part state. More...
 
EAPI void edje_edit_state_color2_get (Evas_Object *obj, const char *part, const char *state, double value, int *r, int *g, int *b, int *a)
 Get the color2 of a part state. More...
 
EAPI void edje_edit_state_color3_get (Evas_Object *obj, const char *part, const char *state, double value, int *r, int *g, int *b, int *a)
 Get the color3 of a part state. More...
 
EAPI Eina_Bool edje_edit_state_color_set (Evas_Object *obj, const char *part, const char *state, double value, int r, int g, int b, int a)
 Set the color of a part state. More...
 
EAPI Eina_Bool edje_edit_state_color2_set (Evas_Object *obj, const char *part, const char *state, double value, int r, int g, int b, int a)
 Set the color2 of a part state. More...
 
EAPI Eina_Bool edje_edit_state_color3_set (Evas_Object *obj, const char *part, const char *state, double value, int r, int g, int b, int a)
 Set the color3 of a part state. More...
 
EAPI double edje_edit_state_align_x_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the horizontal align value of a part state. More...
 
EAPI double edje_edit_state_align_y_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the vertical align value of a part state. More...
 
EAPI Eina_Bool edje_edit_state_align_x_set (Evas_Object *obj, const char *part, const char *state, double value, double align)
 Set the horizontal align value of a part state. More...
 
EAPI Eina_Bool edje_edit_state_align_y_set (Evas_Object *obj, const char *part, const char *state, double value, double align)
 Set the vertical align value of a part state. More...
 
EAPI int edje_edit_state_min_w_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the minimum width value of a part state. More...
 
EAPI Eina_Bool edje_edit_state_min_w_set (Evas_Object *obj, const char *part, const char *state, double value, int min_w)
 Set the minimum width value of a part state. More...
 
EAPI int edje_edit_state_min_h_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the minimum height value of a part state. More...
 
EAPI Eina_Bool edje_edit_state_min_h_set (Evas_Object *obj, const char *part, const char *state, double value, int min_h)
 Set the minimum height value of a part state. More...
 
EAPI int edje_edit_state_max_w_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the maximum width value of a part state. More...
 
EAPI Eina_Bool edje_edit_state_max_w_set (Evas_Object *obj, const char *part, const char *state, double value, int max_w)
 Set the maximum width value of a part state. More...
 
EAPI int edje_edit_state_max_h_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the maximum height value of a part state. More...
 
EAPI Eina_Bool edje_edit_state_max_h_set (Evas_Object *obj, const char *part, const char *state, double value, int max_h)
 Set the maximum height value of a part state. More...
 
EAPI double edje_edit_state_aspect_min_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the minimum aspect value of a part state. More...
 
EAPI double edje_edit_state_aspect_max_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the maximum aspect value of a part state. More...
 
EAPI Eina_Bool edje_edit_state_aspect_min_set (Evas_Object *obj, const char *part, const char *state, double value, double aspect)
 Set the minimum aspect value of a part state. More...
 
EAPI Eina_Bool edje_edit_state_aspect_max_set (Evas_Object *obj, const char *part, const char *state, double value, double aspect)
 Set the maximum aspect value of a part state. More...
 
EAPI unsigned char edje_edit_state_aspect_pref_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the aspect preference of a part state. More...
 
EAPI Eina_Bool edje_edit_state_aspect_pref_set (Evas_Object *obj, const char *part, const char *state, double value, unsigned char pref)
 Set the aspect preference of a part state. More...
 
EAPI double edje_edit_state_fill_origin_relative_x_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the fill horizontal origin relative value of a part state. More...
 
EAPI double edje_edit_state_fill_origin_relative_y_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the fill vertical origin relative value of a part state. More...
 
EAPI int edje_edit_state_fill_origin_offset_x_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the fill horizontal origin offset value of a part state. More...
 
EAPI int edje_edit_state_fill_origin_offset_y_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the fill vertical origin offset value of a part state. More...
 
EAPI Eina_Bool edje_edit_state_fill_origin_relative_x_set (Evas_Object *obj, const char *part, const char *state, double value, double x)
 Set the fill horizontal origin relative value of a part state. More...
 
EAPI Eina_Bool edje_edit_state_fill_origin_relative_y_set (Evas_Object *obj, const char *part, const char *state, double value, double y)
 Set the fill horizontal origin relative value of a part state. More...
 
EAPI Eina_Bool edje_edit_state_fill_origin_offset_x_set (Evas_Object *obj, const char *part, const char *state, double value, double x)
 Set the fill horizontal origin offset value of a part state. More...
 
EAPI Eina_Bool edje_edit_state_fill_origin_offset_y_set (Evas_Object *obj, const char *part, const char *state, double value, double y)
 Set the fill vertical origin offset value of a part state. More...
 
EAPI double edje_edit_state_fill_size_relative_x_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the fill horizontal size relative value of a part state. More...
 
EAPI double edje_edit_state_fill_size_relative_y_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the fill vertical size relative value of a part state. More...
 
EAPI int edje_edit_state_fill_size_offset_x_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the fill horizontal size offset value of a part state. More...
 
EAPI int edje_edit_state_fill_size_offset_y_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the fill vertical size offset value of a part state. More...
 
EAPI Eina_Bool edje_edit_state_fill_size_relative_x_set (Evas_Object *obj, const char *part, const char *state, double value, double x)
 Set the fill horizontal size relative value of a part state. More...
 
EAPI Eina_Bool edje_edit_state_fill_size_relative_y_set (Evas_Object *obj, const char *part, const char *state, double value, double x)
 Set the fill vertical size relative value of a part state. More...
 
EAPI Eina_Bool edje_edit_state_fill_size_offset_x_set (Evas_Object *obj, const char *part, const char *state, double value, double x)
 Set the fill horizontal size offset value of a part state. More...
 
EAPI Eina_Bool edje_edit_state_fill_size_offset_y_set (Evas_Object *obj, const char *part, const char *state, double value, double y)
 Set the fill vertical size offset value of a part state. More...
 
EAPI Eina_Bool edje_edit_state_visible_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the visibility of a part state. More...
 
EAPI Eina_Bool edje_edit_state_visible_set (Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool visible)
 Set the visibility of a part state. More...
 
EAPI const char * edje_edit_state_color_class_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the color class of the given part state. More...
 
EAPI Eina_Bool edje_edit_state_color_class_set (Evas_Object *obj, const char *part, const char *state, double value, const char *color_class)
 Set the color class of the given part state. More...
 
EAPI const Eina_Listedje_edit_state_external_params_list_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the list of parameters for an external part. More...
 
EAPI Eina_Bool edje_edit_state_external_param_get (Evas_Object *obj, const char *part, const char *state, double value, const char *param, Edje_External_Param_Type *type, void **val)
 Get the external parameter type and value. More...
 
EAPI Eina_Bool edje_edit_state_external_param_int_get (Evas_Object *obj, const char *part, const char *state, double value, const char *param, int *val)
 Get external parameter of type INT. More...
 
EAPI Eina_Bool edje_edit_state_external_param_bool_get (Evas_Object *obj, const char *part, const char *state, double value, const char *param, Eina_Bool *val)
 Get external parameter of type BOOL. More...
 
EAPI Eina_Bool edje_edit_state_external_param_double_get (Evas_Object *obj, const char *part, const char *state, double value, const char *param, double *val)
 Get external parameter of type DOUBLE. More...
 
EAPI Eina_Bool edje_edit_state_external_param_string_get (Evas_Object *obj, const char *part, const char *state, double value, const char *param, const char **val)
 Get external parameter of type STRING. More...
 
EAPI Eina_Bool edje_edit_state_external_param_choice_get (Evas_Object *obj, const char *part, const char *state, double value, const char *param, const char **val)
 Get external parameter of type CHOICE. More...
 
EAPI Eina_Bool edje_edit_state_external_param_set (Evas_Object *obj, const char *part, const char *state, double value, const char *param, Edje_External_Param_Type type,...)
 Set the external parameter type and value, adding it if it didn't exist before. More...
 
EAPI Eina_Bool edje_edit_state_external_param_int_set (Evas_Object *obj, const char *part, const char *state, double value, const char *param, int val)
 Set external parameter of type INT. More...
 
EAPI Eina_Bool edje_edit_state_external_param_bool_set (Evas_Object *obj, const char *part, const char *state, double value, const char *param, Eina_Bool val)
 Set external parameter of type BOOL. More...
 
EAPI Eina_Bool edje_edit_state_external_param_double_set (Evas_Object *obj, const char *part, const char *state, double value, const char *param, double val)
 Set external parameter of type DOUBLE. More...
 
EAPI Eina_Bool edje_edit_state_external_param_string_set (Evas_Object *obj, const char *part, const char *state, double value, const char *param, const char *val)
 Set external parameter of type STRING. More...
 
EAPI Eina_Bool edje_edit_state_external_param_choice_set (Evas_Object *obj, const char *part, const char *state, double value, const char *param, const char *val)
 Set external parameter of type CHOICE. More...
 
Text API

Functions to deal with text objects (see Edje Data Collection reference).

EAPI const char * edje_edit_state_text_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the text of a part state. More...
 
EAPI Eina_Bool edje_edit_state_text_set (Evas_Object *obj, const char *part, const char *state, double value, const char *text)
 Set the text of a part state. More...
 
EAPI const char * edje_edit_state_font_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get font name for a given part state. More...
 
EAPI Eina_Bool edje_edit_state_font_set (Evas_Object *obj, const char *part, const char *state, double value, const char *font)
 Set font name for a given part state. More...
 
EAPI int edje_edit_state_text_size_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the text size of a part state. More...
 
EAPI Eina_Bool edje_edit_state_text_size_set (Evas_Object *obj, const char *part, const char *state, double value, int size)
 Set the text size of a part state. More...
 
EAPI double edje_edit_state_text_align_x_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the text horizontal align of a part state. More...
 
EAPI double edje_edit_state_text_align_y_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the text vertical align of a part state. More...
 
EAPI Eina_Bool edje_edit_state_text_align_x_set (Evas_Object *obj, const char *part, const char *state, double value, double align)
 Set the text horizontal align of a part state. More...
 
EAPI Eina_Bool edje_edit_state_text_align_y_set (Evas_Object *obj, const char *part, const char *state, double value, double align)
 Set the text vertical align of a part state. More...
 
EAPI double edje_edit_state_text_elipsis_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the text elipsis of a part state. More...
 
EAPI Eina_Bool edje_edit_state_text_elipsis_set (Evas_Object *obj, const char *part, const char *state, double value, double balance)
 Set the text vertical align of a part state. More...
 
EAPI Eina_Bool edje_edit_state_text_fit_x_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get if the text part fit it's container horizontally. More...
 
EAPI Eina_Bool edje_edit_state_text_fit_x_set (Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool fit)
 Set if the text part should fit it's container horizontally. More...
 
EAPI Eina_Bool edje_edit_state_text_fit_y_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get if the text part fit it's container vertically. More...
 
EAPI Eina_Bool edje_edit_state_text_fit_y_set (Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool fit)
 Set if the text part should fit it's container vertically. More...
 
EAPI Eina_Bool edje_edit_state_text_min_x_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get if the text part forces the minimum horizontal size of the container to be equal to the minimum horizontal size of the text part. More...
 
EAPI Eina_Bool edje_edit_state_text_max_x_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get if the text part forces the maximum horizontal size of the container to be equal to the maximum horizontal size of the text part. More...
 
EAPI Eina_Bool edje_edit_state_text_min_y_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get if the text part forces the minimum vertical size of the container to be equal to the minimum vertical size of the text part. More...
 
EAPI Eina_Bool edje_edit_state_text_max_y_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get if the text part forces the maximum vertical size of the container to be equal to the maximum vertical size of the text part. More...
 
EAPI Eina_Bool edje_edit_state_text_min_x_set (Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool v)
 Set if the text part forces the minimum horizontal size of the container to be equal to the minimum horizontal size of the text part. More...
 
EAPI Eina_Bool edje_edit_state_text_max_x_set (Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool v)
 Set if the text part forces the maximum horizontal size of the container to be equal to the maximum horizontal size of the text part. More...
 
EAPI Eina_Bool edje_edit_state_text_min_y_set (Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool v)
 Set if the text part forces the minimum vertical size of the container to be equal to the minimum vertical size of the text part. More...
 
EAPI Eina_Bool edje_edit_state_text_max_y_set (Evas_Object *obj, const char *part, const char *state, double value, Eina_Bool v)
 Set if the text part forces the maximum vertical size of the container to be equal to the maximum vertical size of the text part. More...
 
EAPI Eina_Listedje_edit_fonts_list_get (Evas_Object *obj)
 Get the list of all the fonts in the given edje. More...
 
EAPI Eina_Bool edje_edit_font_add (Evas_Object *obj, const char *path, const char *alias)
 Add a new font to the edje file. More...
 
EAPI Eina_Bool edje_edit_font_del (Evas_Object *obj, const char *alias)
 Delete font from the edje file. More...
 
EAPI const char * edje_edit_font_path_get (Evas_Object *obj, const char *alias)
 Get font path for a given font alias. More...
 
Images API

Functions to deal with image objects (see Edje Data Collection reference).

EAPI Eina_Listedje_edit_images_list_get (Evas_Object *obj)
 Get the list of all the images in the given edje. More...
 
EAPI Eina_Bool edje_edit_image_add (Evas_Object *obj, const char *path)
 Add an new image to the image collection. More...
 
EAPI Eina_Bool edje_edit_image_del (Evas_Object *obj, const char *name)
 Delete an image from the image collection. More...
 
EAPI Eina_Bool edje_edit_image_data_add (Evas_Object *obj, const char *name, int id)
 Add an image entry to the image collection. More...
 
EAPI const char * edje_edit_state_image_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get normal image name for a given part state. More...
 
EAPI Eina_Bool edje_edit_state_image_set (Evas_Object *obj, const char *part, const char *state, double value, const char *image)
 Set normal image for a given part state. More...
 
EAPI int edje_edit_image_id_get (Evas_Object *obj, const char *image_name)
 Get image id for a given image name. More...
 
EAPI Edje_Edit_Image_Comp edje_edit_image_compression_type_get (Evas_Object *obj, const char *image)
 Get compression type for the given image. More...
 
EAPI int edje_edit_image_compression_rate_get (Evas_Object *obj, const char *image)
 Get compression rate for the given image. More...
 
EAPI void edje_edit_state_image_border_get (Evas_Object *obj, const char *part, const char *state, double value, int *l, int *r, int *t, int *b)
 Get the image border of a part state. More...
 
EAPI Eina_Bool edje_edit_state_image_border_set (Evas_Object *obj, const char *part, const char *state, double value, int l, int r, int t, int b)
 Set the image border of a part state. More...
 
EAPI unsigned char edje_edit_state_image_border_fill_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get if the image center should be draw. More...
 
EAPI Eina_Bool edje_edit_state_image_border_fill_set (Evas_Object *obj, const char *part, const char *state, double value, unsigned char fill)
 Set if the image center should be draw. More...
 
EAPI Eina_Listedje_edit_state_tweens_list_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the list of all the tweens images in the given part state. More...
 
EAPI Eina_Bool edje_edit_state_tween_add (Evas_Object *obj, const char *part, const char *state, double value, const char *tween)
 Add a new tween frame to the given part state. More...
 
EAPI Eina_Bool edje_edit_state_tween_del (Evas_Object *obj, const char *part, const char *state, double value, const char *tween)
 Remove the first tween with the given name. More...
 
Spectrum API

Functions to manage spectrum (see Edje Data Collection reference).

EAPI Eina_Listedje_edit_spectrum_list_get (Evas_Object *obj)
 Get the list of all the spectrum in the given edje object. More...
 
EAPI Eina_Bool edje_edit_spectra_add (Evas_Object *obj, const char *name)
 Add a new spectra in the given edje object. More...
 
EAPI Eina_Bool edje_edit_spectra_del (Evas_Object *obj, const char *spectra)
 Delete the given spectra from the edje object. More...
 
EAPI Eina_Bool edje_edit_spectra_name_set (Evas_Object *obj, const char *spectra, const char *name)
 Change the name of the given spectra. More...
 
EAPI int edje_edit_spectra_stop_num_get (Evas_Object *obj, const char *spectra)
 Get the number of stops in the given spectra. More...
 
EAPI Eina_Bool edje_edit_spectra_stop_num_set (Evas_Object *obj, const char *spectra, int num)
 Set the number of stops in the given spectra. More...
 
EAPI Eina_Bool edje_edit_spectra_stop_color_get (Evas_Object *obj, const char *spectra, int stop_number, int *r, int *g, int *b, int *a, int *d)
 Get the colors of the given stop. More...
 
EAPI Eina_Bool edje_edit_spectra_stop_color_set (Evas_Object *obj, const char *spectra, int stop_number, int r, int g, int b, int a, int d)
 Set the colors of the given stop. More...
 
Gradient API

Functions to deal with gradient objects (see Edje Data Collection reference).

EAPI const char * edje_edit_state_gradient_type_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the type of gradient. More...
 
EAPI Eina_Bool edje_edit_state_gradient_type_set (Evas_Object *obj, const char *part, const char *state, double value, const char *type)
 Set the type of gradient. More...
 
EAPI Eina_Bool edje_edit_state_gradient_use_fill_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get if the current gradient use the fill properties or the gradient_rel as params. More...
 
EAPI const char * edje_edit_state_gradient_spectra_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the spectra used by part state. More...
 
EAPI Eina_Bool edje_edit_state_gradient_spectra_set (Evas_Object *obj, const char *part, const char *state, double value, const char *spectra)
 Set the spectra used by part state. More...
 
EAPI int edje_edit_state_gradient_angle_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the angle of the gradient. More...
 
EAPI void edje_edit_state_gradient_angle_set (Evas_Object *obj, const char *part, const char *state, double value, int angle)
 Set the angle of the gradient. More...
 
EAPI double edje_edit_state_gradient_rel1_relative_x_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the gradient rel1 horizontal relative value. More...
 
EAPI double edje_edit_state_gradient_rel1_relative_y_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the gradient rel1 vertical relative value. More...
 
EAPI double edje_edit_state_gradient_rel2_relative_x_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the gradient rel2 horizontal relative value. More...
 
EAPI double edje_edit_state_gradient_rel2_relative_y_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the gradient rel2 vertical relative value. More...
 
EAPI Eina_Bool edje_edit_state_gradient_rel1_relative_x_set (Evas_Object *obj, const char *part, const char *state, double value, double val)
 Set the gradient rel1 horizontal relative value. More...
 
EAPI Eina_Bool edje_edit_state_gradient_rel1_relative_y_set (Evas_Object *obj, const char *part, const char *state, double value, double val)
 Set the gradient rel1 vertical relative value. More...
 
EAPI Eina_Bool edje_edit_state_gradient_rel2_relative_x_set (Evas_Object *obj, const char *part, const char *state, double value, double val)
 Set the gradient rel2 horizontal relative value. More...
 
EAPI Eina_Bool edje_edit_state_gradient_rel2_relative_y_set (Evas_Object *obj, const char *part, const char *state, double value, double val)
 Set the gradient rel2 vertical relative value. More...
 
EAPI int edje_edit_state_gradient_rel1_offset_x_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the gradient rel1 horizontal offset value. More...
 
EAPI int edje_edit_state_gradient_rel1_offset_y_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the gradient rel1 vertical offset value. More...
 
EAPI int edje_edit_state_gradient_rel2_offset_x_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the gradient rel2 horizontal offset value. More...
 
EAPI int edje_edit_state_gradient_rel2_offset_y_get (Evas_Object *obj, const char *part, const char *state, double value)
 Get the gradient rel2 vertical offset value. More...
 
EAPI Eina_Bool edje_edit_state_gradient_rel1_offset_x_set (Evas_Object *obj, const char *part, const char *state, double value, int val)
 Set the gradient rel1 horizontal offset value. More...
 
EAPI Eina_Bool edje_edit_state_gradient_rel1_offset_y_set (Evas_Object *obj, const char *part, const char *state, double value, int val)
 Set the gradient rel1 vertical offset value. More...
 
EAPI Eina_Bool edje_edit_state_gradient_rel2_offset_x_set (Evas_Object *obj, const char *part, const char *state, double value, int val)
 Set the gradient rel2 horizontal offset value. More...
 
EAPI Eina_Bool edje_edit_state_gradient_rel2_offset_y_set (Evas_Object *obj, const char *part, const char *state, double value, int val)
 Set the gradient rel2 vertical offset value. More...
 
Programs API

Functions to deal with programs (see Edje Data Collection reference).

EAPI Eina_Listedje_edit_programs_list_get (Evas_Object *obj)
 Get the list of all the programs in the given edje object. More...
 
EAPI Eina_Bool edje_edit_program_add (Evas_Object *obj, const char *name)
 Add a new program to the edje file. More...
 
EAPI Eina_Bool edje_edit_program_del (Evas_Object *obj, const char *prog)
 Remove the given program from the edje file. More...
 
EAPI Eina_Bool edje_edit_program_exist (Evas_Object *obj, const char *prog)
 Check if a program with the given name exist in the edje object. More...
 
EAPI Eina_Bool edje_edit_program_run (Evas_Object *obj, const char *prog)
 Run the given program. More...
 
EAPI Eina_Bool edje_edit_program_name_set (Evas_Object *obj, const char *prog, const char *new_name)
 Set a new name for the given program. More...
 
EAPI const char * edje_edit_program_source_get (Evas_Object *obj, const char *prog)
 Get source of a given program. More...
 
EAPI Eina_Bool edje_edit_program_source_set (Evas_Object *obj, const char *prog, const char *source)
 Set source of the given program. More...
 
EAPI const char * edje_edit_program_signal_get (Evas_Object *obj, const char *prog)
 Get signal of a given program. More...
 
EAPI Eina_Bool edje_edit_program_signal_set (Evas_Object *obj, const char *prog, const char *signal)
 Set signal of the given program. More...
 
EAPI double edje_edit_program_in_from_get (Evas_Object *obj, const char *prog)
 Get in.from of a given program. More...
 
EAPI Eina_Bool edje_edit_program_in_from_set (Evas_Object *obj, const char *prog, double seconds)
 Set in.from of a given program. More...
 
EAPI double edje_edit_program_in_range_get (Evas_Object *obj, const char *prog)
 Get in.range of a given program. More...
 
EAPI Eina_Bool edje_edit_program_in_range_set (Evas_Object *obj, const char *prog, double seconds)
 Set in.range of a given program. More...
 
EAPI Edje_Action_Type edje_edit_program_action_get (Evas_Object *obj, const char *prog)
 Get the action of a given program. More...
 
EAPI Eina_Bool edje_edit_program_action_set (Evas_Object *obj, const char *prog, Edje_Action_Type action)
 Set the action of a given program. More...
 
EAPI Eina_Listedje_edit_program_targets_get (Evas_Object *obj, const char *prog)
 Get the list of the targets for the given program. More...
 
EAPI Eina_Bool edje_edit_program_target_add (Evas_Object *obj, const char *prog, const char *target)
 Add a new target program to the list of 'targets' in the given program. More...
 
EAPI Eina_Bool edje_edit_program_target_del (Evas_Object *obj, const char *prog, const char *target)
 Deletes a target from the list of 'targets' in the given program. More...
 
EAPI Eina_Bool edje_edit_program_targets_clear (Evas_Object *obj, const char *prog)
 Clear the 'targets' list of the given program. More...
 
EAPI Eina_Listedje_edit_program_afters_get (Evas_Object *obj, const char *prog)
 Get the list of action that will be run after the give program. More...
 
EAPI Eina_Bool edje_edit_program_after_add (Evas_Object *obj, const char *prog, const char *after)
 Add a new program name to the list of 'afters' in the given program. More...
 
EAPI Eina_Bool edje_edit_program_after_del (Evas_Object *obj, const char *prog, const char *after)
 Delete the given program from the list of 'afters' of the program. More...
 
EAPI Eina_Bool edje_edit_program_afters_clear (Evas_Object *obj, const char *prog)
 Clear the 'afters' list of the given program. More...
 
EAPI const char * edje_edit_program_state_get (Evas_Object *obj, const char *prog)
 Get the state for the given program. More...
 
EAPI const char * edje_edit_program_api_name_get (Evas_Object *obj, const char *prog)
 Get api's name of a program. More...
 
EAPI const char * edje_edit_program_api_description_get (Evas_Object *obj, const char *prog)
 Get api's description of a program. More...
 
EAPI Eina_Bool edje_edit_program_api_name_set (Evas_Object *obj, const char *prog, const char *name)
 Set api's name of a program. More...
 
EAPI Eina_Bool edje_edit_program_api_description_set (Evas_Object *obj, const char *prog, const char *description)
 Set api's description of a program. More...
 
EAPI Eina_Bool edje_edit_program_state_set (Evas_Object *obj, const char *prog, const char *state)
 Set the state for the given program. More...
 
EAPI double edje_edit_program_value_get (Evas_Object *obj, const char *prog)
 Get the value of state for the given program. More...
 
EAPI Eina_Bool edje_edit_program_value_set (Evas_Object *obj, const char *prog, double value)
 Set the value of state for the given program. More...
 
EAPI const char * edje_edit_program_state2_get (Evas_Object *obj, const char *prog)
 Get the state2 for the given program. More...
 
EAPI Eina_Bool edje_edit_program_state2_set (Evas_Object *obj, const char *prog, const char *state2)
 Set the state2 for the given program. More...
 
EAPI double edje_edit_program_value2_get (Evas_Object *obj, const char *prog)
 Get the value of state2 for the given program. More...
 
EAPI Eina_Bool edje_edit_program_value2_set (Evas_Object *obj, const char *prog, double value)
 Set the value2 of state for the given program. More...
 
EAPI Edje_Tween_Mode edje_edit_program_transition_get (Evas_Object *obj, const char *prog)
 Get the type of transition to use when apply animations. More...
 
EAPI Eina_Bool edje_edit_program_transition_set (Evas_Object *obj, const char *prog, Edje_Tween_Mode transition)
 Set the type of transition to use when apply animations. More...
 
EAPI double edje_edit_program_transition_value1_get (Evas_Object *obj, const char *prog)
 Get the interpolation value 1 of the transition. More...
 
EAPI Eina_Bool edje_edit_program_transition_value1_set (Evas_Object *obj, const char *prog, double value)
 Set the interpolation value 1 of the transition. More...
 
EAPI double edje_edit_program_transition_value2_get (Evas_Object *obj, const char *prog)
 Get the interpolation value 2 of the transition. More...
 
EAPI Eina_Bool edje_edit_program_transition_value2_set (Evas_Object *obj, const char *prog, double value)
 Set the interpolation value 2 of the transition. More...
 
EAPI double edje_edit_program_transition_time_get (Evas_Object *obj, const char *prog)
 Get the duration of the transition in seconds. More...
 
EAPI Eina_Bool edje_edit_program_transition_time_set (Evas_Object *obj, const char *prog, double seconds)
 Set the duration of the transition in seconds. More...
 
EAPI const char * edje_edit_program_filter_part_get (Evas_Object *obj, const char *prog)
 
EAPI Eina_Bool edje_edit_program_filter_part_set (Evas_Object *obj, const char *prog, const char *filter_part)
 
Scripts API

Functions to deal with embryo scripts (see Edje Data Collection reference).

EAPI char * edje_edit_script_get (Evas_Object *obj)
 Get the Embryo script for the group of the given object. More...
 
EAPI Eina_Bool edje_edit_script_set (Evas_Object *obj, const char *code)
 Set the code for the group script. More...
 
EAPI char * edje_edit_script_program_get (Evas_Object *obj, const char *prog)
 Get the Embryo script for the given program. More...
 
EAPI Eina_Bool edje_edit_script_program_set (Evas_Object *obj, const char *prog, const char *code)
 Set the Embryo script for the given program. More...
 
EAPI Eina_Bool edje_edit_script_compile (Evas_Object *obj)
 Compile the Embryo script for the given object. More...
 
EAPI const Eina_Listedje_edit_script_error_list_get (Evas_Object *obj)
 Get the list of errors resulting from the last script build. More...
 

Variables

Error API

to deal with error messages (see Edje Data Collection reference).

EAPI Eina_Error EDJE_EDIT_ERROR_GROUP_CURRENTLY_USED
 
EAPI Eina_Error EDJE_EDIT_ERROR_GROUP_REFERENCED
 
EAPI Eina_Error EDJE_EDIT_ERROR_GROUP_DOES_NOT_EXIST
 

Detailed Description

Functions to deal with edje internal object.

Don't use in standard situations. The use of any of the edje_edit_* functions can break your theme ability, remember that the program must be separated from the interface!

This was intended ONLY for use in an actual edje editor program. Unless you are writing one of these, do NOT use this API here.

The API can be used to query or set every part of an edje object in real time. You can manage every aspect of parts, part states, programs, script and whatever is contained in the edje file. For a reference of what all parameter means look at the complete Edje Data Collection reference.

Don't forget to free all the strings and the lists returned by any edje_edit_*() functions using edje_edit_string_free() and edje_edit_string_list_free() when you don't need anymore.

Example: print all the part in a loaded edje_object

Eina_List *parts, *l;
char *part;
parts = edje_edit_parts_list_get(edje_object);
EINA_LIST_FOREACH(parts, l, part)
{
printf("Part: %s\n", part);
}

Example: Change the color of a rect inside an edje file

edje = edje_edit_object_add(evas);
edje_object_file_set(edje, "edj/file/name", "group to load");
edje_edit_state_color_set(edje, "MyRectName", "default", 0.00, 255, 255, 0, 255);

Function Documentation

◆ edje_edit_object_add()

EAPI Evas_Object* edje_edit_object_add ( Evas e)

Adds an editable Edje object to the canvas.

An Edje_Edit object is, for the most part, a standard Edje object. Only difference is you can use the Edje_Edit API on them.

Parameters
eEvas canvas where to add the object.
Returns
An Evas_Object of type Edje_Edit, or NULL if an error occurred.

References EVAS_CALLBACK_FREE, evas_object_clip_unset(), evas_object_data_del(), evas_object_del(), evas_object_event_callback_del(), and evas_object_smart_member_del().

◆ edje_edit_string_list_free()

EAPI void edje_edit_string_list_free ( Eina_List lst)

Free a generic Eina_List of (char *) allocated by an edje_edit_*_get() function.

Parameters
lstList of strings to free.

References EAPI, eina_list_data_get(), eina_list_remove(), and eina_stringshare_del().

◆ edje_edit_string_free()

EAPI void edje_edit_string_free ( const char *  str)

Free a generic string (char *) allocated by an edje_edit_*_get() function.

Parameters
strString to free.

References EAPI, and eina_stringshare_del().

Referenced by edje_edit_script_error_list_get().

◆ edje_edit_compiler_get()

EAPI const char* edje_edit_compiler_get ( Evas_Object obj)

Get the name of the program that compiled the edje file.

Can be 'edje_cc' or 'edje_edit'

Parameters
objObject being edited.
Returns
Compiler stored in the Edje file

References EAPI, and eina_stringshare_add().

◆ edje_edit_save()

EAPI Eina_Bool edje_edit_save ( Evas_Object obj)

Save the modified edje object back to his file.

Use this function when you are done with your editing, all the change made to the current loaded group will be saved back to the original file.

Note
Source for the whole file will be auto generated and will overwrite any previously stored source.
Parameters
objObject to save back to the file it was loaded from.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.
Todo:
Add a way to check what the error actually was, the way Edje Load does.

References EAPI.

◆ edje_edit_save_all()

EAPI Eina_Bool edje_edit_save_all ( Evas_Object obj)

Saves every group back into the file.

Parameters
objObject to save.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.
See also
edje_edit_save()

References EAPI.

◆ edje_edit_print_internal_status()

EAPI void edje_edit_print_internal_status ( Evas_Object obj)

Print on standard output many information about the internal status of the edje object.

This is probably only useful to debug.

Parameters
objObject being edited.

◆ edje_edit_group_add()

EAPI Eina_Bool edje_edit_group_add ( Evas_Object obj,
const char *  name 
)

Create a new empty group in the given edje.

If a group with the same name exist none is created.

Parameters
objObject being edited.
nameName of the new group.
Returns
EINA_TRUE if successfully added the group, EINA_FALSE if an error occurred or if a group with the same name exists. Add an edje (empty) group to an edje object's group set.
Parameters
objThe pointer to edje object.
nameThe name of the group.
Returns
1 If it could allocate memory to the part group added or zero if not.

This function adds, at run time, one more group, which will reside in memory, to the group set found in the .edj file which obj was loaded with. This group can be manipulated by other API functions, like edje_edit_part_add(), for example. If desired, the new group can be actually committed the respective .edj by use of edje_edit_save().

References EAPI, EINA_FALSE, eina_hash_direct_add(), eina_hash_find(), eina_hash_iterator_data_new(), EINA_ITERATOR_FOREACH, eina_iterator_free(), eina_list_prepend(), eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_group_del()

EAPI Eina_Bool edje_edit_group_del ( Evas_Object obj,
const char *  group_name 
)

Delete the specified group from the given edje.

You can only delete a currently unused group. All the parts and the programs inside the group will be deleted as well, but not image or font embedded in the edje.

Parameters
objObject being edited.
group_nameName of group to delete.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise. Delete the specified group from the edje file.
Parameters
objThe pointer to the edje object.
group_nameGroup to delete.
Returns
EINA_TRUE on success, EINA_FALSE on failure.

This function deletes the given group from the file obj is set to. This operation can't be undone as all references to the group are removed from the file. This function may fail if the group to be deleted is currently in use.

References EET_FILE_MODE_READ_WRITE, eet_open(), EINA_FALSE, eina_hash_find(), EINA_LIST_FOREACH, and eina_list_remove_list().

◆ edje_edit_group_exist()

EAPI Eina_Bool edje_edit_group_exist ( Evas_Object obj,
const char *  group 
)

Check if a group with the given name exist in the edje.

Parameters
objObject being edited.
groupGroup name to check for.
Returns
EINA_TRUE if group exists, EINA_FALSE if not.

References EAPI, EINA_FALSE, eina_hash_find(), and EINA_TRUE.

Referenced by edje_edit_group_name_set().

◆ edje_edit_group_name_set()

EAPI Eina_Bool edje_edit_group_name_set ( Evas_Object obj,
const char *  new_name 
)

Set a new name for the current open group.

You can only rename a group that is currently loaded Note that the relative getter function don't exist as it doesn't make sense ;)

Parameters
objObject being edited.
new_nameNew name for the group.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References edje_edit_group_exist(), EINA_FALSE, eina_hash_find(), eina_hash_move(), eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_group_min_w_get()

EAPI int edje_edit_group_min_w_get ( Evas_Object obj)

Get the group minimum width.

Parameters
objObject being edited.
Returns
The minimum width set for the group. -1 if an error occurred.

◆ edje_edit_group_min_w_set()

EAPI Eina_Bool edje_edit_group_min_w_set ( Evas_Object obj,
int  w 
)

Set the group minimum width.

Parameters
objObject being edited.
wNew minimum width for the group.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_group_min_h_get()

EAPI int edje_edit_group_min_h_get ( Evas_Object obj)

Get the group minimum height.

Parameters
objObject being edited.
Returns
The minimum height set for the group. -1 if an error occurred.

◆ edje_edit_group_min_h_set()

EAPI Eina_Bool edje_edit_group_min_h_set ( Evas_Object obj,
int  h 
)

Set the group minimum height.

Parameters
objObject being edited.
hNew minimum height for the group.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_group_max_w_get()

EAPI int edje_edit_group_max_w_get ( Evas_Object obj)

Get the group maximum width.

Parameters
objObject being edited.
Returns
The maximum width set for the group. -1 if an error occurred.

◆ edje_edit_group_max_w_set()

EAPI Eina_Bool edje_edit_group_max_w_set ( Evas_Object obj,
int  w 
)

Set the group maximum width.

Parameters
objObject being edited.
wNew maximum width for the group.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_group_max_h_get()

EAPI int edje_edit_group_max_h_get ( Evas_Object obj)

Get the group maximum height.

Parameters
objObject being edited.
Returns
The maximum height set for the group. -1 if an error occurred.

◆ edje_edit_group_max_h_set()

EAPI Eina_Bool edje_edit_group_max_h_set ( Evas_Object obj,
int  h 
)

Set the group maximum height.

Parameters
objObject being edited.
hNew maximum height for the group.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_data_list_get()

EAPI Eina_List* edje_edit_data_list_get ( Evas_Object obj)

Retrieves a list with the item names inside the data block.

Parameters
objObject being edited.
Returns
List of strings, each being a name entry in the global data block for the file.

References EAPI, eina_hash_iterator_key_new(), EINA_ITERATOR_FOREACH, eina_iterator_free(), eina_list_append(), and eina_stringshare_add().

◆ edje_edit_data_add()

EAPI Eina_Bool edje_edit_data_add ( Evas_Object obj,
const char *  itemname,
const char *  value 
)

Create a new global data object in the given edje file.

If another data entry with the same name exists, nothing is created and EINA_FALSE is returned.

Parameters
objObject being edited.
itemnameName for the new data entry.
valueValue for the new data entry.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_hash_add(), eina_hash_find(), eina_stringshare_add(), eina_stringshare_del(), and EINA_TRUE.

◆ edje_edit_data_del()

EAPI Eina_Bool edje_edit_data_del ( Evas_Object obj,
const char *  itemname 
)

Delete the given data object from edje.

Parameters
objObject being edited.
itemnameData entry to remove from the global data block.
Returns
EINA_TRUE on success, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_hash_del(), eina_hash_find(), and EINA_TRUE.

◆ edje_edit_data_value_get()

EAPI const char* edje_edit_data_value_get ( Evas_Object obj,
const char *  itemname 
)

Get the data associated with the given itemname.

Parameters
objObject being edited.
itemnameName of the data entry to fetch the value for.
Returns
Value of the given entry, or NULL if not found.

References EAPI, eina_hash_find(), and eina_stringshare_add().

◆ edje_edit_data_value_set()

EAPI Eina_Bool edje_edit_data_value_set ( Evas_Object obj,
const char *  itemname,
const char *  value 
)

Set the data associated with the given itemname.

Parameters
objObject being edited.
itemnameName of data entry to change the value.
valueNew value for the entry.
Returns
EINA_TRUE on success, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_hash_find(), eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_data_name_set()

EAPI Eina_Bool edje_edit_data_name_set ( Evas_Object obj,
const char *  itemname,
const char *  newname 
)

Change the name of the given data object.

Parameters
objObject being edited.
itemnameData entry to rename.
newnameNew name for the data entry.
Returns
EINA_TRUE on success, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, and eina_hash_move().

◆ edje_edit_group_data_list_get()

EAPI Eina_List* edje_edit_group_data_list_get ( Evas_Object obj)

Retrieves a list with the item names inside the data block at the group level.

Parameters
objObject being edited.
Returns
List of strings, each being a name entry in the data block for the group.

References EAPI, eina_hash_iterator_key_new(), EINA_ITERATOR_FOREACH, eina_iterator_free(), eina_list_append(), and eina_stringshare_add().

◆ edje_edit_group_data_add()

EAPI Eina_Bool edje_edit_group_data_add ( Evas_Object obj,
const char *  itemname,
const char *  value 
)

Create a new data object in the given edje file belonging to the current group.

If another data entry with the same name exists, nothing is created and EINA_FALSE is returned.

Parameters
objObject being edited.
itemnameName for the new data entry.
valueValue for the new data entry.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_hash_add(), eina_hash_find(), eina_hash_string_small_new(), eina_stringshare_add(), eina_stringshare_del(), and EINA_TRUE.

◆ edje_edit_group_data_del()

EAPI Eina_Bool edje_edit_group_data_del ( Evas_Object obj,
const char *  itemname 
)

Delete the given data object from the group.

Parameters
objObject being edited.
itemnameName of the data entry to remove.
Returns
EINA_TRUE on success, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_hash_del(), eina_hash_find(), and EINA_TRUE.

◆ edje_edit_group_data_value_get()

EAPI const char* edje_edit_group_data_value_get ( Evas_Object obj,
const char *  itemname 
)

Get the data associated with the given itemname.

Parameters
objObject being edited.
itemnameName of the data entry.
Returns
Value of the data entry or NULL if not found.

References EAPI, eina_hash_find(), and eina_stringshare_add().

◆ edje_edit_group_data_value_set()

EAPI Eina_Bool edje_edit_group_data_value_set ( Evas_Object obj,
const char *  itemname,
const char *  value 
)

Set the data associated with the given itemname.

Parameters
objObject being edited.
itemnameName of the data entry to set the value.
valueValue to set for the data entry.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_hash_find(), eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_group_data_name_set()

EAPI Eina_Bool edje_edit_group_data_name_set ( Evas_Object obj,
const char *  itemname,
const char *  newname 
)

Change the name of the given data object.

Parameters
objObject being edited.
itemnameName of the data entry to rename.
newnameNew name for the data entry.
Returns
EINA_TRUE on success, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, and eina_hash_move().

◆ edje_edit_color_classes_list_get()

EAPI Eina_List* edje_edit_color_classes_list_get ( Evas_Object obj)

Get the list of all the Color Classes in the given edje object.

Parameters
objObject being edited.
Returns
List of strings, each being one color class.

References EAPI, eina_list_append(), EINA_LIST_FOREACH, and eina_stringshare_add().

◆ edje_edit_color_class_add()

EAPI Eina_Bool edje_edit_color_class_add ( Evas_Object obj,
const char *  name 
)

Create a new color class object in the given edje.

If another class with the same name exists nothing is created and EINA_FALSE is returned.

Parameters
objObject being edited.
nameName for the new color class.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_list_append(), EINA_LIST_FOREACH, eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_color_class_del()

EAPI Eina_Bool edje_edit_color_class_del ( Evas_Object obj,
const char *  name 
)

Delete the given class object from edje.

Parameters
objObject being edited.
nameColor class to delete.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, EINA_LIST_FOREACH, eina_list_remove(), and EINA_TRUE.

◆ edje_edit_color_class_colors_get()

EAPI Eina_Bool edje_edit_color_class_colors_get ( Evas_Object obj,
const char *  class_name,
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 all the colors that compose the class.

You can pass NULL to colors you are not intrested in.

Parameters
objObject being edited.
class_nameColor class to fetch values.
rRed component of main color.
gGreen component of main color.
bBlue component of main color.
aAlpha component of main color.
r2Red component of secondary color.
g2Green component of secondary color.
b2Blue component of secondary color.
a2Alpha component of secondary color.
r3Red component of tertiary color.
g3Green component of tertiary color.
b3Blue component of tertiary color.
a3Alpha component of tertiary color.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, EINA_LIST_FOREACH, and EINA_TRUE.

◆ edje_edit_color_class_colors_set()

EAPI Eina_Bool edje_edit_color_class_colors_set ( Evas_Object obj,
const char *  class_name,
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 the colors for the given color class.

If you set a color to -1 it will not be touched.

Parameters
objObject being edited.
class_nameColor class to fetch values.
rRed component of main color.
gGreen component of main color.
bBlue component of main color.
aAlpha component of main color.
r2Red component of secondary color.
g2Green component of secondary color.
b2Blue component of secondary color.
a2Alpha component of secondary color.
r3Red component of tertiary color.
g3Green component of tertiary color.
b3Blue component of tertiary color.
a3Alpha component of tertiary color.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, EINA_LIST_FOREACH, and EINA_TRUE.

◆ edje_edit_color_class_name_set()

EAPI Eina_Bool edje_edit_color_class_name_set ( Evas_Object obj,
const char *  name,
const char *  newname 
)

Change the name of a color class.

Parameters
objObject being edited.
nameColor class to rename.
newnameNew name for the color class.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, EINA_LIST_FOREACH, eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_styles_list_get()

EAPI Eina_List* edje_edit_styles_list_get ( Evas_Object obj)

Get the list of all the text styles in the given edje object.

Parameters
objObject being edited.
Returns
List of strings, each being the name for a text style.

References EAPI, eina_list_append(), EINA_LIST_FOREACH, and eina_stringshare_add().

◆ edje_edit_style_add()

EAPI Eina_Bool edje_edit_style_add ( Evas_Object obj,
const char *  style 
)

Create a new text style object in the given edje.

If another style with the same name exists nothing is created and EINA_FALSE is returned.

Parameters
objObject being edited.
styleName for the new style.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_list_append(), eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_style_del()

EAPI Eina_Bool edje_edit_style_del ( Evas_Object obj,
const char *  style 
)

Delete the given text style and all the child tags.

Parameters
objObject being edited.
styleStyle to delete.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_list_remove(), and EINA_TRUE.

◆ edje_edit_style_tags_list_get()

EAPI Eina_List* edje_edit_style_tags_list_get ( Evas_Object obj,
const char *  style 
)

Get the list of all the tags name in the given text style.

Parameters
objObject being edited.
styleStyle to get the tags for.
Returns
List of strings, each being one tag in the given style.

References EAPI, eina_list_append(), EINA_LIST_FOREACH, and eina_stringshare_add().

◆ edje_edit_style_tag_value_get()

EAPI const char* edje_edit_style_tag_value_get ( Evas_Object obj,
const char *  style,
const char *  tag 
)

Get the value of the given tag.

Parameters
objObject being edited.
styleStyle containing the tag being.
tagTag to get the value for.
Returns
Value of the given tag.

References EAPI, and eina_stringshare_add().

◆ edje_edit_style_tag_value_set()

EAPI Eina_Bool edje_edit_style_tag_value_set ( Evas_Object obj,
const char *  style,
const char *  tag,
const char *  new_value 
)

Set the value of the given tag.

Parameters
objObject being edited.
styleStyle containing the tag to change.
tagName of the tag to set the value for.
new_valueValue for the tag.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_style_tag_name_set()

EAPI Eina_Bool edje_edit_style_tag_name_set ( Evas_Object obj,
const char *  style,
const char *  tag,
const char *  new_name 
)

Set the name of the given tag.

Parameters
objObject being edited.
styleStyle containing the tag to rename.
tagTag to rename.
new_nameNew name for the tag.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_style_tag_add()

EAPI Eina_Bool edje_edit_style_tag_add ( Evas_Object obj,
const char *  style,
const char *  tag_name 
)

Add a new tag to the given text style.

If another tag with the same name exists nothing is created and EINA_FALSE is returned.

Parameters
objObject being edited.
styleStyle where to add the new tag.
tag_nameName for the new tag.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_list_append(), eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_style_tag_del()

EAPI Eina_Bool edje_edit_style_tag_del ( Evas_Object obj,
const char *  style,
const char *  tag 
)

Delete the given tag.

Parameters
objObject being edited.
styleStyle from where to remove the tag.
tagTag to delete.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_list_remove(), and EINA_TRUE.

◆ edje_edit_externals_list_get()

EAPI Eina_List* edje_edit_externals_list_get ( Evas_Object obj)

Get the list of all the externals requested in the given edje object.

Parameters
objObject being edited.
Returns
List of strings, each being an entry in the block of automatically loaded external modules.

References EAPI, eina_list_append(), and eina_stringshare_add().

◆ edje_edit_external_add()

EAPI Eina_Bool edje_edit_external_add ( Evas_Object obj,
const char *  external 
)

Add an external module to be requested on edje load.

Parameters
objObject being edited.
externalName of the external module to add to the list of autoload.
Returns
EINA_TRUE on success (or it was already there), EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_external_del()

EAPI Eina_Bool edje_edit_external_del ( Evas_Object obj,
const char *  external 
)

Delete the given external from the list.

Parameters
objObject being edited.
externalName of the external module to remove from the autoload list.
Returns
EINA_TRUE on success, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, and EINA_TRUE.

◆ edje_edit_parts_list_get()

EAPI Eina_List* edje_edit_parts_list_get ( Evas_Object obj)

Get the list of all the parts in the given edje object.

Parameters
objObject being edited.
Returns
List of strings, each being the name for a part in the open group.

References EAPI, eina_list_append(), and eina_stringshare_add().

◆ edje_edit_part_add()

EAPI Eina_Bool edje_edit_part_add ( Evas_Object obj,
const char *  name,
Edje_Part_Type  type 
)

Create a new part in the given edje.

If another part with the same name just exists nothing is created and EINA_FALSE is returned. Note that this function also create a default description for the part.

Parameters
objObject being edited.
nameName for the new part.
typeType of the new part. See Edje Data Collection reference for more info on this.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_part_external_add()

EAPI Eina_Bool edje_edit_part_external_add ( Evas_Object obj,
const char *  name,
const char *  source 
)

Create a new part of type EXTERNAL in the given edje.

If another part with the same name just exists nothing is created and EINA_FALSE is returned. Note that this function also create a default description for the part.

Parameters
objObject being edited.
nameName for the new part.
sourceThe registered external type to use for this part.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EINA_FALSE.

◆ edje_edit_part_del()

EAPI Eina_Bool edje_edit_part_del ( Evas_Object obj,
const char *  part 
)

Delete the given part from the edje.

All the reference to this part will be zeroed.

Parameters
objObject being edited.
partName of part to delete.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EINA_FALSE, eina_hash_find(), and evas_object_clip_set().

◆ edje_edit_part_exist()

EAPI Eina_Bool edje_edit_part_exist ( Evas_Object obj,
const char *  part 
)

Check if a part with the given name exist in the edje object.

Parameters
objObject being edited.
partName of part to check for its existence.
Returns
EINA_TRUE if the part exists, EINA_FALSE if not.

References EAPI, EINA_FALSE, and EINA_TRUE.

◆ edje_edit_part_above_get()

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

Get the name of part stacked above the one passed.

Parameters
objObject being edited.
partName of part of which to check the one above.
Returns
Name of the part above. NULL if an error occurred or if part is the topmost part in the group.

References EAPI, and eina_stringshare_add().

◆ edje_edit_part_below_get()

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

Get the name of part stacked below the one passed.

Parameters
objObject being edited.
partName of part of which to check the one below.
Returns
Name of the part below. NULL if an error occurred or if part is the bottommost part in the group.

References EAPI, and eina_stringshare_add().

◆ edje_edit_part_restack_below()

EAPI Eina_Bool edje_edit_part_restack_below ( Evas_Object obj,
const char *  part 
)

Move the given part below the previous one.

Parameters
objObject being edited.
partName of part to move one step below.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, EINA_TRUE, evas_object_stack_above(), and evas_object_stack_below().

◆ edje_edit_part_restack_above()

EAPI Eina_Bool edje_edit_part_restack_above ( Evas_Object obj,
const char *  part 
)

Move the given part above the next one.

Parameters
objObject being edited.
partName of part to move one step above.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, EINA_TRUE, and evas_object_stack_above().

◆ edje_edit_part_name_set()

EAPI Eina_Bool edje_edit_part_name_set ( Evas_Object obj,
const char *  part,
const char *  new_name 
)

Set a new name for part.

Note that the relative getter function don't exist as it don't make sense ;)

Parameters
objObject being edited.
partName of part to rename.
new_nameNew name for the given part.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EINA_FALSE, eina_hash_find(), eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_part_api_name_get()

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

Get api's name of a part.

Parameters
objObject being edited.
partName of the part.
Returns
name of the api if successful, NULL otherwise.

◆ edje_edit_part_api_description_get()

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

Get api's description of a part.

Parameters
objObject being edited.
partName of the part.
Returns
description of the api if successful, NULL otherwise.

◆ edje_edit_part_api_name_set()

EAPI Eina_Bool edje_edit_part_api_name_set ( Evas_Object obj,
const char *  part,
const char *  name 
)

Set api's name of a part.

Parameters
objObject being edited.
partName of the part.
nameNew name for the api property.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_part_api_description_set()

EAPI Eina_Bool edje_edit_part_api_description_set ( Evas_Object obj,
const char *  part,
const char *  description 
)

Set api's description of a part.

Parameters
objObject being edited.
partName of part.
descriptionNew description for the api property.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_part_type_get()

EAPI Edje_Part_Type edje_edit_part_type_get ( Evas_Object obj,
const char *  part 
)

Get the type of a part.

Parameters
objObject being edited.
partName of part to get the type of.
Returns
Type of the part. See Edje Data Collection reference for details.

References EAPI.

◆ edje_edit_part_clip_to_get()

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

Get the clip_to part.

Parameters
objObject being edited.
partName of the part whose clipper to get.
Returns
Name of the part part is clipped to. NULL is returned on errors and if the part don't have a clip.

References EAPI, and eina_stringshare_add().

◆ edje_edit_part_clip_to_set()

EAPI Eina_Bool edje_edit_part_clip_to_set ( Evas_Object obj,
const char *  part,
const char *  clip_to 
)

Set a part to clip part to.

Parameters
objObject being edited.
partPart to set the clipper to.
clip_toPart to use as clipper, if NULL then the clipping value will be cancelled (unset clipping).
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, edje_object_calc_force(), EINA_FALSE, EINA_TRUE, evas_object_clip_get(), evas_object_clip_set(), evas_object_clip_unset(), evas_object_pass_events_set(), EVAS_OBJECT_POINTER_MODE_AUTOGRAB, EVAS_OBJECT_POINTER_MODE_NOGRAB, and evas_object_pointer_mode_set().

◆ edje_edit_part_source_get()

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

Get the source of part.

The meaning of this parameter varies depending on the type of the part. For GROUP parts, it's the name of another group in the Edje file which will be autoloaded and swallowed on this part. For TEXTBLOCK parts, it's the name of a group to be used for selection display under the text. For EXTERNAL parts, it's the name of the registered external widget to load and swallow on this part.

Parameters
objObject being edited.
partPart to get the source from.
Returns
Content of the source parameter or NULL if nothing set or an error occurred.

References EAPI, and eina_stringshare_add().

◆ edje_edit_part_source_set()

EAPI Eina_Bool edje_edit_part_source_set ( Evas_Object obj,
const char *  part,
const char *  source 
)

Set the source of part.

Parameters
objObject being edited.
partPart to set the source of.
sourceValue for the source parameter.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.
See also
edje_edit_part_source_get()
Note
You can't change the source for EXTERNAL parts, it's akin to changing the type of the part.

NOTE: This is not applied now. You must reload the edje to see the change.

References EINA_FALSE.

◆ edje_edit_part_effect_get()

EAPI Edje_Text_Effect edje_edit_part_effect_get ( Evas_Object obj,
const char *  part 
)

Get the effect for a given part.

Gets the effect used for parts of type TEXT. See Edje Data Collection reference for more details.

Parameters
objObject being edited.
partPart to get the effect of.
Returns
The effect set for the part.

References EAPI.

◆ edje_edit_part_effect_set()

EAPI Eina_Bool edje_edit_part_effect_set ( Evas_Object obj,
const char *  part,
Edje_Text_Effect  effect 
)

Set the effect for a given part.

Effects and shadow directions can be combined.

For effect and shadow direction list please look at Edje Part Text ref page.

Parameters
objObject being edited.
partPart to set the effect to. Only makes sense on type TEXT.
effectEffect to set for the part.
See also
Edje Text Part

References EINA_FALSE.

◆ edje_edit_part_selected_state_get()

EAPI const char* edje_edit_part_selected_state_get ( Evas_Object obj,
const char *  part,
double *  value 
)

Get the current selected state in part.

Parameters
objObject being edited.
partPart to get the selected state of.
valuePointer to a double where the value of the state will be stored.
Returns
The name of the currently selected state for the part.

References EAPI, and eina_stringshare_add().

◆ edje_edit_part_selected_state_set()

EAPI Eina_Bool edje_edit_part_selected_state_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Set the current state in part.

Parameters
objObject being edited.
partPart to set the state of.
stateName of the state to set.
valueValue of the state.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, edje_object_calc_force(), EINA_FALSE, and EINA_TRUE.

◆ edje_edit_part_mouse_events_get()

EAPI Eina_Bool edje_edit_part_mouse_events_get ( Evas_Object obj,
const char *  part 
)

Get mouse_events for part.

Parameters
objObject being edited.
partPart to get if the mouse events is accepted.
Returns
EINA_TRUE if part will accept mouse events, EINA_FALSE otherwise.

References EAPI, and EINA_FALSE.

◆ edje_edit_part_mouse_events_set()

EAPI Eina_Bool edje_edit_part_mouse_events_set ( Evas_Object obj,
const char *  part,
Eina_Bool  mouse_events 
)

Set mouse_events for part.

Parameters
objObject being edited.
partThe part to set if the mouse events is accepted.
mouse_eventsEINA_TRUE if part will accept mouse events, EINA_FALSE otherwise.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, EINA_TRUE, and evas_object_pass_events_set().

◆ edje_edit_part_repeat_events_get()

EAPI Eina_Bool edje_edit_part_repeat_events_get ( Evas_Object obj,
const char *  part 
)

Get repeat_events for part.

Parameters
objObject being edited.
partPart to get if it will pass all events to the other parts.
Returns
EINA_TRUE if the events received will propagate to other parts, EINA_FALSE otherwise

References EAPI, and EINA_FALSE.

◆ edje_edit_part_repeat_events_set()

EAPI Eina_Bool edje_edit_part_repeat_events_set ( Evas_Object obj,
const char *  part,
Eina_Bool  repeat_events 
)

Set repeat_events for part.

Parameters
objObject being edited.
partPart to set if will repeat all the received mouse events to other parts.
repeat_eventsEINA_TRUE if the events received will propagate to other parts, EINA_FALSE otherwise
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, EINA_TRUE, and evas_object_repeat_events_set().

◆ edje_edit_part_ignore_flags_get()

EAPI Evas_Event_Flags edje_edit_part_ignore_flags_get ( Evas_Object obj,
const char *  part 
)

Get ignore_flags for part.

Parameters
objObject being edited.
partPart to get which event_flags are being ignored.
Returns
The Event flags set to the part.

References EAPI.

◆ edje_edit_part_ignore_flags_set()

EAPI Eina_Bool edje_edit_part_ignore_flags_set ( Evas_Object obj,
const char *  part,
Evas_Event_Flags  ignore_flags 
)

Set ignore_flags for part.

Parameters
objObject being edited.
partPart to set which event flags will be ignored.
ignore_flagsThe Event flags to be ignored by the part.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, and EINA_TRUE.

◆ edje_edit_part_scale_set()

EAPI Eina_Bool edje_edit_part_scale_set ( Evas_Object obj,
const char *  part,
Eina_Bool  scale 
)

Set scale property for the part.

This property tells Edje that the given part should be scaled by the Edje scale factor.

Parameters
objObject being edited.
partPart to set scale for.
scaleScale value to set.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, edje_object_calc_force(), EINA_FALSE, and EINA_TRUE.

◆ edje_edit_part_scale_get()

EAPI Eina_Bool edje_edit_part_scale_get ( Evas_Object obj,
const char *  part 
)

Get scale for the part.

Parameters
objObject being edited.
partPart to get the scale value of.
Returns
Whether scale is on (EINA_TRUE) or not.

References EAPI, and EINA_FALSE.

◆ edje_edit_part_drag_x_get()

EAPI int edje_edit_part_drag_x_get ( Evas_Object obj,
const char *  part 
)

Get horizontal dragable state for part.

Parameters
objObject being edited.
partPart to get if can be dragged horizontally;
Returns
1 (or -1) if the part can be dragged horizontally, 0 otherwise.

References EAPI.

◆ edje_edit_part_drag_x_set()

EAPI Eina_Bool edje_edit_part_drag_x_set ( Evas_Object obj,
const char *  part,
int  drag 
)

Set horizontal dragable state for part.

Parameters
objObject being edited.
partPart to set if should be dragged horizontally.
drag1 (or -1) if the part should be dragged horizontally, 0 otherwise.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, and EINA_TRUE.

◆ edje_edit_part_drag_y_get()

EAPI int edje_edit_part_drag_y_get ( Evas_Object obj,
const char *  part 
)

Get vertical dragable state for part.

Parameters
objObject being edited.
partPart to get if can be dragged vertically.
Returns
1 (or - 1) if the part can be dragged vertically, 0 otherwise.

References EAPI.

◆ edje_edit_part_drag_y_set()

EAPI Eina_Bool edje_edit_part_drag_y_set ( Evas_Object obj,
const char *  part,
int  drag 
)

Set vertical dragable state for part.

Parameters
objObject being edited.
partPart to set if should be dragged vertically.
drag1 (or -1) of the part shpuld be dragged vertically, 0 otherwise.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, and EINA_TRUE.

◆ edje_edit_part_drag_step_x_get()

EAPI int edje_edit_part_drag_step_x_get ( Evas_Object obj,
const char *  part 
)

Get horizontal dragable step for part.

Parameters
objObject being edited.
partPart to get the drag horizontal step value.
Returns
The step value.

◆ edje_edit_part_drag_step_x_set()

EAPI Eina_Bool edje_edit_part_drag_step_x_set ( Evas_Object obj,
const char *  part,
int  step 
)

Set horizontal dragable state for part.

Parameters
objObject being edited.
partPart to set the drag horizontal step value.
stepThe step the will be dragged.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_part_drag_step_y_get()

EAPI int edje_edit_part_drag_step_y_get ( Evas_Object obj,
const char *  part 
)

Get vertical dragable step for part.

Parameters
objObject being edited.
partPart to get the drag vertical step value.
Returns
The step value.

◆ edje_edit_part_drag_step_y_set()

EAPI Eina_Bool edje_edit_part_drag_step_y_set ( Evas_Object obj,
const char *  part,
int  step 
)

Set vertical dragable state for part.

Parameters
objObject being edited.
partPart to set the drag vertical step value.
stepThe step the will be dragged.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_part_drag_count_x_get()

EAPI int edje_edit_part_drag_count_x_get ( Evas_Object obj,
const char *  part 
)

Get horizontal dragable count for part.

Parameters
objObject being edited.
partPart to get the drag horizontal count value.

◆ edje_edit_part_drag_count_x_set()

EAPI Eina_Bool edje_edit_part_drag_count_x_set ( Evas_Object obj,
const char *  part,
int  count 
)

Set horizontal dragable count for part.

Parameters
objObject being edited.
partPart to set the drag horizontal count value.
countThe count value.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_part_drag_count_y_get()

EAPI int edje_edit_part_drag_count_y_get ( Evas_Object obj,
const char *  part 
)

Get vertical dragable count for part.

Parameters
objObject being edited.
partPart to get the drag vertical count value.

◆ edje_edit_part_drag_count_y_set()

EAPI Eina_Bool edje_edit_part_drag_count_y_set ( Evas_Object obj,
const char *  part,
int  count 
)

Set vertical dragable count for part.

Parameters
objObject being edited.
partPart to set the drag vertical count value.
countThe count value.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_part_drag_confine_get()

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

Get the name of the part that is used as 'confine' for the given draggies.

Parameters
objObject being edited.
partPart to get the name that is used as 'confine' for the given draggies.
Returns
The name of the confine part or NULL (if unset).

◆ edje_edit_part_drag_confine_set()

EAPI Eina_Bool edje_edit_part_drag_confine_set ( Evas_Object obj,
const char *  part,
const char *  confine 
)

Set the name of the part that is used as 'confine' for the given draggies.

Parameters
objObject being edited.
partPart to set the name that is used as 'confine' for the given draggies.
confineThe name of the confine part or NULL to unset confine.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_part_drag_event_get()

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

Get the name of the part that is used as the receiver of the drag event.

Parameters
objObject being edited.
partPart to get the name that is used as the receiver of the drag event.
Returns
The name of the part that will receive events, or NULL (if unset).

◆ edje_edit_part_drag_event_set()

EAPI Eina_Bool edje_edit_part_drag_event_set ( Evas_Object obj,
const char *  part,
const char *  event 
)

Set the name of the part that will receive events from the given draggies.

Parameters
objObject being edited.
partPart to set the name that will receive events from the given draggies.
eventThe name of the part that will receive events, or NULL to unset.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_part_drag_threshold_get()

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

Get the name of the part that is used as 'threshold' for the given draggies.

Parameters
objObject being edited.
partPart to get the name that is used as 'threshold' for the given draggies.
Returns
The name of the threshold part or NULL (if unset).

◆ edje_edit_part_drag_threshold_set()

EAPI Eina_Bool edje_edit_part_drag_threshold_set ( Evas_Object obj,
const char *  part,
const char *  threshold 
)

Set the name of the part that is used as 'threshold' for the given draggies.

Parameters
objObject being edited.
partPart to set the name that is used as 'threshold' for the given draggies.
confineThe name of the threshold part or NULL to unset confine.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_part_states_list_get()

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

Get the list of all the states in the given part.

Parameters
objObject being edited.
partPart to get the states names list.
Returns
An Eina_List* of string (char *)containing all the states names found in part, including the float value (ex: "default 0.00").

Use edje_edit_string_list_free() when you don't need it anymore.

◆ edje_edit_state_name_set()

EAPI Eina_Bool edje_edit_state_name_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  new_name,
double  new_value 
)

Set a new name for the given state in the given part.

Parameters
objObject being edited.
partPart that contain state.
stateName of the state to rename.
valueValue of the state to rename.
new_nameThe new name for the state.
new_valueThe new value for the state.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_list_count(), eina_list_data_get(), eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_state_add()

EAPI Eina_Bool edje_edit_state_add ( Evas_Object obj,
const char *  part,
const char *  name,
double  value 
)

Create a new state to the give part.

Parameters
objObject being edited.
partPart to set the name of the new state.
nameName for the new state (not including the state value).
valueThe state value.
Returns
EINA_TRUE if successfully, EINA_FALSE otherwise.

References edje_edit_state_exist(), EINA_FALSE, eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_state_del()

EAPI Eina_Bool edje_edit_state_del ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Delete the given part state from the edje.

Parameters
objObject being edited.
partPart that contain state.
stateThe current name of the state (not including the state value).
valueThe state value.
Returns
EINA_TRUE if successfully, EINA_FALSE otherwise.

References edje_edit_state_exist(), EINA_FALSE, eina_hash_find(), and EINA_TRUE.

◆ edje_edit_state_exist()

EAPI Eina_Bool edje_edit_state_exist ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Check if a part state with the given name exist.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to check (not including the state value).
valueThe state value.
Returns
EINA_TRUE if the part state exist, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, and EINA_TRUE.

Referenced by edje_edit_state_add(), and edje_edit_state_del().

◆ edje_edit_state_copy()

EAPI Eina_Bool edje_edit_state_copy ( Evas_Object obj,
const char *  part,
const char *  from,
double  val_from,
const char *  to,
double  val_to 
)

Copies the state from into to.

If to doesn't exist it will be created.

Parameters
objObject being edited.
partPart that contain state.
fromState to copy from (not including state value).
val_fromThe value of the state to copy from.
toState to copy into (not including state value).
val_toThe value of the state to copy into.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EINA_FALSE, and eina_stringshare_add().

◆ edje_edit_state_rel1_relative_x_get()

EAPI double edje_edit_state_rel1_relative_x_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the 'rel1 relative X' value of state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get 'rel1 relative X' (not including the state value).
valueThe state value.
Returns
The 'rel1 relative X' value of the part state.

◆ edje_edit_state_rel1_relative_y_get()

EAPI double edje_edit_state_rel1_relative_y_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the 'rel1 relative Y' value of state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get 'rel1 relative Y' (not including the state value).
valueThe state value.
Returns
The 'rel1 relative Y' value of the part state.

◆ edje_edit_state_rel2_relative_x_get()

EAPI double edje_edit_state_rel2_relative_x_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the 'rel2 relative X' value of state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get 'rel2 relative X' (not including the state value).
valueThe state value.
Returns
The 'rel2 relative X' value of the part state.

◆ edje_edit_state_rel2_relative_y_get()

EAPI double edje_edit_state_rel2_relative_y_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the 'rel2 relative Y' value of state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get 'rel2 relative Y' (not including the state value).
valueThe state value.
Returns
The 'rel2 relative Y' value of the part state.

◆ edje_edit_state_rel1_relative_x_set()

EAPI Eina_Bool edje_edit_state_rel1_relative_x_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  x 
)

Set the 'rel1 relative X' value of state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set 'rel1 relative X' (not including the state value).
valueThe state value.
xThe new 'rel1 relative X' value to set'.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_state_rel1_relative_y_set()

EAPI Eina_Bool edje_edit_state_rel1_relative_y_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  y 
)

Set the 'rel1 relative Y' value of state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set 'rel1 relative Y' (not including the state value).
valueThe state value.
yThe new 'rel1 relative Y' value to set'.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_state_rel2_relative_x_set()

EAPI Eina_Bool edje_edit_state_rel2_relative_x_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  x 
)

Set the 'rel2 relative X' value of state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set 'rel2 relative X' (not including the state value).
valueThe state value.
xThe new 'rel2 relative X' value to set'.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_state_rel2_relative_y_set()

EAPI Eina_Bool edje_edit_state_rel2_relative_y_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  y 
)

Set the 'rel2 relative Y' value of state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set 'rel2 relative Y' (not including the state value).
valueThe state value.
yThe new 'rel2 relative Y' value to set'.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_state_rel1_offset_x_get()

EAPI int edje_edit_state_rel1_offset_x_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the 'rel1 offset X' value of state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get 'rel1 offset X' (not including the state value).
valueThe state value.
Returns
The 'rel1 offset X' value of the part state.

◆ edje_edit_state_rel1_offset_y_get()

EAPI int edje_edit_state_rel1_offset_y_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the 'rel1 offset Y' value of state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get 'rel1 offset Y' (not including the state value).
valueThe state value.
Returns
The 'rel1 offset Y' value of the part state.

◆ edje_edit_state_rel2_offset_x_get()

EAPI int edje_edit_state_rel2_offset_x_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the 'rel2 offset X' value of state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get 'rel2 offset X' (not including the state value).
valueThe state value.
Returns
The 'rel2 offset X' value of the part state.

◆ edje_edit_state_rel2_offset_y_get()

EAPI int edje_edit_state_rel2_offset_y_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the 'rel2 offset Y' value of state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get 'rel2 offset Y' (not including the state value).
valueThe state value.
Returns
The 'rel2 offset Y' value of the part state.

◆ edje_edit_state_rel1_offset_x_set()

EAPI Eina_Bool edje_edit_state_rel1_offset_x_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  x 
)

Set the 'rel1 offset X' value of state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set 'rel1 offset X' (not including the state value).
valueThe state value.
xThe new 'rel1 offset X' value to set'.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_state_rel1_offset_y_set()

EAPI Eina_Bool edje_edit_state_rel1_offset_y_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  y 
)

Set the 'rel1 offset Y' value of state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set 'rel1 offset Y' (not including the state value).
valueThe state value.
yThe new 'rel1 offset Y' value to set'.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_state_rel2_offset_x_set()

EAPI Eina_Bool edje_edit_state_rel2_offset_x_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  x 
)

Set the 'rel2 offset X' value of state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set 'rel2 offset X' (not including the state value).
valueThe state value.
xThe new 'rel2 offset X' value to set'.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_state_rel2_offset_y_set()

EAPI Eina_Bool edje_edit_state_rel2_offset_y_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  y 
)

Set the 'rel2 offset Y' value of state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set 'rel2 offset Y' (not including the state value).
valueThe state value.
yThe new 'rel2 offset Y' value to set'.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_state_rel1_to_x_get()

EAPI const char* edje_edit_state_rel1_to_x_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the part name rel1x is relative to.

Parameters
objObject being edited.
partPart that contain state.
stateThe state that contain which the part name rel1x is relative to (not including the state value).
valueThe state value.
Returns
The part name rel1x is relative to or NULL if the part is relative to the whole interface.

◆ edje_edit_state_rel1_to_y_get()

EAPI const char* edje_edit_state_rel1_to_y_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the part name rel1y is relative to.

Parameters
objObject being edited.
partPart that contain state.
stateThe state that contain which the part name rel1y is relative to (not including the state value).
valueThe state value.
Returns
The part name rel1y is relative to or NULL if the part is relative to the whole interface.

◆ edje_edit_state_rel2_to_x_get()

EAPI const char* edje_edit_state_rel2_to_x_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the part name rel2x is relative to.

Parameters
objObject being edited.
partPart that contain state.
stateThe state that contain which the part name rel2x is relative to (not including the state value).
valueThe state value.
Returns
The part name rel2x is relative to or NULL if the part is relative to the whole interface.

◆ edje_edit_state_rel2_to_y_get()

EAPI const char* edje_edit_state_rel2_to_y_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the part name rel2y is relative to.

Parameters
objObject being edited.
partPart that contain state.
stateThe state that contain which the part name rel2y is relative to (not including the state value).
valueThe state value.
Returns
The part name rel2y is relative to or NULL if the part is relative to the whole interface.

◆ edje_edit_state_rel1_to_x_set()

EAPI Eina_Bool edje_edit_state_rel1_to_x_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  rel_to 
)

Set the part rel1x is relative to.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set rel1x is relative to (not including the state value).
valueThe state value.
rel_toThe name of the part that is used as container/parent (NULL make the part relative to the whole interface).
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_state_rel1_to_y_set()

EAPI Eina_Bool edje_edit_state_rel1_to_y_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  rel_to 
)

Set the part rel1y is relative to.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set rel1y is relative to (not including the state value).
valueThe state value.
rel_toThe name of the part that is used as container/parent (NULL make the part relative to the whole interface).
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_state_rel2_to_x_set()

EAPI Eina_Bool edje_edit_state_rel2_to_x_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  rel_to 
)

Set the part rel2x is relative to.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set rel2x is relative to (not including the state value).
valueThe state value.
rel_toThe name of the part that is used as container/parent (NULL make the part relative to the whole interface).
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_state_rel2_to_y_set()

EAPI Eina_Bool edje_edit_state_rel2_to_y_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  rel_to 
)

Set the part rel2y is relative to.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set rel2y is relative to (not including the state value).
valueThe state value.
rel_toThe name of the part that is used as container/parent (NULL make the part relative to the whole interface).
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_state_color_get()

EAPI void edje_edit_state_color_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
int *  r,
int *  g,
int *  b,
int *  a 
)

Get the color of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get color (not including the state value).
valueThe state value.
rA pointer to store the red value.
gA pointer to store the green value.
bA pointer to store the blue value.
aA pointer to store the alpha value.

◆ edje_edit_state_color2_get()

EAPI void edje_edit_state_color2_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
int *  r,
int *  g,
int *  b,
int *  a 
)

Get the color2 of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get color (not including the state value).
valueThe state value.
rA pointer to store the red value.
gA pointer to store the green value.
bA pointer to store the blue value.
aA pointer to store the alpha value.

◆ edje_edit_state_color3_get()

EAPI void edje_edit_state_color3_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
int *  r,
int *  g,
int *  b,
int *  a 
)

Get the color3 of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get color (not including the state value).
valueThe state value.
rA pointer to store the red value.
gA pointer to store the green value.
bA pointer to store the blue value.
aA pointer to store the alpha value.

◆ edje_edit_state_color_set()

EAPI Eina_Bool edje_edit_state_color_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
int  r,
int  g,
int  b,
int  a 
)

Set the color of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set color (not including the state value).
valueThe state value.
rThe red value of the color.
gThe green value of the color.
bThe blue value of the color.
aThe alpha value of the color.
Returns
EINA_TRUE If successfull, EINA_FALSE otherwise.

◆ edje_edit_state_color2_set()

EAPI Eina_Bool edje_edit_state_color2_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
int  r,
int  g,
int  b,
int  a 
)

Set the color2 of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set color (not including the state value).
valueThe state value.
rThe red value of the color.
gThe green value of the color.
bThe blue value of the color.
aThe alpha value of the color.
Returns
EINA_TRUE If successfull, EINA_FALSE otherwise.

◆ edje_edit_state_color3_set()

EAPI Eina_Bool edje_edit_state_color3_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
int  r,
int  g,
int  b,
int  a 
)

Set the color3 of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set color (not including the state value).
valueThe state value.
rThe red value of the color.
gThe green value of the color.
bThe blue value of the color.
aThe alpha value of the color.
Returns
EINA_TRUE If successfull, EINA_FALSE otherwise.

References EINA_FALSE.

◆ edje_edit_state_align_x_get()

EAPI double edje_edit_state_align_x_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the horizontal align value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get horizontal align (not including the state value).
valueThe state value.
Returns
The horizontal align value for the given state

◆ edje_edit_state_align_y_get()

EAPI double edje_edit_state_align_y_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the vertical align value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get horizontal align (not including the state value).
valueThe state value.
Returns
The vertical align value for the given state

◆ edje_edit_state_align_x_set()

EAPI Eina_Bool edje_edit_state_align_x_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  align 
)

Set the horizontal align value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get horizontal align (not including the state value).
valueThe state value.
alignThe new vertical align value.
Returns
EINA_TRUE if the parameter was found, EINA_FALSE otherwise.

◆ edje_edit_state_align_y_set()

EAPI Eina_Bool edje_edit_state_align_y_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  align 
)

Set the vertical align value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get vertical align (not including the state value).
valueThe state value.
alignThe new vertical align value.
Returns
EINA_TRUE if the parameter was found, EINA_FALSE otherwise.

◆ edje_edit_state_min_w_get()

EAPI int edje_edit_state_min_w_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the minimum width value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get minimum width (not including the state value).
valueThe state value.
Returns
The minimum width value.

◆ edje_edit_state_min_w_set()

EAPI Eina_Bool edje_edit_state_min_w_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
int  min_w 
)

Set the minimum width value of a part state.

The minimum width should be greater than 0.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set minimum width (not including the state value).
valueThe state value.
min_wMinimum width value.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_state_min_h_get()

EAPI int edje_edit_state_min_h_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the minimum height value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get minimum height (not including the state value).
valueThe state value.
Returns
The minimum height value.

◆ edje_edit_state_min_h_set()

EAPI Eina_Bool edje_edit_state_min_h_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
int  min_h 
)

Set the minimum height value of a part state.

The minimum height should be greater than 0.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set minimum height (not including the state value).
valueThe state value.
min_hMinimum height value.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_state_max_w_get()

EAPI int edje_edit_state_max_w_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the maximum width value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get maximum width (not including the state value).
valueThe state value.
Returns
The maximum width value.

◆ edje_edit_state_max_w_set()

EAPI Eina_Bool edje_edit_state_max_w_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
int  max_w 
)

Set the maximum width value of a part state.

The maximum width should be greater than -1. The value -1 means that state doesn't have any boundaries on width direction. (it can be any size that is bigger than it's min)

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set maximum width (not including the state value).
valueThe state value.
max_wMaximum width value.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_state_max_h_get()

EAPI int edje_edit_state_max_h_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the maximum height value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get maximum height (not including the state value).
valueThe state value.
Returns
The maximum height value.

◆ edje_edit_state_max_h_set()

EAPI Eina_Bool edje_edit_state_max_h_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
int  max_h 
)

Set the maximum height value of a part state.

The maximum height should be greater than -1. The value -1 means that state doesn't have any boundaries on height direction. (it can be any size that is bigger than it's min)

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set maximum height (not including the state value).
valueThe state value.
max_hMaximum height value.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_state_aspect_min_get()

EAPI double edje_edit_state_aspect_min_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the minimum aspect value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get minimum aspect (not including the state value).
valueThe state value.
Returns
The minimum aspect

◆ edje_edit_state_aspect_max_get()

EAPI double edje_edit_state_aspect_max_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the maximum aspect value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get maximum aspect (not including the state value).
valueThe state value.
Returns
The maximum aspect

◆ edje_edit_state_aspect_min_set()

EAPI Eina_Bool edje_edit_state_aspect_min_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  aspect 
)

Set the minimum aspect value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set minimum aspect (not including the state value).
valueThe state value.
aspectMinimum aspect value.
Returns
EINA_TRUE if the parameter was found, EINA_FALSE otherwise.

◆ edje_edit_state_aspect_max_set()

EAPI Eina_Bool edje_edit_state_aspect_max_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  aspect 
)

Set the maximum aspect value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set maximum aspect (not including the state value).
valueThe state value.
aspectMaximum aspect value.
Returns
EINA_TRUE if the parameter was found, EINA_FALSE otherwise.

◆ edje_edit_state_aspect_pref_get()

EAPI unsigned char edje_edit_state_aspect_pref_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the aspect preference of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get aspect preference (not including the state value).
valueThe state value.
Returns
The aspect preference (0 = None, 1 = Vertical, 2 = Horizontal, 3 = Both)

References EAPI.

◆ edje_edit_state_aspect_pref_set()

EAPI Eina_Bool edje_edit_state_aspect_pref_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
unsigned char  pref 
)

Set the aspect preference of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set aspect preference (not including the state value).
valueThe state value.
prefThe aspect preference to set (0 = None, 1 = Vertical, 2 = Horizontal, 3 = Both)
Returns
EINA_TRUE if the parameter was found, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, and EINA_TRUE.

◆ edje_edit_state_fill_origin_relative_x_get()

EAPI double edje_edit_state_fill_origin_relative_x_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the fill horizontal origin relative value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get the fill horizontal origin relative to area (not including the state value).
valueThe state value.
Returns
The fill horizontal origin relative to area.

◆ edje_edit_state_fill_origin_relative_y_get()

EAPI double edje_edit_state_fill_origin_relative_y_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the fill vertical origin relative value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get fill vertical origin relative to area (not including the state value).
valueThe state value.
Returns
The fill vertical origin relative to area.

◆ edje_edit_state_fill_origin_offset_x_get()

EAPI int edje_edit_state_fill_origin_offset_x_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the fill horizontal origin offset value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get fill horizontal origin offset relative to area (not including the state value).
valueThe state value.
Returns
The fill horizontal origin offset relative to area.

◆ edje_edit_state_fill_origin_offset_y_get()

EAPI int edje_edit_state_fill_origin_offset_y_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the fill vertical origin offset value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get fill vertical origin offset relative to area (not including the state value).
valueThe state value.
Returns
The fill vertical origin offset value.

◆ edje_edit_state_fill_origin_relative_x_set()

EAPI Eina_Bool edje_edit_state_fill_origin_relative_x_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  x 
)

Set the fill horizontal origin relative value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set fill horizontal origin relative to area (not including the state value).
valueThe state value.
xThe fill horizontal origin value.
Returns
EINA_TRUE if the parameter was found, EINA_FALSE otherwise.

◆ edje_edit_state_fill_origin_relative_y_set()

EAPI Eina_Bool edje_edit_state_fill_origin_relative_y_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  y 
)

Set the fill horizontal origin relative value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set fill vertical origin relative to area (not including the state value).
valueThe state value.
yThe fill vertical origin value.
Returns
EINA_TRUE if the parameter was found, EINA_FALSE otherwise.

◆ edje_edit_state_fill_origin_offset_x_set()

EAPI Eina_Bool edje_edit_state_fill_origin_offset_x_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  x 
)

Set the fill horizontal origin offset value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set fill horizontal origin offset relative to area (not including the state value).
valueThe state value.
xThe fill horizontal origin offset value.
Returns
EINA_TRUE if the parameter was found, EINA_FALSE otherwise.

◆ edje_edit_state_fill_origin_offset_y_set()

EAPI Eina_Bool edje_edit_state_fill_origin_offset_y_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  y 
)

Set the fill vertical origin offset value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set fill vertical origin offset relative to area (not including the state value).
valueThe state value.
yThe fill vertical origin offset value.
Returns
EINA_TRUE if the parameter was found, EINA_FALSE otherwise.

◆ edje_edit_state_fill_size_relative_x_get()

EAPI double edje_edit_state_fill_size_relative_x_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the fill horizontal size relative value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get fill horizontal size relative to area (not including the state value).
valueThe state value.
Returns
The fill horizontal size relative to area.

◆ edje_edit_state_fill_size_relative_y_get()

EAPI double edje_edit_state_fill_size_relative_y_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the fill vertical size relative value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get fill vertical size relative to area (not including the state value).
valueThe state value.
Returns
The fill vertical size relative to area.

◆ edje_edit_state_fill_size_offset_x_get()

EAPI int edje_edit_state_fill_size_offset_x_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the fill horizontal size offset value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get fill horizontal size offset relative to area (not including the state value).
valueThe state value.
Returns
The fill horizontal size offset relative to area.

◆ edje_edit_state_fill_size_offset_y_get()

EAPI int edje_edit_state_fill_size_offset_y_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the fill vertical size offset value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get fill vertical size offset relative to area (not including the state value).
valueThe state value.
Returns
The fill vertical size offset relative to area.

◆ edje_edit_state_fill_size_relative_x_set()

EAPI Eina_Bool edje_edit_state_fill_size_relative_x_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  x 
)

Set the fill horizontal size relative value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set fill horizontal size relative value (not including the state value).
valueThe state value.
xThe horizontal size relative value.
Returns
EINA_TRUE if the parameter was found, EINA_FALSE otherwise.

◆ edje_edit_state_fill_size_relative_y_set()

EAPI Eina_Bool edje_edit_state_fill_size_relative_y_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  x 
)

Set the fill vertical size relative value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set fill vertical size relative value (not including the state value).
valueThe state value.
xThe vertical size relative value.
Returns
EINA_TRUE if the parameter was found, EINA_FALSE otherwise.

◆ edje_edit_state_fill_size_offset_x_set()

EAPI Eina_Bool edje_edit_state_fill_size_offset_x_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  x 
)

Set the fill horizontal size offset value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set fill horizontal size offset relative value (not including the state value).
valueThe state value.
xThe horizontal size offset value.
Returns
EINA_TRUE if the parameter was found, EINA_FALSE otherwise.

◆ edje_edit_state_fill_size_offset_y_set()

EAPI Eina_Bool edje_edit_state_fill_size_offset_y_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  y 
)

Set the fill vertical size offset value of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set fill vertical size offset relative value (not including the state value).
valueThe state value.
yThe vertical size offset value.
Returns
EINA_TRUE if the parameter was found, EINA_FALSE otherwise.

◆ edje_edit_state_visible_get()

EAPI Eina_Bool edje_edit_state_visible_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the visibility of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get visibility (not including the state value).
valueThe state value.
Returns
EINA_TRUE if the state is visible, EINA_FALSE otherwise.

References EAPI, and EINA_FALSE.

◆ edje_edit_state_visible_set()

EAPI Eina_Bool edje_edit_state_visible_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
Eina_Bool  visible 
)

Set the visibility of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set visibility (not including the state value).
valueThe state value.
visibleTo set state visible (EINA_TRUE if the state is visible, EINA_FALSE otherwise)
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, edje_object_calc_force(), EINA_FALSE, and EINA_TRUE.

◆ edje_edit_state_color_class_get()

EAPI const char* edje_edit_state_color_class_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the color class of the given part state.

Remember to free the string with edje_edit_string_free()

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get color class (not including the state value).
valueThe state value.
Returns
The current color class.

References EAPI, and eina_stringshare_add().

◆ edje_edit_state_color_class_set()

EAPI Eina_Bool edje_edit_state_color_class_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  color_class 
)

Set the color class of the given part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set color class (not including the state value).
valueThe state value.
color_classThe color class to assign.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_state_external_params_list_get()

EAPI const Eina_List* edje_edit_state_external_params_list_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the list of parameters for an external part.

DO NOT FREE THE LIST!

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get list of Edje_External_Param (not including the state value).
valueThe state value.
Returns
The list of Edje_External_Param.

◆ edje_edit_state_external_param_get()

EAPI Eina_Bool edje_edit_state_external_param_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  param,
Edje_External_Param_Type type,
void **  val 
)

Get the external parameter type and value.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get external parameter (not including the state value).
valueThe state value.
paramThe name of the paramter to look for.
typeThe type of the parameter will be stored here.
valPointer to value will be stored here - DO NOT FREE IT!
Returns
EINA_TRUE if the parameter was found, EINA_FALSE otherwise.

References EINA_FALSE.

◆ edje_edit_state_external_param_int_get()

EAPI Eina_Bool edje_edit_state_external_param_int_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  param,
int *  val 
)

Get external parameter of type INT.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get external parameter of type INT (not including the state value).
valueThe state value.
paramThe name of the paramter.
valThe value of the parameter.
Returns
EINA_TRUE if successful. EINA_FALSE if not found or is of different type.

References EINA_FALSE.

◆ edje_edit_state_external_param_bool_get()

EAPI Eina_Bool edje_edit_state_external_param_bool_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  param,
Eina_Bool val 
)

Get external parameter of type BOOL.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get external parameter of type BOOL (not including the state value).
valueThe state value.
paramThe name of the paramter.
valThe value of the parameter.
Returns
EINA_TRUE if successful. EINA_FALSE if not found or is of different type.

References EINA_FALSE.

◆ edje_edit_state_external_param_double_get()

EAPI Eina_Bool edje_edit_state_external_param_double_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  param,
double *  val 
)

Get external parameter of type DOUBLE.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get external parameter of type DOUBLE (not including the state value).
valueThe state value.
paramThe name of the paramter.
valThe value of the parameter.
Returns
EINA_TRUE if successful. EINA_FALSE if not found or is of different type.

References EINA_FALSE.

◆ edje_edit_state_external_param_string_get()

EAPI Eina_Bool edje_edit_state_external_param_string_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  param,
const char **  val 
)

Get external parameter of type STRING.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get external parameter of type STRING (not including the state value).
valueThe state value.
paramThe name of the paramter.
valThe value of the parameter.
Returns
EINA_TRUE if successful. EINA_FALSE if not found or is of different type.

References EINA_FALSE.

◆ edje_edit_state_external_param_choice_get()

EAPI Eina_Bool edje_edit_state_external_param_choice_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  param,
const char **  val 
)

Get external parameter of type CHOICE.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get external parameter of type CHOICE (not including the state value).
valueThe state value.
paramThe name of the paramter.
valThe value of the parameter.
Returns
EINA_TRUE if successful. EINA_FALSE if not found or is of different type.

References EINA_FALSE.

◆ edje_edit_state_external_param_set()

EAPI Eina_Bool edje_edit_state_external_param_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  param,
Edje_External_Param_Type  type,
  ... 
)

Set the external parameter type and value, adding it if it didn't exist before.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get external parameter (not including the state value).
valueThe state value.
paramThe name of the paramter set.
typeThe type of the parameter.
Returns
EINA_TRUE if it was set, EINA_FALSE otherwise. Arguments should have proper sized values matching their types:
  • EDJE_EXTERNAL_PARAM_TYPE_INT: int
  • EDJE_EXTERNAL_PARAM_TYPE_BOOL: int
  • EDJE_EXTERNAL_PARAM_TYPE_DOUBLE: double
  • EDJE_EXTERNAL_PARAM_TYPE_STRING: char*
  • EDJE_EXTERNAL_PARAM_TYPE_CHOICE: char*
Note
: The validation of the parameter will occur only if the part is in the same state as the one being modified.

References EINA_FALSE.

Referenced by edje_edit_state_external_param_bool_set(), edje_edit_state_external_param_choice_set(), edje_edit_state_external_param_double_set(), edje_edit_state_external_param_int_set(), and edje_edit_state_external_param_string_set().

◆ edje_edit_state_external_param_int_set()

EAPI Eina_Bool edje_edit_state_external_param_int_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  param,
int  val 
)

Set external parameter of type INT.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get external parameter of type INT (not including the state value).
valueThe state value.
paramThe name of the paramter.
valValue will be stored here.
Returns
EINA_TRUE if it was set, EINA_FALSE otherwise.

References EAPI, edje_edit_state_external_param_set(), and EDJE_EXTERNAL_PARAM_TYPE_INT.

◆ edje_edit_state_external_param_bool_set()

EAPI Eina_Bool edje_edit_state_external_param_bool_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  param,
Eina_Bool  val 
)

Set external parameter of type BOOL.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get external parameter of type BOOL (not including the state value).
valueThe state value.
paramThe name of the paramter.
valValue will be stored here.
Returns
EINA_TRUE if it was set, EINA_FALSE otherwise.

References EAPI, edje_edit_state_external_param_set(), and EDJE_EXTERNAL_PARAM_TYPE_BOOL.

◆ edje_edit_state_external_param_double_set()

EAPI Eina_Bool edje_edit_state_external_param_double_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  param,
double  val 
)

Set external parameter of type DOUBLE.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get external parameter of type DOUBLE (not including the state value).
valueThe state value.
paramThe name of the paramter.
valValue will be stored here.
Returns
EINA_TRUE if it was set, EINA_FALSE otherwise.

References EAPI, edje_edit_state_external_param_set(), and EDJE_EXTERNAL_PARAM_TYPE_DOUBLE.

◆ edje_edit_state_external_param_string_set()

EAPI Eina_Bool edje_edit_state_external_param_string_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  param,
const char *  val 
)

Set external parameter of type STRING.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get external parameter of type STRING (not including the state value).
valueThe state value.
paramThe name of the paramter.
valValue will be stored here.
Returns
EINA_TRUE if it was set, EINA_FALSE otherwise.

References EAPI, edje_edit_state_external_param_set(), and EDJE_EXTERNAL_PARAM_TYPE_STRING.

◆ edje_edit_state_external_param_choice_set()

EAPI Eina_Bool edje_edit_state_external_param_choice_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  param,
const char *  val 
)

Set external parameter of type CHOICE.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get external parameter of type CHOICE (not including the state value).
valueThe state value.
paramThe name of the paramter.
valValue will be stored here.
Returns
EINA_TRUE if it was set, EINA_FALSE otherwise.

References EAPI, edje_edit_state_external_param_set(), and EDJE_EXTERNAL_PARAM_TYPE_CHOICE.

◆ edje_edit_state_text_get()

EAPI const char* edje_edit_state_text_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the text of a part state.

Remember to free the returned string with edje_edit_string_free().

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get text (not including the state value).
valueThe state value.
Returns
A newly allocated string containing the text for the given state.

◆ edje_edit_state_text_set()

EAPI Eina_Bool edje_edit_state_text_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  text 
)

Set the text of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set text (not including the state value).
valueThe state value.
textThe new text to assign.
Returns
EINA_TRUE if successful, EINA_FALSE - otherwise.

References EINA_FALSE.

◆ edje_edit_state_font_get()

EAPI const char* edje_edit_state_font_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get font name for a given part state.

Parameters
objObject being edited.
partThe name of the part to get the font of.
stateThe state of the part to get the font of.
valueValue of the state.
Returns
Font used by the part or NULL if error or nothing is set.

Remember to free the returned string using edje_edit_string_free().

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get the name of the font used (not including the state value).
valueThe state value.
Returns
The name of the font used in the given part state.

◆ edje_edit_state_font_set()

EAPI Eina_Bool edje_edit_state_font_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  font 
)

Set font name for a given part state.

Font name can be any alias of an internal font in the Edje file and, if it doesn't match any, Edje will look for a font with the given name in the system fonts.

Parameters
objObject being edited.
partPart to set the font of.
stateState in which the font is set.
valueValue of the state.
fontThe font name to use.
Returns
EINA_TRUE if successful, EINA_FALSE - otherwise.

References EINA_FALSE.

◆ edje_edit_state_text_size_get()

EAPI int edje_edit_state_text_size_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the text size of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get text size (not including the state value).
valueThe state value.
Returns
The text size or -1 on errors.

◆ edje_edit_state_text_size_set()

EAPI Eina_Bool edje_edit_state_text_size_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
int  size 
)

Set the text size of a part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set text size (not including the state value).
valueThe state value.
sizeThe new font size to set (in pixel)
Returns
EINA_TRUE if successful, EINA_FALSE - otherwise.

References EINA_FALSE.

◆ edje_edit_state_text_align_x_get()

EAPI double edje_edit_state_text_align_x_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the text horizontal align of a part state.

The value range is from 0.0(right) to 1.0(left) If the value is between -1.0 and 0.0 then it uses align automatically.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get the text horizontal align (not including the state value).
valueThe state value.
Returns
The text horizont align value

◆ edje_edit_state_text_align_y_get()

EAPI double edje_edit_state_text_align_y_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the text vertical align of a part state.

The value range is from 0.0(top) to 1.0(bottom)

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get the text vertical align (not including the state value).
valueThe state value.
Returns
The text horizont align value

◆ edje_edit_state_text_align_x_set()

EAPI Eina_Bool edje_edit_state_text_align_x_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  align 
)

Set the text horizontal align of a part state.

The value range is from 0.0(right) to 1.0(left) If the value is between -1.0 and 0.0 then it uses align automatically.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set the text horizontal align (not including the state value).
valueThe state value.
alignThe new text horizontal align value
Returns
EINA_TRUE if successful, EINA_FALSE - otherwise.

◆ edje_edit_state_text_align_y_set()

EAPI Eina_Bool edje_edit_state_text_align_y_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  align 
)

Set the text vertical align of a part state.

The value range is from 0.0(top) to 1.0(bottom)

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set the text vertical align (not including the state value).
valueThe state value.
alignThe new text vertical align value
Returns
EINA_TRUE if successful, EINA_FALSE - otherwise.

◆ edje_edit_state_text_elipsis_get()

EAPI double edje_edit_state_text_elipsis_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the text elipsis of a part state.

The value range is from 0.0(right) to 1.0(left), and -1.0 (if disabled)

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get the text elipses value (not including the state value).
valueThe state value.
Returns
The text elipsis value

◆ edje_edit_state_text_elipsis_set()

EAPI Eina_Bool edje_edit_state_text_elipsis_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  balance 
)

Set the text vertical align of a part state.

The value range is from 0.0(right) to 1.0(left) If the value is in range from -1.0 to 0.0 then ellipsis is disabled.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set the text elipses value (not including the state value).
valueThe state value.
balanceThe position where to cut the string
Returns
EINA_TRUE if successful, EINA_FALSE - otherwise.

◆ edje_edit_state_text_fit_x_get()

EAPI Eina_Bool edje_edit_state_text_fit_x_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get if the text part fit it's container horizontally.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get the if the text part fit it's container horizontally (not including the state value).
valueThe state value.
Returns
EINA_TRUE If the part fit it's container horizontally, EINA_FALSE otherwise.

◆ edje_edit_state_text_fit_x_set()

EAPI Eina_Bool edje_edit_state_text_fit_x_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
Eina_Bool  fit 
)

Set if the text part should fit it's container horizontally.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set the if the text part fit it's container horizontally (not including the state value).
valueThe state value.
fitEINA_TRUE to make the text fit it's container horizontally, EINA_FALSE otherwise.
Returns
EINA_TRUE if successful, EINA_FALSE - otherwise.

◆ edje_edit_state_text_fit_y_get()

EAPI Eina_Bool edje_edit_state_text_fit_y_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get if the text part fit it's container vertically.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get the if the text part fit it's container vertically (not including the state value).
valueThe state value.
Returns
EINA_TRUE If the part fit it's container vertically, EINA_FALSE otherwise.

◆ edje_edit_state_text_fit_y_set()

EAPI Eina_Bool edje_edit_state_text_fit_y_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
Eina_Bool  fit 
)

Set if the text part should fit it's container vertically.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set the if the text part fit it's container vertically (not including the state value).
valueThe state value.
fitEINA_TRUE to make the text fit it's container vertically, EINA_FALSE otherwise.
Returns
EINA_TRUE if successful, EINA_FALSE - otherwise.

◆ edje_edit_state_text_min_x_get()

EAPI Eina_Bool edje_edit_state_text_min_x_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get if the text part forces the minimum horizontal size of the container to be equal to the minimum horizontal size of the text part.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get the the minimum horizontal size of the container to be equal (not including the state value).
valueThe state value.
Returns
EINA_TRUE If the part forces container's minimum horizontal size, EINA_FALSE otherwise.

◆ edje_edit_state_text_max_x_get()

EAPI Eina_Bool edje_edit_state_text_max_x_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get if the text part forces the maximum horizontal size of the container to be equal to the maximum horizontal size of the text part.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get the the minimum horizontal size of the container to be equal (not including the state value).
valueThe state value.
Returns
EINA_TRUE If the part forces container's maximum horizontal size, EINA_FALSE otherwise.

◆ edje_edit_state_text_min_y_get()

EAPI Eina_Bool edje_edit_state_text_min_y_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get if the text part forces the minimum vertical size of the container to be equal to the minimum vertical size of the text part.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get the the minimum vertical size of the container to be equal (not including the state value).
valueThe state value.
Returns
EINA_TRUE If the part forces container's minimum vertical size, EINA_FALSE otherwise.

◆ edje_edit_state_text_max_y_get()

EAPI Eina_Bool edje_edit_state_text_max_y_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get if the text part forces the maximum vertical size of the container to be equal to the maximum vertical size of the text part.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get the the maximum vertical size of the container to be equal (not including the state value).
valueThe state value.
Returns
EINA_TRUE If the part forces container's maximum vertical size, EINA_FALSE otherwise.

◆ edje_edit_state_text_min_x_set()

EAPI Eina_Bool edje_edit_state_text_min_x_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
Eina_Bool  v 
)

Set if the text part forces the minimum horizontal size of the container to be equal to the minimum horizontal size of the text part.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set the the minimum horizontal size of the container to be equal (not including the state value).
valueThe state value.
vEINA_TRUE to make the text force it's forces container's minimum horizontal size, EINA_FALSE otherwise.
Returns
EINA_TRUE if successful, EINA_FALSE - otherwise.

◆ edje_edit_state_text_max_x_set()

EAPI Eina_Bool edje_edit_state_text_max_x_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
Eina_Bool  v 
)

Set if the text part forces the maximum horizontal size of the container to be equal to the maximum horizontal size of the text part.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set the the maximum horizontal size of the container to be equal (not including the state value).
valueThe state value.
vEINA_TRUE to make the text force it's forces container's maximum horizontal size, EINA_FALSE otherwise.
Returns
EINA_TRUE if successful, EINA_FALSE - otherwise.

◆ edje_edit_state_text_min_y_set()

EAPI Eina_Bool edje_edit_state_text_min_y_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
Eina_Bool  v 
)

Set if the text part forces the minimum vertical size of the container to be equal to the minimum vertical size of the text part.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set the the minimum vertical size of the container to be equal (not including the state value).
valueThe state value.
vEINA_TRUE to make the text force it's forces container's minimum vertical size, EINA_FALSE otherwise.
Returns
EINA_TRUE if successful, EINA_FALSE - otherwise.

◆ edje_edit_state_text_max_y_set()

EAPI Eina_Bool edje_edit_state_text_max_y_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
Eina_Bool  v 
)

Set if the text part forces the maximum vertical size of the container to be equal to the maximum vertical size of the text part.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set the the maximum vertical size of the container to be equal (not including the state value).
valueThe state value.
vEINA_TRUE to make the text force it's forces container's maximum vertical size, EINA_FALSE otherwise.
Returns
EINA_TRUE if successful, EINA_FALSE - otherwise.

◆ edje_edit_fonts_list_get()

EAPI Eina_List* edje_edit_fonts_list_get ( Evas_Object obj)

Get the list of all the fonts in the given edje.

Use edje_edit_string_list_free() when you don't need the list anymore.

Parameters
objObject being edited.
Returns
A list containing all the fonts names found in the edje file.

References EAPI, eina_hash_iterator_data_new(), EINA_ITERATOR_FOREACH, eina_iterator_free(), eina_list_append(), and eina_stringshare_add().

◆ edje_edit_font_add()

EAPI Eina_Bool edje_edit_font_add ( Evas_Object obj,
const char *  path,
const char *  alias 
)

Add a new font to the edje file.

The newly created font will be available to all the groups in the edje, not only the current one.

Parameters
objObject being edited.
pathThe file path to load the font from.
aliasThe alias for file, or NULL to use filename
Returns
EINA_TRUE if font cat be loaded, EINA_FALSE otherwise.

◆ edje_edit_font_del()

EAPI Eina_Bool edje_edit_font_del ( Evas_Object obj,
const char *  alias 
)

Delete font from the edje file.

The font will be removed from all the groups in the edje, not only the current one.

Parameters
objObject being edited.
aliasThe font alias
Returns
EINA_TRUE if successful, EINA_FALSE otherwise (including the case when the alias is not valid).

References EINA_FALSE.

◆ edje_edit_font_path_get()

EAPI const char* edje_edit_font_path_get ( Evas_Object obj,
const char *  alias 
)

Get font path for a given font alias.

Remember to free the string with edje_edit_string_free()

Parameters
objObject being edited.
aliasThe font alias.
Returns
The path of the given font alias.

References EAPI, eina_hash_iterator_data_new(), EINA_ITERATOR_FOREACH, eina_iterator_free(), and eina_stringshare_add().

◆ edje_edit_images_list_get()

EAPI Eina_List* edje_edit_images_list_get ( Evas_Object obj)

Get the list of all the images in the given edje.

Use edje_edit_string_list_free() when you don't need the list anymore.

Parameters
objObject being edited.
Returns
A List containing all images names found in the edje file.

References EAPI, eina_list_append(), and eina_stringshare_add().

◆ edje_edit_image_add()

EAPI Eina_Bool edje_edit_image_add ( Evas_Object obj,
const char *  path 
)

Add an new image to the image collection.

This function add the given image inside the edje. Don't add a new image part but only put the image inside the edje file. It actually write directly to the file so you don't have to save. After you have to create a new image_part that use this image. Note that all the parts in the edje share the same image collection, thus you can/must use the same image for different part.

The format of the image files that can be loaded depend on the evas engine on your system

Parameters
objObject being edited.
pathThe name of the image file to include in the edje.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_stringshare_add(), eina_stringshare_del(), and EINA_TRUE.

◆ edje_edit_image_del()

EAPI Eina_Bool edje_edit_image_del ( Evas_Object obj,
const char *  name 
)

Delete an image from the image collection.

It actually write directly to the file so you don't have to save.

Parameters
objObject being edited.
nameThe name of the image file to include in the edje.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise (including the case when the name is not valid).

References EINA_FALSE.

◆ edje_edit_image_data_add()

EAPI Eina_Bool edje_edit_image_data_add ( Evas_Object obj,
const char *  name,
int  id 
)

Add an image entry to the image collection.

This function adds the given image entry to the edje image collection. The image needs to be inside the eet already, with key name "images/id". After you have to create a new image_part that use this image, referring to it as "name". Note that all the parts in the edje share the same image collection, thus you can/must use the same image for different part.

Parameters
objObject being edited.
nameThe image entry name.
idThe image id.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_state_image_get()

EAPI const char* edje_edit_state_image_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get normal image name for a given part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get the name that is being used (not including the state value).
valueThe state value.
Returns
The name of the image used by state.

◆ edje_edit_state_image_set()

EAPI Eina_Bool edje_edit_state_image_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  image 
)

Set normal image for a given part state.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set the image that will be used (not including the state value).
valueThe state value.
imageThe name of the image (must be an image contained in the edje file).
Returns
EINA_TRUE if successful, EINA_FALSE - otherwise.

References eina_error_set(), and EINA_FALSE.

◆ edje_edit_image_id_get()

EAPI int edje_edit_image_id_get ( Evas_Object obj,
const char *  image_name 
)

Get image id for a given image name.

Parameters
objObject being edited.
image_nameThe image name.
Returns
The id of the given image name.

References EAPI.

◆ edje_edit_image_compression_type_get()

EAPI Edje_Edit_Image_Comp edje_edit_image_compression_type_get ( Evas_Object obj,
const char *  image 
)

Get compression type for the given image.

Parameters
objObject being edited.
imageThe name of the image.
Returns
One of Image Compression types. (EDJE_EDIT_IMAGE_COMP_RAW, EDJE_EDIT_IMAGE_COMP_USER, EDJE_EDIT_IMAGE_COMP_COMP, EDJE_EDIT_IMAGE_COMP_LOSSY).

◆ edje_edit_image_compression_rate_get()

EAPI int edje_edit_image_compression_rate_get ( Evas_Object obj,
const char *  image 
)

Get compression rate for the given image.

Parameters
objObject being edited.
imageThe name of the image.
Returns
The compression rate (if the imnage is EDJE_EDIT_IMAGE_COMP_LOSSY) or < 0, on errors.

References EAPI.

◆ edje_edit_state_image_border_get()

EAPI void edje_edit_state_image_border_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
int *  l,
int *  r,
int *  t,
int *  b 
)

Get the image border of a part state.

Pass NULL to any of [r,g,b,a] to get only the others.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get the image border (not including the state value).
valueThe state value.
lA pointer to store the left value
rA pointer to store the right value
tA pointer to store the top value
bA pointer to store the bottom value

◆ edje_edit_state_image_border_set()

EAPI Eina_Bool edje_edit_state_image_border_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
int  l,
int  r,
int  t,
int  b 
)

Set the image border of a part state.

Pass -1 to any of [l,r,t,b] to leave the value untouched.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set the image border (not including the state value).
valueThe state value.
lLeft border value (or -1).
rRight border value (or -1).
tTop border value (or -1).
bBottom border value (or -1).
Returns
EINA_TRUE if successful, EINA_FALSE - otherwise.

References eina_error_set(), and EINA_FALSE.

◆ edje_edit_state_image_border_fill_get()

EAPI unsigned char edje_edit_state_image_border_fill_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get if the image center should be draw.

1 or 2 means to draw the center, 0 to don't draw it. If 1 - then the center will apply alpha channel. If 2 (SOLID mode) - then the center of an image wont have alpha channel (Just black color).

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get the image border fill (not including the state value).
valueThe state value.
Returns
2 if the center of the bordered image is draw without alpha, 1 dawing with alpha and 0 not drawing the center.

◆ edje_edit_state_image_border_fill_set()

EAPI Eina_Bool edje_edit_state_image_border_fill_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
unsigned char  fill 
)

Set if the image center should be draw.

1 or 2 means to draw the center, 0 to don't draw it. If 1 - then the center will apply alpha channel. If 2 (SOLID mode) - then the center of an image wont have alpha channel (Just black color).

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to set the image border fill (not including the state value).
valueThe state value.
fillFill to be set. 1 or 2 if the center of the bordered image is draw, 0 otherwise.
Returns
EINA_TRUE if successful, EINA_FALSE - otherwise.

References eina_error_set(), and EINA_FALSE.

◆ edje_edit_state_tweens_list_get()

EAPI Eina_List* edje_edit_state_tweens_list_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the list of all the tweens images in the given part state.

Use edje_edit_string_list_free() when you don't need it anymore.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to get the list of all the tweens images (not including the state value).
valueThe state value.
Returns
A string list containing all the image name that form a tween animation in the given part state.

◆ edje_edit_state_tween_add()

EAPI Eina_Bool edje_edit_state_tween_add ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  tween 
)

Add a new tween frame to the given part state.

The tween param must be the name of an existing image.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to add a new tween frame (not including the state value).
valueThe state value.
tweenThe name of the image to add.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EINA_FALSE.

◆ edje_edit_state_tween_del()

EAPI Eina_Bool edje_edit_state_tween_del ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  tween 
)

Remove the first tween with the given name.

The image is not removed from the edje.

Parameters
objObject being edited.
partPart that contain state.
stateThe name of the state to del the tween (not including the state value).
valueThe state value.
tweenThe name of the image to del.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EINA_FALSE.

◆ edje_edit_spectrum_list_get()

EAPI Eina_List* edje_edit_spectrum_list_get ( Evas_Object obj)

Get the list of all the spectrum in the given edje object.

Use edje_edit_string_list_free() when you don't need it anymore.

Parameters
objObject being edited.
Returns
A list containing all the spectra names.

◆ edje_edit_spectra_add()

EAPI Eina_Bool edje_edit_spectra_add ( Evas_Object obj,
const char *  name 
)

Add a new spectra in the given edje object.

Parameters
objObject being edited.
nameThe name of the spectra to include in the edje.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_spectra_del()

EAPI Eina_Bool edje_edit_spectra_del ( Evas_Object obj,
const char *  spectra 
)

Delete the given spectra from the edje object.

Parameters
objObject being edited.
spectraThe name of the spectra to delete.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_spectra_name_set()

EAPI Eina_Bool edje_edit_spectra_name_set ( Evas_Object obj,
const char *  spectra,
const char *  name 
)

Change the name of the given spectra.

Parameters
objObject being edited.
spectraThe name of the current spectra.
nameThe new name to assign.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_spectra_stop_num_get()

EAPI int edje_edit_spectra_stop_num_get ( Evas_Object obj,
const char *  spectra 
)

Get the number of stops in the given spectra.

Parameters
objObject being edited.
spectraThe name of the spectra.
Returns
The number of stops (or 0 on errors).

◆ edje_edit_spectra_stop_num_set()

EAPI Eina_Bool edje_edit_spectra_stop_num_set ( Evas_Object obj,
const char *  spectra,
int  num 
)

Set the number of stops in the given spectra.

Parameters
objObject being edited.
spectraThe name of the spectra.
numThe number of stops you want
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_spectra_stop_color_get()

EAPI Eina_Bool edje_edit_spectra_stop_color_get ( Evas_Object obj,
const char *  spectra,
int  stop_number,
int *  r,
int *  g,
int *  b,
int *  a,
int *  d 
)

Get the colors of the given stop.

Parameters
objObject being edited.
spectraThe name of the spectra.
stop_numberThe number of the stop,
rWhere to store the red color value,
gWhere to store the green color value,
bWhere to store the blue color value,
aWhere to store the alpha color value,
dWhere to store the delta stop value,
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_spectra_stop_color_set()

EAPI Eina_Bool edje_edit_spectra_stop_color_set ( Evas_Object obj,
const char *  spectra,
int  stop_number,
int  r,
int  g,
int  b,
int  a,
int  d 
)

Set the colors of the given stop.

Parameters
objObject being edited.
spectraThe name of the spectra.
stop_numberThe number of the stops,
rThe red color value to set,
gThe green color value to set,
bThe blue color value to set,
aThe alpha color value to set,
dThe delta stop value to set,

◆ edje_edit_state_gradient_type_get()

EAPI const char* edje_edit_state_gradient_type_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the type of gradient.

Remember to free the string with edje_edit_string_free().

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to get the gradient type (not including the state value).
valueThe state value.
Returns
The type of gradient used in state. (linear, linear.diag, linear.codiag, radial, rectangular, angular, sinosoidal)

◆ edje_edit_state_gradient_type_set()

EAPI Eina_Bool edje_edit_state_gradient_type_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  type 
)

Set the type of gradient.

Gradient type can be on of the following: linear, linear.diag, linear.codiag, radial, rectangular, angular, sinusoidal

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to set the gradient type (not including the state value).
valueThe state value.
typeThe type of gradient to use.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_state_gradient_use_fill_get()

EAPI Eina_Bool edje_edit_state_gradient_use_fill_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get if the current gradient use the fill properties or the gradient_rel as params.

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to set the gradient type (not including the state value).
valueThe state value.
Returns
EINA_TRUE if gradient use the fill properties, EINA_FALSE otherwise.

◆ edje_edit_state_gradient_spectra_get()

EAPI const char* edje_edit_state_gradient_spectra_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the spectra used by part state.

Remember to free the string with edje_edit_string_free().

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to get the spectra name used (not including the state value).
valueThe state value.
Returns
The spectra name used in state.

◆ edje_edit_state_gradient_spectra_set()

EAPI Eina_Bool edje_edit_state_gradient_spectra_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
const char *  spectra 
)

Set the spectra used by part state.

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to set the spectra (not including the state value).
valueThe state value.
spectraThe spectra name to assign
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_state_gradient_angle_get()

EAPI int edje_edit_state_gradient_angle_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the angle of the gradient.

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to get the angle (not including the state value).
valueThe state value.
Returns
The angle of the gradient.

◆ edje_edit_state_gradient_angle_set()

EAPI void edje_edit_state_gradient_angle_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
int  angle 
)

Set the angle of the gradient.

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to set the angle (not including the state value).
valueThe state value.
angleThe angle to set.

◆ edje_edit_state_gradient_rel1_relative_x_get()

EAPI double edje_edit_state_gradient_rel1_relative_x_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the gradient rel1 horizontal relative value.

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to get rel1 relative x value (not including the state value).
valueThe state value.
Returns
The gradient rel1 horizontal relative value.

◆ edje_edit_state_gradient_rel1_relative_y_get()

EAPI double edje_edit_state_gradient_rel1_relative_y_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the gradient rel1 vertical relative value.

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to get rel1 relative y value (not including the state value).
valueThe state value.
Returns
The gradient rel1 vertical relative value.

◆ edje_edit_state_gradient_rel2_relative_x_get()

EAPI double edje_edit_state_gradient_rel2_relative_x_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the gradient rel2 horizontal relative value.

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to get rel2 relative x value (not including the state value).
valueThe state value.
Returns
The gradient rel2 horizontal relative value.

◆ edje_edit_state_gradient_rel2_relative_y_get()

EAPI double edje_edit_state_gradient_rel2_relative_y_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the gradient rel2 vertical relative value.

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to get rel2 relative y value (not including the state value).
valueThe state value.
Returns
The gradient rel2 vertical relative value.

◆ edje_edit_state_gradient_rel1_relative_x_set()

EAPI Eina_Bool edje_edit_state_gradient_rel1_relative_x_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  val 
)

Set the gradient rel1 horizontal relative value.

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to set rel1 relative x value (not including the state value).
valueThe state value.
valThe rel1 relative x to be set,
Returns
EINA_TRUE if successful, EINA_FALSE otherwise..

◆ edje_edit_state_gradient_rel1_relative_y_set()

EAPI Eina_Bool edje_edit_state_gradient_rel1_relative_y_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  val 
)

Set the gradient rel1 vertical relative value.

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to set rel1 relative y value (not including the state value).
valueThe state value.
valThe rel1 relative y to be set,
Returns
EINA_TRUE if successful, EINA_FALSE otherwise..

◆ edje_edit_state_gradient_rel2_relative_x_set()

EAPI Eina_Bool edje_edit_state_gradient_rel2_relative_x_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  val 
)

Set the gradient rel2 horizontal relative value.

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to set rel2 relative x value (not including the state value).
valueThe state value.
valThe rel2 relative x to be set,
Returns
EINA_TRUE if successful, EINA_FALSE otherwise..

◆ edje_edit_state_gradient_rel2_relative_y_set()

EAPI Eina_Bool edje_edit_state_gradient_rel2_relative_y_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
double  val 
)

Set the gradient rel2 vertical relative value.

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to set rel2 relative y value (not including the state value).
valueThe state value.
valThe rel2 relative y to be set,
Returns
EINA_TRUE if successful, EINA_FALSE otherwise..

◆ edje_edit_state_gradient_rel1_offset_x_get()

EAPI int edje_edit_state_gradient_rel1_offset_x_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the gradient rel1 horizontal offset value.

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to get rel1 offset x value (not including the state value).
valueThe state value.
Returns
The gradient rel1 horizontal offset value.

◆ edje_edit_state_gradient_rel1_offset_y_get()

EAPI int edje_edit_state_gradient_rel1_offset_y_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the gradient rel1 vertical offset value.

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to get rel1 offset y value (not including the state value).
valueThe state value.
Returns
The gradient rel1 vertical offset value.

◆ edje_edit_state_gradient_rel2_offset_x_get()

EAPI int edje_edit_state_gradient_rel2_offset_x_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the gradient rel2 horizontal offset value.

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to get rel2 offset x value (not including the state value).
valueThe state value.
Returns
The gradient rel2 horizontal offset value.

◆ edje_edit_state_gradient_rel2_offset_y_get()

EAPI int edje_edit_state_gradient_rel2_offset_y_get ( Evas_Object obj,
const char *  part,
const char *  state,
double  value 
)

Get the gradient rel2 vertical offset value.

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to get rel2 offset y value (not including the state value).
valueThe state value.
Returns
The gradient rel2 vertical offset value.

◆ edje_edit_state_gradient_rel1_offset_x_set()

EAPI Eina_Bool edje_edit_state_gradient_rel1_offset_x_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
int  val 
)

Set the gradient rel1 horizontal offset value.

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to set rel1 offset x value (not including the state value).
valueThe state value.
valThe rel1 offset x value.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_state_gradient_rel1_offset_y_set()

EAPI Eina_Bool edje_edit_state_gradient_rel1_offset_y_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
int  val 
)

Set the gradient rel1 vertical offset value.

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to set rel1 offset y value (not including the state value).
valueThe state value.
valThe rel1 offset y value.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_state_gradient_rel2_offset_x_set()

EAPI Eina_Bool edje_edit_state_gradient_rel2_offset_x_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
int  val 
)

Set the gradient rel2 horizontal offset value.

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to set rel2 offset x value (not including the state value).
valueThe state value.
valThe rel2 offset x value.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_state_gradient_rel2_offset_y_set()

EAPI Eina_Bool edje_edit_state_gradient_rel2_offset_y_set ( Evas_Object obj,
const char *  part,
const char *  state,
double  value,
int  val 
)

Set the gradient rel2 vertical offset value.

Parameters
objObject being edited.
partThe part that contain state.
stateThe name of the state to set rel2 offset y value (not including the state value).
valueThe state value.
valThe rel2 offset y value.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

◆ edje_edit_programs_list_get()

EAPI Eina_List* edje_edit_programs_list_get ( Evas_Object obj)

Get the list of all the programs in the given edje object.

Use edje_edit_string_list_free() when you don't need it anymore.

Parameters
objObject being edited.
Returns
A list containing all the program names.

References EAPI, eina_list_append(), and eina_stringshare_add().

◆ edje_edit_program_add()

EAPI Eina_Bool edje_edit_program_add ( Evas_Object obj,
const char *  name 
)

Add a new program to the edje file.

If a program with the same name just exist the function will fail.

Parameters
objObject being edited.
nameThe name of the new program.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_program_del()

EAPI Eina_Bool edje_edit_program_del ( Evas_Object obj,
const char *  prog 
)

Remove the given program from the edje file.

Parameters
objObject being edited.
progThe name of the program to remove.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EINA_FALSE, eina_hash_add(), eina_hash_find(), EINA_LIST_FOREACH_SAFE, EINA_LIST_FREE, eina_list_remove_list(), and EINA_TRUE.

◆ edje_edit_program_exist()

EAPI Eina_Bool edje_edit_program_exist ( Evas_Object obj,
const char *  prog 
)

Check if a program with the given name exist in the edje object.

Parameters
objObject being edited.
progThe prog of the program that will be searched.
Returns
EINA_TRUE if the program exist, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, and EINA_TRUE.

◆ edje_edit_program_run()

EAPI Eina_Bool edje_edit_program_run ( Evas_Object obj,
const char *  prog 
)

Run the given program.

Parameters
objObject being edited.
progThe name of the program to execute.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, and EINA_TRUE.

◆ edje_edit_program_name_set()

EAPI Eina_Bool edje_edit_program_name_set ( Evas_Object obj,
const char *  prog,
const char *  new_name 
)

Set a new name for the given program.

Parameters
objObject being edited.
progThe current program name.
new_nameThe new name to assign.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_program_source_get()

EAPI const char* edje_edit_program_source_get ( Evas_Object obj,
const char *  prog 
)

Get source of a given program.

Remember to free the returned string using edje_edit_string_free().

Parameters
objObject being edited.
progThe name of the program to get source.
Returns
The source value por program.

References EAPI, and eina_stringshare_add().

Referenced by edje_edit_script_error_list_get().

◆ edje_edit_program_source_set()

EAPI Eina_Bool edje_edit_program_source_set ( Evas_Object obj,
const char *  prog,
const char *  source 
)

Set source of the given program.

Parameters
objObject being edited.
progThe name of the program to set source.
sourceThe new source value.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_program_signal_get()

EAPI const char* edje_edit_program_signal_get ( Evas_Object obj,
const char *  prog 
)

Get signal of a given program.

Remember to free the returned string using edje_edit_string_free().

Parameters
objObject being edited.
progThe name of the program to get the signal.
Returns
The signal value for program.

References EAPI, and eina_stringshare_add().

Referenced by edje_edit_script_error_list_get().

◆ edje_edit_program_signal_set()

EAPI Eina_Bool edje_edit_program_signal_set ( Evas_Object obj,
const char *  prog,
const char *  signal 
)

Set signal of the given program.

Parameters
objObject being edited.
progThe name of the program to set the signal.
signalThe new signal value.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_program_in_from_get()

EAPI double edje_edit_program_in_from_get ( Evas_Object obj,
const char *  prog 
)

Get in.from of a given program.

Parameters
objObject being edited.
progThe name of the program to get the delay.
Returns
The delay.

References EAPI.

◆ edje_edit_program_in_from_set()

EAPI Eina_Bool edje_edit_program_in_from_set ( Evas_Object obj,
const char *  prog,
double  seconds 
)

Set in.from of a given program.

Parameters
objObject being edited.
progThe name of the program to set the delay.
secondsNumber of seconds to delay the program execution

References EAPI, EINA_FALSE, and EINA_TRUE.

◆ edje_edit_program_in_range_get()

EAPI double edje_edit_program_in_range_get ( Evas_Object obj,
const char *  prog 
)

Get in.range of a given program.

Parameters
objObject being edited.
progThe name of the program to get random delay.
Returns
The delay random.

References EAPI.

◆ edje_edit_program_in_range_set()

EAPI Eina_Bool edje_edit_program_in_range_set ( Evas_Object obj,
const char *  prog,
double  seconds 
)

Set in.range of a given program.

Parameters
objObject being edited.
progThe name of the program to set random delay.
secondsMax random number of seconds to delay.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, and EINA_TRUE.

◆ edje_edit_program_action_get()

EAPI Edje_Action_Type edje_edit_program_action_get ( Evas_Object obj,
const char *  prog 
)

Get the action of a given program.

Parameters
objObject being edited.
progThe name of the program to get the action.
Returns
The action type, or -1 on errors. Action can be one of EDJE_ACTION_TYPE_NONE, _STATE_SET, ACTION_STOP, SIGNAL_EMIT, DRAG_VAL_SET, _DRAG_VAL_STEP, _DRAG_VAL_PAGE, _SCRIPT

References EAPI.

Referenced by edje_edit_script_error_list_get().

◆ edje_edit_program_action_set()

EAPI Eina_Bool edje_edit_program_action_set ( Evas_Object obj,
const char *  prog,
Edje_Action_Type  action 
)

Set the action of a given program.

Action can be one of EDJE_ACTION_TYPE_NONE, _STATE_SET, ACTION_STOP, SIGNAL_EMIT, DRAG_VAL_SET, _DRAG_VAL_STEP, _DRAG_VAL_PAGE, _SCRIPT

Parameters
objObject being edited.
progThe name of the program to set the action.
actionThe new action type.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EINA_FALSE.

◆ edje_edit_program_targets_get()

EAPI Eina_List* edje_edit_program_targets_get ( Evas_Object obj,
const char *  prog 
)

Get the list of the targets for the given program.

Use edje_edit_string_list_free() when you don't need it anymore.

Parameters
objObject being edited.
progThe name of the progrem to get the list of the targets.
Returns
A list with all the targets names, or NULL on error.

References EINA_LIST_FOREACH.

◆ edje_edit_program_target_add()

EAPI Eina_Bool edje_edit_program_target_add ( Evas_Object obj,
const char *  prog,
const char *  target 
)

Add a new target program to the list of 'targets' in the given program.

If program action is EDJE_ACTION_TYPE_ACTION_STOP, then 'target' must be an existing program name. If it's EDJE_ACTION_TYPE_STATE_SET, then 'target' must be an existing part name.

Parameters
objObject being edited.
progThe name of the program to add a new target.
targetThe name of the new target itself.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EINA_FALSE.

◆ edje_edit_program_target_del()

EAPI Eina_Bool edje_edit_program_target_del ( Evas_Object obj,
const char *  prog,
const char *  target 
)

Deletes a target from the list of 'targets' in the given program.

If program action is EDJE_ACTION_TYPE_ACTION_STOP then 'target' must be an existing program name. If action is EDJE_ACTION_TYPE_STATE_SET then 'target' must be an existing part name.

Parameters
objObject being edited.
progThe name of the program to del a target from the list of targets.
targetThe name of another program or another part.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EINA_FALSE.

◆ edje_edit_program_targets_clear()

EAPI Eina_Bool edje_edit_program_targets_clear ( Evas_Object obj,
const char *  prog 
)

Clear the 'targets' list of the given program.

Parameters
objObject being edited.
progThe name of the program to cleaar the 'targets' list.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_list_data_get(), eina_list_remove_list(), and EINA_TRUE.

◆ edje_edit_program_afters_get()

EAPI Eina_List* edje_edit_program_afters_get ( Evas_Object obj,
const char *  prog 
)

Get the list of action that will be run after the give program.

Use edje_edit_string_list_free() when you don't need it anymore.

Parameters
objObject being edited.
progThe name of the program to get the list of actions
Returns
A list with all program names. or NULL on error.

References EAPI, eina_list_append(), EINA_LIST_FOREACH, and eina_stringshare_add().

◆ edje_edit_program_after_add()

EAPI Eina_Bool edje_edit_program_after_add ( Evas_Object obj,
const char *  prog,
const char *  after 
)

Add a new program name to the list of 'afters' in the given program.

All the programs listed in 'afters' will be executed after program execution.

Parameters
objObject being edited.
progThe name of the program that contains the list of afters
afterThe name of another program to add to the afters list
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_list_append(), and EINA_TRUE.

◆ edje_edit_program_after_del()

EAPI Eina_Bool edje_edit_program_after_del ( Evas_Object obj,
const char *  prog,
const char *  after 
)

Delete the given program from the list of 'afters' of the program.

Parameters
objObject being edited.
progThe name of the program from where to remove the after.
afterThe name of the program to remove from the list of afters.
Returns
EINA_TRUE is successful or not in the list, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, EINA_LIST_FOREACH, eina_list_remove_list(), and EINA_TRUE.

◆ edje_edit_program_afters_clear()

EAPI Eina_Bool edje_edit_program_afters_clear ( Evas_Object obj,
const char *  prog 
)

Clear the 'afters' list of the given program.

Parameters
objObject being edited.
progThe name of the program to clear the 'afters' list.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_list_data_get(), eina_list_remove_list(), and EINA_TRUE.

◆ edje_edit_program_state_get()

EAPI const char* edje_edit_program_state_get ( Evas_Object obj,
const char *  prog 
)

Get the state for the given program.

In a STATE_SET action this is the name of state to set. In a SIGNAL_EMIT action is the name of the signal to emit.

Parameters
objObject being edited.
progThe name of the program to get the state.
Returns
The name of the state.

References EAPI, and eina_stringshare_add().

◆ edje_edit_program_api_name_get()

EAPI const char* edje_edit_program_api_name_get ( Evas_Object obj,
const char *  prog 
)

Get api's name of a program.

Parameters
objObject being edited.
progName of program.
Returns
name of the api if successful, NULL otherwise.

References EAPI, and eina_stringshare_add().

◆ edje_edit_program_api_description_get()

EAPI const char* edje_edit_program_api_description_get ( Evas_Object obj,
const char *  prog 
)

Get api's description of a program.

Parameters
objObject being edited.
progName of program.
Returns
description of the api if successful, NULL otherwise.

References EAPI, and eina_stringshare_add().

◆ edje_edit_program_api_name_set()

EAPI Eina_Bool edje_edit_program_api_name_set ( Evas_Object obj,
const char *  prog,
const char *  name 
)

Set api's name of a program.

Parameters
objObject being edited.
progName of the part.
nameNew name for the api property.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_program_api_description_set()

EAPI Eina_Bool edje_edit_program_api_description_set ( Evas_Object obj,
const char *  prog,
const char *  description 
)

Set api's description of a program.

Parameters
objObject being edited.
progName of the program.
descriptionNew description for the api property.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_program_state_set()

EAPI Eina_Bool edje_edit_program_state_set ( Evas_Object obj,
const char *  prog,
const char *  state 
)

Set the state for the given program.

In a STATE_SET action this is the name of state to set. In a SIGNAL_EMIT action is the name of the signal to emit.

Parameters
objObject being edited.
progThe name of the program to set a state.
stateThe nameo of the state to set (not including the state value)
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_program_value_get()

EAPI double edje_edit_program_value_get ( Evas_Object obj,
const char *  prog 
)

Get the value of state for the given program.

In a STATE_SET action this is the value of state to set. Not used on SIGNAL_EMIT action.

Parameters
objObject being edited.
progThe name of the program to get the value of state.
Returns
The value of state for the program.

References EAPI.

◆ edje_edit_program_value_set()

EAPI Eina_Bool edje_edit_program_value_set ( Evas_Object obj,
const char *  prog,
double  value 
)

Set the value of state for the given program.

In a STATE_SET action this is the value of state to set. Not used on SIGNAL_EMIT action.

Parameters
objObject being edited.
progThe name of the program to set the value of state.
valueThe vale to set.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, and EINA_TRUE.

◆ edje_edit_program_state2_get()

EAPI const char* edje_edit_program_state2_get ( Evas_Object obj,
const char *  prog 
)

Get the state2 for the given program.

In a STATE_SET action is not used In a SIGNAL_EMIT action is the source of the emitted signal.

Parameters
objObject being edited.
progThe name of the program to get the state2.
Returns
The source to emit for the program.

References EAPI, and eina_stringshare_add().

◆ edje_edit_program_state2_set()

EAPI Eina_Bool edje_edit_program_state2_set ( Evas_Object obj,
const char *  prog,
const char *  state2 
)

Set the state2 for the given program.

In a STATE_SET action is not used In a SIGNAL_EMIT action is the source of the emitted signal.

Parameters
objObject being edited.
progThe name of the program to set the state2.
state2The name of the state to set.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, eina_stringshare_add(), and EINA_TRUE.

◆ edje_edit_program_value2_get()

EAPI double edje_edit_program_value2_get ( Evas_Object obj,
const char *  prog 
)

Get the value of state2 for the given program.

Parameters
objObject being edited.
progThe name of the program to get the state2 value.
Returns
The vale of the state2 for the program.

References EAPI.

◆ edje_edit_program_value2_set()

EAPI Eina_Bool edje_edit_program_value2_set ( Evas_Object obj,
const char *  prog,
double  value 
)

Set the value2 of state for the given program.

This is used in DRAG_ACTION

Parameters
objObject being edited.
progThe name of the program to set the state2 value.
valueThe value of the state2 to set.

References EAPI, EINA_FALSE, and EINA_TRUE.

◆ edje_edit_program_transition_get()

EAPI Edje_Tween_Mode edje_edit_program_transition_get ( Evas_Object obj,
const char *  prog 
)

Get the type of transition to use when apply animations.

Can be one of: EDJE_TWEEN_MODE_NONE, EDJE_TWEEN_MODE_LINEAR, EDJE_TWEEN_MODE_SINUSOIDAL, EDJE_TWEEN_MODE_ACCELERATE or EDJE_TWEEN_MODE_DECELERATE.

Parameters
objObject being edited.
progThe name of the program to get the transition.
Returns
The type of transition used by program.

References EAPI.

◆ edje_edit_program_transition_set()

EAPI Eina_Bool edje_edit_program_transition_set ( Evas_Object obj,
const char *  prog,
Edje_Tween_Mode  transition 
)

Set the type of transition to use when apply animations.

Can be one of: EDJE_TWEEN_MODE_NONE, EDJE_TWEEN_MODE_LINEAR, EDJE_TWEEN_MODE_SINUSOIDAL, EDJE_TWEEN_MODE_ACCELERATE or EDJE_TWEEN_MODE_DECELERATE.

Parameters
objObject being edited.
progThe name of the program to set the transition.
transitionThe transition type to set
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, and EINA_TRUE.

◆ edje_edit_program_transition_value1_get()

EAPI double edje_edit_program_transition_value1_get ( Evas_Object obj,
const char *  prog 
)

Get the interpolation value 1 of the transition.

Can be used with one of transition type: EDJE_TWEEN_MODE_ACCELERATE_FACTOR, EDJE_TWEEN_MODE_DECELERATE_FACTOR, EDJE_TWEEN_MODE_SINUSOIDAL_FACTOR, EDJE_TWEEN_MODE_DIVISOR_INTERP, EDJE_TWEEN_MODE_BOUNCE or EDJE_TWEEN_MODE_SPRING.

Parameters
objObject being edited.
progThe name of the program to get the interpolation value 1.
Returns
interpolation value 1.

References EAPI, and eina_error_set().

◆ edje_edit_program_transition_value1_set()

EAPI Eina_Bool edje_edit_program_transition_value1_set ( Evas_Object obj,
const char *  prog,
double  value 
)

Set the interpolation value 1 of the transition.

Can be used with one of transition type: EDJE_TWEEN_MODE_ACCELERATE_FACTOR, EDJE_TWEEN_MODE_DECELERATE_FACTOR, EDJE_TWEEN_MODE_SINUSOIDAL_FACTOR, EDJE_TWEEN_MODE_DIVISOR_INTERP, EDJE_TWEEN_MODE_BOUNCE or EDJE_TWEEN_MODE_SPRING.

Parameters
objObject being edited.
progThe name of the program to get the interpolation value 1.
valueThe interpolation value 1 for the transition.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, eina_error_set(), EINA_FALSE, and EINA_TRUE.

◆ edje_edit_program_transition_value2_get()

EAPI double edje_edit_program_transition_value2_get ( Evas_Object obj,
const char *  prog 
)

Get the interpolation value 2 of the transition.

Can be used with one of transition type: EDJE_TWEEN_MODE_DIVISOR_INTERP, EDJE_TWEEN_MODE_BOUNCE or EDJE_TWEEN_MODE_SPRING.

Parameters
objObject being edited.
progThe name of the program to get the interpolation value 2.
Returns
interpolation value 2.

References EAPI, and eina_error_set().

◆ edje_edit_program_transition_value2_set()

EAPI Eina_Bool edje_edit_program_transition_value2_set ( Evas_Object obj,
const char *  prog,
double  value 
)

Set the interpolation value 2 of the transition.

Can be used with one of transition type: EDJE_TWEEN_MODE_DIVISOR_INTERP, EDJE_TWEEN_MODE_BOUNCE or EDJE_TWEEN_MODE_SPRING.

Parameters
objObject being edited.
progThe name of the program to get the interpolation value 2.
valueThe interpolation value 2 for the transition.
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, eina_error_set(), EINA_FALSE, and EINA_TRUE.

◆ edje_edit_program_transition_time_get()

EAPI double edje_edit_program_transition_time_get ( Evas_Object obj,
const char *  prog 
)

Get the duration of the transition in seconds.

Parameters
objObject being edited.
progThe name of the program to get the transition time.
Returns
The duration of the transition.

References EAPI.

◆ edje_edit_program_transition_time_set()

EAPI Eina_Bool edje_edit_program_transition_time_set ( Evas_Object obj,
const char *  prog,
double  seconds 
)

Set the duration of the transition in seconds.

Parameters
objObject being edited.
progThe name of the program to set the transition time.
secondsThe duration of the transition (in seconds).
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, and EINA_TRUE.

◆ edje_edit_script_get()

EAPI char* edje_edit_script_get ( Evas_Object obj)

Get the Embryo script for the group of the given object.

Get the shared script for the group under edition. Shared script means the script {} block for the group, not counting what's in each program. It returns a malloc'd duplicate of the code, so users are free to modify the contents directly and they should remember to free() it when done. NULL will be returned if there's no script or an error occurred.

Parameters
objObject being edited.
Returns
The shared script code for this group.

References EAPI.

◆ edje_edit_script_set()

EAPI Eina_Bool edje_edit_script_set ( Evas_Object obj,
const char *  code 
)

Set the code for the group script.

Set the Embryo source code for the shared script of the edited group. Note that changing the code itself will not update the running VM, you need to call edje_edit_script_compile for it to get updated.

Parameters
objThe object being edited
codeThe Embryo source
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EAPI, EINA_FALSE, and EINA_TRUE.

◆ edje_edit_script_program_get()

EAPI char* edje_edit_script_program_get ( Evas_Object obj,
const char *  prog 
)

Get the Embryo script for the given program.

Get the script code for the given program. Like the group script, this function returns a duplicate of the code that the user can modify at will and must free when done using it. NULL will be returned if the program doesn't exist, doesn't have any script or is not of type script.

Parameters
objObject being edited
progProgram name
Returns
The program script code

◆ edje_edit_script_program_set()

EAPI Eina_Bool edje_edit_script_program_set ( Evas_Object obj,
const char *  prog,
const char *  code 
)

Set the Embryo script for the given program.

Set the Embryo source code for the program prog. It must be an existing program of type EDJE_ACTION_TYPE_SCRIPT, or the function will fail and do nothing. Note that changing the code itself will not update the running VM, you need to call edje_edit_script_compile for it to get updated.

Parameters
objThe object being edited
progThe program name.
codeThe Embryo source
Returns
EINA_TRUE if successful, EINA_FALSE otherwise.

References EINA_FALSE.

◆ edje_edit_script_compile()

EAPI Eina_Bool edje_edit_script_compile ( Evas_Object obj)

Compile the Embryo script for the given object.

If required, this function will process all script code for the group and build the bytecode, updating the running Embryo VM Program if the build is succesful.

Parameters
objThe object being edited

References EAPI, EINA_FALSE, and EINA_TRUE.

◆ edje_edit_script_error_list_get()

EAPI const Eina_List* edje_edit_script_error_list_get ( Evas_Object obj)

Get the list of errors resulting from the last script build.

Get the list of errors that resulted from the last attempt to rebuild the Embryo script for the edited group. This will be a standard Eina_List with Edje_Edit_Script_Error pointers as its data. The user should not do anything else but read the contents of this list. These errors can be the output of the embryo compiler, or internal errors generated by Edje_Edit if the preprocessing of the scripts failed.

Parameters
objThe object being edited
Returns
A constant list of Edje_Edit_Script_Error, or NULL if there are none

References edje_edit_program_action_get(), edje_edit_program_signal_get(), edje_edit_program_source_get(), edje_edit_string_free(), EINA_FALSE, EINA_LIST_FOREACH, EINA_TRUE, and _Eina_List::prev.