summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2012-01-02 10:10:23 +0000
committerChunEon Park <hermet@hermet.pe.kr>2012-01-02 10:10:23 +0000
commit39552d4a848ffac1b826efbb5c978a63e22e05f3 (patch)
tree6c4208ea001a952fda0414373f217f4e4093b23f /src
parent61ac28c312bc0b8c28e2451bf4eeced879309813 (diff)
elementary/multibuttonentry - Elm_Multibuttonentry_Item -> Elm_Object_Item
SVN revision: 66737
Diffstat (limited to 'src')
-rw-r--r--src/bin/test_multibuttonentry.c12
-rw-r--r--src/lib/elc_multibuttonentry.c95
-rw-r--r--src/lib/elc_multibuttonentry.h43
3 files changed, 78 insertions, 72 deletions
diff --git a/src/bin/test_multibuttonentry.c b/src/bin/test_multibuttonentry.c
index c3247c51d..a203d45ac 100644
--- a/src/bin/test_multibuttonentry.c
+++ b/src/bin/test_multibuttonentry.c
@@ -9,8 +9,8 @@ _item_selected_cb(void *data __UNUSED__,
9 Evas_Object *obj __UNUSED__, 9 Evas_Object *obj __UNUSED__,
10 void *event_info) 10 void *event_info)
11{ 11{
12 Elm_Multibuttonentry_Item *item = (Elm_Multibuttonentry_Item *)event_info; 12 Elm_Object_Item *mbe_it = event_info;
13 printf("selected item = %s\n", elm_multibuttonentry_item_label_get(item)); 13 printf("selected item = %s\n", elm_multibuttonentry_item_label_get(mbe_it));
14} 14}
15 15
16// "item,added" smart callback of multibuttonentry. 16// "item,added" smart callback of multibuttonentry.
@@ -19,8 +19,8 @@ _item_added_cb(void *data __UNUSED__,
19 Evas_Object *obj __UNUSED__, 19 Evas_Object *obj __UNUSED__,
20 void *event_info) 20 void *event_info)
21{ 21{
22 Elm_Multibuttonentry_Item *item = (Elm_Multibuttonentry_Item *)event_info; 22 Elm_Object_Item *mbe_it = event_info;
23 printf("added item = %s\n", elm_multibuttonentry_item_label_get(item)); 23 printf("added item = %s\n", elm_multibuttonentry_item_label_get(mbe_it));
24} 24}
25 25
26// "item,deleted" smart callback 26// "item,deleted" smart callback
@@ -38,8 +38,8 @@ _item_clicked_cb(void *data __UNUSED__,
38 Evas_Object *obj __UNUSED__, 38 Evas_Object *obj __UNUSED__,
39 void *event_info ) 39 void *event_info )
40{ 40{
41 Elm_Multibuttonentry_Item *item = (Elm_Multibuttonentry_Item *)event_info; 41 Elm_Object_Item *mbe_it = event_info;
42 printf("clicked item = %s\n", elm_multibuttonentry_item_label_get(item)); 42 printf("clicked item = %s\n", elm_multibuttonentry_item_label_get(mbe_it));
43} 43}
44 44
45static void 45static void
diff --git a/src/lib/elc_multibuttonentry.c b/src/lib/elc_multibuttonentry.c
index 0f4ca9bb1..39c9608f9 100644
--- a/src/lib/elc_multibuttonentry.c
+++ b/src/lib/elc_multibuttonentry.c
@@ -34,6 +34,9 @@ typedef enum _Multibuttonentry_View_State
34 MULTIBUTTONENTRY_VIEW_SHRINK 34 MULTIBUTTONENTRY_VIEW_SHRINK
35 } Multibuttonentry_View_State; 35 } Multibuttonentry_View_State;
36 36
37typedef struct _Widget_Data Widget_Data;
38typedef struct _Multibuttonentry_Item Elm_Multibuttonentry_Item;
39
37struct _Multibuttonentry_Item 40struct _Multibuttonentry_Item
38 { 41 {
39 ELM_WIDGET_ITEM; 42 ELM_WIDGET_ITEM;
@@ -48,7 +51,6 @@ typedef struct _Elm_Multibuttonentry_Item_Filter
48 void *data; 51 void *data;
49 } Elm_Multibuttonentry_Item_Filter; 52 } Elm_Multibuttonentry_Item_Filter;
50 53
51typedef struct _Widget_Data Widget_Data;
52struct _Widget_Data 54struct _Widget_Data
53 { 55 {
54 Evas_Object *base; 56 Evas_Object *base;
@@ -1422,44 +1424,46 @@ elm_multibuttonentry_shrink_mode_set(Evas_Object *obj, int shrink)
1422 _shrink_mode_set(obj, shrink); 1424 _shrink_mode_set(obj, shrink);
1423} 1425}
1424 1426
1425EAPI Elm_Multibuttonentry_Item * 1427EAPI Elm_Object_Item *
1426elm_multibuttonentry_item_prepend(Evas_Object *obj, const char *label, void *data) 1428elm_multibuttonentry_item_prepend(Evas_Object *obj, const char *label, void *data)
1427{ 1429{
1428 ELM_CHECK_WIDTYPE(obj, widtype) NULL; 1430 ELM_CHECK_WIDTYPE(obj, widtype) NULL;
1429 Elm_Multibuttonentry_Item *item; 1431 Elm_Multibuttonentry_Item *item;
1430 if (!label) return NULL; 1432 if (!label) return NULL;
1431 item = _add_button_item(obj, label, MULTIBUTTONENTRY_POS_START, NULL, data); 1433 item = _add_button_item(obj, label, MULTIBUTTONENTRY_POS_START, NULL, data);
1432 return item; 1434 return (Elm_Object_Item *) item;
1433} 1435}
1434 1436
1435EAPI Elm_Multibuttonentry_Item * 1437EAPI Elm_Object_Item *
1436elm_multibuttonentry_item_append(Evas_Object *obj, const char *label, void *data) 1438elm_multibuttonentry_item_append(Evas_Object *obj, const char *label, void *data)
1437{ 1439{
1438 ELM_CHECK_WIDTYPE(obj, widtype) NULL; 1440 ELM_CHECK_WIDTYPE(obj, widtype) NULL;
1439 Elm_Multibuttonentry_Item *item; 1441 Elm_Multibuttonentry_Item *item;
1440 if (!label) return NULL; 1442 if (!label) return NULL;
1441 item = _add_button_item(obj, label, MULTIBUTTONENTRY_POS_END, NULL, data); 1443 item = _add_button_item(obj, label, MULTIBUTTONENTRY_POS_END, NULL, data);
1442 return item; 1444 return (Elm_Object_Item *) item;
1443} 1445}
1444 1446
1445EAPI Elm_Multibuttonentry_Item * 1447EAPI Elm_Object_Item *
1446elm_multibuttonentry_item_insert_before(Evas_Object *obj, Elm_Multibuttonentry_Item *before, const char *label, void *data) 1448elm_multibuttonentry_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const char *label, void *data)
1447{ 1449{
1448 ELM_CHECK_WIDTYPE(obj, widtype) NULL; 1450 ELM_CHECK_WIDTYPE(obj, widtype) NULL;
1449 Elm_Multibuttonentry_Item *item; 1451 Elm_Multibuttonentry_Item *item;
1450 if (!label) return NULL; 1452 if (!label) return NULL;
1451 item = _add_button_item(obj, label, MULTIBUTTONENTRY_POS_BEFORE, before, data); 1453 item = _add_button_item(obj, label, MULTIBUTTONENTRY_POS_BEFORE,
1452 return item; 1454 (Elm_Multibuttonentry_Item *) before, data);
1455 return (Elm_Object_Item *) item;
1453} 1456}
1454 1457
1455EAPI Elm_Multibuttonentry_Item * 1458EAPI Elm_Object_Item *
1456elm_multibuttonentry_item_insert_after(Evas_Object *obj, Elm_Multibuttonentry_Item *after, const char *label, void *data) 1459elm_multibuttonentry_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const char *label, void *data)
1457{ 1460{
1458 ELM_CHECK_WIDTYPE(obj, widtype) NULL; 1461 ELM_CHECK_WIDTYPE(obj, widtype) NULL;
1459 Elm_Multibuttonentry_Item *item; 1462 Elm_Multibuttonentry_Item *item;
1460 if (!label) return NULL; 1463 if (!label) return NULL;
1461 item = _add_button_item(obj, label, MULTIBUTTONENTRY_POS_AFTER, after, data); 1464 item = _add_button_item(obj, label, MULTIBUTTONENTRY_POS_AFTER,
1462 return item; 1465 (Elm_Multibuttonentry_Item *) after, data);
1466 return (Elm_Object_Item *) item;
1463} 1467}
1464 1468
1465EAPI const Eina_List * 1469EAPI const Eina_List *
@@ -1471,7 +1475,7 @@ elm_multibuttonentry_items_get(const Evas_Object *obj)
1471 return wd->items; 1475 return wd->items;
1472} 1476}
1473 1477
1474EAPI Elm_Multibuttonentry_Item * 1478EAPI Elm_Object_Item *
1475elm_multibuttonentry_first_item_get(const Evas_Object *obj) 1479elm_multibuttonentry_first_item_get(const Evas_Object *obj)
1476{ 1480{
1477 ELM_CHECK_WIDTYPE(obj, widtype) NULL; 1481 ELM_CHECK_WIDTYPE(obj, widtype) NULL;
@@ -1480,7 +1484,7 @@ elm_multibuttonentry_first_item_get(const Evas_Object *obj)
1480 return eina_list_data_get(wd->items); 1484 return eina_list_data_get(wd->items);
1481} 1485}
1482 1486
1483EAPI Elm_Multibuttonentry_Item * 1487EAPI Elm_Object_Item *
1484elm_multibuttonentry_last_item_get(const Evas_Object *obj) 1488elm_multibuttonentry_last_item_get(const Evas_Object *obj)
1485{ 1489{
1486 ELM_CHECK_WIDTYPE(obj, widtype) NULL; 1490 ELM_CHECK_WIDTYPE(obj, widtype) NULL;
@@ -1489,7 +1493,7 @@ elm_multibuttonentry_last_item_get(const Evas_Object *obj)
1489 return eina_list_data_get(eina_list_last(wd->items)); 1493 return eina_list_data_get(eina_list_last(wd->items));
1490} 1494}
1491 1495
1492EAPI Elm_Multibuttonentry_Item * 1496EAPI Elm_Object_Item *
1493elm_multibuttonentry_selected_item_get(const Evas_Object *obj) 1497elm_multibuttonentry_selected_item_get(const Evas_Object *obj)
1494{ 1498{
1495 ELM_CHECK_WIDTYPE(obj, widtype) NULL; 1499 ELM_CHECK_WIDTYPE(obj, widtype) NULL;
@@ -1499,9 +1503,10 @@ elm_multibuttonentry_selected_item_get(const Evas_Object *obj)
1499} 1503}
1500 1504
1501EAPI void 1505EAPI void
1502elm_multibuttonentry_item_select(Elm_Multibuttonentry_Item *item, Eina_Bool selected) 1506elm_multibuttonentry_item_select(Elm_Object_Item *it, Eina_Bool selected)
1503{ 1507{
1504 if (!item) return; 1508 ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
1509 Elm_Multibuttonentry_Item *item = (Elm_Multibuttonentry_Item *) it;
1505 if (selected) _select_button(WIDGET(item), item->button); 1510 if (selected) _select_button(WIDGET(item), item->button);
1506 else _select_button(WIDGET(item), NULL); 1511 else _select_button(WIDGET(item), NULL);
1507} 1512}
@@ -1538,41 +1543,44 @@ elm_multibuttonentry_clear(Evas_Object *obj)
1538} 1543}
1539 1544
1540EAPI void 1545EAPI void
1541elm_multibuttonentry_item_del(Elm_Multibuttonentry_Item *item) 1546elm_multibuttonentry_item_del(Elm_Object_Item *it)
1542{ 1547{
1543 if (!item) return; 1548 ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
1544 _del_button_item(item); 1549 _del_button_item((Elm_Multibuttonentry_Item *) it);
1545} 1550}
1546 1551
1547EAPI const char * 1552EAPI const char *
1548elm_multibuttonentry_item_label_get(const Elm_Multibuttonentry_Item *item) 1553elm_multibuttonentry_item_label_get(const Elm_Object_Item *it)
1549{ 1554{
1550 if (!item) return NULL; 1555 ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
1556 Elm_Multibuttonentry_Item *item = (Elm_Multibuttonentry_Item *) it;
1551 return edje_object_part_text_get(item->button, "elm.btn.text"); 1557 return edje_object_part_text_get(item->button, "elm.btn.text");
1552} 1558}
1553 1559
1554EAPI void 1560EAPI void
1555elm_multibuttonentry_item_label_set(Elm_Multibuttonentry_Item *item, const char *str) 1561elm_multibuttonentry_item_label_set(Elm_Object_Item *it, const char *str)
1556{ 1562{
1557 if (!item || !str) return; 1563 ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
1564 Elm_Multibuttonentry_Item *item = (Elm_Multibuttonentry_Item *) it;
1565 if (!str) return;
1558 edje_object_part_text_set(item->button, "elm.btn.text", str); 1566 edje_object_part_text_set(item->button, "elm.btn.text", str);
1559 _resize_button(item->button, &item->rw, &item->vw); 1567 _resize_button(item->button, &item->rw, &item->vw);
1560} 1568}
1561 1569
1562EAPI Elm_Multibuttonentry_Item * 1570EAPI Elm_Object_Item *
1563elm_multibuttonentry_item_prev_get(const Elm_Multibuttonentry_Item *item) 1571elm_multibuttonentry_item_prev_get(const Elm_Object_Item *it)
1564{ 1572{
1573 ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
1565 Widget_Data *wd; 1574 Widget_Data *wd;
1566 Eina_List *l; 1575 Eina_List *l;
1567 Elm_Multibuttonentry_Item *_item; 1576 Elm_Multibuttonentry_Item *_item;
1568 1577
1569 if (!item) return NULL; 1578 wd = elm_widget_data_get(WIDGET(it));
1570 wd = elm_widget_data_get(WIDGET(item)); 1579 if (!wd) return NULL;
1571 ELM_CHECK_WIDTYPE(WIDGET(item), widtype) NULL;
1572 1580
1573 EINA_LIST_FOREACH(wd->items, l, _item) 1581 EINA_LIST_FOREACH(wd->items, l, _item)
1574 { 1582 {
1575 if (_item == item) 1583 if (_item == (Elm_Multibuttonentry_Item *) it)
1576 { 1584 {
1577 l = eina_list_prev(l); 1585 l = eina_list_prev(l);
1578 if (!l) return NULL; 1586 if (!l) return NULL;
@@ -1582,20 +1590,19 @@ elm_multibuttonentry_item_prev_get(const Elm_Multibuttonentry_Item *item)
1582 return NULL; 1590 return NULL;
1583} 1591}
1584 1592
1585EAPI Elm_Multibuttonentry_Item * 1593EAPI Elm_Object_Item *
1586elm_multibuttonentry_item_next_get(const Elm_Multibuttonentry_Item *item) 1594elm_multibuttonentry_item_next_get(const Elm_Object_Item *it)
1587{ 1595{
1596 ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
1588 Widget_Data *wd; 1597 Widget_Data *wd;
1589 Eina_List *l; 1598 Eina_List *l;
1590 Elm_Multibuttonentry_Item *_item; 1599 Elm_Multibuttonentry_Item *_item;
1591 1600 wd = elm_widget_data_get(WIDGET(it));
1592 if (!item) return NULL; 1601 if (!wd) return NULL;
1593 wd = elm_widget_data_get(WIDGET(item));
1594 ELM_CHECK_WIDTYPE(WIDGET(item), widtype) NULL;
1595 1602
1596 EINA_LIST_FOREACH(wd->items, l, _item) 1603 EINA_LIST_FOREACH(wd->items, l, _item)
1597 { 1604 {
1598 if (_item == item) 1605 if (_item == (Elm_Multibuttonentry_Item *) it)
1599 { 1606 {
1600 l = eina_list_next(l); 1607 l = eina_list_next(l);
1601 if (!l) return NULL; 1608 if (!l) return NULL;
@@ -1606,17 +1613,17 @@ elm_multibuttonentry_item_next_get(const Elm_Multibuttonentry_Item *item)
1606} 1613}
1607 1614
1608EAPI void * 1615EAPI void *
1609elm_multibuttonentry_item_data_get(const Elm_Multibuttonentry_Item *item) 1616elm_multibuttonentry_item_data_get(const Elm_Object_Item *it)
1610{ 1617{
1611 if (!item) return NULL; 1618 ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
1612 return elm_widget_item_data_get(item); 1619 return elm_widget_item_data_get(it);
1613} 1620}
1614 1621
1615EAPI void 1622EAPI void
1616elm_multibuttonentry_item_data_set(Elm_Multibuttonentry_Item *item, void *data) 1623elm_multibuttonentry_item_data_set(Elm_Object_Item *it, void *data)
1617{ 1624{
1618 if (!item) return; 1625 ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
1619 return elm_widget_item_data_set(item, data); 1626 return elm_widget_item_data_set(it, data);
1620} 1627}
1621 1628
1622EAPI void 1629EAPI void
diff --git a/src/lib/elc_multibuttonentry.h b/src/lib/elc_multibuttonentry.h
index fdb9613f3..7c607a72d 100644
--- a/src/lib/elc_multibuttonentry.h
+++ b/src/lib/elc_multibuttonentry.h
@@ -25,7 +25,6 @@
25 * @{ 25 * @{
26 */ 26 */
27 27
28typedef struct _Multibuttonentry_Item Elm_Multibuttonentry_Item;
29typedef Eina_Bool (*Elm_Multibuttonentry_Item_Filter_callback)(Evas_Object *obj, const char *item_label, void *item_data, void *data); 28typedef Eina_Bool (*Elm_Multibuttonentry_Item_Filter_callback)(Evas_Object *obj, const char *item_label, void *item_data, void *data);
30 29
31/** 30/**
@@ -109,7 +108,7 @@ EAPI void elm_multibuttonentry_shrink_mode_set(Evas_Object
109 * @return A handle to the item added or NULL if not possible 108 * @return A handle to the item added or NULL if not possible
110 * 109 *
111 */ 110 */
112EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_prepend(Evas_Object *obj, const char *label, void *data); 111EAPI Elm_Object_Item *elm_multibuttonentry_item_prepend(Evas_Object *obj, const char *label, void *data);
113 112
114/** 113/**
115 * Append a new item to the multibuttonentry 114 * Append a new item to the multibuttonentry
@@ -120,7 +119,7 @@ EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_prepend(Evas_Object *o
120 * @return A handle to the item added or NULL if not possible 119 * @return A handle to the item added or NULL if not possible
121 * 120 *
122 */ 121 */
123EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_append(Evas_Object *obj, const char *label, void *data); 122EAPI Elm_Object_Item *elm_multibuttonentry_item_append(Evas_Object *obj, const char *label, void *data);
124 123
125/** 124/**
126 * Add a new item to the multibuttonentry before the indicated object 125 * Add a new item to the multibuttonentry before the indicated object
@@ -133,7 +132,7 @@ EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_append(Evas_Object *ob
133 * @return A handle to the item added or NULL if not possible 132 * @return A handle to the item added or NULL if not possible
134 * 133 *
135 */ 134 */
136EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_insert_before(Evas_Object *obj, Elm_Multibuttonentry_Item *before, const char *label, void *data); 135EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const char *label, void *data);
137 136
138/** 137/**
139 * Add a new item to the multibuttonentry after the indicated object 138 * Add a new item to the multibuttonentry after the indicated object
@@ -145,7 +144,7 @@ EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_insert_before(Evas_Obj
145 * @return A handle to the item added or NULL if not possible 144 * @return A handle to the item added or NULL if not possible
146 * 145 *
147 */ 146 */
148EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_insert_after(Evas_Object *obj, Elm_Multibuttonentry_Item *after, const char *label, void *data); 147EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const char *label, void *data);
149 148
150/** 149/**
151 * Get a list of items in the multibuttonentry 150 * Get a list of items in the multibuttonentry
@@ -163,7 +162,7 @@ EAPI const Eina_List *elm_multibuttonentry_items_get(const Evas_Object
163 * @return The first item, or NULL if none 162 * @return The first item, or NULL if none
164 * 163 *
165 */ 164 */
166EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_first_item_get(const Evas_Object *obj); 165EAPI Elm_Object_Item *elm_multibuttonentry_first_item_get(const Evas_Object *obj);
167 166
168/** 167/**
169 * Get the last item in the multibuttonentry 168 * Get the last item in the multibuttonentry
@@ -172,7 +171,7 @@ EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_first_item_get(const Evas_O
172 * @return The last item, or NULL if none 171 * @return The last item, or NULL if none
173 * 172 *
174 */ 173 */
175EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_last_item_get(const Evas_Object *obj); 174EAPI Elm_Object_Item *elm_multibuttonentry_last_item_get(const Evas_Object *obj);
176 175
177/** 176/**
178 * Get the selected item in the multibuttonentry 177 * Get the selected item in the multibuttonentry
@@ -181,16 +180,16 @@ EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_last_item_get(const Evas_Ob
181 * @return The selected item, or NULL if none 180 * @return The selected item, or NULL if none
182 * 181 *
183 */ 182 */
184EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_selected_item_get(const Evas_Object *obj); 183EAPI Elm_Object_Item *elm_multibuttonentry_selected_item_get(const Evas_Object *obj);
185 184
186/** 185/**
187 * Set the selected state of an item 186 * Set the selected state of an item
188 * 187 *
189 * @param item The item 188 * @param item The it
190 * @param selected if it's EINA_TRUE, select the item otherwise, unselect the item 189 * @param selected if it's EINA_TRUE, select the item otherwise, unselect the item
191 * 190 *
192 */ 191 */
193EAPI void elm_multibuttonentry_item_select(Elm_Multibuttonentry_Item *item, Eina_Bool selected); 192EAPI void elm_multibuttonentry_item_select(Elm_Object_Item *it, Eina_Bool selected);
194 193
195/** 194/**
196 * unselect all items. 195 * unselect all items.
@@ -203,10 +202,10 @@ EAPI void elm_multibuttonentry_item_unselect_all(Evas_Obje
203/** 202/**
204 * Delete a given item 203 * Delete a given item
205 * 204 *
206 * @param item The item 205 * @param it The item
207 * 206 *
208 */ 207 */
209EAPI void elm_multibuttonentry_item_del(Elm_Multibuttonentry_Item *item); 208EAPI void elm_multibuttonentry_item_del(Elm_Object_Item *it);
210 209
211/** 210/**
212 * Remove all items in the multibuttonentry. 211 * Remove all items in the multibuttonentry.
@@ -219,38 +218,38 @@ EAPI void elm_multibuttonentry_clear(Evas_Object *obj);
219/** 218/**
220 * Get the label of a given item 219 * Get the label of a given item
221 * 220 *
222 * @param item The item 221 * @param it The item
223 * @return The label of a given item, or NULL if none 222 * @return The label of a given item, or NULL if none
224 * 223 *
225 */ 224 */
226EAPI const char *elm_multibuttonentry_item_label_get(const Elm_Multibuttonentry_Item *item); 225EAPI const char *elm_multibuttonentry_item_label_get(const Elm_Object_Item *it);
227 226
228/** 227/**
229 * Set the label of a given item 228 * Set the label of a given item
230 * 229 *
231 * @param item The item 230 * @param it The item
232 * @param str The text label string 231 * @param str The text label string
233 * 232 *
234 */ 233 */
235EAPI void elm_multibuttonentry_item_label_set(Elm_Multibuttonentry_Item *item, const char *str); 234EAPI void elm_multibuttonentry_item_label_set(Elm_Object_Item *it, const char *str);
236 235
237/** 236/**
238 * Get the previous item in the multibuttonentry 237 * Get the previous item in the multibuttonentry
239 * 238 *
240 * @param item The item 239 * @param it The item
241 * @return The item before the item @p item 240 * @return The item before the item @p it
242 * 241 *
243 */ 242 */
244EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_prev_get(const Elm_Multibuttonentry_Item *item); 243EAPI Elm_Object_Item *elm_multibuttonentry_item_prev_get(const Elm_Object_Item *it);
245 244
246/** 245/**
247 * Get the next item in the multibuttonentry 246 * Get the next item in the multibuttonentry
248 * 247 *
249 * @param item The item 248 * @param it The item
250 * @return The item after the item @p item 249 * @return The item after the item @p it
251 * 250 *
252 */ 251 */
253EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_next_get(const Elm_Multibuttonentry_Item *item); 252EAPI Elm_Object_Item *elm_multibuttonentry_item_next_get(const Elm_Object_Item *it);
254 253
255/** 254/**
256 * Append a item filter function for text inserted in the Multibuttonentry 255 * Append a item filter function for text inserted in the Multibuttonentry