forked from enlightenment/efl
win: Added floating mode documentation and added a check for floating parameter.
The documentation is from the original floating mode commit message.
This commit is contained in:
parent
e63dd3110a
commit
43c19a1fd3
|
@ -5463,6 +5463,7 @@ elm_win_floating_mode_set(Evas_Object *obj, Eina_Bool floating)
|
||||||
ELM_WIN_CHECK(obj);
|
ELM_WIN_CHECK(obj);
|
||||||
ELM_WIN_DATA_GET_OR_RETURN(obj, sd);
|
ELM_WIN_DATA_GET_OR_RETURN(obj, sd);
|
||||||
|
|
||||||
|
floating = !!floating;
|
||||||
if (floating == sd->floating) return;
|
if (floating == sd->floating) return;
|
||||||
sd->floating = floating;
|
sd->floating = floating;
|
||||||
#ifdef HAVE_ELEMENTARY_X
|
#ifdef HAVE_ELEMENTARY_X
|
||||||
|
|
|
@ -1278,6 +1278,10 @@ EAPI Ecore_Wl_Window *elm_win_wl_window_get(const Evas_Object *obj);
|
||||||
* @param obj The window object
|
* @param obj The window object
|
||||||
* @param floating If true, the window is floating mode
|
* @param floating If true, the window is floating mode
|
||||||
*
|
*
|
||||||
|
* The floating mode can be used on mobile environment. For example, if the
|
||||||
|
* video-player window sets the floating mode, then e (enlightenment window
|
||||||
|
* manager) changes its geometry and handles it like a popup.
|
||||||
|
*
|
||||||
* @ingroup Win
|
* @ingroup Win
|
||||||
* @see elm_win_floating_mode_get()
|
* @see elm_win_floating_mode_get()
|
||||||
* @since 1.8
|
* @since 1.8
|
||||||
|
|
Loading…
Reference in New Issue