Functions
Index

Functions

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

Detailed Description

index_inheritance_tree.png
preview-00.png

An index widget gives you an index for fast access to whichever group of other UI items one might have. It's a list of text items (usually letters, for alphabetically ordered access).

Index widgets are by default hidden and just appear when the user clicks over it's reserved area in the canvas. In its default theme, it's an area one finger wide on the right side of the index widget's container.

When items on the index are selected, smart callbacks get called, so that its user can make other container objects to show a given area or child object depending on the index item selected. You'd probably be using an index together with lists, generic lists or general grids.

This widget inherits from the Layout one, so that all the functions acting on it also work for index objects.

This widget emits the following signals, besides the ones sent from Layout:

The "delay,changed" event is so that it'll wait a small time before actually reporting those events and, moreover, just the last event happening on those time frames will actually be reported.

Supported elm_object_item common APIs

Here are some examples on its usage:

Function Documentation

Evas_Object* elm_index_add ( Evas_Object *  parent)

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

Parameters
parentThe parent object
Returns
a new index widget handle or NULL, on errors

This function inserts a new index widget on the canvas.