1 #ifndef _ELM_HOVERSEL_ITEM_EO_H_ 2 #define _ELM_HOVERSEL_ITEM_EO_H_ 3 4 #ifndef _ELM_HOVERSEL_ITEM_EO_CLASS_TYPE 5 #define _ELM_HOVERSEL_ITEM_EO_CLASS_TYPE 6 7 typedef Eo Elm_Hoversel_Item; 8 9 #endif 10 11 #ifndef _ELM_HOVERSEL_ITEM_EO_TYPES 12 #define _ELM_HOVERSEL_ITEM_EO_TYPES 13 14 15 #endif 16 /** Elementary hoversel item class 17 * 18 * @ingroup Elm_Hoversel_Item 19 */ 20 #define ELM_HOVERSEL_ITEM_CLASS elm_hoversel_item_class_get() 21 22 EWAPI const Efl_Class *elm_hoversel_item_class_get(void) EINA_CONST; 23 24 /** 25 * @brief This controls the icon for the given hoversel item. 26 * 27 * The icon can be loaded from the standard set, from an image file, or from an 28 * edje file. 29 * 30 * @param[in] obj The object. 31 * @param[in] icon_file An image file path on disk to use for the icon or 32 * standard icon name 33 * @param[in] icon_group The edje group to use if @c icon_file is an edje file. 34 * Set this to NULL if the icon is not an edje file 35 * @param[in] icon_type The icon type 36 * 37 * @ingroup Elm_Hoversel_Item 38 */ 39 EOAPI void elm_obj_hoversel_item_icon_set(Eo *obj, const char *icon_file, const char *icon_group, Elm_Icon_Type icon_type); 40 41 /** 42 * @brief This controls the icon for the given hoversel item. 43 * 44 * The icon can be loaded from the standard set, from an image file, or from an 45 * edje file. 46 * 47 * @param[in] obj The object. 48 * @param[out] icon_file An image file path on disk to use for the icon or 49 * standard icon name 50 * @param[out] icon_group The edje group to use if @c icon_file is an edje 51 * file. Set this to NULL if the icon is not an edje file 52 * @param[out] icon_type The icon type 53 * 54 * @ingroup Elm_Hoversel_Item 55 */ 56 EOAPI void elm_obj_hoversel_item_icon_get(const Eo *obj, const char **icon_file, const char **icon_group, Elm_Icon_Type *icon_type); 57 58 #endif 59