Functions |
Eina_Bool | edje_object_part_exists (const Evas_Object *obj, const char *part) |
| Checks whether an edje part exists in a given edje object's group definition.
|
const Evas_Object * | edje_object_part_object_get (const Evas_Object *obj, const char *part) |
| Get a handle to the Evas object implementing a given edje part, in an edje object.
|
Eina_Bool | edje_object_part_geometry_get (const Evas_Object *obj, const char *part, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h) |
| Gets the geometry of a given edje part, in a given edje object's group definition, relative to the object's area.
|
Eina_List * | edje_object_access_part_list_get (const Evas_Object *obj) |
| Gets a list of all accessibility part names.
|
Typedefs |
typedef enum _Edje_Part_Type | Edje_Part_Type |
| Edje Part Type.
|
This group discusses functions that deal with layout components.
There are several types of parts, these types can be divided into two main categories, the first being containers. Containers are parts that are in effect a group of elements. The second group is that of the elements, these part types may not contain others.
Enumeration Type Documentation
Edje Part Type.
- Enumerator:
EDJE_PART_TYPE_SPACER |
- Since (EFL) :
- 1.7
|
Function Documentation
Gets a list of all accessibility part names.
- Since (EFL) :
- 1.7.0
- Since :
- 2.3
- Parameters:
-
[in] | obj | A valid Evas_Object handle |
- Returns:
- A list of all accessibility part names on obj
Checks whether an edje part exists in a given edje object's group definition.
This function returns if a given part exists in the edje group bound to object obj (with edje_object_file_set()).
- Since :
- 2.3
- Parameters:
-
[in] | obj | A handle to an edje object |
[in] | part | The part's name to check for existence in obj's group |
- Returns:
- EINA_TRUE, if the edje part exists in obj's group, otherwise EINA_FALSE (and on errors)
Gets the geometry of a given edje part, in a given edje object's group definition, relative to the object's area.
This function gets the geometry of an edje part within its group. The x and y coordinates are relative to the top left corner of the whole obj object's area.
- Since :
- 2.3
- Parameters:
-
[in] | obj | A handle to an edje object |
[in] | part | The edje part's name |
[out] | x | A pointer to a variable to store the part's x coordinate |
[out] | y | A pointer to a variable to store the part's y coordinate |
[out] | w | A pointer to a variable to store the part's width |
[out] | h | A pointer to a variable to store the part's height |
- Returns:
- EINA_TRUE if success, otherwise EINA_FALSE
Get a handle to the Evas object implementing a given edje part, in an edje object.
This function gets a pointer of the Evas object corresponding to a given part in the obj object's group.
- Since :
- 2.3
- Parameters:
-
[in] | obj | A handle to an edje object |
[in] | part | The edje part's name |
- Returns:
- A pointer to the Evas object implementing the given part, otherwise
NULL
on failure (e.g. the given part doesn't exist)