aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-02-14 21:14:52 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-02-15 13:11:01 -0500
commit66ee9cf3e2475f3e7ae8c513391ac522e6890665 (patch)
tree4a071ca3c9d71dae2b2ed99c0178553977438116
parentelm_map: rotate -> map_rotate (diff)
downloadefl-66ee9cf3e2475f3e7ae8c513391ac522e6890665.tar.gz
elm_menu: move -> relative_move
-rw-r--r--src/lib/elementary/elm_menu.c2
-rw-r--r--src/lib/elementary/elm_menu.eo3
2 files changed, 3 insertions, 2 deletions
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]]