Tizen Native API
5.0
|
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:
- "front" - A front content of the flip
- "back" - A back content of the flip
This widget inherits from elm-container-class, so that the functions meant to act on it will work for mapbuf objects:
Flip example show how to use most of the API.
Functions | |
Evas_Object * | elm_flip_add (Evas_Object *parent) |
Add a new flip to the parent. | |
void | elm_flip_perspective_set (Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y) |
Set flip perspective. |
Function Documentation
Evas_Object* elm_flip_add | ( | Evas_Object * | parent | ) |
Add a new flip to the parent.
- Parameters:
-
parent The parent object
- Returns:
- The new object or NULL if it cannot be created
- Since :
- N/A
- Examples:
- flip_example_01.c.
void elm_flip_perspective_set | ( | Evas_Object * | obj, |
Evas_Coord | foc, | ||
Evas_Coord | x, | ||
Evas_Coord | y | ||
) |
Set flip perspective.
- Parameters:
-
obj The flip object foc The coordinate to set the focus on x The X coordinate y The Y coordinate
- Warning:
- This function currently does nothing.
- Since :
- N/A