Functions that deal with creating, destroying, or interacting with Wayland windows More...
Functions | |
| EAPI Ecore_Wl2_Window * | ecore_wl2_window_new (Ecore_Wl2_Display *display, Ecore_Wl2_Window *parent, int x, int y, int w, int h) |
| Create a new Ecore_Wl2_Window. | |
| EAPI void | ecore_wl2_window_close_callback_set (Ecore_Wl2_Window *window, void(*cb)(void *data, Ecore_Wl2_Window *win), void *data) |
| Set a callback to be caleld just before the window is closed and freed. | |
| EAPI struct wl_surface * | ecore_wl2_window_surface_get (Ecore_Wl2_Window *window) |
| Get the wl_surface which belongs to this window. | |
| EAPI int | ecore_wl2_window_surface_id_get (Ecore_Wl2_Window *window) |
| Get the id of a given Ecore_Wl2_Window. | |
| EAPI void | ecore_wl2_window_aspect_set (Ecore_Wl2_Window *window, int w, int h, unsigned int aspect) |
| EAPI void | ecore_wl2_window_aspect_get (Ecore_Wl2_Window *window, int *w, int *h, unsigned int *aspect) |
| EAPI void | ecore_wl2_window_show (Ecore_Wl2_Window *window) |
| Show a given Ecore_Wl2_Window. | |
| EAPI void | ecore_wl2_window_hide (Ecore_Wl2_Window *window) |
| Hide a given Ecore_Wl2_Window. | |
| EAPI void | ecore_wl2_window_free (Ecore_Wl2_Window *window) |
| Free a given Ecore_Wl2_Window. | |
| EAPI void | ecore_wl2_window_move (Ecore_Wl2_Window *window, Ecore_Wl2_Input *input) |
| Begin moving a given Ecore_Wl2_Window. | |
| EAPI void | ecore_wl2_window_resize (Ecore_Wl2_Window *window, Ecore_Wl2_Input *input, int location) |
| Begin resizing a given window. | |
| EAPI Eina_Bool | ecore_wl2_window_alpha_get (Ecore_Wl2_Window *window) |
| Get if a given window is alpha. | |
| EAPI void | ecore_wl2_window_alpha_set (Ecore_Wl2_Window *window, Eina_Bool alpha) |
| Set a given window's alpha property. | |
| EAPI void | ecore_wl2_window_opaque_region_set (Ecore_Wl2_Window *window, int x, int y, int w, int h) |
| Set the opaque region of the Ecore_Wl2_Window. | |
| EAPI void | ecore_wl2_window_opaque_region_get (Ecore_Wl2_Window *window, int *x, int *y, int *w, int *h) |
| Get the opaque region of the Ecore_Wl2_Window. | |
| EAPI void | ecore_wl2_window_input_region_set (Ecore_Wl2_Window *window, int x, int y, int w, int h) |
| Set the input region of the Ecore_Wl2_Window. | |
| EAPI void | ecore_wl2_window_input_region_get (Ecore_Wl2_Window *window, int *x, int *y, int *w, int *h) |
| Get the input region of the Ecore_Wl2_Window. | |
| EAPI Eina_Bool | ecore_wl2_window_maximized_get (Ecore_Wl2_Window *window) |
| Get if a given window is maximized. | |
| EAPI void | ecore_wl2_window_maximized_set (Ecore_Wl2_Window *window, Eina_Bool maximized) |
| Set the maximized state of a given window. | |
| EAPI Eina_Bool | ecore_wl2_window_fullscreen_get (Ecore_Wl2_Window *window) |
| Get if a given window is fullscreen. | |
| EAPI void | ecore_wl2_window_fullscreen_set (Ecore_Wl2_Window *window, Eina_Bool fullscreen) |
| Set the fullscreen state of a given window. | |
| EAPI int | ecore_wl2_window_rotation_get (Ecore_Wl2_Window *window) |
| Get if a given window is rotated. | |
| EAPI void | ecore_wl2_window_rotation_set (Ecore_Wl2_Window *window, int rotation) |
| Set the rotation of a given window. | |
| EAPI void | ecore_wl2_window_title_set (Ecore_Wl2_Window *window, const char *title) |
| Set the title of a given window. | |
| EAPI const char * | ecore_wl2_window_title_get (Ecore_Wl2_Window *window) |
| Get the title of a given window. | |
| EAPI void | ecore_wl2_window_class_set (Ecore_Wl2_Window *window, const char *clas) |
| Set the class of a given window. | |
| EAPI const char * | ecore_wl2_window_class_get (Ecore_Wl2_Window *window) |
| Get the class of a given window. | |
| EAPI void | ecore_wl2_window_geometry_get (Ecore_Wl2_Window *window, int *x, int *y, int *w, int *h) |
| Get the geometry of a given window. | |
| EAPI void | ecore_wl2_window_geometry_set (Ecore_Wl2_Window *window, int x, int y, int w, int h) |
| Set the geometry of a given window. | |
| EAPI void | ecore_wl2_window_type_set (Ecore_Wl2_Window *window, Ecore_Wl2_Window_Type type) |
| Set the type of a given window. | |
| EAPI Ecore_Wl2_Window_Type | ecore_wl2_window_type_get (Ecore_Wl2_Window *window) |
| Get the type of a given window. | |
| EAPI Ecore_Wl2_Output * | ecore_wl2_window_output_find (Ecore_Wl2_Window *window) |
| Find the output that a given window is on. | |
| EAPI void | ecore_wl2_window_wm_rotation_supported_set (Ecore_Wl2_Window *window, Eina_Bool enabled) |
| Set if window rotation is supported by the window manager. | |
| EAPI Eina_Bool | ecore_wl2_window_wm_rotation_supported_get (Ecore_Wl2_Window *window) |
| Get if window rotation is supported by the window manager. | |
| EAPI void | ecore_wl2_window_rotation_app_set (Ecore_Wl2_Window *window, Eina_Bool set) |
| Set if an application has set window rotation. | |
| EAPI Eina_Bool | ecore_wl2_window_rotation_app_get (Ecore_Wl2_Window *window) |
| Get if an application has set window rotation. | |
| EAPI void | ecore_wl2_window_preferred_rotation_set (Ecore_Wl2_Window *window, int rot) |
| Set preferred rotation on a given window. | |
| EAPI void | ecore_wl2_window_available_rotations_set (Ecore_Wl2_Window *window, const int *rots, unsigned int count) |
| Set a windows available rotations. | |
| EAPI Eina_Bool | ecore_wl2_window_available_rotations_get (Ecore_Wl2_Window *window, int **rots, unsigned int *count) |
| Get a windows available rotations. | |
| EAPI Eina_Bool | ecore_wl2_window_activated_get (const Ecore_Wl2_Window *window) |
| Get the activated state of a window. | |
| EAPI void | ecore_wl2_window_popup_input_set (Ecore_Wl2_Window *window, Ecore_Wl2_Input *input) |
| Set the seat for a popup window to be used with grab. | |
| EAPI Ecore_Wl2_Input * | ecore_wl2_window_popup_input_get (Ecore_Wl2_Window *window) |
| Get the seat for a popup window to be used with grab. | |
| EAPI Eina_Bool | ecore_wl2_window_shell_surface_exists (Ecore_Wl2_Window *win) |
| Check if a window has a shell surface - without one it can't be visible. | |
| EAPI Ecore_Wl2_Display * | ecore_wl2_window_display_get (const Ecore_Wl2_Window *window) |
| Get which display a given window is using. | |
| EAPI void | ecore_wl2_window_focus_skip_set (Ecore_Wl2_Window *window, Eina_Bool focus_skip) |
| Set if this window should ignore focus requests. | |
| EAPI Eina_Bool | ecore_wl2_window_focus_skip_get (Ecore_Wl2_Window *window) |
| Get if this window ignores focus requests. | |
| EAPI void | ecore_wl2_window_role_set (Ecore_Wl2_Window *window, const char *role) |
| Set the role of a given window. | |
| EAPI const char * | ecore_wl2_window_role_get (Ecore_Wl2_Window *window) |
| Get the role of a given window. | |
| EAPI void | ecore_wl2_window_floating_mode_set (Ecore_Wl2_Window *window, Eina_Bool floating) |
| Set if a given window is in floating mode. | |
| EAPI Eina_Bool | ecore_wl2_window_floating_mode_get (Ecore_Wl2_Window *window) |
| Get if a given window is in floating mode. | |
| EAPI Ecore_Wl2_Window * | ecore_wl2_window_surface_find (struct wl_surface *surface) |
| Finds a window by surface. | |
| EAPI Eina_Bool | ecore_wl2_window_resizing_get (Ecore_Wl2_Window *window) |
| Get if a given window is resizing. | |
| EAPI void | ecore_wl2_window_buffer_transform_set (Ecore_Wl2_Window *window, int transform) |
| Set a buffer transform on a given window. | |
| EAPI void | ecore_wl2_window_iconified_set (Ecore_Wl2_Window *window, Eina_Bool iconified) |
| Iconify a window. | |
| EAPI Eina_List * | ecore_wl2_window_aux_hints_supported_get (Ecore_Wl2_Window *window) |
| Get list of supported auxiliary window hints. | |
| EAPI void | ecore_wl2_window_aux_hint_add (Ecore_Wl2_Window *window, int id, const char *hint, const char *val) |
| Add a supported auxiliary hint to a given window. | |
| EAPI void | ecore_wl2_window_aux_hint_change (Ecore_Wl2_Window *window, int id, const char *val) |
| Change an auxiliary hint on a given window. | |
| EAPI void | ecore_wl2_window_aux_hint_del (Ecore_Wl2_Window *window, int id) |
| Delete an auxiliary hint on a given window. | |
Functions that deal with creating, destroying, or interacting with Wayland windows
| EAPI Ecore_Wl2_Window * ecore_wl2_window_new | ( | Ecore_Wl2_Display * | display, |
| Ecore_Wl2_Window * | parent, | ||
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h ) |
Create a new Ecore_Wl2_Window.
| display | The Ecore_Wl2_Display on which to create this new window |
| parent | The Ecore_Wl2_Window which is the parent of this window |
| x | Initial x position of window |
| y | Initial y position of window |
| w | Initial width of window |
| h | Initial height of window |
References eina_inlist_append(), EINA_INLIST_GET, EINA_SAFETY_ON_NULL_RETURN_VAL, and EINA_TRUE.
| EAPI void ecore_wl2_window_close_callback_set | ( | Ecore_Wl2_Window * | window, |
| void(* | cb )(void *data, Ecore_Wl2_Window *win), | ||
| void * | data ) |
Set a callback to be caleld just before the window is closed and freed.
| window | The window to listen to for a xdg toplevel close callback |
| cb | The callback function to call being passed data and window |
| data | The Data pointer to pass as data to the callback |
References EINA_SAFETY_ON_NULL_RETURN.
| EAPI struct wl_surface * ecore_wl2_window_surface_get | ( | Ecore_Wl2_Window * | window | ) |
Get the wl_surface which belongs to this window.
| window | The Ecore_Wl2_Window to get the surface of |
References EINA_SAFETY_ON_NULL_RETURN_VAL.
Referenced by ecore_wl2_dnd_drag_start().
| EAPI int ecore_wl2_window_surface_id_get | ( | Ecore_Wl2_Window * | window | ) |
Get the id of a given Ecore_Wl2_Window.
| window | The window to return the id of |
References EINA_SAFETY_ON_NULL_RETURN_VAL.
| EAPI void ecore_wl2_window_aspect_set | ( | Ecore_Wl2_Window * | window, |
| int | w, | ||
| int | h, | ||
| unsigned int | aspect ) |
References ecore_wl2_display_flush(), EINA_SAFETY_ON_NULL_RETURN, and EINA_SAFETY_ON_TRUE_RETURN.
| EAPI void ecore_wl2_window_aspect_get | ( | Ecore_Wl2_Window * | window, |
| int * | w, | ||
| int * | h, | ||
| unsigned int * | aspect ) |
| EAPI void ecore_wl2_window_show | ( | Ecore_Wl2_Window * | window | ) |
Show a given Ecore_Wl2_Window.
| window | The Ecore_Wl2_Window to show |
References ecore_wl2_window_input_region_set(), ecore_wl2_window_opaque_region_set(), and EINA_SAFETY_ON_NULL_RETURN.
| EAPI void ecore_wl2_window_hide | ( | Ecore_Wl2_Window * | window | ) |
Hide a given Ecore_Wl2_Window.
| window | The Ecore_Wl2_Window to hide |
References ecore_wl2_window_commit(), EINA_FALSE, EINA_SAFETY_ON_NULL_RETURN, and EINA_TRUE.
| EAPI void ecore_wl2_window_free | ( | Ecore_Wl2_Window * | window | ) |
Free a given Ecore_Wl2_Window.
| window | The Ecore_Wl2_Window to free |
References ecore_wl2_display_disconnect(), EINA_FALSE, EINA_INLIST_FOREACH, EINA_INLIST_FOREACH_SAFE, EINA_INLIST_GET, eina_inlist_remove(), EINA_SAFETY_ON_NULL_RETURN, eina_stringshare_del(), and eina_stringshare_replace().
| EAPI void ecore_wl2_window_move | ( | Ecore_Wl2_Window * | window, |
| Ecore_Wl2_Input * | input ) |
Begin moving a given Ecore_Wl2_Window.
| window | The Ecore_Wl2_Window which to move |
| input | The seat on which the move is active on |
References ecore_wl2_display_flush(), EINA_INLIST_CONTAINER_GET, and EINA_SAFETY_ON_NULL_RETURN.
| EAPI void ecore_wl2_window_resize | ( | Ecore_Wl2_Window * | window, |
| Ecore_Wl2_Input * | input, | ||
| int | location ) |
Begin resizing a given window.
| window | The Ecore_Wl2_Window which to resize |
| input | The seat on which the resize is active |
| location | The edge of the window from which the resize should start |
References ecore_wl2_display_flush(), EINA_INLIST_CONTAINER_GET, and EINA_SAFETY_ON_NULL_RETURN.
| EAPI Eina_Bool ecore_wl2_window_alpha_get | ( | Ecore_Wl2_Window * | window | ) |
Get if a given window is alpha.
| window | The window to get if is alpha |
References EINA_FALSE, and EINA_SAFETY_ON_NULL_RETURN_VAL.
| EAPI void ecore_wl2_window_alpha_set | ( | Ecore_Wl2_Window * | window, |
| Eina_Bool | alpha ) |
Set a given window's alpha property.
| window | The window on which to set the alpha property |
| alpha | EINA_TRUE to set window as alpha, EINA_FALSE otherwise |
References EINA_SAFETY_ON_NULL_RETURN.
| EAPI void ecore_wl2_window_opaque_region_set | ( | Ecore_Wl2_Window * | window, |
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h ) |
Set the opaque region of the Ecore_Wl2_Window.
| window | The window |
| x | The left point of the region. |
| y | The top point of the region. |
| w | The width of the region. |
| h | The height of the region. |
References EINA_SAFETY_ON_NULL_RETURN, and EINA_TRUE.
Referenced by ecore_wl2_window_show().
| EAPI void ecore_wl2_window_opaque_region_get | ( | Ecore_Wl2_Window * | window, |
| int * | x, | ||
| int * | y, | ||
| int * | w, | ||
| int * | h ) |
Get the opaque region of the Ecore_Wl2_Window.
| window | The window |
| x | The left point of the region. |
| y | The top point of the region. |
| w | The width of the region. |
| h | The height of the region. |
References EINA_SAFETY_ON_NULL_RETURN.
| EAPI void ecore_wl2_window_input_region_set | ( | Ecore_Wl2_Window * | window, |
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h ) |
Set the input region of the Ecore_Wl2_Window.
To set an empty region, pass width and height as 0.
An empty input region means the entire window surface will accept input.
| window | The window to set the input region of |
| x | The left point of the region. |
| y | The top point of the region. |
| w | The width of the region. |
| h | The height of the region. |
References EINA_SAFETY_ON_NULL_RETURN, and EINA_TRUE.
Referenced by ecore_wl2_window_show().
| EAPI void ecore_wl2_window_input_region_get | ( | Ecore_Wl2_Window * | window, |
| int * | x, | ||
| int * | y, | ||
| int * | w, | ||
| int * | h ) |
Get the input region of the Ecore_Wl2_Window.
| window | The window to set the input region of |
| x | The left point of the region. |
| y | The top point of the region. |
| w | The width of the region. |
| h | The height of the region. |
References EINA_SAFETY_ON_NULL_RETURN.
| EAPI Eina_Bool ecore_wl2_window_maximized_get | ( | Ecore_Wl2_Window * | window | ) |
Get if a given window is maximized.
| window | The window to get the maximized state of |
References EINA_FALSE, and EINA_SAFETY_ON_NULL_RETURN_VAL.
| EAPI void ecore_wl2_window_maximized_set | ( | Ecore_Wl2_Window * | window, |
| Eina_Bool | maximized ) |
Set the maximized state of a given window.
| window | The window to set the maximized state of |
| maximized | EINA_TRUE to set maximized, EINA_FALSE to unset |
References ecore_wl2_display_flush(), EINA_SAFETY_ON_NULL_RETURN, and EINA_TRUE.
| EAPI Eina_Bool ecore_wl2_window_fullscreen_get | ( | Ecore_Wl2_Window * | window | ) |
Get if a given window is fullscreen.
| window | The window to get the fullscreen state of |
References EINA_FALSE, and EINA_SAFETY_ON_NULL_RETURN_VAL.
| EAPI void ecore_wl2_window_fullscreen_set | ( | Ecore_Wl2_Window * | window, |
| Eina_Bool | fullscreen ) |
Set the fullscreen state of a given window.
| window | The window to set the fullscreen state of |
| fullscreen | EINA_TRUE to set fullscreen, EINA_FALSE to unset |
References ecore_wl2_display_flush(), EINA_SAFETY_ON_NULL_RETURN, and EINA_TRUE.
| EAPI int ecore_wl2_window_rotation_get | ( | Ecore_Wl2_Window * | window | ) |
Get if a given window is rotated.
| window | The window to get the rotation of |
References EINA_SAFETY_ON_NULL_RETURN_VAL.
| EAPI void ecore_wl2_window_rotation_set | ( | Ecore_Wl2_Window * | window, |
| int | rotation ) |
Set the rotation of a given window.
| window | The window to set the rotation of |
| rotation | The amount of rotation |
References EINA_SAFETY_ON_NULL_RETURN.
| EAPI void ecore_wl2_window_title_set | ( | Ecore_Wl2_Window * | window, |
| const char * | title ) |
Set the title of a given window.
| window | The window to set the title of |
| title | The title of the window |
References ecore_wl2_display_flush(), EINA_SAFETY_ON_NULL_RETURN, and eina_stringshare_replace().
| EAPI const char * ecore_wl2_window_title_get | ( | Ecore_Wl2_Window * | window | ) |
Get the title of a given window.
| window | The window to set the title of |
References EINA_SAFETY_ON_NULL_RETURN_VAL.
| EAPI void ecore_wl2_window_class_set | ( | Ecore_Wl2_Window * | window, |
| const char * | clas ) |
Set the class of a given window.
| window | The window to set the class of |
| clas | The class of the window |
References ecore_wl2_display_flush(), EINA_SAFETY_ON_NULL_RETURN, and eina_stringshare_replace().
| EAPI const char * ecore_wl2_window_class_get | ( | Ecore_Wl2_Window * | window | ) |
Get the class of a given window.
| window | The window to set the class of |
References EINA_SAFETY_ON_NULL_RETURN_VAL.
| EAPI void ecore_wl2_window_geometry_get | ( | Ecore_Wl2_Window * | window, |
| int * | x, | ||
| int * | y, | ||
| int * | w, | ||
| int * | h ) |
Get the geometry of a given window.
The window geometry returned here is the window geometry as recognized by xdg_surface_set_window_geometry. As such, it represents the "visible bounds" of a window from the user's perspective.
| window | The window to get the geometry of |
| x | The left point of the window geometry |
| y | The top point of the window geometry |
| w | The width of the window geometry |
| h | The height of the window geometry |
References EINA_SAFETY_ON_NULL_RETURN.
Referenced by ecore_wl2_window_commit().
| EAPI void ecore_wl2_window_geometry_set | ( | Ecore_Wl2_Window * | window, |
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h ) |
Set the geometry of a given window.
The window geometry referenced here is the window geometry as recognized by xdg_surface_set_window_geometry. As such, it represents the "visible bounds" of a window from the user's perspective.
| window | The window to set the geometry of |
| x | The left point of the window geometry |
| y | The top point of the window geometry |
| w | The width of the window geometry |
| h | The height of the window geometry |
References EINA_SAFETY_ON_NULL_RETURN, and EINA_TRUE.
| EAPI void ecore_wl2_window_type_set | ( | Ecore_Wl2_Window * | window, |
| Ecore_Wl2_Window_Type | type ) |
Set the type of a given window.
| window | The window to set the type of |
| type | The Ecore_Wl2_Window_Type to set on the window |
References EINA_SAFETY_ON_NULL_RETURN.
| EAPI Ecore_Wl2_Window_Type ecore_wl2_window_type_get | ( | Ecore_Wl2_Window * | window | ) |
Get the type of a given window.
References EINA_SAFETY_ON_NULL_RETURN_VAL.
| EAPI Ecore_Wl2_Output * ecore_wl2_window_output_find | ( | Ecore_Wl2_Window * | window | ) |
Find the output that a given window is on.
| window | The window to find the output for |
References EINA_SAFETY_ON_NULL_RETURN_VAL.
| EAPI void ecore_wl2_window_wm_rotation_supported_set | ( | Ecore_Wl2_Window * | window, |
| Eina_Bool | enabled ) |
Set if window rotation is supported by the window manager.
| window | |
| enabled |
References EINA_SAFETY_ON_NULL_RETURN.
| EAPI Eina_Bool ecore_wl2_window_wm_rotation_supported_get | ( | Ecore_Wl2_Window * | window | ) |
Get if window rotation is supported by the window manager.
| window |
References EINA_FALSE, and EINA_SAFETY_ON_NULL_RETURN_VAL.
| EAPI void ecore_wl2_window_rotation_app_set | ( | Ecore_Wl2_Window * | window, |
| Eina_Bool | set ) |
Set if an application has set window rotation.
| window | |
| set |
References EINA_SAFETY_ON_NULL_RETURN.
| EAPI Eina_Bool ecore_wl2_window_rotation_app_get | ( | Ecore_Wl2_Window * | window | ) |
Get if an application has set window rotation.
| window |
References EINA_FALSE, and EINA_SAFETY_ON_NULL_RETURN_VAL.
| EAPI void ecore_wl2_window_preferred_rotation_set | ( | Ecore_Wl2_Window * | window, |
| int | rot ) |
Set preferred rotation on a given window.
| window | The window to set preferred rotation on |
| rot | The value of the preferred rotation to set |
References EINA_SAFETY_ON_NULL_RETURN.
| EAPI void ecore_wl2_window_available_rotations_set | ( | Ecore_Wl2_Window * | window, |
| const int * | rots, | ||
| unsigned int | count ) |
Set a windows available rotations.
| window | |
| rots | |
| count |
References EINA_SAFETY_ON_NULL_RETURN.
| EAPI Eina_Bool ecore_wl2_window_available_rotations_get | ( | Ecore_Wl2_Window * | window, |
| int ** | rots, | ||
| unsigned int * | count ) |
Get a windows available rotations.
| window | |
| rots | |
| count |
References EINA_FALSE, EINA_SAFETY_ON_NULL_RETURN_VAL, and EINA_TRUE.
| EAPI Eina_Bool ecore_wl2_window_activated_get | ( | const Ecore_Wl2_Window * | window | ) |
Get the activated state of a window.
| window | The window to get activated state from |
EINA_TRUE if activatedReferences EINA_FALSE, and EINA_SAFETY_ON_NULL_RETURN_VAL.
| EAPI void ecore_wl2_window_popup_input_set | ( | Ecore_Wl2_Window * | window, |
| Ecore_Wl2_Input * | input ) |
Set the seat for a popup window to be used with grab.
| window | The window |
| input | The seat |
Use this function for desktop shell requests involving popup grabs which require a seat for the grab.
References EINA_SAFETY_ON_NULL_RETURN, and EINA_SAFETY_ON_TRUE_RETURN.
| EAPI Ecore_Wl2_Input * ecore_wl2_window_popup_input_get | ( | Ecore_Wl2_Window * | window | ) |
Get the seat for a popup window to be used with grab.
| window | The window |
References EINA_SAFETY_ON_NULL_RETURN_VAL.
| EAPI Eina_Bool ecore_wl2_window_shell_surface_exists | ( | Ecore_Wl2_Window * | win | ) |
Check if a window has a shell surface - without one it can't be visible.
| win | The window to check |
References EINA_FALSE, and EINA_SAFETY_ON_NULL_RETURN_VAL.
| EAPI Ecore_Wl2_Display * ecore_wl2_window_display_get | ( | const Ecore_Wl2_Window * | window | ) |
Get which display a given window is using.
| window | The window to get the display of |
References EINA_SAFETY_ON_NULL_RETURN_VAL.
| EAPI void ecore_wl2_window_focus_skip_set | ( | Ecore_Wl2_Window * | window, |
| Eina_Bool | focus_skip ) |
Set if this window should ignore focus requests.
| window | The window to set ignore focus requests on |
| focus_skip | EINA_TRUE if this window should skip focus requests, EINA_FALSE otherwise |
References EINA_SAFETY_ON_NULL_RETURN.
| EAPI Eina_Bool ecore_wl2_window_focus_skip_get | ( | Ecore_Wl2_Window * | window | ) |
Get if this window ignores focus requests.
| window | The window to get the focus skip value from |
References EINA_FALSE, and EINA_SAFETY_ON_NULL_RETURN_VAL.
| EAPI void ecore_wl2_window_role_set | ( | Ecore_Wl2_Window * | window, |
| const char * | role ) |
Set the role of a given window.
| window | |
| role |
References EINA_SAFETY_ON_NULL_RETURN, and eina_stringshare_replace().
| EAPI const char * ecore_wl2_window_role_get | ( | Ecore_Wl2_Window * | window | ) |
Get the role of a given window.
| window | The window to set the class role |
References EINA_SAFETY_ON_NULL_RETURN_VAL.
| EAPI void ecore_wl2_window_floating_mode_set | ( | Ecore_Wl2_Window * | window, |
| Eina_Bool | floating ) |
Set if a given window is in floating mode.
| window | The window to set floating mode on |
| floating | EINA_TRUE if this window should be in floating mode, EINA_FALSE otherwise |
References EINA_SAFETY_ON_NULL_RETURN.
| EAPI Eina_Bool ecore_wl2_window_floating_mode_get | ( | Ecore_Wl2_Window * | window | ) |
Get if a given window is in floating mode.
| window | The window to get floating mode |
References EINA_FALSE, and EINA_SAFETY_ON_NULL_RETURN_VAL.
| EAPI Ecore_Wl2_Window * ecore_wl2_window_surface_find | ( | struct wl_surface * | surface | ) |
Finds a window by surface.
| surface | The surface to find the window of |
References ecore_wl2_connected_display_get(), ecore_wl2_display_window_find_by_surface(), and EINA_SAFETY_ON_NULL_RETURN_VAL.
| EAPI Eina_Bool ecore_wl2_window_resizing_get | ( | Ecore_Wl2_Window * | window | ) |
Get if a given window is resizing.
| window | The window to check for resizing |
References EINA_FALSE, and EINA_SAFETY_ON_NULL_RETURN_VAL.
| EAPI void ecore_wl2_window_buffer_transform_set | ( | Ecore_Wl2_Window * | window, |
| int | transform ) |
Set a buffer transform on a given window.
| window | The window on which to set the buffer transform |
| transform | The buffer transform being requested |
References EINA_SAFETY_ON_NULL_RETURN.
| EAPI void ecore_wl2_window_iconified_set | ( | Ecore_Wl2_Window * | window, |
| Eina_Bool | iconified ) |
Iconify a window.
| window | The window to iconifiy |
| iconified | The new iconified state to set |
References ecore_wl2_display_flush(), and EINA_SAFETY_ON_NULL_RETURN.
| EAPI Eina_List * ecore_wl2_window_aux_hints_supported_get | ( | Ecore_Wl2_Window * | window | ) |
Get list of supported auxiliary window hints.
| window |
References eina_list_append(), EINA_LIST_FOREACH, and eina_stringshare_add().
| EAPI void ecore_wl2_window_aux_hint_add | ( | Ecore_Wl2_Window * | window, |
| int | id, | ||
| const char * | hint, | ||
| const char * | val ) |
Add a supported auxiliary hint to a given window.
| window | |
| id | |
| hint | |
| val |
References ecore_wl2_display_flush().
| EAPI void ecore_wl2_window_aux_hint_change | ( | Ecore_Wl2_Window * | window, |
| int | id, | ||
| const char * | val ) |
Change an auxiliary hint on a given window.
| window | |
| id | |
| val |
References ecore_wl2_display_flush().
| EAPI void ecore_wl2_window_aux_hint_del | ( | Ecore_Wl2_Window * | window, |
| int | id ) |
Delete an auxiliary hint on a given window.
| window | |
| id |
References ecore_wl2_display_flush().