Functions | |
Evas_Object * | elm_flip_add (Evas_Object *parent) |
Add a new flip to the parent. More... | |
void | elm_flip_perspective_set (Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y) |
Set flip perspective. More... | |
This widget holds 2 content objects(Evas_Object): one on the front and one on the back. It allows you to flip from front to back and vice-versa using various animations.
If either the front or back contents are not set the flip will treat that as transparent. So if you wore to set the front content but not the back, and then call elm_flip_go() you would see whatever is below the flip.
For a list of supported animations see elm_flip_go().
Signals that you can add callbacks for are: "animate,begin" - when a flip animation was started "animate,done" - when a flip animation is finished
Default content parts of the flip widget that you can use for are:
This widget inherits from The Elementary Container Class, so that the functions meant to act on it will work for mapbuf objects:
tutorial_flip show how to use most of the API.
Evas_Object* elm_flip_add | ( | Evas_Object * | parent | ) |
Add a new flip to the parent.
parent | The parent object |
void elm_flip_perspective_set | ( | Evas_Object * | obj, |
Evas_Coord | foc, | ||
Evas_Coord | x, | ||
Evas_Coord | y | ||
) |
Set flip perspective.
obj | The flip object |
foc | The coordinate to set the focus on |
x | The X coordinate |
y | The Y coordinate |
References ecore_animator_add(), ecore_loop_time_get(), EINA_FALSE, eina_list_append(), eina_list_append_relative(), eina_list_count(), eina_list_data_idx(), eina_list_iterator_new(), eina_list_nth(), eina_list_prepend(), eina_list_prepend_relative(), eina_list_remove(), EINA_TRUE, elm_object_focus_get(), elm_object_focus_set(), EVAS_CALLBACK_MOUSE_DOWN, EVAS_CALLBACK_MOUSE_MOVE, EVAS_CALLBACK_MOUSE_UP, evas_object_color_set(), evas_object_data_set(), evas_object_del(), evas_object_evas_get(), evas_object_event_callback_add(), evas_object_hide(), evas_object_rectangle_add(), evas_object_resize(), evas_object_show(), evas_object_smart_member_add(), evas_object_smart_member_del(), evas_smart_legacy_type_register(), and evas_smart_objects_calculate().