forked from enlightenment/efl
efl.ui.win: remove 'noblank' property from eo api
Summary: this is not supportable outside xorg usage ref T7511 Depends on D8084 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7511 Differential Revision: https://phab.enlightenment.org/D8085
This commit is contained in:
parent
faf6d4f425
commit
cd3cad0ff1
|
@ -5977,21 +5977,6 @@ _efl_ui_win_accel_preference_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd)
|
||||||
return pd->accel_pref;
|
return pd->accel_pref;
|
||||||
}
|
}
|
||||||
|
|
||||||
EOLIAN static void
|
|
||||||
_efl_ui_win_noblank_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd, Eina_Bool noblank)
|
|
||||||
{
|
|
||||||
noblank = !!noblank;
|
|
||||||
if (pd->noblank == noblank) return;
|
|
||||||
pd->noblank = noblank;
|
|
||||||
_win_noblank_eval();
|
|
||||||
}
|
|
||||||
|
|
||||||
EOLIAN static Eina_Bool
|
|
||||||
_efl_ui_win_noblank_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd)
|
|
||||||
{
|
|
||||||
return pd->noblank;
|
|
||||||
}
|
|
||||||
|
|
||||||
EOLIAN static void
|
EOLIAN static void
|
||||||
_efl_ui_win_win_role_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, const char *role)
|
_efl_ui_win_win_role_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, const char *role)
|
||||||
{
|
{
|
||||||
|
@ -9238,13 +9223,18 @@ elm_win_sticky_get(const Evas_Object *obj)
|
||||||
EAPI void
|
EAPI void
|
||||||
elm_win_noblank_set(Evas_Object *obj, Eina_Bool noblank)
|
elm_win_noblank_set(Evas_Object *obj, Eina_Bool noblank)
|
||||||
{
|
{
|
||||||
efl_ui_win_noblank_set(obj, noblank);
|
Efl_Ui_Win_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||||
|
noblank = !!noblank;
|
||||||
|
if (sd->noblank == noblank) return;
|
||||||
|
sd->noblank = noblank;
|
||||||
|
_win_noblank_eval();
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI Eina_Bool
|
EAPI Eina_Bool
|
||||||
elm_win_noblank_get(const Evas_Object *obj)
|
elm_win_noblank_get(const Evas_Object *obj)
|
||||||
{
|
{
|
||||||
return efl_ui_win_noblank_get(obj);
|
Efl_Ui_Win_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||||
|
return sd->noblank;
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
|
|
|
@ -388,31 +388,6 @@ class @beta Efl.Ui.Win extends Efl.Ui.Widget implements Efl.Canvas.Scene, Efl.Ac
|
||||||
modal: Efl.Ui.Win_Modal_Mode; [[The mode of a window, one of @Efl.Ui.Win_Modal_Mode.]]
|
modal: Efl.Ui.Win_Modal_Mode; [[The mode of a window, one of @Efl.Ui.Win_Modal_Mode.]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@property noblank {
|
|
||||||
set {
|
|
||||||
[[Set the noblank property of a window.
|
|
||||||
|
|
||||||
The "noblank" property is a way to request the display on
|
|
||||||
which the window is shown does not blank, go to screensaver or
|
|
||||||
otherwise hide or obscure the window. It is intended for
|
|
||||||
uses such as media playback on a television where a user
|
|
||||||
may not want to be interrupted by an idle screen. The
|
|
||||||
noblank property may have no effect if the window is
|
|
||||||
minimized or hidden.
|
|
||||||
|
|
||||||
@since 1.11
|
|
||||||
]]
|
|
||||||
}
|
|
||||||
get {
|
|
||||||
[[Get the noblank property of a window.
|
|
||||||
|
|
||||||
@since 1.11
|
|
||||||
]]
|
|
||||||
}
|
|
||||||
values {
|
|
||||||
noblank: bool; [[If $true, the window is set to noblank.]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@property borderless {
|
@property borderless {
|
||||||
set {
|
set {
|
||||||
[[Set the borderless state of a window.
|
[[Set the borderless state of a window.
|
||||||
|
|
Loading…
Reference in New Issue