Tizen Native API

Functions

Eina_Listedje_object_access_part_list_get (const Edje_Object *obj)
 Retrieve a list all accessibility part names.
Eina_Bool edje_object_part_geometry_get (const Edje_Object *obj, const char *part, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h)
 Retrieve the geometry of a given Edje part, in a given Edje object's group definition, relative to the object's area
const Evas_Objectedje_object_part_object_get (const Edje_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_exists (const Edje_Object *obj, const char *part)
 Check if an Edje part exists in a given Edje object's group definition.

Typedefs

typedef enum _Edje_Part_Type Edje_Part_Type

Functions that deal with layout components.

Parts are layout components, but as a layout, they are objects too.

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.

This section has some functions specific for some types and others that could be applied to any type.


Typedef Documentation

All possible "part" types in Edje


Enumeration Type Documentation

Enumerator:
EDJE_PART_TYPE_NONE 

None type value

EDJE_PART_TYPE_RECTANGLE 

Rectangle type value

EDJE_PART_TYPE_TEXT 

Text type value

EDJE_PART_TYPE_IMAGE 

Image type value

EDJE_PART_TYPE_SWALLOW 

Swallow type value

EDJE_PART_TYPE_TEXTBLOCK 

Text block type value

EDJE_PART_TYPE_GRADIENT 

Gradient type value

EDJE_PART_TYPE_GROUP 

Group type value

EDJE_PART_TYPE_BOX 

Box type value

EDJE_PART_TYPE_TABLE 

Table type value

EDJE_PART_TYPE_EXTERNAL 

External type value

EDJE_PART_TYPE_PROXY 

Proxy type value

EDJE_PART_TYPE_SPACER 

Spacer type value

Since (EFL) :
1.7
EDJE_PART_TYPE_LAST 

Last type value


Function Documentation

Eina_List* edje_object_access_part_list_get ( const Edje_Object *  obj)

Retrieve a list all accessibility part names.

Since :
2.3
Returns:
A list all accessibility part names on obj
Since (EFL) :
1.7.0
Parameters:
[in]objThe edje object
Eina_Bool edje_object_part_exists ( const Edje_Object *  obj,
const char *  part 
)

Check if an Edje part exists in a given Edje object's group definition.

Since :
2.3
Returns:
EINA_TRUE, if the Edje part exists in obj's group or EINA_FALSE, otherwise (and on errors)
Remarks:
This function returns if a given part exists in the Edje group bound to object obj (with edje_object_file_set()).
This call is useful, for example, when one could expect or not a given GUI element, depending on the theme applied to obj.
Parameters:
[in]objThe edje object
[in]partThe part's name to check for existence in obj's group
Eina_Bool edje_object_part_geometry_get ( const Edje_Object *  obj,
const char *  part,
Evas_Coord x,
Evas_Coord y,
Evas_Coord w,
Evas_Coord h 
)

Retrieve the geometry of a given Edje part, in a given Edje object's group definition, relative to the object's area

Since :
2.3
Remarks:
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.
Use NULL pointers on the geometry components you're not interested in: they'll be ignored by the function.
On failure, this function will make all non-NULL geometry pointers' pointed variables be set to zero.
Parameters:
[in]objThe edje object
[in]partThe Edje part's name
[out]xA pointer to a variable where to store the part's x coordinate
[out]yA pointer to a variable where to store the part's y coordinate
[out]wA pointer to a variable where to store the part's width
[out]hA pointer to a variable where to store the part's height
const Evas_Object* edje_object_part_object_get ( const Edje_Object *  obj,
const char *  part 
)

Get a handle to the Evas object implementing a given Edje part, in an Edje object.

Since :
2.3
Returns:
A pointer to the Evas object implementing the given part, or NULL on failure (e.g. the given part doesn't exist)
Remarks:
This function gets a pointer of the Evas object corresponding to a given part in the obj object's group.
You should never modify the state of the returned object (with evas_object_move() or evas_object_hide() for example), because it's meant to be managed by Edje, solely. You are safe to query information about its current state (with evas_object_visible_get() or evas_object_color_get() for example), though.
Parameters:
[in]objThe edje object
[in]partThe Edje part's name