summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-03-05 17:00:37 -0500
committerCedric BAIL <cedric.bail@free.fr>2019-03-07 14:15:50 -0800
commitb7e92a49fec9f363a2f3402001427115be8628e5 (patch)
tree93551044165e55da6369953635ede7d8e868a159
parenteca53d9157fe6bbf15d5730febd04f159f8f6073 (diff)
elm_multibuttonentry*: remove all legacy usage from eo files
this takes the current generated output from eolian for legacy code in efl and adds it to the tree, then removes legacy references from the corresponding eo files. in the case where the entire eo file was for a legacy object, that eo file has been removed from the tree ref T7724 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8185
-rw-r--r--src/Makefile_Elementary.am10
-rw-r--r--src/lib/elementary/elc_multibuttonentry.c4
-rw-r--r--src/lib/elementary/elc_multibuttonentry_eo.h4
-rw-r--r--src/lib/elementary/elc_multibuttonentry_legacy.h4
-rw-r--r--src/lib/elementary/elm_multibuttonentry.eo199
-rw-r--r--src/lib/elementary/elm_multibuttonentry_eo.c224
-rw-r--r--src/lib/elementary/elm_multibuttonentry_eo.h346
-rw-r--r--src/lib/elementary/elm_multibuttonentry_eo.legacy.c108
-rw-r--r--src/lib/elementary/elm_multibuttonentry_eo.legacy.h269
-rw-r--r--src/lib/elementary/elm_multibuttonentry_item.eo38
-rw-r--r--src/lib/elementary/elm_multibuttonentry_item_eo.c121
-rw-r--r--src/lib/elementary/elm_multibuttonentry_item_eo.h67
-rw-r--r--src/lib/elementary/elm_multibuttonentry_item_eo.legacy.c24
-rw-r--r--src/lib/elementary/elm_multibuttonentry_item_eo.legacy.h60
-rw-r--r--src/lib/elementary/meson.build6
15 files changed, 1237 insertions, 247 deletions
diff --git a/src/Makefile_Elementary.am b/src/Makefile_Elementary.am
index f3d6ff0..87390e5 100644
--- a/src/Makefile_Elementary.am
+++ b/src/Makefile_Elementary.am
@@ -144,8 +144,6 @@ elm_public_eolian_files += \
144 lib/elementary/efl_ui_check_legacy_part.eo \ 144 lib/elementary/efl_ui_check_legacy_part.eo \
145 lib/elementary/efl_ui_progressbar_legacy_part.eo \ 145 lib/elementary/efl_ui_progressbar_legacy_part.eo \
146 lib/elementary/elm_spinner.eo \ 146 lib/elementary/elm_spinner.eo \
147 lib/elementary/elm_multibuttonentry.eo \
148 lib/elementary/elm_multibuttonentry_item.eo \
149 lib/elementary/elm_multibuttonentry_part.eo \ 147 lib/elementary/elm_multibuttonentry_part.eo \
150 lib/elementary/elm_interface_scrollable.eo \ 148 lib/elementary/elm_interface_scrollable.eo \
151 lib/elementary/elm_atspi_bridge.eo \ 149 lib/elementary/elm_atspi_bridge.eo \
@@ -370,6 +368,10 @@ lib/elementary/elm_menu_eo.c \
370lib/elementary/elm_menu_eo.legacy.c \ 368lib/elementary/elm_menu_eo.legacy.c \
371lib/elementary/elm_menu_item_eo.c \ 369lib/elementary/elm_menu_item_eo.c \
372lib/elementary/elm_menu_item_eo.legacy.c \ 370lib/elementary/elm_menu_item_eo.legacy.c \
371lib/elementary/elm_multibuttonentry_eo.c \
372lib/elementary/elm_multibuttonentry_eo.legacy.c \
373lib/elementary/elm_multibuttonentry_item_eo.c \
374lib/elementary/elm_multibuttonentry_item_eo.legacy.c \
373$(NULL) 375$(NULL)
374 376
375elm_legacy_eo_headers = \ 377elm_legacy_eo_headers = \
@@ -515,6 +517,10 @@ lib/elementary/elm_menu_eo.h \
515lib/elementary/elm_menu_eo.legacy.h \ 517lib/elementary/elm_menu_eo.legacy.h \
516lib/elementary/elm_menu_item_eo.h \ 518lib/elementary/elm_menu_item_eo.h \
517lib/elementary/elm_menu_item_eo.legacy.h \ 519lib/elementary/elm_menu_item_eo.legacy.h \
520lib/elementary/elm_multibuttonentry_eo.h \
521lib/elementary/elm_multibuttonentry_eo.legacy.h \
522lib/elementary/elm_multibuttonentry_item_eo.h \
523lib/elementary/elm_multibuttonentry_item_eo.legacy.h \
518$(NULL) 524$(NULL)
519 525
520 526
diff --git a/src/lib/elementary/elc_multibuttonentry.c b/src/lib/elementary/elc_multibuttonentry.c
index 009d612..0032ad0 100644
--- a/src/lib/elementary/elc_multibuttonentry.c
+++ b/src/lib/elementary/elc_multibuttonentry.c
@@ -2033,5 +2033,5 @@ ELM_PART_OVERRIDE_TEXT_GET(elm_multibuttonentry, ELM_MULTIBUTTONENTRY, Elm_Multi
2033 ELM_LAYOUT_SIZING_EVAL_OPS(elm_multibuttonentry), \ 2033 ELM_LAYOUT_SIZING_EVAL_OPS(elm_multibuttonentry), \
2034 EFL_CANVAS_GROUP_ADD_DEL_OPS(elm_multibuttonentry) 2034 EFL_CANVAS_GROUP_ADD_DEL_OPS(elm_multibuttonentry)
2035 2035
2036#include "elm_multibuttonentry_item.eo.c" 2036#include "elm_multibuttonentry_item_eo.c"
2037#include "elm_multibuttonentry.eo.c" 2037#include "elm_multibuttonentry_eo.c"
diff --git a/src/lib/elementary/elc_multibuttonentry_eo.h b/src/lib/elementary/elc_multibuttonentry_eo.h
index 4d958bd..8852acf 100644
--- a/src/lib/elementary/elc_multibuttonentry_eo.h
+++ b/src/lib/elementary/elc_multibuttonentry_eo.h
@@ -1,2 +1,2 @@
1#include "elm_multibuttonentry_item.eo.h" 1#include "elm_multibuttonentry_item_eo.h"
2#include "elm_multibuttonentry.eo.h" 2#include "elm_multibuttonentry_eo.h"
diff --git a/src/lib/elementary/elc_multibuttonentry_legacy.h b/src/lib/elementary/elc_multibuttonentry_legacy.h
index 57ab154..05edfcc 100644
--- a/src/lib/elementary/elc_multibuttonentry_legacy.h
+++ b/src/lib/elementary/elc_multibuttonentry_legacy.h
@@ -1,5 +1,5 @@
1#include "elm_multibuttonentry_item.eo.legacy.h" 1#include "elm_multibuttonentry_item_eo.legacy.h"
2#include "elm_multibuttonentry.eo.legacy.h" 2#include "elm_multibuttonentry_eo.legacy.h"
3 3
4/** 4/**
5 * @brief Add a new multibuttonentry to the parent 5 * @brief Add a new multibuttonentry to the parent
diff --git a/src/lib/elementary/elm_multibuttonentry.eo b/src/lib/elementary/elm_multibuttonentry.eo
deleted file mode 100644
index 000c655..0000000
--- a/src/lib/elementary/elm_multibuttonentry.eo
+++ /dev/null
@@ -1,199 +0,0 @@
1type Elm_Multibuttonentry_Item_Filter_Cb: __undefined_type; [[Elementary multibuttonentry item filter callback type]]
2type Elm_Multibuttonentry_Format_Cb: __undefined_type; [[Elementary multibuttonentry format callback type]]
3
4class Elm.Multibuttonentry extends Efl.Ui.Layout_Base implements Efl.Ui.Clickable, Efl.Ui.Legacy
5{
6 [[Elementary multibuttonentry class]]
7 legacy_prefix: elm_multibuttonentry;
8 eo_prefix: elm_obj_multibuttonentry;
9 event_prefix: elm_multibuttonentry;
10 methods {
11 @property editable {
12 [[Control if the multibuttonentry is to be editable or not.
13
14 @since 1.7]]
15 set {
16 }
17 get {
18 }
19 values {
20 editable: bool; [[If $true, user can add/delete item in multibuttonentry, if not, the multibuttonentry is non-editable.]]
21 }
22 }
23 @property expanded {
24 [[Control the multibuttonentry to expanded state.
25
26 In expanded state, the complete entry will be displayed.
27 Otherwise, only single line of the entry will be displayed.]]
28 set {
29 }
30 get {
31 }
32 values {
33 expanded: bool; [[The value of expanded state. Set this to $true for expanded state. Set
34 this to $false for single line state.]]
35 }
36 }
37 @property format_function {
38 set {
39 [[Set a function to format the string that will be used to display the hidden items counter.
40
41 If $format_function is $NULL, the default format will be used,
42 which is $"... + %d".
43
44 @since 1.9]]
45 }
46 values {
47 format_function: Elm_Multibuttonentry_Format_Cb @nullable; [[Format_function The actual format function]]
48 data: const(void_ptr) @optional; [[Data User data to passed to $format_function]]
49 }
50 }
51 @property items {
52 get {
53 [[Get a list of items in the multibuttonentry]]
54
55 return: const(list<Elm.Widget.Item>); [[The list of items, or NULL if none]]
56 }
57 }
58 @property first_item {
59 get {
60 [[Get the first item in the multibuttonentry]]
61
62 return: Elm.Widget.Item; [[The first item, or NULL if none]]
63 }
64 }
65 @property last_item {
66 get {
67 [[Get the last item in the multibuttonentry]]
68
69 return: Elm.Widget.Item; [[The last item, or NULL if none]]
70 }
71 }
72 @property entry {
73 get {
74 [[Get the entry of the multibuttonentry object]]
75
76 return: Efl.Canvas.Object; [[The entry object, or NULL if none]]
77 }
78 }
79 @property selected_item {
80 get {
81 [[Get the selected item in the multibuttonentry]]
82
83 return: Elm.Widget.Item; [[The selected item, or NULL if none]]
84 }
85 }
86 item_prepend {
87 [[Prepend a new item to the multibuttonentry
88
89 See @Efl.Object.invalidate to delete the item.]]
90
91 return: Elm.Widget.Item; [[A handle to the item added or NULL if not possible]]
92 params {
93 @in label: string; [[The label of new item]]
94 @in func: Evas_Smart_Cb @optional; [[The callback function to be invoked when this item is pressed.]]
95 @in data: void_ptr @optional; [[The pointer to the data to be attached]]
96 }
97 }
98 clear {
99 [[Remove all items in the multibuttonentry.]]
100
101 }
102 item_filter_remove {
103 [[Remove a filter from the list
104
105 Removes the given callback from the filter list. See elm_multibuttonentry_item_filter_append()
106 for more information.]]
107
108 params {
109 @in func: Elm_Multibuttonentry_Item_Filter_Cb; [[The filter function to remove]]
110 @in data: void_ptr; [[The user data passed when adding the function]]
111 }
112 }
113 item_insert_before {
114 [[Add a new item to the multibuttonentry before the indicated object reference.
115
116 See @Efl.Object.invalidate to delete the item.]]
117
118 return: Elm.Widget.Item; [[A handle to the item added or NULL if not possible]]
119 params {
120 @in before: Elm.Widget.Item; [[The item before which to add it]]
121 @in label: string; [[The label of new item]]
122 @in func: Evas_Smart_Cb @optional; [[The callback function to be invoked when this item is pressed.]]
123 @in data: void_ptr @optional; [[The pointer to the data to be attached]]
124 }
125 }
126 item_append {
127 [[Append a new item to the multibuttonentry
128
129 See @Efl.Object.invalidate to delete the item.]]
130
131 return: Elm.Widget.Item; [[A handle to the item added or NULL if not possible]]
132 params {
133 @in label: string; [[The label of new item]]
134 @in func: Evas_Smart_Cb @optional; [[The callback function to be invoked when this item is pressed.]]
135 @in data: void_ptr @optional; [[The pointer to the data to be attached]]
136 }
137 }
138 item_filter_prepend {
139 [[Prepend a filter function for text inserted in the Multibuttonentry
140
141 Prepend the given callback to the list. See elm_multibuttonentry_item_filter_append()
142 for more information]]
143 params {
144 @in func: Elm_Multibuttonentry_Item_Filter_Cb; [[The function to use as text filter]]
145 @in data: void_ptr; [[User data to pass to $func]]
146 }
147 }
148 item_filter_append {
149 [[Append an item filter function for text inserted in the Multibuttonentry
150
151 Append the given callback to a list. This function is called
152 whenever any text is inserted into the Multibuttonentry, with the text to be inserted
153 as a parameter. The callback function is free to alter the text in any way
154 it wants but must free the given pointer and update it.
155 If the new text is to be discarded, the function can free it and set it text
156 parameter to NULL. This will also prevent any following filters from being
157 called.]]
158
159 params {
160 @in func: Elm_Multibuttonentry_Item_Filter_Cb; [[The function to use as item filter]]
161 @in data: void_ptr; [[User data to pass to $func]]
162 }
163 }
164 item_insert_after {
165 [[Add a new item to the multibuttonentry after the indicated object
166
167 See @Efl.Object.invalidate to delete the item.]]
168
169 return: Elm.Widget.Item; [[A handle to the item added or NULL if not possible]]
170 params {
171 @in after: Elm.Widget.Item; [[The item after which to add it]]
172 @in label: string; [[The label of new item]]
173 @in func: Evas_Smart_Cb @optional; [[The callback function to be invoked when this item is pressed.]]
174 @in data: void_ptr @optional; [[The pointer to the data to be attached]]
175 }
176 }
177 }
178 implements {
179 class.constructor;
180 Efl.Object.constructor;
181 Efl.Ui.Widget.theme_apply;
182 Efl.Ui.Widget.on_access_update;
183 Efl.Ui.L10n.translation_update;
184 Efl.Ui.Widget.widget_input_event_handler;
185 Efl.Access.Object.access_children { get; }
186 Efl.Part.part_get;
187 }
188 events {
189 item,selected: Efl.Object; [[Called when item was selected]]
190 item,added: Efl.Object; [[Called when item was added]]
191 item,deleted: Efl.Object; [[Called when item was deleted]]
192 item,clicked: Efl.Object; [[Called when item was clicked]]
193 item,longpressed: Efl.Object; [[Called when item got a longpress]]
194 expanded: void; [[Called when expanded]]
195 contracted: void; [[Called when contracted]]
196 /* FIXME: This is not very future-proof, a struct would be better */
197 expand,state,changed: int; [[Called when expanded state changed]]
198 }
199}
diff --git a/src/lib/elementary/elm_multibuttonentry_eo.c b/src/lib/elementary/elm_multibuttonentry_eo.c
new file mode 100644
index 0000000..0819d7a
--- /dev/null
+++ b/src/lib/elementary/elm_multibuttonentry_eo.c
@@ -0,0 +1,224 @@
1EWAPI const Efl_Event_Description _ELM_MULTIBUTTONENTRY_EVENT_ITEM_SELECTED =
2 EFL_EVENT_DESCRIPTION("item,selected");
3EWAPI const Efl_Event_Description _ELM_MULTIBUTTONENTRY_EVENT_ITEM_ADDED =
4 EFL_EVENT_DESCRIPTION("item,added");
5EWAPI const Efl_Event_Description _ELM_MULTIBUTTONENTRY_EVENT_ITEM_DELETED =
6 EFL_EVENT_DESCRIPTION("item,deleted");
7EWAPI const Efl_Event_Description _ELM_MULTIBUTTONENTRY_EVENT_ITEM_CLICKED =
8 EFL_EVENT_DESCRIPTION("item,clicked");
9EWAPI const Efl_Event_Description _ELM_MULTIBUTTONENTRY_EVENT_ITEM_LONGPRESSED =
10 EFL_EVENT_DESCRIPTION("item,longpressed");
11EWAPI const Efl_Event_Description _ELM_MULTIBUTTONENTRY_EVENT_EXPANDED =
12 EFL_EVENT_DESCRIPTION("expanded");
13EWAPI const Efl_Event_Description _ELM_MULTIBUTTONENTRY_EVENT_CONTRACTED =
14 EFL_EVENT_DESCRIPTION("contracted");
15EWAPI const Efl_Event_Description _ELM_MULTIBUTTONENTRY_EVENT_EXPAND_STATE_CHANGED =
16 EFL_EVENT_DESCRIPTION("expand,state,changed");
17
18void _elm_multibuttonentry_editable_set(Eo *obj, Elm_Multibuttonentry_Data *pd, Eina_Bool editable);
19
20
21static Eina_Error
22__eolian_elm_multibuttonentry_editable_set_reflect(Eo *obj, Eina_Value val)
23{
24 Eina_Error r = 0; Eina_Bool cval;
25 if (!eina_value_bool_convert(&val, &cval))
26 {
27 r = EINA_ERROR_VALUE_FAILED;
28 goto end;
29 }
30 elm_obj_multibuttonentry_editable_set(obj, cval);
31 end:
32 eina_value_flush(&val);
33 return r;
34}
35
36EOAPI EFL_VOID_FUNC_BODYV(elm_obj_multibuttonentry_editable_set, EFL_FUNC_CALL(editable), Eina_Bool editable);
37
38Eina_Bool _elm_multibuttonentry_editable_get(const Eo *obj, Elm_Multibuttonentry_Data *pd);
39
40
41static Eina_Value
42__eolian_elm_multibuttonentry_editable_get_reflect(Eo *obj)
43{
44 Eina_Bool val = elm_obj_multibuttonentry_editable_get(obj);
45 return eina_value_bool_init(val);
46}
47
48EOAPI EFL_FUNC_BODY_CONST(elm_obj_multibuttonentry_editable_get, Eina_Bool, 0);
49
50void _elm_multibuttonentry_expanded_set(Eo *obj, Elm_Multibuttonentry_Data *pd, Eina_Bool expanded);
51
52
53static Eina_Error
54__eolian_elm_multibuttonentry_expanded_set_reflect(Eo *obj, Eina_Value val)
55{
56 Eina_Error r = 0; Eina_Bool cval;
57 if (!eina_value_bool_convert(&val, &cval))
58 {
59 r = EINA_ERROR_VALUE_FAILED;
60 goto end;
61 }
62 elm_obj_multibuttonentry_expanded_set(obj, cval);
63 end:
64 eina_value_flush(&val);
65 return r;
66}
67
68EOAPI EFL_VOID_FUNC_BODYV(elm_obj_multibuttonentry_expanded_set, EFL_FUNC_CALL(expanded), Eina_Bool expanded);
69
70Eina_Bool _elm_multibuttonentry_expanded_get(const Eo *obj, Elm_Multibuttonentry_Data *pd);
71
72
73static Eina_Value
74__eolian_elm_multibuttonentry_expanded_get_reflect(Eo *obj)
75{
76 Eina_Bool val = elm_obj_multibuttonentry_expanded_get(obj);
77 return eina_value_bool_init(val);
78}
79
80EOAPI EFL_FUNC_BODY_CONST(elm_obj_multibuttonentry_expanded_get, Eina_Bool, 0);
81
82void _elm_multibuttonentry_format_function_set(Eo *obj, Elm_Multibuttonentry_Data *pd, Elm_Multibuttonentry_Format_Cb format_function, const void *data);
83
84EOAPI EFL_VOID_FUNC_BODYV(elm_obj_multibuttonentry_format_function_set, EFL_FUNC_CALL(format_function, data), Elm_Multibuttonentry_Format_Cb format_function, const void *data);
85
86const Eina_List *_elm_multibuttonentry_items_get(const Eo *obj, Elm_Multibuttonentry_Data *pd);
87
88EOAPI EFL_FUNC_BODY_CONST(elm_obj_multibuttonentry_items_get, const Eina_List *, NULL);
89
90Elm_Widget_Item *_elm_multibuttonentry_first_item_get(const Eo *obj, Elm_Multibuttonentry_Data *pd);
91
92EOAPI EFL_FUNC_BODY_CONST(elm_obj_multibuttonentry_first_item_get, Elm_Widget_Item *, NULL);
93
94Elm_Widget_Item *_elm_multibuttonentry_last_item_get(const Eo *obj, Elm_Multibuttonentry_Data *pd);
95
96EOAPI EFL_FUNC_BODY_CONST(elm_obj_multibuttonentry_last_item_get, Elm_Widget_Item *, NULL);
97
98Efl_Canvas_Object *_elm_multibuttonentry_entry_get(const Eo *obj, Elm_Multibuttonentry_Data *pd);
99
100EOAPI EFL_FUNC_BODY_CONST(elm_obj_multibuttonentry_entry_get, Efl_Canvas_Object *, NULL);
101
102Elm_Widget_Item *_elm_multibuttonentry_selected_item_get(const Eo *obj, Elm_Multibuttonentry_Data *pd);
103
104EOAPI EFL_FUNC_BODY_CONST(elm_obj_multibuttonentry_selected_item_get, Elm_Widget_Item *, NULL);
105
106Elm_Widget_Item *_elm_multibuttonentry_item_prepend(Eo *obj, Elm_Multibuttonentry_Data *pd, const char *label, Evas_Smart_Cb func, void *data);
107
108EOAPI EFL_FUNC_BODYV(elm_obj_multibuttonentry_item_prepend, Elm_Widget_Item *, NULL, EFL_FUNC_CALL(label, func, data), const char *label, Evas_Smart_Cb func, void *data);
109
110void _elm_multibuttonentry_clear(Eo *obj, Elm_Multibuttonentry_Data *pd);
111
112EOAPI EFL_VOID_FUNC_BODY(elm_obj_multibuttonentry_clear);
113
114void _elm_multibuttonentry_item_filter_remove(Eo *obj, Elm_Multibuttonentry_Data *pd, Elm_Multibuttonentry_Item_Filter_Cb func, void *data);
115
116EOAPI EFL_VOID_FUNC_BODYV(elm_obj_multibuttonentry_item_filter_remove, EFL_FUNC_CALL(func, data), Elm_Multibuttonentry_Item_Filter_Cb func, void *data);
117
118Elm_Widget_Item *_elm_multibuttonentry_item_insert_before(Eo *obj, Elm_Multibuttonentry_Data *pd, Elm_Widget_Item *before, const char *label, Evas_Smart_Cb func, void *data);
119
120EOAPI EFL_FUNC_BODYV(elm_obj_multibuttonentry_item_insert_before, Elm_Widget_Item *, NULL, EFL_FUNC_CALL(before, label, func, data), Elm_Widget_Item *before, const char *label, Evas_Smart_Cb func, void *data);
121
122Elm_Widget_Item *_elm_multibuttonentry_item_append(Eo *obj, Elm_Multibuttonentry_Data *pd, const char *label, Evas_Smart_Cb func, void *data);
123
124EOAPI EFL_FUNC_BODYV(elm_obj_multibuttonentry_item_append, Elm_Widget_Item *, NULL, EFL_FUNC_CALL(label, func, data), const char *label, Evas_Smart_Cb func, void *data);
125
126void _elm_multibuttonentry_item_filter_prepend(Eo *obj, Elm_Multibuttonentry_Data *pd, Elm_Multibuttonentry_Item_Filter_Cb func, void *data);
127
128EOAPI EFL_VOID_FUNC_BODYV(elm_obj_multibuttonentry_item_filter_prepend, EFL_FUNC_CALL(func, data), Elm_Multibuttonentry_Item_Filter_Cb func, void *data);
129
130void _elm_multibuttonentry_item_filter_append(Eo *obj, Elm_Multibuttonentry_Data *pd, Elm_Multibuttonentry_Item_Filter_Cb func, void *data);
131
132EOAPI EFL_VOID_FUNC_BODYV(elm_obj_multibuttonentry_item_filter_append, EFL_FUNC_CALL(func, data), Elm_Multibuttonentry_Item_Filter_Cb func, void *data);
133
134Elm_Widget_Item *_elm_multibuttonentry_item_insert_after(Eo *obj, Elm_Multibuttonentry_Data *pd, Elm_Widget_Item *after, const char *label, Evas_Smart_Cb func, void *data);
135
136EOAPI EFL_FUNC_BODYV(elm_obj_multibuttonentry_item_insert_after, Elm_Widget_Item *, NULL, EFL_FUNC_CALL(after, label, func, data), Elm_Widget_Item *after, const char *label, Evas_Smart_Cb func, void *data);
137
138Efl_Object *_elm_multibuttonentry_efl_object_constructor(Eo *obj, Elm_Multibuttonentry_Data *pd);
139
140
141Eina_Error _elm_multibuttonentry_efl_ui_widget_theme_apply(Eo *obj, Elm_Multibuttonentry_Data *pd);
142
143
144void _elm_multibuttonentry_efl_ui_widget_on_access_update(Eo *obj, Elm_Multibuttonentry_Data *pd, Eina_Bool enable);
145
146
147void _elm_multibuttonentry_efl_ui_l10n_translation_update(Eo *obj, Elm_Multibuttonentry_Data *pd);
148
149
150Eina_Bool _elm_multibuttonentry_efl_ui_widget_widget_input_event_handler(Eo *obj, Elm_Multibuttonentry_Data *pd, const Efl_Event *eo_event, Efl_Canvas_Object *source);
151
152
153Eina_List *_elm_multibuttonentry_efl_access_object_access_children_get(const Eo *obj, Elm_Multibuttonentry_Data *pd);
154
155
156Efl_Object *_elm_multibuttonentry_efl_part_part_get(const Eo *obj, Elm_Multibuttonentry_Data *pd, const char *name);
157
158
159static Eina_Bool
160_elm_multibuttonentry_class_initializer(Efl_Class *klass)
161{
162 const Efl_Object_Ops *opsp = NULL;
163
164 const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
165
166#ifndef ELM_MULTIBUTTONENTRY_EXTRA_OPS
167#define ELM_MULTIBUTTONENTRY_EXTRA_OPS
168#endif
169
170 EFL_OPS_DEFINE(ops,
171 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_editable_set, _elm_multibuttonentry_editable_set),
172 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_editable_get, _elm_multibuttonentry_editable_get),
173 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_expanded_set, _elm_multibuttonentry_expanded_set),
174 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_expanded_get, _elm_multibuttonentry_expanded_get),
175 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_format_function_set, _elm_multibuttonentry_format_function_set),
176 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_items_get, _elm_multibuttonentry_items_get),
177 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_first_item_get, _elm_multibuttonentry_first_item_get),
178 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_last_item_get, _elm_multibuttonentry_last_item_get),
179 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_entry_get, _elm_multibuttonentry_entry_get),
180 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_selected_item_get, _elm_multibuttonentry_selected_item_get),
181 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_item_prepend, _elm_multibuttonentry_item_prepend),
182 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_clear, _elm_multibuttonentry_clear),
183 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_item_filter_remove, _elm_multibuttonentry_item_filter_remove),
184 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_item_insert_before, _elm_multibuttonentry_item_insert_before),
185 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_item_append, _elm_multibuttonentry_item_append),
186 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_item_filter_prepend, _elm_multibuttonentry_item_filter_prepend),
187 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_item_filter_append, _elm_multibuttonentry_item_filter_append),
188 EFL_OBJECT_OP_FUNC(elm_obj_multibuttonentry_item_insert_after, _elm_multibuttonentry_item_insert_after),
189 EFL_OBJECT_OP_FUNC(efl_constructor, _elm_multibuttonentry_efl_object_constructor),
190 EFL_OBJECT_OP_FUNC(efl_ui_widget_theme_apply, _elm_multibuttonentry_efl_ui_widget_theme_apply),
191 EFL_OBJECT_OP_FUNC(efl_ui_widget_on_access_update, _elm_multibuttonentry_efl_ui_widget_on_access_update),
192 EFL_OBJECT_OP_FUNC(efl_ui_l10n_translation_update, _elm_multibuttonentry_efl_ui_l10n_translation_update),
193 EFL_OBJECT_OP_FUNC(efl_ui_widget_input_event_handler, _elm_multibuttonentry_efl_ui_widget_widget_input_event_handler),
194 EFL_OBJECT_OP_FUNC(efl_access_object_access_children_get, _elm_multibuttonentry_efl_access_object_access_children_get),
195 EFL_OBJECT_OP_FUNC(efl_part_get, _elm_multibuttonentry_efl_part_part_get),
196 ELM_MULTIBUTTONENTRY_EXTRA_OPS
197 );
198 opsp = &ops;
199
200 static const Efl_Object_Property_Reflection refl_table[] = {
201 {"editable", __eolian_elm_multibuttonentry_editable_set_reflect, __eolian_elm_multibuttonentry_editable_get_reflect},
202 {"expanded", __eolian_elm_multibuttonentry_expanded_set_reflect, __eolian_elm_multibuttonentry_expanded_get_reflect},
203 };
204 static const Efl_Object_Property_Reflection_Ops rops = {
205 refl_table, EINA_C_ARRAY_LENGTH(refl_table)
206 };
207 ropsp = &rops;
208
209 return efl_class_functions_set(klass, opsp, ropsp);
210}
211
212static const Efl_Class_Description _elm_multibuttonentry_class_desc = {
213 EO_VERSION,
214 "Elm.Multibuttonentry",
215 EFL_CLASS_TYPE_REGULAR,
216 sizeof(Elm_Multibuttonentry_Data),
217 _elm_multibuttonentry_class_initializer,
218 _elm_multibuttonentry_class_constructor,
219 NULL
220};
221
222EFL_DEFINE_CLASS(elm_multibuttonentry_class_get, &_elm_multibuttonentry_class_desc, EFL_UI_LAYOUT_BASE_CLASS, EFL_UI_CLICKABLE_INTERFACE, EFL_UI_LEGACY_INTERFACE, NULL);
223
224#include "elm_multibuttonentry_eo.legacy.c"
diff --git a/src/lib/elementary/elm_multibuttonentry_eo.h b/src/lib/elementary/elm_multibuttonentry_eo.h
new file mode 100644
index 0000000..cac86fc
--- /dev/null
+++ b/src/lib/elementary/elm_multibuttonentry_eo.h
@@ -0,0 +1,346 @@
1#ifndef _ELM_MULTIBUTTONENTRY_EO_H_
2#define _ELM_MULTIBUTTONENTRY_EO_H_
3
4#ifndef _ELM_MULTIBUTTONENTRY_EO_CLASS_TYPE
5#define _ELM_MULTIBUTTONENTRY_EO_CLASS_TYPE
6
7typedef Eo Elm_Multibuttonentry;
8
9#endif
10
11#ifndef _ELM_MULTIBUTTONENTRY_EO_TYPES
12#define _ELM_MULTIBUTTONENTRY_EO_TYPES
13
14
15#endif
16/** Elementary multibuttonentry class
17 *
18 * @ingroup Elm_Multibuttonentry
19 */
20#define ELM_MULTIBUTTONENTRY_CLASS elm_multibuttonentry_class_get()
21
22EWAPI const Efl_Class *elm_multibuttonentry_class_get(void);
23
24/**
25 * @brief Control if the multibuttonentry is to be editable or not.
26 *
27 * @param[in] obj The object.
28 * @param[in] editable If @c true, user can add/delete item in
29 * multibuttonentry, if not, the multibuttonentry is non-editable.
30 *
31 * @since 1.7
32 *
33 * @ingroup Elm_Multibuttonentry
34 */
35EOAPI void elm_obj_multibuttonentry_editable_set(Eo *obj, Eina_Bool editable);
36
37/**
38 * @brief Control if the multibuttonentry is to be editable or not.
39 *
40 * @param[in] obj The object.
41 *
42 * @return If @c true, user can add/delete item in multibuttonentry, if not,
43 * the multibuttonentry is non-editable.
44 *
45 * @since 1.7
46 *
47 * @ingroup Elm_Multibuttonentry
48 */
49EOAPI Eina_Bool elm_obj_multibuttonentry_editable_get(const Eo *obj);
50
51/**
52 * @brief Control the multibuttonentry to expanded state.
53 *
54 * In expanded state, the complete entry will be displayed. Otherwise, only
55 * single line of the entry will be displayed.
56 *
57 * @param[in] obj The object.
58 * @param[in] expanded The value of expanded state. Set this to @c true for
59 * expanded state. Set this to @c false for single line state.
60 *
61 * @ingroup Elm_Multibuttonentry
62 */
63EOAPI void elm_obj_multibuttonentry_expanded_set(Eo *obj, Eina_Bool expanded);
64
65/**
66 * @brief Control the multibuttonentry to expanded state.
67 *
68 * In expanded state, the complete entry will be displayed. Otherwise, only
69 * single line of the entry will be displayed.
70 *
71 * @param[in] obj The object.
72 *
73 * @return The value of expanded state. Set this to @c true for expanded state.
74 * Set this to @c false for single line state.
75 *
76 * @ingroup Elm_Multibuttonentry
77 */
78EOAPI Eina_Bool elm_obj_multibuttonentry_expanded_get(const Eo *obj);
79
80/**
81 * @brief Set a function to format the string that will be used to display the
82 * hidden items counter.
83 *
84 * If @c format_function is @c NULL, the default format will be used, which is
85 * $"... + %d".
86 *
87 * @param[in] obj The object.
88 * @param[in] format_function Format_function The actual format function
89 * @param[in] data Data User data to passed to @c format_function
90 *
91 * @since 1.9
92 *
93 * @ingroup Elm_Multibuttonentry
94 */
95EOAPI void elm_obj_multibuttonentry_format_function_set(Eo *obj, Elm_Multibuttonentry_Format_Cb format_function, const void *data);
96
97/**
98 * @brief Get a list of items in the multibuttonentry
99 *
100 * @param[in] obj The object.
101 *
102 * @return The list of items, or NULL if none
103 *
104 * @ingroup Elm_Multibuttonentry
105 */
106EOAPI const Eina_List *elm_obj_multibuttonentry_items_get(const Eo *obj);
107
108/**
109 * @brief Get the first item in the multibuttonentry
110 *
111 * @param[in] obj The object.
112 *
113 * @return The first item, or NULL if none
114 *
115 * @ingroup Elm_Multibuttonentry
116 */
117EOAPI Elm_Widget_Item *elm_obj_multibuttonentry_first_item_get(const Eo *obj);
118
119/**
120 * @brief Get the last item in the multibuttonentry
121 *
122 * @param[in] obj The object.
123 *
124 * @return The last item, or NULL if none
125 *
126 * @ingroup Elm_Multibuttonentry
127 */
128EOAPI Elm_Widget_Item *elm_obj_multibuttonentry_last_item_get(const Eo *obj);
129
130/**
131 * @brief Get the entry of the multibuttonentry object
132 *
133 * @param[in] obj The object.
134 *
135 * @return The entry object, or NULL if none
136 *
137 * @ingroup Elm_Multibuttonentry
138 */
139EOAPI Efl_Canvas_Object *elm_obj_multibuttonentry_entry_get(const Eo *obj);
140
141/**
142 * @brief Get the selected item in the multibuttonentry
143 *
144 * @param[in] obj The object.
145 *
146 * @return The selected item, or NULL if none
147 *
148 * @ingroup Elm_Multibuttonentry
149 */
150EOAPI Elm_Widget_Item *elm_obj_multibuttonentry_selected_item_get(const Eo *obj);
151
152/**
153 * @brief Prepend a new item to the multibuttonentry
154 *
155 * See @ref efl_invalidate to delete the item.
156 *
157 * @param[in] obj The object.
158 * @param[in] label The label of new item
159 * @param[in] func The callback function to be invoked when this item is
160 * pressed.
161 * @param[in] data The pointer to the data to be attached
162 *
163 * @return A handle to the item added or NULL if not possible
164 *
165 * @ingroup Elm_Multibuttonentry
166 */
167EOAPI Elm_Widget_Item *elm_obj_multibuttonentry_item_prepend(Eo *obj, const char *label, Evas_Smart_Cb func, void *data);
168
169/** Remove all items in the multibuttonentry.
170 *
171 * @ingroup Elm_Multibuttonentry
172 */
173EOAPI void elm_obj_multibuttonentry_clear(Eo *obj);
174
175/**
176 * @brief Remove a filter from the list
177 *
178 * Removes the given callback from the filter list. See
179 * elm_multibuttonentry_item_filter_append() for more information.
180 *
181 * @param[in] obj The object.
182 * @param[in] func The filter function to remove
183 * @param[in] data The user data passed when adding the function
184 *
185 * @ingroup Elm_Multibuttonentry
186 */
187EOAPI void elm_obj_multibuttonentry_item_filter_remove(Eo *obj, Elm_Multibuttonentry_Item_Filter_Cb func, void *data);
188
189/**
190 * @brief Add a new item to the multibuttonentry before the indicated object
191 * reference.
192 *
193 * See @ref efl_invalidate to delete the item.
194 *
195 * @param[in] obj The object.
196 * @param[in] before The item before which to add it
197 * @param[in] label The label of new item
198 * @param[in] func The callback function to be invoked when this item is
199 * pressed.
200 * @param[in] data The pointer to the data to be attached
201 *
202 * @return A handle to the item added or NULL if not possible
203 *
204 * @ingroup Elm_Multibuttonentry
205 */
206EOAPI Elm_Widget_Item *elm_obj_multibuttonentry_item_insert_before(Eo *obj, Elm_Widget_Item *before, const char *label, Evas_Smart_Cb func, void *data);
207
208/**
209 * @brief Append a new item to the multibuttonentry
210 *
211 * See @ref efl_invalidate to delete the item.
212 *
213 * @param[in] obj The object.
214 * @param[in] label The label of new item
215 * @param[in] func The callback function to be invoked when this item is
216 * pressed.
217 * @param[in] data The pointer to the data to be attached
218 *
219 * @return A handle to the item added or NULL if not possible
220 *
221 * @ingroup Elm_Multibuttonentry
222 */
223EOAPI Elm_Widget_Item *elm_obj_multibuttonentry_item_append(Eo *obj, const char *label, Evas_Smart_Cb func, void *data);
224
225/**
226 * @brief Prepend a filter function for text inserted in the Multibuttonentry
227 *
228 * Prepend the given callback to the list. See
229 * elm_multibuttonentry_item_filter_append() for more information
230 *
231 * @param[in] obj The object.
232 * @param[in] func The function to use as text filter
233 * @param[in] data User data to pass to @c func
234 *
235 * @ingroup Elm_Multibuttonentry
236 */
237EOAPI void elm_obj_multibuttonentry_item_filter_prepend(Eo *obj, Elm_Multibuttonentry_Item_Filter_Cb func, void *data);
238
239/**
240 * @brief Append an item filter function for text inserted in the
241 * Multibuttonentry
242 *
243 * Append the given callback to a list. This function is called whenever any
244 * text is inserted into the Multibuttonentry, with the text to be inserted as
245 * a parameter. The callback function is free to alter the text in any way it
246 * wants but must free the given pointer and update it. If the new text is to
247 * be discarded, the function can free it and set it text parameter to NULL.
248 * This will also prevent any following filters from being called.
249 *
250 * @param[in] obj The object.
251 * @param[in] func The function to use as item filter
252 * @param[in] data User data to pass to @c func
253 *
254 * @ingroup Elm_Multibuttonentry
255 */
256EOAPI void elm_obj_multibuttonentry_item_filter_append(Eo *obj, Elm_Multibuttonentry_Item_Filter_Cb func, void *data);
257
258/**
259 * @brief Add a new item to the multibuttonentry after the indicated object
260 *
261 * See @ref efl_invalidate to delete the item.
262 *
263 * @param[in] obj The object.
264 * @param[in] after The item after which to add it
265 * @param[in] label The label of new item
266 * @param[in] func The callback function to be invoked when this item is
267 * pressed.
268 * @param[in] data The pointer to the data to be attached
269 *
270 * @return A handle to the item added or NULL if not possible
271 *
272 * @ingroup Elm_Multibuttonentry
273 */
274EOAPI Elm_Widget_Item *elm_obj_multibuttonentry_item_insert_after(Eo *obj, Elm_Widget_Item *after, const char *label, Evas_Smart_Cb func, void *data);
275
276EWAPI extern const Efl_Event_Description _ELM_MULTIBUTTONENTRY_EVENT_ITEM_SELECTED;
277
278/** Called when item was selected
279 * @return Efl_Object *
280 *
281 * @ingroup Elm_Multibuttonentry
282 */
283#define ELM_MULTIBUTTONENTRY_EVENT_ITEM_SELECTED (&(_ELM_MULTIBUTTONENTRY_EVENT_ITEM_SELECTED))
284
285EWAPI extern const Efl_Event_Description _ELM_MULTIBUTTONENTRY_EVENT_ITEM_ADDED;
286
287/** Called when item was added
288 * @return Efl_Object *
289 *
290 * @ingroup Elm_Multibuttonentry
291 */
292#define ELM_MULTIBUTTONENTRY_EVENT_ITEM_ADDED (&(_ELM_MULTIBUTTONENTRY_EVENT_ITEM_ADDED))
293
294EWAPI extern const Efl_Event_Description _ELM_MULTIBUTTONENTRY_EVENT_ITEM_DELETED;
295
296/** Called when item was deleted
297 * @return Efl_Object *
298 *
299 * @ingroup Elm_Multibuttonentry
300 */
301#define ELM_MULTIBUTTONENTRY_EVENT_ITEM_DELETED (&(_ELM_MULTIBUTTONENTRY_EVENT_ITEM_DELETED))
302
303EWAPI extern const Efl_Event_Description _ELM_MULTIBUTTONENTRY_EVENT_ITEM_CLICKED;
304
305/** Called when item was clicked
306 * @return Efl_Object *
307 *
308 * @ingroup Elm_Multibuttonentry
309 */
310#define ELM_MULTIBUTTONENTRY_EVENT_ITEM_CLICKED (&(_ELM_MULTIBUTTONENTRY_EVENT_ITEM_CLICKED))
311
312EWAPI extern const Efl_Event_Description _ELM_MULTIBUTTONENTRY_EVENT_ITEM_LONGPRESSED;
313
314/** Called when item got a longpress
315 * @return Efl_Object *
316 *
317 * @ingroup Elm_Multibuttonentry
318 */
319#define ELM_MULTIBUTTONENTRY_EVENT_ITEM_LONGPRESSED (&(_ELM_MULTIBUTTONENTRY_EVENT_ITEM_LONGPRESSED))
320
321EWAPI extern const Efl_Event_Description _ELM_MULTIBUTTONENTRY_EVENT_EXPANDED;
322
323/** Called when expanded
324 *
325 * @ingroup Elm_Multibuttonentry
326 */
327#define ELM_MULTIBUTTONENTRY_EVENT_EXPANDED (&(_ELM_MULTIBUTTONENTRY_EVENT_EXPANDED))
328
329EWAPI extern const Efl_Event_Description _ELM_MULTIBUTTONENTRY_EVENT_CONTRACTED;
330
331/** Called when contracted
332 *
333 * @ingroup Elm_Multibuttonentry
334 */
335#define ELM_MULTIBUTTONENTRY_EVENT_CONTRACTED (&(_ELM_MULTIBUTTONENTRY_EVENT_CONTRACTED))
336
337EWAPI extern const Efl_Event_Description _ELM_MULTIBUTTONENTRY_EVENT_EXPAND_STATE_CHANGED;
338
339/** Called when expanded state changed
340 * @return int
341 *
342 * @ingroup Elm_Multibuttonentry
343 */
344#define ELM_MULTIBUTTONENTRY_EVENT_EXPAND_STATE_CHANGED (&(_ELM_MULTIBUTTONENTRY_EVENT_EXPAND_STATE_CHANGED))
345
346#endif
diff --git a/src/lib/elementary/elm_multibuttonentry_eo.legacy.c b/src/lib/elementary/elm_multibuttonentry_eo.legacy.c
new file mode 100644
index 0000000..fa95f80
--- /dev/null
+++ b/src/lib/elementary/elm_multibuttonentry_eo.legacy.c
@@ -0,0 +1,108 @@
1
2EAPI void
3elm_multibuttonentry_editable_set(Elm_Multibuttonentry *obj, Eina_Bool editable)
4{
5 elm_obj_multibuttonentry_editable_set(obj, editable);
6}
7
8EAPI Eina_Bool
9elm_multibuttonentry_editable_get(const Elm_Multibuttonentry *obj)
10{
11 return elm_obj_multibuttonentry_editable_get(obj);
12}
13
14EAPI void
15elm_multibuttonentry_expanded_set(Elm_Multibuttonentry *obj, Eina_Bool expanded)
16{
17 elm_obj_multibuttonentry_expanded_set(obj, expanded);
18}
19
20EAPI Eina_Bool
21elm_multibuttonentry_expanded_get(const Elm_Multibuttonentry *obj)
22{
23 return elm_obj_multibuttonentry_expanded_get(obj);
24}
25
26EAPI void
27elm_multibuttonentry_format_function_set(Elm_Multibuttonentry *obj, Elm_Multibuttonentry_Format_Cb format_function, const void *data)
28{
29 elm_obj_multibuttonentry_format_function_set(obj, format_function, data);
30}
31
32EAPI const Eina_List *
33elm_multibuttonentry_items_get(const Elm_Multibuttonentry *obj)
34{
35 return elm_obj_multibuttonentry_items_get(obj);
36}
37
38EAPI Elm_Widget_Item *
39elm_multibuttonentry_first_item_get(const Elm_Multibuttonentry *obj)
40{
41 return elm_obj_multibuttonentry_first_item_get(obj);
42}
43
44EAPI Elm_Widget_Item *
45elm_multibuttonentry_last_item_get(const Elm_Multibuttonentry *obj)
46{
47 return elm_obj_multibuttonentry_last_item_get(obj);
48}
49
50EAPI Efl_Canvas_Object *
51elm_multibuttonentry_entry_get(const Elm_Multibuttonentry *obj)
52{
53 return elm_obj_multibuttonentry_entry_get(obj);
54}
55
56EAPI Elm_Widget_Item *
57elm_multibuttonentry_selected_item_get(const Elm_Multibuttonentry *obj)
58{
59 return elm_obj_multibuttonentry_selected_item_get(obj);
60}
61
62EAPI Elm_Widget_Item *
63elm_multibuttonentry_item_prepend(Elm_Multibuttonentry *obj, const char *label, Evas_Smart_Cb func, void *data)
64{
65 return elm_obj_multibuttonentry_item_prepend(obj, label, func, data);
66}
67
68EAPI void
69elm_multibuttonentry_clear(Elm_Multibuttonentry *obj)
70{
71 elm_obj_multibuttonentry_clear(obj);
72}
73
74EAPI void
75elm_multibuttonentry_item_filter_remove(Elm_Multibuttonentry *obj, Elm_Multibuttonentry_Item_Filter_Cb func, void *data)
76{
77 elm_obj_multibuttonentry_item_filter_remove(obj, func, data);
78}
79
80EAPI Elm_Widget_Item *
81elm_multibuttonentry_item_insert_before(Elm_Multibuttonentry *obj, Elm_Widget_Item *before, const char *label, Evas_Smart_Cb func, void *data)
82{
83 return elm_obj_multibuttonentry_item_insert_before(obj, before, label, func, data);
84}
85
86EAPI Elm_Widget_Item *
87elm_multibuttonentry_item_append(Elm_Multibuttonentry *obj, const char *label, Evas_Smart_Cb func, void *data)
88{
89 return elm_obj_multibuttonentry_item_append(obj, label, func, data);
90}
91
92EAPI void
93elm_multibuttonentry_item_filter_prepend(Elm_Multibuttonentry *obj, Elm_Multibuttonentry_Item_Filter_Cb func, void *data)
94{
95 elm_obj_multibuttonentry_item_filter_prepend(obj, func, data);
96}
97
98EAPI void
99elm_multibuttonentry_item_filter_append(Elm_Multibuttonentry *obj, Elm_Multibuttonentry_Item_Filter_Cb func, void *data)
100{
101 elm_obj_multibuttonentry_item_filter_append(obj, func, data);
102}
103
104EAPI Elm_Widget_Item *
105elm_multibuttonentry_item_insert_after(Elm_Multibuttonentry *obj, Elm_Widget_Item *after, const char *label, Evas_Smart_Cb func, void *data)
106{
107 return elm_obj_multibuttonentry_item_insert_after(obj, after, label, func, data);
108}
diff --git a/src/lib/elementary/elm_multibuttonentry_eo.legacy.h b/src/lib/elementary/elm_multibuttonentry_eo.legacy.h
new file mode 100644
index 0000000..dd99f04
--- /dev/null
+++ b/src/lib/elementary/elm_multibuttonentry_eo.legacy.h
@@ -0,0 +1,269 @@
1#ifndef _ELM_MULTIBUTTONENTRY_EO_LEGACY_H_
2#define _ELM_MULTIBUTTONENTRY_EO_LEGACY_H_
3
4#ifndef _ELM_MULTIBUTTONENTRY_EO_CLASS_TYPE
5#define _ELM_MULTIBUTTONENTRY_EO_CLASS_TYPE
6
7typedef Eo Elm_Multibuttonentry;
8
9#endif
10
11#ifndef _ELM_MULTIBUTTONENTRY_EO_TYPES
12#define _ELM_MULTIBUTTONENTRY_EO_TYPES
13
14
15#endif
16
17/**
18 * @brief Control if the multibuttonentry is to be editable or not.
19 *
20 * @param[in] obj The object.
21 * @param[in] editable If @c true, user can add/delete item in
22 * multibuttonentry, if not, the multibuttonentry is non-editable.
23 *
24 * @since 1.7
25 *
26 * @ingroup Elm_Multibuttonentry_Group
27 */
28EAPI void elm_multibuttonentry_editable_set(Elm_Multibuttonentry *obj, Eina_Bool editable);
29
30/**
31 * @brief Control if the multibuttonentry is to be editable or not.
32 *
33 * @param[in] obj The object.
34 *
35 * @return If @c true, user can add/delete item in multibuttonentry, if not,
36 * the multibuttonentry is non-editable.
37 *
38 * @since 1.7
39 *
40 * @ingroup Elm_Multibuttonentry_Group
41 */
42EAPI Eina_Bool elm_multibuttonentry_editable_get(const Elm_Multibuttonentry *obj);
43
44/**
45 * @brief Control the multibuttonentry to expanded state.
46 *
47 * In expanded state, the complete entry will be displayed. Otherwise, only
48 * single line of the entry will be displayed.
49 *
50 * @param[in] obj The object.
51 * @param[in] expanded The value of expanded state. Set this to @c true for
52 * expanded state. Set this to @c false for single line state.
53 *
54 * @ingroup Elm_Multibuttonentry_Group
55 */
56EAPI void elm_multibuttonentry_expanded_set(Elm_Multibuttonentry *obj, Eina_Bool expanded);
57
58/**
59 * @brief Control the multibuttonentry to expanded state.
60 *
61 * In expanded state, the complete entry will be displayed. Otherwise, only
62 * single line of the entry will be displayed.
63 *
64 * @param[in] obj The object.
65 *
66 * @return The value of expanded state. Set this to @c true for expanded state.
67 * Set this to @c false for single line state.
68 *
69 * @ingroup Elm_Multibuttonentry_Group
70 */
71EAPI Eina_Bool elm_multibuttonentry_expanded_get(const Elm_Multibuttonentry *obj);
72
73/**
74 * @brief Set a function to format the string that will be used to display the
75 * hidden items counter.
76 *
77 * If @c format_function is @c NULL, the default format will be used, which is
78 * $"... + %d".
79 *
80 * @param[in] obj The object.
81 * @param[in] format_function Format_function The actual format function
82 * @param[in] data Data User data to passed to @c format_function
83 *
84 * @since 1.9
85 *
86 * @ingroup Elm_Multibuttonentry_Group
87 */
88EAPI void elm_multibuttonentry_format_function_set(Elm_Multibuttonentry *obj, Elm_Multibuttonentry_Format_Cb format_function, const void *data);
89
90/**
91 * @brief Get a list of items in the multibuttonentry
92 *
93 * @param[in] obj The object.
94 *
95 * @return The list of items, or NULL if none
96 *
97 * @ingroup Elm_Multibuttonentry_Group
98 */
99EAPI const Eina_List *elm_multibuttonentry_items_get(const Elm_Multibuttonentry *obj);
100
101/**
102 * @brief Get the first item in the multibuttonentry
103 *
104 * @param[in] obj The object.
105 *
106 * @return The first item, or NULL if none
107 *
108 * @ingroup Elm_Multibuttonentry_Group
109 */
110EAPI Elm_Widget_Item *elm_multibuttonentry_first_item_get(const Elm_Multibuttonentry *obj);
111
112/**
113 * @brief Get the last item in the multibuttonentry
114 *
115 * @param[in] obj The object.
116 *
117 * @return The last item, or NULL if none
118 *
119 * @ingroup Elm_Multibuttonentry_Group
120 */
121EAPI Elm_Widget_Item *elm_multibuttonentry_last_item_get(const Elm_Multibuttonentry *obj);
122
123/**
124 * @brief Get the entry of the multibuttonentry object
125 *
126 * @param[in] obj The object.
127 *
128 * @return The entry object, or NULL if none
129 *
130 * @ingroup Elm_Multibuttonentry_Group
131 */
132EAPI Efl_Canvas_Object *elm_multibuttonentry_entry_get(const Elm_Multibuttonentry *obj);
133
134/**
135 * @brief Get the selected item in the multibuttonentry
136 *
137 * @param[in] obj The object.
138 *
139 * @return The selected item, or NULL if none
140 *
141 * @ingroup Elm_Multibuttonentry_Group
142 */
143EAPI Elm_Widget_Item *elm_multibuttonentry_selected_item_get(const Elm_Multibuttonentry *obj);
144
145/**
146 * @brief Prepend a new item to the multibuttonentry
147 *
148 * See @ref Efl.Object.invalidate to delete the item.
149 *
150 * @param[in] obj The object.
151 * @param[in] label The label of new item
152 * @param[in] func The callback function to be invoked when this item is
153 * pressed.
154 * @param[in] data The pointer to the data to be attached
155 *
156 * @return A handle to the item added or NULL if not possible
157 *
158 * @ingroup Elm_Multibuttonentry_Group
159 */
160EAPI Elm_Widget_Item *elm_multibuttonentry_item_prepend(Elm_Multibuttonentry *obj, const char *label, Evas_Smart_Cb func, void *data);
161
162/** Remove all items in the multibuttonentry.
163 *
164 * @ingroup Elm_Multibuttonentry_Group
165 */
166EAPI void elm_multibuttonentry_clear(Elm_Multibuttonentry *obj);
167
168/**
169 * @brief Remove a filter from the list
170 *
171 * Removes the given callback from the filter list. See
172 * elm_multibuttonentry_item_filter_append() for more information.
173 *
174 * @param[in] obj The object.
175 * @param[in] func The filter function to remove
176 * @param[in] data The user data passed when adding the function
177 *
178 * @ingroup Elm_Multibuttonentry_Group
179 */
180EAPI void elm_multibuttonentry_item_filter_remove(Elm_Multibuttonentry *obj, Elm_Multibuttonentry_Item_Filter_Cb func, void *data);
181
182/**
183 * @brief Add a new item to the multibuttonentry before the indicated object
184 * reference.
185 *
186 * See @ref Efl.Object.invalidate to delete the item.
187 *
188 * @param[in] obj The object.
189 * @param[in] before The item before which to add it
190 * @param[in] label The label of new item
191 * @param[in] func The callback function to be invoked when this item is
192 * pressed.
193 * @param[in] data The pointer to the data to be attached
194 *
195 * @return A handle to the item added or NULL if not possible
196 *
197 * @ingroup Elm_Multibuttonentry_Group
198 */
199EAPI Elm_Widget_Item *elm_multibuttonentry_item_insert_before(Elm_Multibuttonentry *obj, Elm_Widget_Item *before, const char *label, Evas_Smart_Cb func, void *data);
200
201/**
202 * @brief Append a new item to the multibuttonentry
203 *
204 * See @ref Efl.Object.invalidate to delete the item.
205 *
206 * @param[in] obj The object.
207 * @param[in] label The label of new item
208 * @param[in] func The callback function to be invoked when this item is
209 * pressed.
210 * @param[in] data The pointer to the data to be attached
211 *
212 * @return A handle to the item added or NULL if not possible
213 *
214 * @ingroup Elm_Multibuttonentry_Group
215 */
216EAPI Elm_Widget_Item *elm_multibuttonentry_item_append(Elm_Multibuttonentry *obj, const char *label, Evas_Smart_Cb func, void *data);
217
218/**
219 * @brief Prepend a filter function for text inserted in the Multibuttonentry
220 *
221 * Prepend the given callback to the list. See
222 * elm_multibuttonentry_item_filter_append() for more information
223 *
224 * @param[in] obj The object.
225 * @param[in] func The function to use as text filter
226 * @param[in] data User data to pass to @c func
227 *
228 * @ingroup Elm_Multibuttonentry_Group
229 */
230EAPI void elm_multibuttonentry_item_filter_prepend(Elm_Multibuttonentry *obj, Elm_Multibuttonentry_Item_Filter_Cb func, void *data);
231
232/**
233 * @brief Append an item filter function for text inserted in the
234 * Multibuttonentry
235 *
236 * Append the given callback to a list. This function is called whenever any
237 * text is inserted into the Multibuttonentry, with the text to be inserted as
238 * a parameter. The callback function is free to alter the text in any way it
239 * wants but must free the given pointer and update it. If the new text is to
240 * be discarded, the function can free it and set it text parameter to NULL.
241 * This will also prevent any following filters from being called.
242 *
243 * @param[in] obj The object.
244 * @param[in] func The function to use as item filter
245 * @param[in] data User data to pass to @c func
246 *
247 * @ingroup Elm_Multibuttonentry_Group
248 */
249EAPI void elm_multibuttonentry_item_filter_append(Elm_Multibuttonentry *obj, Elm_Multibuttonentry_Item_Filter_Cb func, void *data);
250
251/**
252 * @brief Add a new item to the multibuttonentry after the indicated object
253 *
254 * See @ref Efl.Object.invalidate to delete the item.
255 *
256 * @param[in] obj The object.
257 * @param[in] after The item after which to add it
258 * @param[in] label The label of new item
259 * @param[in] func The callback function to be invoked when this item is
260 * pressed.
261 * @param[in] data The pointer to the data to be attached
262 *
263 * @return A handle to the item added or NULL if not possible
264 *
265 * @ingroup Elm_Multibuttonentry_Group
266 */
267EAPI Elm_Widget_Item *elm_multibuttonentry_item_insert_after(Elm_Multibuttonentry *obj, Elm_Widget_Item *after, const char *label, Evas_Smart_Cb func, void *data);
268
269#endif
diff --git a/src/lib/elementary/elm_multibuttonentry_item.eo b/src/lib/elementary/elm_multibuttonentry_item.eo
deleted file mode 100644
index 09e05fd..0000000
--- a/src/lib/elementary/elm_multibuttonentry_item.eo
+++ /dev/null
@@ -1,38 +0,0 @@
1class Elm.Multibuttonentry_Item extends Elm.Widget.Item implements
2 Efl.Access.Widget.Action,
3 Efl.Ui.Legacy
4{
5 [[Elementary multibuttonentry class]]
6 legacy_prefix: elm_multibuttonentry_item;
7 eo_prefix: elm_obj_multibuttonentry_item;
8 methods {
9 @property selected {
10 [[Control the selected state of an item]]
11 get {
12 }
13 set {
14 }
15 values {
16 selected: bool; [[$true if selected $false otherwise]]
17 }
18 }
19 prev_get @const {
20 [[Get the previous item in the multibuttonentry]]
21 return: Elm.Widget.Item; [[The item before the item]]
22 }
23 next_get @const {
24 [[Get the next item in the multibuttonentry]]
25 return: Elm.Widget.Item; [[The item after the item]]
26 }
27 }
28 implements {
29 Efl.Object.constructor;
30 Efl.Object.destructor;
31 Elm.Widget.Item.signal_emit;
32 Elm.Widget.Item.part_text { get; set; }
33 Elm.Widget.Item.disable;
34 Efl.Access.Object.i18n_name { get; }
35 Efl.Access.Object.state_set { get; }
36 Efl.Access.Widget.Action.elm_actions { get; }
37 }
38}
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"
diff --git a/src/lib/elementary/elm_multibuttonentry_item_eo.h b/src/lib/elementary/elm_multibuttonentry_item_eo.h
new file mode 100644
index 0000000..c1f5484
--- /dev/null
+++ b/src/lib/elementary/elm_multibuttonentry_item_eo.h
@@ -0,0 +1,67 @@
1#ifndef _ELM_MULTIBUTTONENTRY_ITEM_EO_H_
2#define _ELM_MULTIBUTTONENTRY_ITEM_EO_H_
3
4#ifndef _ELM_MULTIBUTTONENTRY_ITEM_EO_CLASS_TYPE
5#define _ELM_MULTIBUTTONENTRY_ITEM_EO_CLASS_TYPE
6
7typedef Eo Elm_Multibuttonentry_Item;
8
9#endif
10
11#ifndef _ELM_MULTIBUTTONENTRY_ITEM_EO_TYPES
12#define _ELM_MULTIBUTTONENTRY_ITEM_EO_TYPES
13
14
15#endif
16/** Elementary multibuttonentry class
17 *
18 * @ingroup Elm_Multibuttonentry_Item
19 */
20#define ELM_MULTIBUTTONENTRY_ITEM_CLASS elm_multibuttonentry_item_class_get()
21
22EWAPI const Efl_Class *elm_multibuttonentry_item_class_get(void);
23
24/**
25 * @brief Control the selected state of an item
26 *
27 * @param[in] obj The object.
28 * @param[in] selected @c true if selected @c false otherwise
29 *
30 * @ingroup Elm_Multibuttonentry_Item
31 */
32EOAPI void elm_obj_multibuttonentry_item_selected_set(Eo *obj, Eina_Bool selected);
33
34/**
35 * @brief Control the selected state of an item
36 *
37 * @param[in] obj The object.
38 *
39 * @return @c true if selected @c false otherwise
40 *
41 * @ingroup Elm_Multibuttonentry_Item
42 */
43EOAPI Eina_Bool elm_obj_multibuttonentry_item_selected_get(const Eo *obj);
44
45/**
46 * @brief Get the previous item in the multibuttonentry
47 *
48 * @param[in] obj The object.
49 *
50 * @return The item before the item
51 *
52 * @ingroup Elm_Multibuttonentry_Item
53 */
54EOAPI Elm_Widget_Item *elm_obj_multibuttonentry_item_prev_get(const Eo *obj);
55
56/**
57 * @brief Get the next item in the multibuttonentry
58 *
59 * @param[in] obj The object.
60 *
61 * @return The item after the item
62 *
63 * @ingroup Elm_Multibuttonentry_Item
64 */
65EOAPI Elm_Widget_Item *elm_obj_multibuttonentry_item_next_get(const Eo *obj);
66
67#endif
diff --git a/src/lib/elementary/elm_multibuttonentry_item_eo.legacy.c b/src/lib/elementary/elm_multibuttonentry_item_eo.legacy.c
new file mode 100644
index 0000000..95f3250
--- /dev/null
+++ b/src/lib/elementary/elm_multibuttonentry_item_eo.legacy.c
@@ -0,0 +1,24 @@
1
2EAPI void
3elm_multibuttonentry_item_selected_set(Elm_Multibuttonentry_Item *obj, Eina_Bool selected)
4{
5 elm_obj_multibuttonentry_item_selected_set(obj, selected);
6}
7
8EAPI Eina_Bool
9elm_multibuttonentry_item_selected_get(const Elm_Multibuttonentry_Item *obj)
10{
11 return elm_obj_multibuttonentry_item_selected_get(obj);
12}
13
14EAPI Elm_Widget_Item *
15elm_multibuttonentry_item_prev_get(const Elm_Multibuttonentry_Item *obj)
16{
17 return elm_obj_multibuttonentry_item_prev_get(obj);
18}
19
20EAPI Elm_Widget_Item *
21elm_multibuttonentry_item_next_get(const Elm_Multibuttonentry_Item *obj)
22{
23 return elm_obj_multibuttonentry_item_next_get(obj);
24}
diff --git a/src/lib/elementary/elm_multibuttonentry_item_eo.legacy.h b/src/lib/elementary/elm_multibuttonentry_item_eo.legacy.h
new file mode 100644
index 0000000..d4e4281
--- /dev/null
+++ b/src/lib/elementary/elm_multibuttonentry_item_eo.legacy.h
@@ -0,0 +1,60 @@
1#ifndef _ELM_MULTIBUTTONENTRY_ITEM_EO_LEGACY_H_
2#define _ELM_MULTIBUTTONENTRY_ITEM_EO_LEGACY_H_
3
4#ifndef _ELM_MULTIBUTTONENTRY_ITEM_EO_CLASS_TYPE
5#define _ELM_MULTIBUTTONENTRY_ITEM_EO_CLASS_TYPE
6
7typedef Eo Elm_Multibuttonentry_Item;
8
9#endif
10
11#ifndef _ELM_MULTIBUTTONENTRY_ITEM_EO_TYPES
12#define _ELM_MULTIBUTTONENTRY_ITEM_EO_TYPES
13
14
15#endif
16
17/**
18 * @brief Control the selected state of an item
19 *
20 * @param[in] obj The object.
21 * @param[in] selected @c true if selected @c false otherwise
22 *
23 * @ingroup Elm_Multibuttonentry_Item_Group
24 */
25EAPI void elm_multibuttonentry_item_selected_set(Elm_Multibuttonentry_Item *obj, Eina_Bool selected);
26
27/**
28 * @brief Control the selected state of an item
29 *
30 * @param[in] obj The object.
31 *
32 * @return @c true if selected @c false otherwise
33 *
34 * @ingroup Elm_Multibuttonentry_Item_Group
35 */
36EAPI Eina_Bool elm_multibuttonentry_item_selected_get(const Elm_Multibuttonentry_Item *obj);
37
38/**
39 * @brief Get the previous item in the multibuttonentry
40 *
41 * @param[in] obj The object.
42 *
43 * @return The item before the item
44 *
45 * @ingroup Elm_Multibuttonentry_Item_Group
46 */
47EAPI Elm_Widget_Item *elm_multibuttonentry_item_prev_get(const Elm_Multibuttonentry_Item *obj);
48
49/**
50 * @brief Get the next item in the multibuttonentry
51 *
52 * @param[in] obj The object.
53 *
54 * @return The item after the item
55 *
56 * @ingroup Elm_Multibuttonentry_Item_Group
57 */
58EAPI Elm_Widget_Item *elm_multibuttonentry_item_next_get(const Elm_Multibuttonentry_Item *obj);
59
60#endif
diff --git a/src/lib/elementary/meson.build b/src/lib/elementary/meson.build
index 0514bdc..b738020 100644
--- a/src/lib/elementary/meson.build
+++ b/src/lib/elementary/meson.build
@@ -197,8 +197,6 @@ pub_eo_files = [
197 'efl_ui_progressbar_legacy_part.eo', 197 'efl_ui_progressbar_legacy_part.eo',
198 'elm_widget_item_container.eo', 198 'elm_widget_item_container.eo',
199 'elm_spinner.eo', 199 'elm_spinner.eo',
200 'elm_multibuttonentry.eo',
201 'elm_multibuttonentry_item.eo',
202 'elm_multibuttonentry_part.eo', 200 'elm_multibuttonentry_part.eo',
203 'elm_interface_scrollable.eo', 201 'elm_interface_scrollable.eo',
204 'elm_atspi_bridge.eo', 202 'elm_atspi_bridge.eo',
@@ -773,6 +771,10 @@ elementary_pub_headers = [
773 'elm_menu_eo.legacy.h', 771 'elm_menu_eo.legacy.h',
774 'elm_menu_item_eo.h', 772 'elm_menu_item_eo.h',
775 'elm_menu_item_eo.legacy.h', 773 'elm_menu_item_eo.legacy.h',
774 'elm_multibuttonentry_eo.h',
775 'elm_multibuttonentry_eo.legacy.h',
776 'elm_multibuttonentry_item_eo.h',
777 'elm_multibuttonentry_item_eo.legacy.h',
776] 778]
777 779
778elementary_header_src = [ 780elementary_header_src = [