Flip

- Main Page
- Related Pages
- Data Structures
- Files
- Examples

Functions
Flip

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

## Detailed Description

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 The Elementary Container Class, so that the functions meant to act on it will work for mapbuf objects:

- elm_object_part_content_set
- elm_object_part_content_get
- elm_object_part_content_unset

Flip example show how to use most of the API.

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

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.