summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_popup_item_eo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_popup_item_eo.c')
-rw-r--r--src/lib/elementary/elm_popup_item_eo.c67
1 files changed, 67 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_popup_item_eo.c b/src/lib/elementary/elm_popup_item_eo.c
new file mode 100644
index 0000000..07e161b
--- /dev/null
+++ b/src/lib/elementary/elm_popup_item_eo.c
@@ -0,0 +1,67 @@
1
2Efl_Object *_elm_popup_item_efl_object_constructor(Eo *obj, Elm_Popup_Item_Data *pd);
3
4
5void _elm_popup_item_efl_object_destructor(Eo *obj, Elm_Popup_Item_Data *pd);
6
7
8void _elm_popup_item_elm_widget_item_disable(Eo *obj, Elm_Popup_Item_Data *pd);
9
10
11void _elm_popup_item_elm_widget_item_signal_emit(Eo *obj, Elm_Popup_Item_Data *pd, const char *emission, const char *source);
12
13
14void _elm_popup_item_elm_widget_item_part_text_set(Eo *obj, Elm_Popup_Item_Data *pd, const char *part, const char *label);
15
16
17const char *_elm_popup_item_elm_widget_item_part_text_get(const Eo *obj, Elm_Popup_Item_Data *pd, const char *part);
18
19
20void _elm_popup_item_elm_widget_item_part_content_set(Eo *obj, Elm_Popup_Item_Data *pd, const char *part, Efl_Canvas_Object *content);
21
22
23Efl_Canvas_Object *_elm_popup_item_elm_widget_item_part_content_get(const Eo *obj, Elm_Popup_Item_Data *pd, const char *part);
24
25
26Efl_Canvas_Object *_elm_popup_item_elm_widget_item_part_content_unset(Eo *obj, Elm_Popup_Item_Data *pd, const char *part);
27
28
29static Eina_Bool
30_elm_popup_item_class_initializer(Efl_Class *klass)
31{
32 const Efl_Object_Ops *opsp = NULL;
33
34 const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
35
36#ifndef ELM_POPUP_ITEM_EXTRA_OPS
37#define ELM_POPUP_ITEM_EXTRA_OPS
38#endif
39
40 EFL_OPS_DEFINE(ops,
41 EFL_OBJECT_OP_FUNC(efl_constructor, _elm_popup_item_efl_object_constructor),
42 EFL_OBJECT_OP_FUNC(efl_destructor, _elm_popup_item_efl_object_destructor),
43 EFL_OBJECT_OP_FUNC(elm_wdg_item_disable, _elm_popup_item_elm_widget_item_disable),
44 EFL_OBJECT_OP_FUNC(elm_wdg_item_signal_emit, _elm_popup_item_elm_widget_item_signal_emit),
45 EFL_OBJECT_OP_FUNC(elm_wdg_item_part_text_set, _elm_popup_item_elm_widget_item_part_text_set),
46 EFL_OBJECT_OP_FUNC(elm_wdg_item_part_text_get, _elm_popup_item_elm_widget_item_part_text_get),
47 EFL_OBJECT_OP_FUNC(elm_wdg_item_part_content_set, _elm_popup_item_elm_widget_item_part_content_set),
48 EFL_OBJECT_OP_FUNC(elm_wdg_item_part_content_get, _elm_popup_item_elm_widget_item_part_content_get),
49 EFL_OBJECT_OP_FUNC(elm_wdg_item_part_content_unset, _elm_popup_item_elm_widget_item_part_content_unset),
50 ELM_POPUP_ITEM_EXTRA_OPS
51 );
52 opsp = &ops;
53
54 return efl_class_functions_set(klass, opsp, ropsp);
55}
56
57static const Efl_Class_Description _elm_popup_item_class_desc = {
58 EO_VERSION,
59 "Elm.Popup.Item",
60 EFL_CLASS_TYPE_REGULAR,
61 sizeof(Elm_Popup_Item_Data),
62 _elm_popup_item_class_initializer,
63 NULL,
64 NULL
65};
66
67EFL_DEFINE_CLASS(elm_popup_item_class_get, &_elm_popup_item_class_desc, ELM_WIDGET_ITEM_CLASS, EFL_UI_LEGACY_INTERFACE, NULL);