Mapbuf

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

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

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:

- elm_object_part_content_set
- elm_object_part_content_get
- elm_object_part_content_unset

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

- "default" - The main content of the mapbuf

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

  parent | The parent object.

Returns
  A new mapbuf widget handle or `NULL`, on errors.

This function inserts a new mapbuf widget on the canvas.