* Set the active state of the index programatically
*
* @param obj The index object
- * @param active The active starte
+ * @param active The active state
*
* @ingroup Index
*/
}
/**
+ * Get the active state of the index programatically
+ *
+ * @param obj The index object
+ * @return The active state
+ *
+ * @ingroup Index
+ */
+EAPI void
+elm_index_active_get(Evas_Object *obj)
+{
+ ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
+ Widget_Data *wd = elm_widget_data_get(obj);
+ if (!wd) return EINA_FALSE;
+ return wd->active;
+}
+
+/**
* Sets the level of the item.
*
* @param obj The index object.