1 /** 2 * Add a new index widget to the given parent Elementary 3 * (container) object 4 * 5 * @param parent The parent object 6 * @return a new index widget handle or @c NULL, on errors 7 * 8 * This function inserts a new index widget on the canvas. 9 * 10 * @ingroup Elm_Index_Group 11 */ 12 EAPI Evas_Object *elm_index_add(Evas_Object *parent); 13 14 /** 15 * @brief Enable or disable horizontal mode on the index object 16 * 17 * @note Vertical mode is set by default. 18 * 19 * On horizontal mode items are displayed on index from left to right, instead 20 * of from top to bottom. Also, the index will scroll horizontally. 21 * 22 * @param[in] horizontal @c true to enable horizontal or @c false to disable 23 * it, i.e., to enable vertical mode. it's an area one Fingers "finger" wide on 24 * the bottom side of the index widget's container. 25 * 26 * @ingroup Elm_Index_Group 27 */ 28 EAPI void elm_index_horizontal_set(Evas_Object *obj, Eina_Bool horizontal); 29 30 /** 31 * @brief Get enable or disable status of horizontal mode on the index object. 32 * 33 * @note Vertical mode is set by default. 34 * 35 * Returns the current status of horizontal mode on index object. 36 * On horizontal mode items are displayed on index from left to right, instead 37 * of from top to bottom. Also, the index will scroll horizontally. 38 * 39 * @return Current status of horizontal mode on index object. 40 * @c true if horizontal mode is enabled or @c false if disabled. 41 * 42 * @ingroup Elm_Index_Group 43 */ 44 EAPI Eina_Bool elm_index_horizontal_get(const Evas_Object *obj); 45 46 #include "elm_index_item_eo.legacy.h" 47 #include "elm_index_eo.legacy.h" 48