Download

Support

edje.dox File Reference


Detailed Description

Edje Graphical Design Library.

These routines are used for Edje.


Functions

EAPI int edje_init (void)
 Initialize the edje library.
EAPI int edje_shutdown (void)
 Shutdown the edje library.
EAPI void edje_frametime_set (double t)
 Set edje trasitions' frame time.
EAPI double edje_frametime_get (void)
 Get edje trasitions' frame time.
EAPI void edje_freeze (void)
 Freeze Edje objects.
EAPI void edje_thaw (void)
 Thaw edje objects.
EAPI void edje_fontset_append_set (const char *fonts)
 Set the edje append fontset.
EAPI const char * edje_fontset_append_get (void)
 Get the edje append fontset.
EAPI void edje_scale_set (double scale)
 Set edje's global scaling factor.
EAPI double edje_scale_get (void)
 Get edje's global scaling factor.
EAPI void edje_object_scale_set (Evas_Object *obj, double scale)
 Set the edje object's scaling factor.
EAPI double edje_object_scale_get (const Evas_Object *obj)
 Get the edje object's scaling factor.
EAPI Eina_List * edje_file_collection_list (const char *file)
 Get a list of groups in an edje file.
EAPI void edje_file_collection_list_free (Eina_List *lst)
 Free file collection list.
EAPI int edje_file_group_exists (const char *file, const char *glob)
 Determine whether a group matching glob exists in an edje file.
EAPI char * edje_file_data_get (const char *file, const char *key)
 Get data from the file level data block of an edje file.
EAPI void edje_file_cache_set (int count)
 Set the file cache size.
EAPI int edje_file_cache_get (void)
 Return the file cache size.
EAPI void edje_file_cache_flush (void)
 Clean the file cache.
EAPI void edje_collection_cache_set (int count)
 Set the collection cache size.
EAPI int edje_collection_cache_get (void)
 Return the collection cache size.
EAPI void edje_collection_cache_flush (void)
 Clean the collection cache.
EAPI void edje_color_class_set (const char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3)
 Set Edje color class.
EAPI void edje_color_class_del (const char *color_class)
 Delete edje color class.
EAPI Eina_List * edje_color_class_list (void)
 Lists color classes.
EAPI void edje_text_class_set (const char *text_class, const char *font, Evas_Font_Size size)
 Set the Edje text class.
EAPI void edje_text_class_del (const char *text_class)
 Delete the text class.
EAPI Eina_List * edje_text_class_list (void)
 List text classes.
EAPI void edje_extern_object_min_size_set (Evas_Object *obj, Evas_Coord minw, Evas_Coord minh)
 Set the object minimum size.
EAPI void edje_extern_object_max_size_set (Evas_Object *obj, Evas_Coord maxw, Evas_Coord maxh)
 Set the object maximum size.
EAPI void edje_extern_object_aspect_set (Evas_Object *obj, Edje_Aspect_Control aspect, Evas_Coord aw, Evas_Coord ah)
 Set the object aspect size.
EAPI void edje_box_layout_register (const char *name, Evas_Object_Box_Layout func, void *(*layout_data_get)(void *), void(*layout_data_free)(void *), void(*free_data)(void *), void *data)
 Registers a custom layout to be used in edje boxes.
EAPI Evas_Object * edje_object_add (Evas *evas)
 Constructs the Edje object.
EAPI const char * edje_object_data_get (const Evas_Object *obj, const char *key)
 Get Edje object data.
EAPI int edje_object_file_set (Evas_Object *obj, const char *file, const char *group)
 Sets the EET file and group to load obj from.
EAPI void edje_object_file_get (const Evas_Object *obj, const char **file, const char **group)
 Get the file and group name that obj was loaded from.
EAPI int edje_object_load_error_get (const Evas_Object *obj)
 Gets the Edje load error.
EAPI void edje_object_signal_emit (Evas_Object *obj, const char *emission, const char *source)
 Send a signal to an edje object.
EAPI void edje_object_play_set (Evas_Object *obj, int play)
 Set the edje object to playing or paused states.
EAPI int edje_object_play_get (const Evas_Object *obj)
 Get the edje object's play/pause state.
EAPI void edje_object_animation_set (Evas_Object *obj, int on)
 Set the object's animation state.
