1 #ifndef _ELM_VIEW_LIST_EO_H_
2 #define _ELM_VIEW_LIST_EO_H_
3 
4 #ifndef _ELM_VIEW_LIST_EO_CLASS_TYPE
5 #define _ELM_VIEW_LIST_EO_CLASS_TYPE
6 
7 typedef Eo Elm_View_List;
8 
9 #endif
10 
11 #ifndef _ELM_VIEW_LIST_EO_TYPES
12 #define _ELM_VIEW_LIST_EO_TYPES
13 
14 
15 #endif
16 /** Elementary view list class
17  *
18  * @ingroup Elm_View_List
19  */
20 #define ELM_VIEW_LIST_CLASS elm_view_list_class_get()
21 
22 EWAPI const Efl_Class *elm_view_list_class_get(void) EINA_CONST;
23 
24 /**
25  * @brief Constructor wrapper
26  *
27  * @param[in] obj The object.
28  * @param[in] genlist Genlist object
29  * @param[in] item_type Item type
30  * @param[in] item_style The current item style name. @c null would be default.
31  *
32  * @since 1.11
33  *
34  * @ingroup Elm_View_List
35  */
36 EOAPI void elm_view_list_genlist_set(Eo *obj, Efl_Canvas_Object *genlist, Elm_Genlist_Item_Type item_type, const char *item_style);
37 
38 /**
39  * @brief Return evas object
40  *
41  * @param[in] obj The object.
42  * @param[out] widget Returned widget
43  *
44  * @since 1.11
45  *
46  * @ingroup Elm_View_List
47  */
48 EOAPI void elm_view_list_evas_object_get(Eo *obj, Efl_Canvas_Object **widget);
49 
50 /**
51  * @brief Connect property
52  *
53  * @param[in] obj The object.
54  * @param[in] property Property name
55  * @param[in] part Edje's theme part
56  *
57  * @since 1.11
58  *
59  * @ingroup Elm_View_List
60  */
61 EOAPI void elm_view_list_property_connect(Eo *obj, const char *property, const char *part);
62 
63 /**
64  * @brief Set model
65  *
66  * @param[in] obj The object.
67  * @param[in] model Efl.Model to set
68  *
69  * @since 1.11
70  *
71  * @ingroup Elm_View_List
72  */
73 EOAPI void elm_view_list_model_set(Eo *obj, Efl_Model *model);
74 
75 /**
76  * @brief Get model
77  *
78  * @param[in] obj The object.
79  *
80  * @return Efl.Model to set
81  *
82  * @since 1.11
83  *
84  * @ingroup Elm_View_List
85  */
86 EOAPI Efl_Model *elm_view_list_model_get(const Eo *obj);
87 
88 EWAPI extern const Efl_Event_Description _ELM_VIEW_LIST_EVENT_MODEL_SELECTED;
89 
90 /** Called when model was selected
91  * @return Efl_Object *
92  *
93  * @ingroup Elm_View_List
94  */
95 #define ELM_VIEW_LIST_EVENT_MODEL_SELECTED (&(_ELM_VIEW_LIST_EVENT_MODEL_SELECTED))
96 
97 #endif
98