Ecore_Wayland.h File Reference
Ecore functions for dealing with the Wayland window system. More...
Functions | |
EAPI int | ecore_wl_init (const char *name) |
Initialize the Wayland display connection to the given display. | |
EAPI int | ecore_wl_shutdown (void) |
Shuts down the Ecore Wayland Library. | |
EAPI void | ecore_wl_flush (void) |
Sends all Wayland commands to the Wayland Display. | |
EAPI void | ecore_wl_sync (void) |
Flushes the command buffer and waits until all requests have been processed by the server. | |
EAPI struct wl_shm * | ecore_wl_shm_get (void) |
Retrieves the Wayland Shm Interface used for the current Wayland connection. | |
EAPI struct wl_display * | ecore_wl_display_get (void) |
Retrieves the Wayland Display Interface used for the current Wayland connection. | |
EAPI void | ecore_wl_screen_size_get (int *w, int *h) |
Retrieves the size of the current screen. | |
EAPI int | ecore_wl_dpi_get (void) |
Return the screen DPI. | |
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
Ecore functions for dealing with the Wayland window system.
Ecore_Wl provides a wrapper and convenience functions for using the Wayland window system. Function groups for this part of the library include the following:
Function Documentation
EAPI int ecore_wl_dpi_get | ( | void | ) |
Return the screen DPI.
This is a simplistic call to get DPI. It does not account for differing DPI in the x amd y axes nor does it accoutn for multihead or xinerama and xrander where different parts of the screen may have differen DPI etc.
- Returns
- the general screen DPI (dots/pixels per inch).
- Since
- 1.2
References ecore_wl_dpi_get().
Referenced by ecore_wl_dpi_get().