EAPI int edje_object_animation_get (const Evas_Object *obj)
 Get the edje object's animation state.
EAPI int edje_object_freeze (Evas_Object *obj)
 Freeze object.
EAPI int edje_object_thaw (Evas_Object *obj)
 Thaw object.
EAPI void edje_object_color_class_set (Evas_Object *obj, const char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3)
 Sets the object color class.
EAPI void edje_object_color_class_del (Evas_Object *obj, const char *color_class)
 Delete the object color class.
EAPI void edje_object_text_class_set (Evas_Object *obj, const char *text_class, const char *font, Evas_Font_Size size)
 Sets Edje text class.
EAPI void edje_object_size_min_get (const Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh)
 Get the minimum size for an object.
EAPI void edje_object_size_max_get (const Evas_Object *obj, Evas_Coord *maxw, Evas_Coord *maxh)
 Get the maximum size for an object.
EAPI void edje_object_calc_force (Evas_Object *obj)
 Force a Size/Geometry calculation.
EAPI void edje_object_size_min_calc (Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh)
 Calculate minimum size.
EAPI void edje_object_size_min_restricted_calc (Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh, Evas_Coord restrictedw, Evas_Coord restrictedh)
 Calculate minimum size.
EAPI int edje_object_part_exists (const Evas_Object *obj, const char *part)
 Check if Edje part exists.
EAPI const Evas_Object * edje_object_part_object_get (const Evas_Object *obj, const char *part)
 Gets the evas object from a part.
EAPI void edje_object_part_geometry_get (const Evas_Object *obj, const char *part, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h)
 Get the geometry of an Edje part.
EAPI void edje_object_part_text_set (Evas_Object *obj, const char *part, const char *text)
 Sets the text for an object part.
EAPI const char * edje_object_part_text_get (const Evas_Object *obj, const char *part)
 Return the text of the object part.
EAPI void edje_object_part_text_unescaped_set (Evas_Object *obj, const char *part, const char *text_to_escape)
 Sets the raw (non escaped) text for an object part.
EAPI char * edje_object_part_text_unescaped_get (const Evas_Object *obj, const char *part)
 Returns the text of the object part, without escaping.
EAPI const char * edje_object_part_text_selection_get (const Evas_Object *obj, const char *part)
 Return the selection text of the object part.
EAPI void edje_object_part_text_select_none (const Evas_Object *obj, const char *part)
 Set the selection to be none.
EAPI void edje_object_part_text_select_all (const Evas_Object *obj, const char *part)
 Set the selection to be everything.
EAPI void edje_object_part_text_insert (Evas_Object *obj, const char *part, const char *text)
 Insert text for an object part.
EAPI const Eina_List * edje_object_part_text_anchor_list_get (const Evas_Object *obj, const char *part)
 Return a list of char anchor names.
EAPI const Eina_List * edje_object_part_text_anchor_geometry_get (const Evas_Object *obj, const char *part, const char *anchor)
 Return a list of Evas_Textblock_Rectangle anchor rectangles.
EAPI void edje_object_part_text_cursor_geometry_get (const Evas_Object *obj, const char *part, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h)
 Returns the cursor geometry of the part relative to the edje object.
EAPI void edje_object_part_text_select_allow_set (const Evas_Object *obj, const char *part, Eina_Bool allow)
 Enables selection if the entyr is an EXPLICIT selection mode type.
EAPI void edje_object_part_text_select_abort (const Evas_Object *obj, const char *part)
 Aborts any selection action on a part.
EAPI void edje_object_part_swallow (Evas_Object *obj, const char *part, Evas_Object *obj_swallow)
 Swallows an object into the edje.
EAPI Evas_Object * edje_object_part_swallow_get (const Evas_Object *obj, const char *part)
 Get the object currently swallowed by a part.
EAPI const char * edje_object_part_state_get (const Evas_Object *obj, const char *part, double *val_ret)
 Returns the state of the Edje part.
EAPI int edje_object_part_drag_dir_get (const Evas_Object *obj, const char *part)
 Determine dragable directions.
EAPI void edje_object_part_drag_value_set (Evas_Object *obj, const char *part, double dx, double dy)
 Set the dragable object location.
EAPI void edje_object_part_drag_value_get (const Evas_Object *obj, const char *part, double *dx, double *dy)
 Get the dragable object location.
