forked from enlightenment/efl
elementary: add implementation for elm_multibuttonentry_item_selected_get API
Summary: Added definition for item_selected_get API Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com> @fix Test Plan: select an item, call item_selected_get API to check status of the item Reviewers: cedric, CHAN Reviewed By: CHAN Subscribers: CHAN, rajeshps, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3999 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
8c7c301faf
commit
db79f8499c
|
@ -1841,12 +1841,14 @@ _elm_multibuttonentry_item_selected_set(Eo *eo_item EINA_UNUSED,
|
|||
|
||||
EOLIAN static Eina_Bool
|
||||
_elm_multibuttonentry_item_selected_get(Eo *eo_item,
|
||||
Elm_Multibuttonentry_Item_Data *item EINA_UNUSED)
|
||||
Elm_Multibuttonentry_Item_Data *item)
|
||||
{
|
||||
//TODO : To be implemented.
|
||||
ELM_MULTIBUTTONENTRY_DATA_GET_OR_RETURN_VAL(WIDGET(item), sd, EINA_FALSE);
|
||||
if (!eo_item) return EINA_FALSE;
|
||||
if (EO_OBJ(sd->selected_it) == eo_item)
|
||||
return EINA_TRUE;
|
||||
|
||||
return EINA_TRUE;
|
||||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
Loading…
Reference in New Issue