diff --git a/src/lib/elementary/elm_menu.c b/src/lib/elementary/elm_menu.c index 3c670162d2..a632b0eacc 100644 --- a/src/lib/elementary/elm_menu.c +++ b/src/lib/elementary/elm_menu.c @@ -981,7 +981,7 @@ _elm_menu_efl_ui_widget_widget_parent_get(Eo *obj EINA_UNUSED, Elm_Menu_Data *sd } EOLIAN static void -_elm_menu_move(Eo *obj, Elm_Menu_Data *sd, Evas_Coord x, Evas_Coord y) +_elm_menu_relative_move(Eo *obj, Elm_Menu_Data *sd, Evas_Coord x, Evas_Coord y) { sd->xloc = x; sd->yloc = y; diff --git a/src/lib/elementary/elm_menu.eo b/src/lib/elementary/elm_menu.eo index a808f29af1..aecdc05761 100644 --- a/src/lib/elementary/elm_menu.eo +++ b/src/lib/elementary/elm_menu.eo @@ -6,13 +6,14 @@ class Elm.Menu (Efl.Ui.Widget, Efl.Ui.Clickable, Efl.Ui.Menu, eo_prefix: elm_obj_menu; event_prefix: elm_menu; methods { - move { + relative_move { [[Move the menu to a new position Sets the top-left position of the menu to ($x, $y). Note: $x and $y coordinates are relative to parent. ]] + legacy: elm_menu_move; params { @in x: int; [[The new X coordinate]] @in y: int; [[The new Y coordinate]]