summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_index_legacy.h
blob: 74a7e5c7571df2183b40bc07525c9fc814501a2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/**
 * Add a new index widget to the given parent Elementary
 * (container) object
 *
 * @param parent The parent object
 * @return a new index widget handle or @c NULL, on errors
 *
 * This function inserts a new index widget on the canvas.
 *
 * @ingroup Elm_Index
 */
EAPI Evas_Object          *elm_index_add(Evas_Object *parent);

/**
 * @brief Enable or disable horizontal mode on the index object
 *
 * @note Vertical mode is set by default.
 *
 * On horizontal mode items are displayed on index from left to right, instead
 * of from top to bottom. Also, the index will scroll horizontally.
 *
 * @param[in] horizontal @c true to enable horizontal or @c false to disable
 * it, i.e., to enable vertical mode. it's an area one Fingers "finger" wide on
 * the bottom side of the index widget's container.
 *
 * @ingroup Elm_Index
 */
EAPI void elm_index_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);

/**
 * @brief Get enable or disable status of horizontal mode on the index object.
 *
 * @note Vertical mode is set by default.
 *
 * Returns the current status of horizontal mode on index object.
 * On horizontal mode items are displayed on index from left to right, instead
 * of from top to bottom. Also, the index will scroll horizontally.
 *
 * @return Current status of horizontal mode on index object.
 * @c true if horizontal mode is enabled or @c false if disabled.
 *
 * @ingroup Elm_Index
 */
EAPI Eina_Bool elm_index_horizontal_get(const Evas_Object *obj);

#include "elm_index_item.eo.legacy.h"
#include "elm_index.eo.legacy.h"