1 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_ITEM_FOCUSED =
2 EFL_EVENT_DESCRIPTION("item,focused");
3 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_ITEM_UNFOCUSED =
4 EFL_EVENT_DESCRIPTION("item,unfocused");
5 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_VBAR_DRAG =
6 EFL_EVENT_DESCRIPTION("vbar,drag");
7 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_VBAR_PRESS =
8 EFL_EVENT_DESCRIPTION("vbar,press");
9 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_VBAR_UNPRESS =
10 EFL_EVENT_DESCRIPTION("vbar,unpress");
11 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_HBAR_DRAG =
12 EFL_EVENT_DESCRIPTION("hbar,drag");
13 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_HBAR_PRESS =
14 EFL_EVENT_DESCRIPTION("hbar,press");
15 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_HBAR_UNPRESS =
16 EFL_EVENT_DESCRIPTION("hbar,unpress");
17 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_EDGE_TOP =
18 EFL_EVENT_DESCRIPTION("edge,top");
19 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_EDGE_BOTTOM =
20 EFL_EVENT_DESCRIPTION("edge,bottom");
21 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_EDGE_LEFT =
22 EFL_EVENT_DESCRIPTION("edge,left");
23 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_EDGE_RIGHT =
24 EFL_EVENT_DESCRIPTION("edge,right");
25 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_MOVED =
26 EFL_EVENT_DESCRIPTION("moved");
27 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_MOVED_BEFORE =
28 EFL_EVENT_DESCRIPTION("moved,before");
29 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_MOVED_AFTER =
30 EFL_EVENT_DESCRIPTION("moved,after");
31 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_SWIPE =
32 EFL_EVENT_DESCRIPTION("swipe");
33 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_MULTI_PINCH_IN =
34 EFL_EVENT_DESCRIPTION("multi,pinch,in");
35 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_MULTI_PINCH_OUT =
36 EFL_EVENT_DESCRIPTION("multi,pinch,out");
37 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_MULTI_SWIPE_DOWN =
38 EFL_EVENT_DESCRIPTION("multi,swipe,down");
39 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_MULTI_SWIPE_UP =
40 EFL_EVENT_DESCRIPTION("multi,swipe,up");
41 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_MULTI_SWIPE_RIGHT =
42 EFL_EVENT_DESCRIPTION("multi,swipe,right");
43 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_MULTI_SWIPE_LEFT =
44 EFL_EVENT_DESCRIPTION("multi,swipe,left");
45 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_RELEASED =
46 EFL_EVENT_DESCRIPTION("released");
47 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_ACTIVATED =
48 EFL_EVENT_DESCRIPTION("activated");
49 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_HIGHLIGHTED =
50 EFL_EVENT_DESCRIPTION("highlighted");
51 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_UNHIGHLIGHTED =
52 EFL_EVENT_DESCRIPTION("unhighlighted");
53 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_REALIZED =
54 EFL_EVENT_DESCRIPTION("realized");
55 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_UNREALIZED =
56 EFL_EVENT_DESCRIPTION("unrealized");
57 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_CONTRACT_REQUEST =
58 EFL_EVENT_DESCRIPTION("contract,request");
59 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_EXPAND_REQUEST =
60 EFL_EVENT_DESCRIPTION("expand,request");
61 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_CONTRACTED =
62 EFL_EVENT_DESCRIPTION("contracted");
63 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_EXPANDED =
64 EFL_EVENT_DESCRIPTION("expanded");
65 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_INDEX_UPDATE =
66 EFL_EVENT_DESCRIPTION("index,update");
67 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_TREE_EFFECT_FINISHED =
68 EFL_EVENT_DESCRIPTION("tree,effect,finished");
69 EWAPI const Efl_Event_Description _ELM_GENLIST_EVENT_FILTER_DONE =
70 EFL_EVENT_DESCRIPTION("filter,done");
71
72 void _elm_genlist_homogeneous_set(Eo *obj, Elm_Genlist_Data *pd, Eina_Bool homogeneous);
73
74
75 static Eina_Error
__eolian_elm_genlist_homogeneous_set_reflect(Eo * obj,Eina_Value val)76 __eolian_elm_genlist_homogeneous_set_reflect(Eo *obj, Eina_Value val)
77 {
78 Eina_Error r = 0; Eina_Bool cval;
79 if (!eina_value_bool_convert(&val, &cval))
80 {
81 r = EINA_ERROR_VALUE_FAILED;
82 goto end;
83 }
84 elm_obj_genlist_homogeneous_set(obj, cval);
85 end:
86 eina_value_flush(&val);
87 return r;
88 }
89
90 EOAPI EFL_VOID_FUNC_BODYV(elm_obj_genlist_homogeneous_set, EFL_FUNC_CALL(homogeneous), Eina_Bool homogeneous);
91
92 Eina_Bool _elm_genlist_homogeneous_get(const Eo *obj, Elm_Genlist_Data *pd);
93
94
95 static Eina_Value
__eolian_elm_genlist_homogeneous_get_reflect(const Eo * obj)96 __eolian_elm_genlist_homogeneous_get_reflect(const Eo *obj)
97 {
98 Eina_Bool val = elm_obj_genlist_homogeneous_get(obj);
99 return eina_value_bool_init(val);
100 }
101
102 EOAPI EFL_FUNC_BODY_CONST(elm_obj_genlist_homogeneous_get, Eina_Bool, 0);
103
104 void _elm_genlist_select_mode_set(Eo *obj, Elm_Genlist_Data *pd, Elm_Object_Select_Mode mode);
105
106 EOAPI EFL_VOID_FUNC_BODYV(elm_obj_genlist_select_mode_set, EFL_FUNC_CALL(mode), Elm_Object_Select_Mode mode);
107
108 Elm_Object_Select_Mode _elm_genlist_select_mode_get(const Eo *obj, Elm_Genlist_Data *pd);
109
110 EOAPI EFL_FUNC_BODY_CONST(elm_obj_genlist_select_mode_get, Elm_Object_Select_Mode, 4 /* Elm.Object.Select_Mode.max */);
111
112 void _elm_genlist_focus_on_selection_set(Eo *obj, Elm_Genlist_Data *pd, Eina_Bool enabled);
113
114
115 static Eina_Error
__eolian_elm_genlist_focus_on_selection_set_reflect(Eo * obj,Eina_Value val)116 __eolian_elm_genlist_focus_on_selection_set_reflect(Eo *obj, Eina_Value val)
117 {
118 Eina_Error r = 0; Eina_Bool cval;
119 if (!eina_value_bool_convert(&val, &cval))
120 {
121 r = EINA_ERROR_VALUE_FAILED;
122 goto end;
123 }
124 elm_obj_genlist_focus_on_selection_set(obj, cval);
125 end:
126 eina_value_flush(&val);
127 return r;
128 }
129
130 EOAPI EFL_VOID_FUNC_BODYV(elm_obj_genlist_focus_on_selection_set, EFL_FUNC_CALL(enabled), Eina_Bool enabled);
131
132 Eina_Bool _elm_genlist_focus_on_selection_get(const Eo *obj, Elm_Genlist_Data *pd);
133
134
135 static Eina_Value
__eolian_elm_genlist_focus_on_selection_get_reflect(const Eo * obj)136 __eolian_elm_genlist_focus_on_selection_get_reflect(const Eo *obj)
137 {
138 Eina_Bool val = elm_obj_genlist_focus_on_selection_get(obj);
139 return eina_value_bool_init(val);
140 }
141
142 EOAPI EFL_FUNC_BODY_CONST(elm_obj_genlist_focus_on_selection_get, Eina_Bool, 0);
143
144 void _elm_genlist_longpress_timeout_set(Eo *obj, Elm_Genlist_Data *pd, double timeout);
145
146
147 static Eina_Error
__eolian_elm_genlist_longpress_timeout_set_reflect(Eo * obj,Eina_Value val)148 __eolian_elm_genlist_longpress_timeout_set_reflect(Eo *obj, Eina_Value val)
149 {
150 Eina_Error r = 0; double cval;
151 if (!eina_value_double_convert(&val, &cval))
152 {
153 r = EINA_ERROR_VALUE_FAILED;
154 goto end;
155 }
156 elm_obj_genlist_longpress_timeout_set(obj, cval);
157 end:
158 eina_value_flush(&val);
159 return r;
160 }
161
162 EOAPI EFL_VOID_FUNC_BODYV(elm_obj_genlist_longpress_timeout_set, EFL_FUNC_CALL(timeout), double timeout);
163
164 double _elm_genlist_longpress_timeout_get(const Eo *obj, Elm_Genlist_Data *pd);
165
166
167 static Eina_Value
__eolian_elm_genlist_longpress_timeout_get_reflect(const Eo * obj)168 __eolian_elm_genlist_longpress_timeout_get_reflect(const Eo *obj)
169 {
170 double val = elm_obj_genlist_longpress_timeout_get(obj);
171 return eina_value_double_init(val);
172 }
173
174 EOAPI EFL_FUNC_BODY_CONST(elm_obj_genlist_longpress_timeout_get, double, 0);
175
176 void _elm_genlist_multi_select_set(Eo *obj, Elm_Genlist_Data *pd, Eina_Bool multi);
177
178
179 static Eina_Error
__eolian_elm_genlist_multi_select_set_reflect(Eo * obj,Eina_Value val)180 __eolian_elm_genlist_multi_select_set_reflect(Eo *obj, Eina_Value val)
181 {
182 Eina_Error r = 0; Eina_Bool cval;
183 if (!eina_value_bool_convert(&val, &cval))
184 {
185 r = EINA_ERROR_VALUE_FAILED;
186 goto end;
187 }
188 elm_obj_genlist_multi_select_set(obj, cval);
189 end:
190 eina_value_flush(&val);
191 return r;
192 }
193
194 EOAPI EFL_VOID_FUNC_BODYV(elm_obj_genlist_multi_select_set, EFL_FUNC_CALL(multi), Eina_Bool multi);
195
196 Eina_Bool _elm_genlist_multi_select_get(const Eo *obj, Elm_Genlist_Data *pd);
197
198
199 static Eina_Value
__eolian_elm_genlist_multi_select_get_reflect(const Eo * obj)200 __eolian_elm_genlist_multi_select_get_reflect(const Eo *obj)
201 {
202 Eina_Bool val = elm_obj_genlist_multi_select_get(obj);
203 return eina_value_bool_init(val);
204 }
205
206 EOAPI EFL_FUNC_BODY_CONST(elm_obj_genlist_multi_select_get, Eina_Bool, 0);
207
208 void _elm_genlist_reorder_mode_set(Eo *obj, Elm_Genlist_Data *pd, Eina_Bool reorder_mode);
209
210
211 static Eina_Error
__eolian_elm_genlist_reorder_mode_set_reflect(Eo * obj,Eina_Value val)212 __eolian_elm_genlist_reorder_mode_set_reflect(Eo *obj, Eina_Value val)
213 {
214 Eina_Error r = 0; Eina_Bool cval;
215 if (!eina_value_bool_convert(&val, &cval))
216 {
217 r = EINA_ERROR_VALUE_FAILED;
218 goto end;
219 }
220 elm_obj_genlist_reorder_mode_set(obj, cval);
221 end:
222 eina_value_flush(&val);
223 return r;
224 }
225
226 EOAPI EFL_VOID_FUNC_BODYV(elm_obj_genlist_reorder_mode_set, EFL_FUNC_CALL(reorder_mode), Eina_Bool reorder_mode);
227
228 Eina_Bool _elm_genlist_reorder_mode_get(const Eo *obj, Elm_Genlist_Data *pd);
229
230
231 static Eina_Value
__eolian_elm_genlist_reorder_mode_get_reflect(const Eo * obj)232 __eolian_elm_genlist_reorder_mode_get_reflect(const Eo *obj)
233 {
234 Eina_Bool val = elm_obj_genlist_reorder_mode_get(obj);
235 return eina_value_bool_init(val);
236 }
237
238 EOAPI EFL_FUNC_BODY_CONST(elm_obj_genlist_reorder_mode_get, Eina_Bool, 0);
239
240 void _elm_genlist_decorate_mode_set(Eo *obj, Elm_Genlist_Data *pd, Eina_Bool decorated);
241
242
243 static Eina_Error
__eolian_elm_genlist_decorate_mode_set_reflect(Eo * obj,Eina_Value val)244 __eolian_elm_genlist_decorate_mode_set_reflect(Eo *obj, Eina_Value val)
245 {
246 Eina_Error r = 0; Eina_Bool cval;
247 if (!eina_value_bool_convert(&val, &cval))
248 {
249 r = EINA_ERROR_VALUE_FAILED;
250 goto end;
251 }
252 elm_obj_genlist_decorate_mode_set(obj, cval);
253 end:
254 eina_value_flush(&val);
255 return r;
256 }
257
258 EOAPI EFL_VOID_FUNC_BODYV(elm_obj_genlist_decorate_mode_set, EFL_FUNC_CALL(decorated), Eina_Bool decorated);
259
260 Eina_Bool _elm_genlist_decorate_mode_get(const Eo *obj, Elm_Genlist_Data *pd);
261
262
263 static Eina_Value
__eolian_elm_genlist_decorate_mode_get_reflect(const Eo * obj)264 __eolian_elm_genlist_decorate_mode_get_reflect(const Eo *obj)
265 {
266 Eina_Bool val = elm_obj_genlist_decorate_mode_get(obj);
267 return eina_value_bool_init(val);
268 }
269
270 EOAPI EFL_FUNC_BODY_CONST(elm_obj_genlist_decorate_mode_get, Eina_Bool, 0);
271
272 void _elm_genlist_multi_select_mode_set(Eo *obj, Elm_Genlist_Data *pd, Elm_Object_Multi_Select_Mode mode);
273
274 EOAPI EFL_VOID_FUNC_BODYV(elm_obj_genlist_multi_select_mode_set, EFL_FUNC_CALL(mode), Elm_Object_Multi_Select_Mode mode);
275
276 Elm_Object_Multi_Select_Mode _elm_genlist_multi_select_mode_get(const Eo *obj, Elm_Genlist_Data *pd);
277
278 EOAPI EFL_FUNC_BODY_CONST(elm_obj_genlist_multi_select_mode_get, Elm_Object_Multi_Select_Mode, 2 /* Elm.Object.Multi_Select_Mode.max */);
279
280 void _elm_genlist_block_count_set(Eo *obj, Elm_Genlist_Data *pd, int count);
281
282
283 static Eina_Error
__eolian_elm_genlist_block_count_set_reflect(Eo * obj,Eina_Value val)284 __eolian_elm_genlist_block_count_set_reflect(Eo *obj, Eina_Value val)
285 {
286 Eina_Error r = 0; int cval;
287 if (!eina_value_int_convert(&val, &cval))
288 {
289 r = EINA_ERROR_VALUE_FAILED;
290 goto end;
291 }
292 elm_obj_genlist_block_count_set(obj, cval);
293 end:
294 eina_value_flush(&val);
295 return r;
296 }
297
298 EOAPI EFL_VOID_FUNC_BODYV(elm_obj_genlist_block_count_set, EFL_FUNC_CALL(count), int count);
299
300 int _elm_genlist_block_count_get(const Eo *obj, Elm_Genlist_Data *pd);
301
302
303 static Eina_Value
__eolian_elm_genlist_block_count_get_reflect(const Eo * obj)304 __eolian_elm_genlist_block_count_get_reflect(const Eo *obj)
305 {
306 int val = elm_obj_genlist_block_count_get(obj);
307 return eina_value_int_init(val);
308 }
309
310 EOAPI EFL_FUNC_BODY_CONST(elm_obj_genlist_block_count_get, int, 0);
311
312 void _elm_genlist_tree_effect_enabled_set(Eo *obj, Elm_Genlist_Data *pd, Eina_Bool enabled);
313
314
315 static Eina_Error
__eolian_elm_genlist_tree_effect_enabled_set_reflect(Eo * obj,Eina_Value val)316 __eolian_elm_genlist_tree_effect_enabled_set_reflect(Eo *obj, Eina_Value val)
317 {
318 Eina_Error r = 0; Eina_Bool cval;
319 if (!eina_value_bool_convert(&val, &cval))
320 {
321 r = EINA_ERROR_VALUE_FAILED;
322 goto end;
323 }
324 elm_obj_genlist_tree_effect_enabled_set(obj, cval);
325 end:
326 eina_value_flush(&val);
327 return r;
328 }
329
330 EOAPI EFL_VOID_FUNC_BODYV(elm_obj_genlist_tree_effect_enabled_set, EFL_FUNC_CALL(enabled), Eina_Bool enabled);
331
332 Eina_Bool _elm_genlist_tree_effect_enabled_get(const Eo *obj, Elm_Genlist_Data *pd);
333
334
335 static Eina_Value
__eolian_elm_genlist_tree_effect_enabled_get_reflect(const Eo * obj)336 __eolian_elm_genlist_tree_effect_enabled_get_reflect(const Eo *obj)
337 {
338 Eina_Bool val = elm_obj_genlist_tree_effect_enabled_get(obj);
339 return eina_value_bool_init(val);
340 }
341
342 EOAPI EFL_FUNC_BODY_CONST(elm_obj_genlist_tree_effect_enabled_get, Eina_Bool, 0);
343
344 void _elm_genlist_highlight_mode_set(Eo *obj, Elm_Genlist_Data *pd, Eina_Bool highlight);
345
346
347 static Eina_Error
__eolian_elm_genlist_highlight_mode_set_reflect(Eo * obj,Eina_Value val)348 __eolian_elm_genlist_highlight_mode_set_reflect(Eo *obj, Eina_Value val)
349 {
350 Eina_Error r = 0; Eina_Bool cval;
351 if (!eina_value_bool_convert(&val, &cval))
352 {
353 r = EINA_ERROR_VALUE_FAILED;
354 goto end;
355 }
356 elm_obj_genlist_highlight_mode_set(obj, cval);
357 end:
358 eina_value_flush(&val);
359 return r;
360 }
361
362 EOAPI EFL_VOID_FUNC_BODYV(elm_obj_genlist_highlight_mode_set, EFL_FUNC_CALL(highlight), Eina_Bool highlight);
363
364 Eina_Bool _elm_genlist_highlight_mode_get(const Eo *obj, Elm_Genlist_Data *pd);
365
366
367 static Eina_Value
__eolian_elm_genlist_highlight_mode_get_reflect(const Eo * obj)368 __eolian_elm_genlist_highlight_mode_get_reflect(const Eo *obj)
369 {
370 Eina_Bool val = elm_obj_genlist_highlight_mode_get(obj);
371 return eina_value_bool_init(val);
372 }
373
374 EOAPI EFL_FUNC_BODY_CONST(elm_obj_genlist_highlight_mode_get, Eina_Bool, 0);
375
376 void _elm_genlist_mode_set(Eo *obj, Elm_Genlist_Data *pd, Elm_List_Mode mode);
377
378 EOAPI EFL_VOID_FUNC_BODYV(elm_obj_genlist_mode_set, EFL_FUNC_CALL(mode), Elm_List_Mode mode);
379
380 Elm_List_Mode _elm_genlist_mode_get(const Eo *obj, Elm_Genlist_Data *pd);
381
382 EOAPI EFL_FUNC_BODY_CONST(elm_obj_genlist_mode_get, Elm_List_Mode, 4 /* Elm.List.Mode.last */);
383
384 Elm_Widget_Item *_elm_genlist_decorated_item_get(const Eo *obj, Elm_Genlist_Data *pd);
385
386 EOAPI EFL_FUNC_BODY_CONST(elm_obj_genlist_decorated_item_get, Elm_Widget_Item *, NULL);
387
388 Elm_Widget_Item *_elm_genlist_selected_item_get(const Eo *obj, Elm_Genlist_Data *pd);
389
390 EOAPI EFL_FUNC_BODY_CONST(elm_obj_genlist_selected_item_get, Elm_Widget_Item *, NULL);
391
392 Elm_Widget_Item *_elm_genlist_first_item_get(const Eo *obj, Elm_Genlist_Data *pd);
393
394 EOAPI EFL_FUNC_BODY_CONST(elm_obj_genlist_first_item_get, Elm_Widget_Item *, NULL);
395
396 Eina_List *_elm_genlist_realized_items_get(const Eo *obj, Elm_Genlist_Data *pd);
397
398 EOAPI EFL_FUNC_BODY_CONST(elm_obj_genlist_realized_items_get, Eina_List *, NULL);
399
400 const Eina_List *_elm_genlist_selected_items_get(const Eo *obj, Elm_Genlist_Data *pd);
401
402 EOAPI EFL_FUNC_BODY_CONST(elm_obj_genlist_selected_items_get, const Eina_List *, NULL);
403
404 Elm_Widget_Item *_elm_genlist_last_item_get(const Eo *obj, Elm_Genlist_Data *pd);
405
406 EOAPI EFL_FUNC_BODY_CONST(elm_obj_genlist_last_item_get, Elm_Widget_Item *, NULL);
407
408 Elm_Widget_Item *_elm_genlist_item_insert_before(Eo *obj, Elm_Genlist_Data *pd, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Widget_Item *parent, Elm_Widget_Item *before_it, Elm_Genlist_Item_Type type, Evas_Smart_Cb func, const void *func_data);
409
410 EOAPI EFL_FUNC_BODYV(elm_obj_genlist_item_insert_before, Elm_Widget_Item *, NULL, EFL_FUNC_CALL(itc, data, parent, before_it, type, func, func_data), const Elm_Genlist_Item_Class *itc, const void *data, Elm_Widget_Item *parent, Elm_Widget_Item *before_it, Elm_Genlist_Item_Type type, Evas_Smart_Cb func, const void *func_data);
411
412 void _elm_genlist_realized_items_update(Eo *obj, Elm_Genlist_Data *pd);
413
414 EOAPI EFL_VOID_FUNC_BODY(elm_obj_genlist_realized_items_update);
415
416 Elm_Widget_Item *_elm_genlist_item_insert_after(Eo *obj, Elm_Genlist_Data *pd, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Widget_Item *parent, Elm_Widget_Item *after_it, Elm_Genlist_Item_Type type, Evas_Smart_Cb func, const void *func_data);
417
418 EOAPI EFL_FUNC_BODYV(elm_obj_genlist_item_insert_after, Elm_Widget_Item *, NULL, EFL_FUNC_CALL(itc, data, parent, after_it, type, func, func_data), const Elm_Genlist_Item_Class *itc, const void *data, Elm_Widget_Item *parent, Elm_Widget_Item *after_it, Elm_Genlist_Item_Type type, Evas_Smart_Cb func, const void *func_data);
419
420 Elm_Widget_Item *_elm_genlist_at_xy_item_get(const Eo *obj, Elm_Genlist_Data *pd, int x, int y, int *posret);
421
422 EOAPI EFL_FUNC_BODYV_CONST(elm_obj_genlist_at_xy_item_get, Elm_Widget_Item *, NULL, EFL_FUNC_CALL(x, y, posret), int x, int y, int *posret);
423
424 void _elm_genlist_filter_set(Eo *obj, Elm_Genlist_Data *pd, void *key);
425
426 EOAPI EFL_VOID_FUNC_BODYV(elm_obj_genlist_filter_set, EFL_FUNC_CALL(key), void *key);
427
428 Eina_Iterator *_elm_genlist_filter_iterator_new(Eo *obj, Elm_Genlist_Data *pd);
429
430 EOAPI EFL_FUNC_BODY(elm_obj_genlist_filter_iterator_new, Eina_Iterator *, NULL);
431
432 unsigned int _elm_genlist_filtered_items_count(const Eo *obj, Elm_Genlist_Data *pd);
433
434 EOAPI EFL_FUNC_BODY_CONST(elm_obj_genlist_filtered_items_count, unsigned int, 0);
435
436 unsigned int _elm_genlist_items_count(const Eo *obj, Elm_Genlist_Data *pd);
437
438 EOAPI EFL_FUNC_BODY_CONST(elm_obj_genlist_items_count, unsigned int, 0);
439
440 Elm_Widget_Item *_elm_genlist_item_prepend(Eo *obj, Elm_Genlist_Data *pd, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Widget_Item *parent, Elm_Genlist_Item_Type type, Evas_Smart_Cb func, const void *func_data);
441
442 EOAPI EFL_FUNC_BODYV(elm_obj_genlist_item_prepend, Elm_Widget_Item *, NULL, EFL_FUNC_CALL(itc, data, parent, type, func, func_data), const Elm_Genlist_Item_Class *itc, const void *data, Elm_Widget_Item *parent, Elm_Genlist_Item_Type type, Evas_Smart_Cb func, const void *func_data);
443
444 void _elm_genlist_clear(Eo *obj, Elm_Genlist_Data *pd);
445
446 EOAPI EFL_VOID_FUNC_BODY(elm_obj_genlist_clear);
447
448 Elm_Widget_Item *_elm_genlist_item_append(Eo *obj, Elm_Genlist_Data *pd, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Widget_Item *parent, Elm_Genlist_Item_Type type, Evas_Smart_Cb func, const void *func_data);
449
450 EOAPI EFL_FUNC_BODYV(elm_obj_genlist_item_append, Elm_Widget_Item *, NULL, EFL_FUNC_CALL(itc, data, parent, type, func, func_data), const Elm_Genlist_Item_Class *itc, const void *data, Elm_Widget_Item *parent, Elm_Genlist_Item_Type type, Evas_Smart_Cb func, const void *func_data);
451
452 Elm_Widget_Item *_elm_genlist_item_sorted_insert(Eo *obj, Elm_Genlist_Data *pd, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Widget_Item *parent, Elm_Genlist_Item_Type type, Eina_Compare_Cb comp, Evas_Smart_Cb func, const void *func_data);
453
454 EOAPI EFL_FUNC_BODYV(elm_obj_genlist_item_sorted_insert, Elm_Widget_Item *, NULL, EFL_FUNC_CALL(itc, data, parent, type, comp, func, func_data), const Elm_Genlist_Item_Class *itc, const void *data, Elm_Widget_Item *parent, Elm_Genlist_Item_Type type, Eina_Compare_Cb comp, Evas_Smart_Cb func, const void *func_data);
455
456 Elm_Widget_Item *_elm_genlist_search_by_text_item_get(Eo *obj, Elm_Genlist_Data *pd, Elm_Widget_Item *item_to_search_from, const char *part_name, const char *pattern, Elm_Glob_Match_Flags flags);
457
458 EOAPI EFL_FUNC_BODYV(elm_obj_genlist_search_by_text_item_get, Elm_Widget_Item *, NULL, EFL_FUNC_CALL(item_to_search_from, part_name, pattern, flags), Elm_Widget_Item *item_to_search_from, const char *part_name, const char *pattern, Elm_Glob_Match_Flags flags);
459
460 Efl_Object *_elm_genlist_efl_object_constructor(Eo *obj, Elm_Genlist_Data *pd);
461
462
463 void _elm_genlist_efl_gfx_entity_position_set(Eo *obj, Elm_Genlist_Data *pd, Eina_Position2D pos);
464
465
466 void _elm_genlist_efl_gfx_entity_size_set(Eo *obj, Elm_Genlist_Data *pd, Eina_Size2D size);
467
468
469 void _elm_genlist_efl_canvas_group_group_member_add(Eo *obj, Elm_Genlist_Data *pd, Efl_Canvas_Object *sub_obj);
470
471
472 Efl_Object *_elm_genlist_efl_object_provider_find(const Eo *obj, Elm_Genlist_Data *pd, const Efl_Class *klass);
473
474
475 Eina_Error _elm_genlist_efl_ui_widget_theme_apply(Eo *obj, Elm_Genlist_Data *pd);
476
477
478 Eina_Bool _elm_genlist_efl_ui_widget_widget_sub_object_add(Eo *obj, Elm_Genlist_Data *pd, Efl_Canvas_Object *sub_obj);
479
480
481 void _elm_genlist_efl_ui_widget_on_access_update(Eo *obj, Elm_Genlist_Data *pd, Eina_Bool enable);
482
483
484 Eina_Rect _elm_genlist_efl_ui_widget_focus_highlight_geometry_get(const Eo *obj, Elm_Genlist_Data *pd);
485
486
487 Eina_Bool _elm_genlist_efl_ui_focus_object_on_focus_update(Eo *obj, Elm_Genlist_Data *pd);
488
489
490 Eina_Bool _elm_genlist_efl_ui_widget_widget_sub_object_del(Eo *obj, Elm_Genlist_Data *pd, Efl_Canvas_Object *sub_obj);
491
492
493 Eina_Bool _elm_genlist_efl_ui_widget_widget_input_event_handler(Eo *obj, Elm_Genlist_Data *pd, const Efl_Event *eo_event, Efl_Canvas_Object *source);
494
495
496 Elm_Widget_Item *_elm_genlist_elm_widget_item_container_focused_item_get(const Eo *obj, Elm_Genlist_Data *pd);
497
498
499 void _elm_genlist_elm_interface_scrollable_item_loop_enabled_set(Eo *obj, Elm_Genlist_Data *pd, Eina_Bool enable);
500
501
502 Eina_Bool _elm_genlist_elm_interface_scrollable_item_loop_enabled_get(const Eo *obj, Elm_Genlist_Data *pd);
503
504
505 void _elm_genlist_elm_interface_scrollable_bounce_allow_set(Eo *obj, Elm_Genlist_Data *pd, Eina_Bool horiz, Eina_Bool vert);
506
507
508 void _elm_genlist_elm_interface_scrollable_bounce_allow_get(const Eo *obj, Elm_Genlist_Data *pd, Eina_Bool *horiz, Eina_Bool *vert);
509
510
511 void _elm_genlist_elm_interface_scrollable_policy_set(Eo *obj, Elm_Genlist_Data *pd, Elm_Scroller_Policy hbar, Elm_Scroller_Policy vbar);
512
513
514 void _elm_genlist_elm_interface_scrollable_policy_get(const Eo *obj, Elm_Genlist_Data *pd, Elm_Scroller_Policy *hbar, Elm_Scroller_Policy *vbar);
515
516
517 Eina_List *_elm_genlist_efl_access_object_access_children_get(const Eo *obj, Elm_Genlist_Data *pd);
518
519
520 Efl_Access_State_Set _elm_genlist_efl_access_object_state_set_get(const Eo *obj, Elm_Genlist_Data *pd);
521
522
523 const Efl_Access_Action_Data *_elm_genlist_efl_access_widget_action_elm_actions_get(const Eo *obj, Elm_Genlist_Data *pd);
524
525
526 int _elm_genlist_efl_access_selection_selected_children_count_get(const Eo *obj, Elm_Genlist_Data *pd);
527
528
529 Efl_Object *_elm_genlist_efl_access_selection_selected_child_get(const Eo *obj, Elm_Genlist_Data *pd, int selected_child_index);
530
531
532 Eina_Bool _elm_genlist_efl_access_selection_selected_child_deselect(Eo *obj, Elm_Genlist_Data *pd, int child_index);
533
534
535 Eina_Bool _elm_genlist_efl_access_selection_child_select(Eo *obj, Elm_Genlist_Data *pd, int child_index);
536
537
538 Eina_Bool _elm_genlist_efl_access_selection_child_deselect(Eo *obj, Elm_Genlist_Data *pd, int child_index);
539
540
541 Eina_Bool _elm_genlist_efl_access_selection_is_child_selected(Eo *obj, Elm_Genlist_Data *pd, int child_index);
542
543
544 Eina_Bool _elm_genlist_efl_access_selection_all_children_select(Eo *obj, Elm_Genlist_Data *pd);
545
546
547 Eina_Bool _elm_genlist_efl_access_selection_access_selection_clear(Eo *obj, Elm_Genlist_Data *pd);
548
549
550 Eina_Bool _elm_genlist_efl_ui_widget_focus_state_apply(Eo *obj, Elm_Genlist_Data *pd, Efl_Ui_Widget_Focus_State current_state, Efl_Ui_Widget_Focus_State *configured_state, Efl_Ui_Widget *redirect);
551
552
553 void _elm_genlist_efl_ui_focus_manager_setup_on_first_touch(Eo *obj, Elm_Genlist_Data *pd, Efl_Ui_Focus_Direction direction, Efl_Ui_Focus_Object *entry);
554
555
556 Efl_Ui_Focus_Object *_elm_genlist_efl_ui_focus_manager_manager_focus_get(const Eo *obj, Elm_Genlist_Data *pd);
557
558
559 Efl_Ui_Focus_Object *_elm_genlist_efl_ui_focus_manager_move(Eo *obj, Elm_Genlist_Data *pd, Efl_Ui_Focus_Direction direction);
560
561
562 static Eina_Bool
_elm_genlist_class_initializer(Efl_Class * klass)563 _elm_genlist_class_initializer(Efl_Class *klass)
564 {
565 const Efl_Object_Ops *opsp = NULL;
566
567 const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
568
569 #ifndef ELM_GENLIST_EXTRA_OPS
570 #define ELM_GENLIST_EXTRA_OPS
571 #endif
572
573 EFL_OPS_DEFINE(ops,
574 EFL_OBJECT_OP_FUNC(elm_obj_genlist_homogeneous_set, _elm_genlist_homogeneous_set),
575 EFL_OBJECT_OP_FUNC(elm_obj_genlist_homogeneous_get, _elm_genlist_homogeneous_get),
576 EFL_OBJECT_OP_FUNC(elm_obj_genlist_select_mode_set, _elm_genlist_select_mode_set),
577 EFL_OBJECT_OP_FUNC(elm_obj_genlist_select_mode_get, _elm_genlist_select_mode_get),
578 EFL_OBJECT_OP_FUNC(elm_obj_genlist_focus_on_selection_set, _elm_genlist_focus_on_selection_set),
579 EFL_OBJECT_OP_FUNC(elm_obj_genlist_focus_on_selection_get, _elm_genlist_focus_on_selection_get),
580 EFL_OBJECT_OP_FUNC(elm_obj_genlist_longpress_timeout_set, _elm_genlist_longpress_timeout_set),
581 EFL_OBJECT_OP_FUNC(elm_obj_genlist_longpress_timeout_get, _elm_genlist_longpress_timeout_get),
582 EFL_OBJECT_OP_FUNC(elm_obj_genlist_multi_select_set, _elm_genlist_multi_select_set),
583 EFL_OBJECT_OP_FUNC(elm_obj_genlist_multi_select_get, _elm_genlist_multi_select_get),
584 EFL_OBJECT_OP_FUNC(elm_obj_genlist_reorder_mode_set, _elm_genlist_reorder_mode_set),
585 EFL_OBJECT_OP_FUNC(elm_obj_genlist_reorder_mode_get, _elm_genlist_reorder_mode_get),
586 EFL_OBJECT_OP_FUNC(elm_obj_genlist_decorate_mode_set, _elm_genlist_decorate_mode_set),
587 EFL_OBJECT_OP_FUNC(elm_obj_genlist_decorate_mode_get, _elm_genlist_decorate_mode_get),
588 EFL_OBJECT_OP_FUNC(elm_obj_genlist_multi_select_mode_set, _elm_genlist_multi_select_mode_set),
589 EFL_OBJECT_OP_FUNC(elm_obj_genlist_multi_select_mode_get, _elm_genlist_multi_select_mode_get),
590 EFL_OBJECT_OP_FUNC(elm_obj_genlist_block_count_set, _elm_genlist_block_count_set),
591 EFL_OBJECT_OP_FUNC(elm_obj_genlist_block_count_get, _elm_genlist_block_count_get),
592 EFL_OBJECT_OP_FUNC(elm_obj_genlist_tree_effect_enabled_set, _elm_genlist_tree_effect_enabled_set),
593 EFL_OBJECT_OP_FUNC(elm_obj_genlist_tree_effect_enabled_get, _elm_genlist_tree_effect_enabled_get),
594 EFL_OBJECT_OP_FUNC(elm_obj_genlist_highlight_mode_set, _elm_genlist_highlight_mode_set),
595 EFL_OBJECT_OP_FUNC(elm_obj_genlist_highlight_mode_get, _elm_genlist_highlight_mode_get),
596 EFL_OBJECT_OP_FUNC(elm_obj_genlist_mode_set, _elm_genlist_mode_set),
597 EFL_OBJECT_OP_FUNC(elm_obj_genlist_mode_get, _elm_genlist_mode_get),
598 EFL_OBJECT_OP_FUNC(elm_obj_genlist_decorated_item_get, _elm_genlist_decorated_item_get),
599 EFL_OBJECT_OP_FUNC(elm_obj_genlist_selected_item_get, _elm_genlist_selected_item_get),
600 EFL_OBJECT_OP_FUNC(elm_obj_genlist_first_item_get, _elm_genlist_first_item_get),
601 EFL_OBJECT_OP_FUNC(elm_obj_genlist_realized_items_get, _elm_genlist_realized_items_get),
602 EFL_OBJECT_OP_FUNC(elm_obj_genlist_selected_items_get, _elm_genlist_selected_items_get),
603 EFL_OBJECT_OP_FUNC(elm_obj_genlist_last_item_get, _elm_genlist_last_item_get),
604 EFL_OBJECT_OP_FUNC(elm_obj_genlist_item_insert_before, _elm_genlist_item_insert_before),
605 EFL_OBJECT_OP_FUNC(elm_obj_genlist_realized_items_update, _elm_genlist_realized_items_update),
606 EFL_OBJECT_OP_FUNC(elm_obj_genlist_item_insert_after, _elm_genlist_item_insert_after),
607 EFL_OBJECT_OP_FUNC(elm_obj_genlist_at_xy_item_get, _elm_genlist_at_xy_item_get),
608 EFL_OBJECT_OP_FUNC(elm_obj_genlist_filter_set, _elm_genlist_filter_set),
609 EFL_OBJECT_OP_FUNC(elm_obj_genlist_filter_iterator_new, _elm_genlist_filter_iterator_new),
610 EFL_OBJECT_OP_FUNC(elm_obj_genlist_filtered_items_count, _elm_genlist_filtered_items_count),
611 EFL_OBJECT_OP_FUNC(elm_obj_genlist_items_count, _elm_genlist_items_count),
612 EFL_OBJECT_OP_FUNC(elm_obj_genlist_item_prepend, _elm_genlist_item_prepend),
613 EFL_OBJECT_OP_FUNC(elm_obj_genlist_clear, _elm_genlist_clear),
614 EFL_OBJECT_OP_FUNC(elm_obj_genlist_item_append, _elm_genlist_item_append),
615 EFL_OBJECT_OP_FUNC(elm_obj_genlist_item_sorted_insert, _elm_genlist_item_sorted_insert),
616 EFL_OBJECT_OP_FUNC(elm_obj_genlist_search_by_text_item_get, _elm_genlist_search_by_text_item_get),
617 EFL_OBJECT_OP_FUNC(efl_constructor, _elm_genlist_efl_object_constructor),
618 EFL_OBJECT_OP_FUNC(efl_gfx_entity_position_set, _elm_genlist_efl_gfx_entity_position_set),
619 EFL_OBJECT_OP_FUNC(efl_gfx_entity_size_set, _elm_genlist_efl_gfx_entity_size_set),
620 EFL_OBJECT_OP_FUNC(efl_canvas_group_member_add, _elm_genlist_efl_canvas_group_group_member_add),
621 EFL_OBJECT_OP_FUNC(efl_provider_find, _elm_genlist_efl_object_provider_find),
622 EFL_OBJECT_OP_FUNC(efl_ui_widget_theme_apply, _elm_genlist_efl_ui_widget_theme_apply),
623 EFL_OBJECT_OP_FUNC(efl_ui_widget_sub_object_add, _elm_genlist_efl_ui_widget_widget_sub_object_add),
624 EFL_OBJECT_OP_FUNC(efl_ui_widget_on_access_update, _elm_genlist_efl_ui_widget_on_access_update),
625 EFL_OBJECT_OP_FUNC(efl_ui_widget_focus_highlight_geometry_get, _elm_genlist_efl_ui_widget_focus_highlight_geometry_get),
626 EFL_OBJECT_OP_FUNC(efl_ui_focus_object_on_focus_update, _elm_genlist_efl_ui_focus_object_on_focus_update),
627 EFL_OBJECT_OP_FUNC(efl_ui_widget_sub_object_del, _elm_genlist_efl_ui_widget_widget_sub_object_del),
628 EFL_OBJECT_OP_FUNC(efl_ui_widget_input_event_handler, _elm_genlist_efl_ui_widget_widget_input_event_handler),
629 EFL_OBJECT_OP_FUNC(elm_widget_item_container_focused_item_get, _elm_genlist_elm_widget_item_container_focused_item_get),
630 EFL_OBJECT_OP_FUNC(elm_interface_scrollable_item_loop_enabled_set, _elm_genlist_elm_interface_scrollable_item_loop_enabled_set),
631 EFL_OBJECT_OP_FUNC(elm_interface_scrollable_item_loop_enabled_get, _elm_genlist_elm_interface_scrollable_item_loop_enabled_get),
632 EFL_OBJECT_OP_FUNC(elm_interface_scrollable_bounce_allow_set, _elm_genlist_elm_interface_scrollable_bounce_allow_set),
633 EFL_OBJECT_OP_FUNC(elm_interface_scrollable_bounce_allow_get, _elm_genlist_elm_interface_scrollable_bounce_allow_get),
634 EFL_OBJECT_OP_FUNC(elm_interface_scrollable_policy_set, _elm_genlist_elm_interface_scrollable_policy_set),
635 EFL_OBJECT_OP_FUNC(elm_interface_scrollable_policy_get, _elm_genlist_elm_interface_scrollable_policy_get),
636 EFL_OBJECT_OP_FUNC(efl_access_object_access_children_get, _elm_genlist_efl_access_object_access_children_get),
637 EFL_OBJECT_OP_FUNC(efl_access_object_state_set_get, _elm_genlist_efl_access_object_state_set_get),
638 EFL_OBJECT_OP_FUNC(efl_access_widget_action_elm_actions_get, _elm_genlist_efl_access_widget_action_elm_actions_get),
639 EFL_OBJECT_OP_FUNC(efl_access_selection_selected_children_count_get, _elm_genlist_efl_access_selection_selected_children_count_get),
640 EFL_OBJECT_OP_FUNC(efl_access_selection_selected_child_get, _elm_genlist_efl_access_selection_selected_child_get),
641 EFL_OBJECT_OP_FUNC(efl_access_selection_selected_child_deselect, _elm_genlist_efl_access_selection_selected_child_deselect),
642 EFL_OBJECT_OP_FUNC(efl_access_selection_child_select, _elm_genlist_efl_access_selection_child_select),
643 EFL_OBJECT_OP_FUNC(efl_access_selection_child_deselect, _elm_genlist_efl_access_selection_child_deselect),
644 EFL_OBJECT_OP_FUNC(efl_access_selection_is_child_selected, _elm_genlist_efl_access_selection_is_child_selected),
645 EFL_OBJECT_OP_FUNC(efl_access_selection_all_children_select, _elm_genlist_efl_access_selection_all_children_select),
646 EFL_OBJECT_OP_FUNC(efl_access_selection_clear, _elm_genlist_efl_access_selection_access_selection_clear),
647 EFL_OBJECT_OP_FUNC(efl_ui_widget_focus_state_apply, _elm_genlist_efl_ui_widget_focus_state_apply),
648 EFL_OBJECT_OP_FUNC(efl_ui_focus_manager_setup_on_first_touch, _elm_genlist_efl_ui_focus_manager_setup_on_first_touch),
649 EFL_OBJECT_OP_FUNC(efl_ui_focus_manager_focus_get, _elm_genlist_efl_ui_focus_manager_manager_focus_get),
650 EFL_OBJECT_OP_FUNC(efl_ui_focus_manager_move, _elm_genlist_efl_ui_focus_manager_move),
651 ELM_GENLIST_EXTRA_OPS
652 );
653 opsp = &ops;
654
655 static const Efl_Object_Property_Reflection refl_table[] = {
656 {"homogeneous", __eolian_elm_genlist_homogeneous_set_reflect, __eolian_elm_genlist_homogeneous_get_reflect},
657 {"focus_on_selection", __eolian_elm_genlist_focus_on_selection_set_reflect, __eolian_elm_genlist_focus_on_selection_get_reflect},
658 {"longpress_timeout", __eolian_elm_genlist_longpress_timeout_set_reflect, __eolian_elm_genlist_longpress_timeout_get_reflect},
659 {"multi_select", __eolian_elm_genlist_multi_select_set_reflect, __eolian_elm_genlist_multi_select_get_reflect},
660 {"reorder_mode", __eolian_elm_genlist_reorder_mode_set_reflect, __eolian_elm_genlist_reorder_mode_get_reflect},
661 {"decorate_mode", __eolian_elm_genlist_decorate_mode_set_reflect, __eolian_elm_genlist_decorate_mode_get_reflect},
662 {"block_count", __eolian_elm_genlist_block_count_set_reflect, __eolian_elm_genlist_block_count_get_reflect},
663 {"tree_effect_enabled", __eolian_elm_genlist_tree_effect_enabled_set_reflect, __eolian_elm_genlist_tree_effect_enabled_get_reflect},
664 {"highlight_mode", __eolian_elm_genlist_highlight_mode_set_reflect, __eolian_elm_genlist_highlight_mode_get_reflect},
665 };
666 static const Efl_Object_Property_Reflection_Ops rops = {
667 refl_table, EINA_C_ARRAY_LENGTH(refl_table)
668 };
669 ropsp = &rops;
670
671 return efl_class_functions_set(klass, opsp, ropsp);
672 }
673
674 static const Efl_Class_Description _elm_genlist_class_desc = {
675 EO_VERSION,
676 "Elm.Genlist",
677 EFL_CLASS_TYPE_REGULAR,
678 sizeof(Elm_Genlist_Data),
679 _elm_genlist_class_initializer,
680 _elm_genlist_class_constructor,
681 NULL
682 };
683
684 EFL_DEFINE_CLASS(elm_genlist_class_get, &_elm_genlist_class_desc, EFL_UI_LAYOUT_BASE_CLASS, ELM_INTERFACE_SCROLLABLE_MIXIN, EFL_INPUT_CLICKABLE_MIXIN, EFL_ACCESS_WIDGET_ACTION_MIXIN, EFL_ACCESS_SELECTION_INTERFACE, ELM_LAYOUT_MIXIN, EFL_UI_LEGACY_INTERFACE, ELM_WIDGET_ITEM_CONTAINER_INTERFACE, NULL);
685
686 #include "elm_genlist_eo.legacy.c"
687