forked from enlightenment/efl
104 lines
3.0 KiB
C
104 lines
3.0 KiB
C
#ifndef _ELM_DISKSELECTOR_ITEM_EO_H_
|
|
#define _ELM_DISKSELECTOR_ITEM_EO_H_
|
|
|
|
#ifndef _ELM_DISKSELECTOR_ITEM_EO_CLASS_TYPE
|
|
#define _ELM_DISKSELECTOR_ITEM_EO_CLASS_TYPE
|
|
|
|
typedef Eo Elm_Diskselector_Item;
|
|
|
|
#endif
|
|
|
|
#ifndef _ELM_DISKSELECTOR_ITEM_EO_TYPES
|
|
#define _ELM_DISKSELECTOR_ITEM_EO_TYPES
|
|
|
|
|
|
#endif
|
|
/** Elementary diskselector item class
|
|
*
|
|
* @ingroup Elm_Diskselector_Item
|
|
*/
|
|
#define ELM_DISKSELECTOR_ITEM_CLASS elm_diskselector_item_class_get()
|
|
|
|
EWAPI const Efl_Class *elm_diskselector_item_class_get(void);
|
|
|
|
/**
|
|
* @brief Get the item before @c item in diskselector.
|
|
*
|
|
* The list of items follows append order. So it will return item appended just
|
|
* before @c item and that wasn't deleted.
|
|
*
|
|
* If it is the first item, @c null will be returned. First item can be get by
|
|
* @ref elm_diskselector_first_item_get.
|
|
*
|
|
* See also @ref elm_diskselector_item_append, @ref elm_diskselector_items_get.
|
|
*
|
|
* @param[in] obj The object.
|
|
*
|
|
* @return The item before @c item, or @c null if none or on failure.
|
|
*
|
|
* @ingroup Elm_Diskselector_Item
|
|
*/
|
|
EOAPI Elm_Widget_Item *elm_obj_diskselector_item_prev_get(const Eo *obj);
|
|
|
|
/**
|
|
* @brief Get the item after @c item in diskselector.
|
|
*
|
|
* The list of items follows append order. So it will return item appended just
|
|
* after @c item and that wasn't deleted.
|
|
*
|
|
* If it is the last item, @c null will be returned. Last item can be get by
|
|
* @ref elm_diskselector_last_item_get.
|
|
*
|
|
* See also @ref elm_diskselector_item_append, @ref elm_diskselector_items_get.
|
|
*
|
|
* @param[in] obj The object.
|
|
*
|
|
* @return The item after @c item, or @c null if none or on failure.
|
|
*
|
|
* @ingroup Elm_Diskselector_Item
|
|
*/
|
|
EOAPI Elm_Widget_Item *elm_obj_diskselector_item_next_get(const Eo *obj);
|
|
|
|
/**
|
|
* @brief Set the selected state of an item.
|
|
*
|
|
* This sets the selected state of the given @c item as @c true, for selected
|
|
* and @c false for not selected.
|
|
*
|
|
* If a new item is selected the previously selected will be unselected.
|
|
* Previously selected item can be get with function @ref
|
|
* elm_diskselector_selected_item_get.
|
|
*
|
|
* If the @c item is unselected, the first item of diskselector will be
|
|
* selected.
|
|
*
|
|
* Selected items will be visible on center position of diskselector. So if it
|
|
* was on another position before selected, or was invisible, diskselector will
|
|
* animate items until the selected item reaches center position.
|
|
*
|
|
* See also @ref elm_diskselector_item_selected_get, @ref
|
|
* elm_diskselector_selected_item_get.
|
|
*
|
|
* @param[in] obj The object.
|
|
* @param[in] selected The selected state
|
|
*
|
|
* @ingroup Elm_Diskselector_Item
|
|
*/
|
|
EOAPI void elm_obj_diskselector_item_selected_set(Eo *obj, Eina_Bool selected);
|
|
|
|
/**
|
|
* @brief Get whether the @c item is selected or not.
|
|
*
|
|
* See also @ref elm_diskselector_selected_item_set for details, @ref
|
|
* elm_diskselector_item_selected_get.
|
|
*
|
|
* @param[in] obj The object.
|
|
*
|
|
* @return The selected state
|
|
*
|
|
* @ingroup Elm_Diskselector_Item
|
|
*/
|
|
EOAPI Eina_Bool elm_obj_diskselector_item_selected_get(const Eo *obj);
|
|
|
|
#endif
|