summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_multibuttonentry_item_eo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_multibuttonentry_item_eo.c')
-rw-r--r--src/lib/elementary/elm_multibuttonentry_item_eo.c121
1 files changed, 121 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_multibuttonentry_item_eo.c b/src/lib/elementary/elm_multibuttonentry_item_eo.c
new file mode 100644
index 0000000..0fcd277
--- /dev/null
+++ b/src/lib/elementary/elm_multibuttonentry_item_eo.c
@@ -0,0 +1,121 @@
1
2void _elm_multibuttonentry_item_selected_set(Eo *obj, Elm_Multibuttonentry_Item_Data *pd, Eina_Bool selected);
3
4
5static Eina_Error
6__eolian_elm_multibuttonentry_item_selected_set_reflect(Eo *obj, Eina_Value val)
7{
8 Eina_Error r = 0; Eina_Bool cval;
9 if (!eina_value_bool_convert(&val, &cval))
10 {
11 r = EINA_ERROR_VALUE_FAILED;
12 goto end;
13 }
14 elm_obj_multibuttonentry_item_selected_set(obj, cval);
15 end:
16 eina_value_flush(&val);
17 return r;
18}
19
20EOAPI EFL_VOID_FUNC_BODYV(elm_obj_multibuttonentry_item_selected_set, EFL_FUNC_CALL(selected), Eina_Bool selected);
21
22Eina_Bool _elm_multibuttonentry_item_selected_get(const Eo *obj, Elm_Multibuttonentry_Item_Data *pd);
23
24
25static Eina_Value
26__eolian_elm_multibuttonentry_item_selected_get_reflect(Eo *obj)
27{
28 Eina_Bool val = elm_obj_multibuttonentry_item_selected_get(obj);
29 return eina_value_bool_init(val);
30}
31
32EOAPI EFL_FUNC_BODY_CONST(elm_obj_multibuttonentry_item_selected_get, Eina_Bool, 0);
33
34Elm_Widget_Item *_elm_multibuttonentry_item_prev_get(const Eo *obj, Elm_Multibuttonentry_Item_Data *pd);
35
36EOAPI EFL_FUNC_BODY_CONST(elm_obj_multibuttonentry_item_prev_get, Elm_Widget_Item *, NULL);
37
38Elm_Widget_Item *_elm_multibuttonentry_item_next_get(const Eo *obj, Elm_Multibuttonentry_Item_Data *pd);
39
40EOAPI EFL_FUNC_BODY_CONST(elm_obj_multibuttonentry_item_next_get, Elm_Widget_Item *, NULL);
41
42Efl_Object *_elm_multibuttonentry_item_efl_object_constructor(Eo *obj, Elm_Multibuttonentry_Item_Data *pd);
43
44
45void _elm_multibuttonentry_item_efl_object_destructor(Eo *obj, Elm_Multibuttonentry_Item_Data *pd);
46
47
48void _elm_multibuttonentry_item_elm_widget_item_signal_emit(Eo *obj, Elm_Multibuttonentry_Item_Data *pd, const char *emission, const char *source);
49
50
51void _elm_multibuttonentry_item_elm_widget_item_part_text_set(Eo *obj, Elm_Multibuttonentry_Item_Data *pd, const char *part, const char *label);
52
53
54const char *_elm_multibuttonentry_item_elm_widget_item_part_text_get(const Eo *obj, Elm_Multibuttonentry_Item_Data *pd, const char *part);
55
56
57void _elm_multibuttonentry_item_elm_widget_item_disable(Eo *obj, Elm_Multibuttonentry_Item_Data *pd);
58
59
60const char *_elm_multibuttonentry_item_efl_access_object_i18n_name_get(const Eo *obj, Elm_Multibuttonentry_Item_Data *pd);
61
62
63Efl_Access_State_Set _elm_multibuttonentry_item_efl_access_object_state_set_get(const Eo *obj, Elm_Multibuttonentry_Item_Data *pd);
64
65
66const Efl_Access_Action_Data *_elm_multibuttonentry_item_efl_access_widget_action_elm_actions_get(const Eo *obj, Elm_Multibuttonentry_Item_Data *pd);
67
68
69static Eina_Bool
70_elm_multibuttonentry_item_class_initializer(Efl_Class *klass)
71{
72 const Efl_Object_Ops *opsp = NULL;
73
74 const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
75
76#ifndef ELM_MULTIBUTTONENTRY_ITEM_EXTRA_OPS
77#define ELM_MULTIBUTTONENTRY_ITEM_EXTRA_OPS
78#endif
79
80 EFL_OPS_DEFINE(ops,
81 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_item_selected_set, _elm_multibuttonentry_item_selected_set),
82 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_item_selected_get, _elm_multibuttonentry_item_selected_get),
83 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_item_prev_get, _elm_multibuttonentry_item_prev_get),
84 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_item_next_get, _elm_multibuttonentry_item_next_get),
85 EFL_OBJECT_OP_FUNC(efl_constructor, _elm_multibuttonentry_item_efl_object_constructor),
86 EFL_OBJECT_OP_FUNC(efl_destructor, _elm_multibuttonentry_item_efl_object_destructor),
87 EFL_OBJECT_OP_FUNC(elm_wdg_item_signal_emit, _elm_multibuttonentry_item_elm_widget_item_signal_emit),
88 EFL_OBJECT_OP_FUNC(elm_wdg_item_part_text_set, _elm_multibuttonentry_item_elm_widget_item_part_text_set),
89 EFL_OBJECT_OP_FUNC(elm_wdg_item_part_text_get, _elm_multibuttonentry_item_elm_widget_item_part_text_get),
90 EFL_OBJECT_OP_FUNC(elm_wdg_item_disable, _elm_multibuttonentry_item_elm_widget_item_disable),
91 EFL_OBJECT_OP_FUNC(efl_access_object_i18n_name_get, _elm_multibuttonentry_item_efl_access_object_i18n_name_get),
92 EFL_OBJECT_OP_FUNC(efl_access_object_state_set_get, _elm_multibuttonentry_item_efl_access_object_state_set_get),
93 EFL_OBJECT_OP_FUNC(efl_access_widget_action_elm_actions_get, _elm_multibuttonentry_item_efl_access_widget_action_elm_actions_get),
94 ELM_MULTIBUTTONENTRY_ITEM_EXTRA_OPS
95 );
96 opsp = &ops;
97
98 static const Efl_Object_Property_Reflection refl_table[] = {
99 {"selected", __eolian_elm_multibuttonentry_item_selected_set_reflect, __eolian_elm_multibuttonentry_item_selected_get_reflect},
100 };
101 static const Efl_Object_Property_Reflection_Ops rops = {
102 refl_table, EINA_C_ARRAY_LENGTH(refl_table)
103 };
104 ropsp = &rops;
105
106 return efl_class_functions_set(klass, opsp, ropsp);
107}
108
109static const Efl_Class_Description _elm_multibuttonentry_item_class_desc = {
110 EO_VERSION,
111 "Elm.Multibuttonentry_Item",
112 EFL_CLASS_TYPE_REGULAR,
113 sizeof(Elm_Multibuttonentry_Item_Data),
114 _elm_multibuttonentry_item_class_initializer,
115 NULL,
116 NULL
117};
118
119EFL_DEFINE_CLASS(elm_multibuttonentry_item_class_get, &_elm_multibuttonentry_item_class_desc, ELM_WIDGET_ITEM_CLASS, EFL_ACCESS_WIDGET_ACTION_MIXIN, EFL_UI_LEGACY_INTERFACE, NULL);
120
121#include "elm_multibuttonentry_item_eo.legacy.c"