Tizen Native API
|
Functions | |
void | edje_frametime_set (double t) |
Sets the edje trasitions' frame time. | |
double | edje_frametime_get (void) |
Gets the edje trasitions' frame time. | |
void | edje_freeze (void) |
Freezes the edje objects. | |
void | edje_thaw (void) |
Thaws the edje objects. | |
void | edje_object_play_set (Evas_Object *obj, Eina_Bool play) |
Sets the edje object to the playing or paused states. | |
Eina_Bool | edje_object_play_get (const Evas_Object *obj) |
Gets the edje object's state. | |
void | edje_object_animation_set (Evas_Object *obj, Eina_Bool on) |
Sets the object's animation state. | |
Eina_Bool | edje_object_animation_get (const Evas_Object *obj) |
Gets the edje object's animation state. | |
int | edje_object_freeze (Evas_Object *obj) |
Freezes the edje object. | |
int | edje_object_thaw (Evas_Object *obj) |
Thaws the edje object. | |
const char * | edje_object_part_state_get (const Evas_Object *obj, const char *part, double *val_ret) |
Gets the state of the edje part. | |
Typedefs | |
typedef enum _Edje_Action_Type | Edje_Action_Type |
Edje Action Type. |
This group discusses functions that deal with animations.
enum _Edje_Action_Type |
double edje_frametime_get | ( | void | ) |
Gets the edje trasitions' frame time.
This function returns the edje frame time set by edje_frametime_set() or the default value of 1/30.
void edje_frametime_set | ( | double | t | ) |
Sets the edje trasitions' frame time.
This function sets the edje built-in animations' frame time (thus, affecting their resolution) by calling ecore_animator_frametime_set(). This frame time can be retrieved with edje_frametime_get().
[in] | t | The frame time, in seconds Default value is 1/30. |
void edje_freeze | ( | void | ) |
Freezes the edje objects.
This function freezes all edje animations in the current process.
Eina_Bool edje_object_animation_get | ( | const Evas_Object * | obj | ) |
Gets the edje object's animation state.
This function gets whether the animation is stopped or not. The animation state is set by edje_object_animation_set().
[in] | obj | A handle to an edje object |
void edje_object_animation_set | ( | Evas_Object * | obj, |
Eina_Bool | on | ||
) |
Sets the object's animation state.
This function starts or stops an edje object's animation. The information about whether it's stopped can be retrieved by edje_object_animation_get().
[in] | obj | A handle to an edje object |
[in] | on | The animation state If EINA_TRUE the object starts, otherwise EINA_FALSE to stop it |
int edje_object_freeze | ( | Evas_Object * | obj | ) |
Freezes the edje object.
This function puts all changes on hold. Successive freezes are nested, requiring an equal number of thaws.
[in] | obj | A handle to an edje object |
0
on errorconst char* edje_object_part_state_get | ( | const Evas_Object * | obj, |
const char * | part, | ||
double * | val_ret | ||
) |
Gets the state of the edje part.
[in] | obj | A valid Evas_Object handle |
[in] | part | The part name |
[out] | val_ret | The part state name |
Eina_Bool edje_object_play_get | ( | const Evas_Object * | obj | ) |
Gets the edje object's state.
This function gets whether an edje object is playing or not. This state is set by edje_object_play_set().
[in] | obj | A handle to an edje object |
delete_me
flag is set, or it is in the paused state; otherwise EINA_TRUE if the object is in playing state.void edje_object_play_set | ( | Evas_Object * | obj, |
Eina_Bool | play | ||
) |
Sets the edje object to the playing or paused states.
This function sets the edje object obj to the playing or paused states, depending on the parameter play. This has no effect if the object is already in that state.
[in] | obj | A handle to an edje object |
[in] | play | The object state (EINA_TRUE for the playing state, EINA_FALSE for the paused state) |
int edje_object_thaw | ( | Evas_Object * | obj | ) |
Thaws the edje object.
This function thaws the given edje object.
[in] | obj | A handle to an edje object |
0
if the object is not frozen or on errorvoid edje_thaw | ( | void | ) |
Thaws the edje objects.
This function thaws all the edje animations in the current process.