EAPI void edje_object_part_drag_size_set (Evas_Object *obj, const char *part, double dw, double dh)
 Set the dragable object size.
EAPI void edje_object_part_drag_size_get (const Evas_Object *obj, const char *part, double *dw, double *dh)
 Get the dragable object size.
EAPI void edje_object_part_drag_step_set (Evas_Object *obj, const char *part, double dx, double dy)
 Sets the drag step increment.
EAPI void edje_object_part_drag_step_get (const Evas_Object *obj, const char *part, double *dx, double *dy)
 Gets the drag step increment values.
EAPI void edje_object_part_drag_page_set (Evas_Object *obj, const char *part, double dx, double dy)
 Sets the page step increments.
EAPI void edje_object_part_drag_page_get (const Evas_Object *obj, const char *part, double *dx, double *dy)
 Gets the page step increments.
EAPI void edje_object_part_drag_step (Evas_Object *obj, const char *part, double dx, double dy)
 Steps the dragable x,y steps.
EAPI void edje_object_part_drag_page (Evas_Object *obj, const char *part, double dx, double dy)
 Pages x,y steps.
EAPI Eina_Bool edje_object_part_box_append (Evas_Object *obj, const char *part, Evas_Object *child)
 Appends an object to the box.
EAPI Eina_Bool edje_object_part_box_prepend (Evas_Object *obj, const char *part, Evas_Object *child)
 an object to the box.
EAPI Eina_Bool edje_object_part_box_insert_before (Evas_Object *obj, const char *part, Evas_Object *child, const Evas_Object *reference)
 Adds an object to the box.
EAPI Eina_Bool edje_object_part_box_insert_at (Evas_Object *obj, const char *part, Evas_Object *child, unsigned int pos)
 Inserts an object to the box.
EAPI Evas_Object * edje_object_part_box_remove (Evas_Object *obj, const char *part, Evas_Object *child)
 Removes an object from the box.
EAPI Evas_Object * edje_object_part_box_remove_at (Evas_Object *obj, const char *part, unsigned int pos)
 Removes an object from the box.
EAPI Eina_Bool edje_object_part_box_remove_all (Evas_Object *obj, const char *part, Eina_Bool clear)
 Removes all elements from the box.
EAPI Eina_Bool edje_object_part_table_pack (Evas_Object *obj, const char *part, Evas_Object *child_obj, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan)
 Packs an object into the table.
EAPI Eina_Bool edje_object_part_table_unpack (Evas_Object *obj, const char *part, Evas_Object *child_obj)
 Removes an object from the table.
EAPI Eina_Bool edje_object_part_table_col_row_size_get (const Evas_Object *obj, const char *part, int *cols, int *rows)
 Gets the number of columns and rows the table has.
EAPI Eina_Bool edje_object_part_table_clear (Evas_Object *obj, const char *part, Eina_Bool clear)
 Removes all object from the table.
EAPI void edje_object_message_send (Evas_Object *obj, Edje_Message_Type type, int id, void *msg)
 Send message to object.
EAPI void edje_object_message_signal_process (Evas_Object *obj)
 Process an object's message queue.
EAPI void edje_message_signal_process (void)
 Process all queued up edje messages.
EAPI void edje_object_signal_callback_add (Evas_Object *obj, const char *emission, const char *source, void(*func)(void *data, Evas_Object *o, const char *emission, const char *source), void *data)
 Add a callback for a signal emitted by obj.
EAPI void * edje_object_signal_callback_del (Evas_Object *obj, const char *emission, const char *source, void(*func)(void *data, Evas_Object *o, const char *emission, const char *source))
 Remove a signal-triggered callback from an object.
EAPI void edje_object_text_change_cb_set (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj, const char *part), void *data)
 Set the object text callback.
EAPI void edje_object_part_unswallow (Evas_Object *obj __UNUSED__, Evas_Object *obj_swallow)
 Unswallow an object.
EAPI void edje_object_message_handler_set (Evas_Object *obj, void(*func)(void *data, Evas_Object *obj, Edje_Message_Type type, int id, void *msg), void *data)
 Set the message handler function for this an object.

Copyright © Enlightenment.org

Edje Documentation Generated: Sun Sep 27 01:47:37 2009