static void
_elm_win_obj_intercept_raise(void *data, Evas_Object *obj EINA_UNUSED)
{
+ // Note: This is probably not necessary anymore (Win implements raise)
ELM_WIN_DATA_GET(data, sd);
TRAP(sd, raise);
}
}
EOLIAN static void
-_efl_ui_win_raise(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd)
+_efl_ui_win_efl_gfx_stack_raise(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd)
{
- TRAP(sd, raise);
+ TRAP(pd, raise);
+}
+
+EAPI void
+elm_win_raise(Eo *obj)
+{
+ efl_gfx_stack_raise(obj);
}
EOLIAN static void
window will be the active one after it.
]]
}
- raise {
- [[Raise a window object.
-
- Places the window pointed by $obj at the top of the stack, so
- that it's not covered by any other window.
- ]]
- }
center {
[[Center a window on its screen
Efl.Gfx.visible { set; }
Efl.Gfx.position { set; }
Efl.Gfx.size { set; }
+ Efl.Gfx.Stack.raise; [[Places the window at the top of the stack, so
+ that it's not covered by any other window.]]
Elm.Widget.focus_direction;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
* @ingroup Efl_Ui_Win
*/
EAPI Eina_Bool elm_win_focus_highlight_animate_get(const Elm_Win *obj);
+
+/**
+ * @brief Raise a window object.
+ *
+ * Places the window pointed by @c obj at the top of the stack, so that it's
+ * not covered by any other window.
+ *
+ * @ingroup Efl_Ui_Win
+ */
+EAPI void elm_win_raise(Elm_Win *obj);