forked from enlightenment/efl
elm_win: move elm_win_raise into eo again.
elm_win_raise is used not only x but also wayland. so I modify doc and move again this api to eo.
This commit is contained in:
parent
5230309b02
commit
1ee72bbf04
|
@ -4359,6 +4359,12 @@ _elm_win_activate(Eo *obj EINA_UNUSED, Elm_Win_Data *sd)
|
||||||
TRAP(sd, activate);
|
TRAP(sd, activate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EOLIAN static void
|
||||||
|
_elm_win_raise(Eo *obj EINA_UNUSED, Elm_Win_Data *sd)
|
||||||
|
{
|
||||||
|
TRAP(sd, raise);
|
||||||
|
}
|
||||||
|
|
||||||
EOLIAN static void
|
EOLIAN static void
|
||||||
_elm_win_center(Eo *obj, Elm_Win_Data *sd, Eina_Bool h, Eina_Bool v)
|
_elm_win_center(Eo *obj, Elm_Win_Data *sd, Eina_Bool h, Eina_Bool v)
|
||||||
{
|
{
|
||||||
|
@ -5938,13 +5944,4 @@ elm_win_lower(Evas_Object *obj)
|
||||||
TRAP(sd, lower);
|
TRAP(sd, lower);
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
|
||||||
elm_win_raise(Evas_Object *obj)
|
|
||||||
{
|
|
||||||
ELM_WIN_CHECK(obj);
|
|
||||||
ELM_WIN_DATA_GET_OR_RETURN(obj, sd);
|
|
||||||
|
|
||||||
TRAP(sd, raise);
|
|
||||||
}
|
|
||||||
|
|
||||||
#include "elm_win.eo.c"
|
#include "elm_win.eo.c"
|
||||||
|
|
|
@ -1105,6 +1105,13 @@ class Elm.Win (Elm.Widget, Elm.Interface_Atspi_Window,
|
||||||
window will be the active one after it.
|
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 {
|
||||||
[[Center a window on its screen
|
[[Center a window on its screen
|
||||||
|
|
||||||
|
|
|
@ -378,19 +378,6 @@ EAPI void elm_win_override_set(Evas_Object *obj, Eina_Bool override);
|
||||||
*/
|
*/
|
||||||
EAPI Eina_Bool elm_win_override_get(const Evas_Object *obj);
|
EAPI Eina_Bool elm_win_override_get(const Evas_Object *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.
|
|
||||||
*
|
|
||||||
* If @ref elm_win_override_set is not set, the Window Manager may ignore this
|
|
||||||
* request.
|
|
||||||
*
|
|
||||||
* @ingroup Elm_Win
|
|
||||||
*/
|
|
||||||
EAPI void elm_win_raise(Evas_Object *obj);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Lower a window object.
|
* @brief Lower a window object.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue