summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_win.c11
-rw-r--r--src/lib/elementary/efl_ui_win.eo9
-rw-r--r--src/lib/elementary/elm_win_legacy.h10
3 files changed, 21 insertions, 9 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 6b0ad4d63d..d4bea99f22 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -816,6 +816,7 @@ _elm_win_associate_get(const Ecore_Evas *ee)
816static void 816static void
817_elm_win_obj_intercept_raise(void *data, Evas_Object *obj EINA_UNUSED) 817_elm_win_obj_intercept_raise(void *data, Evas_Object *obj EINA_UNUSED)
818{ 818{
819 // Note: This is probably not necessary anymore (Win implements raise)
819 ELM_WIN_DATA_GET(data, sd); 820 ELM_WIN_DATA_GET(data, sd);
820 TRAP(sd, raise); 821 TRAP(sd, raise);
821} 822}
@@ -5544,9 +5545,15 @@ _efl_ui_win_activate(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd)
5544} 5545}
5545 5546
5546EOLIAN static void 5547EOLIAN static void
5547_efl_ui_win_raise(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) 5548_efl_ui_win_efl_gfx_stack_raise(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd)
5548{ 5549{
5549 TRAP(sd, raise); 5550 TRAP(pd, raise);
5551}
5552
5553EAPI void
5554elm_win_raise(Eo *obj)
5555{
5556 efl_gfx_stack_raise(obj);
5550} 5557}
5551 5558
5552EOLIAN static void 5559EOLIAN static void
diff --git a/src/lib/elementary/efl_ui_win.eo b/src/lib/elementary/efl_ui_win.eo
index f7f1d058bd..cc05d53c09 100644
--- a/src/lib/elementary/efl_ui_win.eo
+++ b/src/lib/elementary/efl_ui_win.eo
@@ -736,13 +736,6 @@ class Efl.Ui.Win (Elm.Widget, Efl.Canvas, Elm.Interface.Atspi.Window,
736 window will be the active one after it. 736 window will be the active one after it.
737 ]] 737 ]]
738 } 738 }
739 raise {
740 [[Raise a window object.
741
742 Places the window pointed by $obj at the top of the stack, so
743 that it's not covered by any other window.
744 ]]
745 }
746 center { 739 center {
747 [[Center a window on its screen 740 [[Center a window on its screen
748 741
@@ -847,6 +840,8 @@ class Efl.Ui.Win (Elm.Widget, Efl.Canvas, Elm.Interface.Atspi.Window,
847 Efl.Gfx.visible { set; } 840 Efl.Gfx.visible { set; }
848 Efl.Gfx.position { set; } 841 Efl.Gfx.position { set; }
849 Efl.Gfx.size { set; } 842 Efl.Gfx.size { set; }
843 Efl.Gfx.Stack.raise; [[Places the window at the top of the stack, so
844 that it's not covered by any other window.]]
850 Elm.Widget.focus_direction; 845 Elm.Widget.focus_direction;
851 Elm.Widget.focus_next_manager_is; 846 Elm.Widget.focus_next_manager_is;
852 Elm.Widget.focus_direction_manager_is; 847 Elm.Widget.focus_direction_manager_is;
diff --git a/src/lib/elementary/elm_win_legacy.h b/src/lib/elementary/elm_win_legacy.h
index 061beafe06..b306f6f623 100644
--- a/src/lib/elementary/elm_win_legacy.h
+++ b/src/lib/elementary/elm_win_legacy.h
@@ -1220,3 +1220,13 @@ EAPI void elm_win_focus_highlight_animate_set(Elm_Win *obj, Eina_Bool animate);
1220 * @ingroup Efl_Ui_Win 1220 * @ingroup Efl_Ui_Win
1221 */ 1221 */
1222EAPI Eina_Bool elm_win_focus_highlight_animate_get(const Elm_Win *obj); 1222EAPI Eina_Bool elm_win_focus_highlight_animate_get(const Elm_Win *obj);
1223
1224/**
1225 * @brief Raise a window object.
1226 *
1227 * Places the window pointed by @c obj at the top of the stack, so that it's
1228 * not covered by any other window.
1229 *
1230 * @ingroup Efl_Ui_Win
1231 */
1232EAPI void elm_win_raise(Elm_Win *obj);