summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elementary/elc_ctxpopup.c8
-rw-r--r--src/lib/elementary/elm_ctxpopup.eo1
2 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/elementary/elc_ctxpopup.c b/src/lib/elementary/elc_ctxpopup.c
index 717ca17..ed5b62d 100644
--- a/src/lib/elementary/elc_ctxpopup.c
+++ b/src/lib/elementary/elc_ctxpopup.c
@@ -1439,6 +1439,14 @@ _elm_ctxpopup_efl_ui_menu_selected_item_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Da
1439} 1439}
1440 1440
1441EOLIAN static Elm_Object_Item* 1441EOLIAN static Elm_Object_Item*
1442_elm_ctxpopup_elm_widget_focused_item_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd)
1443{
1444 if (!sd->list) return NULL;
1445
1446 return elm_object_focused_item_get(sd->list);
1447}
1448
1449EOLIAN static Elm_Object_Item*
1442_elm_ctxpopup_item_prepend(Eo *obj, Elm_Ctxpopup_Data *sd, const char *label, Evas_Object *icon, Evas_Smart_Cb func, const void *data) 1450_elm_ctxpopup_item_prepend(Eo *obj, Elm_Ctxpopup_Data *sd, const char *label, Evas_Object *icon, Evas_Smart_Cb func, const void *data)
1443{ 1451{
1444 Eo *eo_item; 1452 Eo *eo_item;
diff --git a/src/lib/elementary/elm_ctxpopup.eo b/src/lib/elementary/elm_ctxpopup.eo
index b7d7515..2941b3b 100644
--- a/src/lib/elementary/elm_ctxpopup.eo
+++ b/src/lib/elementary/elm_ctxpopup.eo
@@ -207,6 +207,7 @@ class Elm.Ctxpopup (Efl.Ui.Layout, Efl.Ui.Focus.Layer, Elm.Interface.Atspi_Widge
207 Efl.Ui.Translatable.translation_update; 207 Efl.Ui.Translatable.translation_update;
208 Elm.Widget.theme_apply; 208 Elm.Widget.theme_apply;
209 Elm.Widget.widget_event; 209 Elm.Widget.widget_event;
210 Elm.Widget.focused_item { get; }
210 Efl.Ui.Menu.selected_item { get; } 211 Efl.Ui.Menu.selected_item { get; }
211 Efl.Ui.Menu.first_item { get; } 212 Efl.Ui.Menu.first_item { get; }
212 Efl.Ui.Menu.last_item { get; } 213 Efl.Ui.Menu.last_item { get; }