Tizen Native API  5.0

flip_inheritance_tree.png

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_Objectelm_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

Add a new flip to the parent.

Parameters:
parentThe 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:
objThe flip object
focThe coordinate to set the focus on
xThe X coordinate
yThe Y coordinate
Warning:
This function currently does nothing.
Since :
N/A