Functions
Mapbuf

Functions

Evas_Object * elm_mapbuf_add (Evas_Object *parent)
 Add a new mapbuf widget to the given parent Elementary (container) object. More...
 

Detailed Description

mapbuf_inheritance_tree.png
preview-00.png

This holds one content object and uses an Evas Map of transformation points to be later used with this content. So the content will be moved as a single image. So it will improve performance when you have a complex interface, with a lot of elements, and will need to move it frequently (the content object and its children).

This widget inherits from The Elementary Container Class, so that the functions meant to act on it will work for mapbuf objects:

Default content parts of the mapbuf widget that you can use are:

To enable map, elm_mapbuf_enabled_set() should be used.

See how to use this widget in this example: Mapbuf Widget Example

Function Documentation

Evas_Object* elm_mapbuf_add ( Evas_Object *  parent)

Add a new mapbuf widget to the given parent Elementary (container) object.

Parameters
parentThe parent object.
Returns
A new mapbuf widget handle or NULL, on errors.

This function inserts a new mapbuf widget on the canvas.