forked from enlightenment/efl
parent
eab341cf12
commit
efa1c08e88
|
@ -606,7 +606,7 @@ elm_index_add(Evas_Object *parent)
|
|||
* 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
|
||||
*/
|
||||
|
@ -629,6 +629,23 @@ elm_index_active_set(Evas_Object *obj, Eina_Bool active)
|
|||
edje_object_signal_emit(wd->base, "elm,state,inactive", "elm");
|
||||
}
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue