Tizen Native API
|
Functions | |
Edje_Drag_Dir | edje_object_part_drag_dir_get (const Evas_Object *obj, const char *part) |
Gets the draggable directions. | |
Eina_Bool | edje_object_part_drag_value_set (Evas_Object *obj, const char *part, double dx, double dy) |
Sets the draggable object location. | |
Eina_Bool | edje_object_part_drag_value_get (const Evas_Object *obj, const char *part, double *dx, double *dy) |
Gets the draggable object location. | |
Eina_Bool | edje_object_part_drag_size_set (Evas_Object *obj, const char *part, double dw, double dh) |
Sets the draggable object size. | |
Eina_Bool | edje_object_part_drag_size_get (const Evas_Object *obj, const char *part, double *dw, double *dh) |
Gets the draggable object size. | |
Eina_Bool | edje_object_part_drag_step_set (Evas_Object *obj, const char *part, double dx, double dy) |
Sets the drag step increment. | |
Eina_Bool | edje_object_part_drag_step_get (const Evas_Object *obj, const char *part, double *dx, double *dy) |
Gets the drag step increment values. | |
Eina_Bool | edje_object_part_drag_page_set (Evas_Object *obj, const char *part, double dx, double dy) |
Sets the page step increments. | |
Eina_Bool | edje_object_part_drag_page_get (const Evas_Object *obj, const char *part, double *dx, double *dy) |
Gets the page step increments. | |
Eina_Bool | edje_object_part_drag_step (Evas_Object *obj, const char *part, double dx, double dy) |
Steps the draggable x,y steps. | |
Eina_Bool | edje_object_part_drag_page (Evas_Object *obj, const char *part, double dx, double dy) |
Pages the draggable x,y steps. | |
Typedefs | |
typedef enum _Edje_Drag_Dir | Edje_Drag_Dir |
Edje drag direction. |
This group discusses functions that deal with draggable parts.
enum _Edje_Drag_Dir |
Edje_Drag_Dir edje_object_part_drag_dir_get | ( | const Evas_Object * | obj, |
const char * | part | ||
) |
Gets the draggable directions.
draggable
section, by the attributes x
and y
. See the edcref for more information.[in] | obj | A valid Evas_Object handle |
[in] | part | The part name |
Eina_Bool edje_object_part_drag_page | ( | Evas_Object * | obj, |
const char * | part, | ||
double | dx, | ||
double | dy | ||
) |
Pages the draggable x,y steps.
This pages x,y, where the increment is defined by edje_object_part_drag_page_set.
0
to 1
.[in] | obj | A valid Evas_Object handle |
[in] | part | The part name |
[in] | dx | The x step |
[in] | dy | The y step |
Eina_Bool edje_object_part_drag_page_get | ( | const Evas_Object * | obj, |
const char * | part, | ||
double * | dx, | ||
double * | dy | ||
) |
Gets the page step increments.
This sets the x,y page step increments for the draggable object.
[in] | obj | A valid Evas_Object handle |
[in] | part | The part name |
[out] | dx | The dx page increment pointer |
[out] | dy | The dy page increment pointer |
Eina_Bool edje_object_part_drag_page_set | ( | Evas_Object * | obj, |
const char * | part, | ||
double | dx, | ||
double | dy | ||
) |
Sets the page step increments.
This sets the x,y page step increment values.
0
to 1
, representing the relative size of the draggable area on that axis by which the part is moved.[in] | obj | A valid Evas_Object handle |
[in] | part | The part name |
[in] | dx | The x page step increment |
[in] | dy | The y page step increment |
Eina_Bool edje_object_part_drag_size_get | ( | const Evas_Object * | obj, |
const char * | part, | ||
double * | dw, | ||
double * | dh | ||
) |
Gets the draggable object size.
This gets the draggable object size
[in] | obj | A valid Evas_Object handle |
[in] | part | The part name |
[out] | dw | The drag width pointer |
[out] | dh | The drag height pointer |
Eina_Bool edje_object_part_drag_size_set | ( | Evas_Object * | obj, |
const char * | part, | ||
double | dw, | ||
double | dh | ||
) |
Sets the draggable object size.
This sets the size of the draggable object.
0
to 1
, representing the relative size of the draggable area on that axis.[in] | obj | A valid Evas_Object handle |
[in] | part | The part name |
[in] | dw | The drag width |
[in] | dh | The drag height |
Eina_Bool edje_object_part_drag_step | ( | Evas_Object * | obj, |
const char * | part, | ||
double | dx, | ||
double | dy | ||
) |
Steps the draggable x,y steps.
This steps x,y, where the step increment is the amount set by edje_object_part_drag_step_set.
0
to 1
.[in] | obj | A valid Evas_Object handle |
[in] | part | The part name |
[in] | dx | The x step |
[in] | dy | The y step |
Eina_Bool edje_object_part_drag_step_get | ( | const Evas_Object * | obj, |
const char * | part, | ||
double * | dx, | ||
double * | dy | ||
) |
Gets the drag step increment values.
This gets the x and y step increments for the draggable object.
[in] | obj | A valid Evas_Object handle |
[in] | part | The part |
[out] | dx | The x step increment pointer |
[out] | dy | The y step increment pointer |
Eina_Bool edje_object_part_drag_step_set | ( | Evas_Object * | obj, |
const char * | part, | ||
double | dx, | ||
double | dy | ||
) |
Sets the drag step increment.
This sets the x,y step increments for a draggable object.
0
to 1
, representing the relative size of the draggable area on that axis by which the part is moved.[in] | obj | A valid Evas_Object handle |
[in] | part | The part name |
[in] | dx | The x step amount |
[in] | dy | The y step amount |
Eina_Bool edje_object_part_drag_value_get | ( | const Evas_Object * | obj, |
const char * | part, | ||
double * | dx, | ||
double * | dy | ||
) |
Gets the draggable object location.
This gets the drag location values.
0
to 1
, representing its relative position on the draggable area on that axis.[in] | obj | A valid Evas_Object handle |
[in] | part | The part name |
[out] | dx | The X value pointer |
[out] | dy | The Y value pointer |
Eina_Bool edje_object_part_drag_value_set | ( | Evas_Object * | obj, |
const char * | part, | ||
double | dx, | ||
double | dy | ||
) |
Sets the draggable object location.
It places the draggable object at the given location.
0
to 1
, representing its relative position on the draggable area on that axis.This value means, for the vertical axis, 0.0
is at the top if the first parameter of y
in the draggable part theme is 1
, and it is at the bottom if it is -1
.
For the horizontal axis, 0.0
means left if the first parameter of x
in the draggable part theme is 1
, and it means right if it is -1
.
[in] | obj | A valid Evas_Object handle |
[in] | part | The part name |
[in] | dx | The x value |
[in] | dy | The y value |