Functions
Flip

Functions

Evas_Objectelm_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...
 

Detailed Description

flip_inheritance_tree.png
preview-00.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:

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.

Function Documentation

◆ elm_flip_add()

Evas_Object* elm_flip_add ( Evas_Object parent)

Add a new flip to the parent.

Parameters
parentThe parent object
Returns
The new object or NULL if it cannot be created

◆ elm_flip_perspective_set()

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.