This group discusses functions that deal with Edje layouts and its components. More...
Modules | |
Edje Communication Interface: Signal | |
Functions that deal with signals. | |
Edje Scale | |
Functions that deal with scaling objects. | |
Edje Class: Color | |
Functions that deal with Color Classes. | |
Edje Part | |
Functions that deal with layout components. | |
Edje Object Geometry | |
Functions that deal with object's geometry. | |
Edje Class: Text | |
Functions that deal with Text Classes. | |
Edje Object File | |
Functions to deals with EDJ files. | |
Edje Object Animation | |
Functions that deal with animations. | |
Edje Communication Interface: Message | |
Functions that deal with messages. | |
Edje Perspective | |
Functions that deal with 3D projection of an 2D object. | |
#define | edje_obj_preload(cancel, ret) EDJE_OBJ_ID(EDJE_OBJ_SUB_ID_PRELOAD), EO_TYPECHECK(Eina_Bool, cancel), EO_TYPECHECK(Eina_Bool *, ret) |
Preload the images on the Edje Object in the background. More... | |
Evas_Object * | edje_object_add (Evas *evas) |
Instantiate a new Edje object. More... | |
Eina_Bool | edje_object_preload (Evas_Object *obj, Eina_Bool cancel) |
Preload the images on the Edje Object in the background. More... | |
This group discusses functions that deal with Edje layouts and its components.
An important thing to know about this group is that there is no Edje_Object in code. What we refer here as object are layouts (or themes) defined by groups, and parts, both declared in EDC files. They are of type Evas_Object as the other native objects of Evas, but they only exist in Edje, so that is why we are calling them "edje objects".
With the Edje Object Group functions we can deal with layouts by managing its aspect, content, message and signal exchange and animation, among others.
#define edje_obj_preload | ( | cancel, | |
ret | |||
) | EDJE_OBJ_ID(EDJE_OBJ_SUB_ID_PRELOAD), EO_TYPECHECK(Eina_Bool, cancel), EO_TYPECHECK(Eina_Bool *, ret) |
Preload the images on the Edje Object in the background.
[in] | cancel | |
[out] | ret |
Referenced by edje_object_preload().
Evas_Object* edje_object_add | ( | Evas * | evas | ) |
Instantiate a new Edje object.
evas | A valid Evas handle, the canvas to place the new object in |
NULL
, on errors.This function creates a new Edje smart object, returning its Evas_Object
handle. An Edje object is useless without a (source) file set to it, so you'd most probably call edje_object_file_set() afterwards, like in:
References EINA_UNUSED.
Eina_Bool edje_object_preload | ( | Evas_Object * | obj, |
Eina_Bool | cancel | ||
) |
Preload the images on the Edje Object in the background.
obj | A handle to an Edje object |
cancel | EINA_FALSE will add it the preloading work queue, EINA_TRUE will remove it (if it was issued before). |
EINA_FASLE
if obj was not a valid Edje object otherwise EINA_TRUE
This function requests the preload of all data images (on the given object) in the background. The work is queued before being processed (because there might be other pending requests of this type). It emits a signal "preload,done" when finished.
EINA_TRUE
on scenarios where you don't need the image data preloaded anymore. References edje_obj_preload, and EINA_FALSE.