Wayland Library Init and Shutdown Functions
Functions that can be used to create a Wayland window. More...
Functions | |
EAPI Ecore_Wl_Window * | ecore_wl_window_new (Ecore_Wl_Window *parent, int x, int y, int w, int h, int buffer_type) |
Creates a new window. | |
EAPI void | ecore_wl_window_free (Ecore_Wl_Window *win) |
Deletes the given window. | |
EAPI void | ecore_wl_window_move (Ecore_Wl_Window *win, int x, int y) |
Signals for Wayland to initiate a window move. | |
EAPI void | ecore_wl_window_resize (Ecore_Wl_Window *win, int w, int h, int location) |
Signals for Wayland to initiate a window resize. | |
EAPI void | ecore_wl_window_show (Ecore_Wl_Window *win) |
Shows a window. | |
EAPI void | ecore_wl_window_hide (Ecore_Wl_Window *win) |
Hides a window. | |
EAPI void | ecore_wl_window_raise (Ecore_Wl_Window *win) |
Raises a window. |
Detailed Description
Functions that can be used to create a Wayland window.
Function Documentation
EAPI void ecore_wl_window_free | ( | Ecore_Wl_Window * | win | ) |
Deletes the given window.
- Parameters:
-
win The given window
- Since:
- 1.2
EAPI void ecore_wl_window_hide | ( | Ecore_Wl_Window * | win | ) |
Hides a window.
Synonymous to "unmapping" a window in Wayland System terminology.
- Parameters:
-
win The window to hide.
- Since:
- 1.2
EAPI void ecore_wl_window_move | ( | Ecore_Wl_Window * | win, |
int | x, | ||
int | y | ||
) |
Signals for Wayland to initiate a window move.
The position requested (x
, y
) is not honored by Wayland because Wayland does not allow specific window placement to be set.
- Parameters:
-
win The window to move. x X Position y Y Position
- Since:
- 1.2
EAPI Ecore_Wl_Window* ecore_wl_window_new | ( | Ecore_Wl_Window * | parent, |
int | x, | ||
int | y, | ||
int | w, | ||
int | h, | ||
int | buffer_type | ||
) |
Creates a new window.
- Parameters:
-
parent The parent window to use. If parent
is0
, the root window of the default display is used.x X Position y Y position w Width h Height buffer_type The type of the buffer to be used to create a new Ecore_Wl_Window.
- Returns:
- The new window
- Since:
- 1.2
EAPI void ecore_wl_window_raise | ( | Ecore_Wl_Window * | win | ) |
Raises a window.
- Parameters:
-
win The window to raise.
- Since:
- 1.2
EAPI void ecore_wl_window_resize | ( | Ecore_Wl_Window * | win, |
int | w, | ||
int | h, | ||
int | location | ||
) |
Signals for Wayland to initiate a window resize.
The size requested (w
, h
) is not honored by Wayland because Wayland does not allow specific window sizes to be set.
- Parameters:
-
win The window to resize. w Width h Height location The edge of the window from where the resize should start.
- Since:
- 1.2
EAPI void ecore_wl_window_show | ( | Ecore_Wl_Window * | win | ) |
Shows a window.
Synonymous to "mapping" a window in Wayland System terminology.
- Parameters:
-
win The window to show.
- Since:
- 1.2