|
| EAPI int | ecore_wl2_init (void) |
| | Initialize the Ecore_Wl2 library.
|
| |
| EAPI int | ecore_wl2_shutdown (void) |
| | Shutdown the Ecore_Wl2 Library.
|
| |
| EAPI Ecore_Wl2_Display * | ecore_wl2_display_create (const char *name) |
| | Create a new Wayland display.
|
| |
| EAPI void | ecore_wl2_display_destroy (Ecore_Wl2_Display *display) |
| | Destroy an existing Wayland display.
|
| |
| EAPI Ecore_Wl2_Display * | ecore_wl2_display_connect (const char *name) |
| | Connect to an existing Wayland display.
|
| |
| EAPI void | ecore_wl2_display_disconnect (Ecore_Wl2_Display *display) |
| | Disconnect an existing Wayland display.
|
| |
| EAPI struct wl_display * | ecore_wl2_display_get (Ecore_Wl2_Display *display) |
| | Retrieve the existing Wayland display.
|
| |
| EAPI struct wl_shm * | ecore_wl2_display_shm_get (Ecore_Wl2_Display *display) |
| | Retrieve the wl_shm from a given Ecore_Wl2_Display.
|
| |
| EAPI void * | ecore_wl2_display_dmabuf_get (Ecore_Wl2_Display *display) |
| | Retrieve the wl_dmabuf from a given Ecore_Wl2_Display.
|
| |
| EAPI Eina_Iterator * | ecore_wl2_display_globals_get (Ecore_Wl2_Display *display) |
| | Return an Eina_Iterator that can be used to iterate through globals.
|
| |
| EAPI void | ecore_wl2_display_screen_size_get (Ecore_Wl2_Display *display, int *w, int *h) |
| | Retrieves the size of the current screen.
|
| |
| EAPI Eina_Iterator * | ecore_wl2_display_inputs_get (Ecore_Wl2_Display *display) |
| | Get all the Ecore_Wl2_Input from the display.
|
| |
| EAPI Ecore_Wl2_Input * | ecore_wl2_display_input_find (const Ecore_Wl2_Display *display, unsigned int id) |
| | Find a seat for a given display object using the seat id.
|
| |
| EAPI Ecore_Wl2_Input * | ecore_wl2_display_input_find_by_name (const Ecore_Wl2_Display *display, const char *name) |
| | Find a seat for a given display object using the seat id.
|
| |
| EAPI struct wl_registry * | ecore_wl2_display_registry_get (Ecore_Wl2_Display *display) |
| | Retrieves the Wayland Registry used for the current Wayland display.
|
| |
| EAPI Eina_Bool | ecore_wl2_display_sync_is_done (const Ecore_Wl2_Display *display) |
| | Check if the display has performed a sync.
|
| |
| EAPI const char * | ecore_wl2_display_name_get (const Ecore_Wl2_Display *display) |
| | Get the name of the display object.
|
| |
| EAPI Ecore_Wl2_Window * | ecore_wl2_display_window_find_by_surface (Ecore_Wl2_Display *display, struct wl_surface *surface) |
| | Finds an Ecore_Wl2_Window based on wl_surface.
|
| |
| EAPI Ecore_Wl2_Display * | ecore_wl2_connected_display_get (const char *name) |
| | Gets the connected display object.
|
| |
| EAPI struct wl_compositor * | ecore_wl2_display_compositor_get (Ecore_Wl2_Display *display) |
| | Gets the wl_compositor which belongs to this display.
|
| |
| 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 int | ecore_wl2_window_preferred_rotation_get (Ecore_Wl2_Window *window) |
| | Get preferred rotation for 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 struct wl_seat * | ecore_wl2_input_seat_get (Ecore_Wl2_Input *input) |
| | Get the wl_seat that an input is using.
|
| |
| EAPI Ecore_Wl2_Seat_Capabilities | ecore_wl2_input_seat_capabilities_get (Ecore_Wl2_Input *input) |
| | Get the seat capabilities for a given input.
|
| |
| EAPI unsigned int | ecore_wl2_input_seat_id_get (Ecore_Wl2_Input *input) |
| | Get the wayland's seat id from an input.
|
| |
| EAPI Ecore_Wl2_Display * | ecore_wl2_input_display_get (const Ecore_Wl2_Input *input) |
| | Get the display object of an input.
|
| |
| EAPI struct xkb_keymap * | ecore_wl2_input_keymap_get (const Ecore_Wl2_Input *input) |
| | Get the xkb_keymap object of an input.
|
| |
| EAPI Eina_Stringshare * | ecore_wl2_input_name_get (Ecore_Wl2_Input *input) |
| | Get the name of an input.
|
| |
| EAPI Eina_Bool | ecore_wl2_input_keyboard_repeat_get (const Ecore_Wl2_Input *input, double *rate, double *delay) |
| | Get the keyboard repeat rate and delay of an input.
|
| |
| EAPI Eina_Bool | ecore_wl2_input_keyboard_repeat_set (Ecore_Wl2_Input *input, double rate, double delay) |
| | Set the keyboard repeat rate and delay of an input.
|
| |
| EAPI Eina_Bool | ecore_wl2_input_pointer_xy_get (const Ecore_Wl2_Input *input, int *x, int *y) |
| | Retrieves the mouse position of the seat.
|
| |
| EAPI void | ecore_wl2_input_pointer_set (Ecore_Wl2_Input *input, struct wl_surface *surface, int hot_x, int hot_y) |
| | Set a given wl_surface to use as the pointer on a seat.
|
| |
| EAPI void | ecore_wl2_input_cursor_from_name_set (Ecore_Wl2_Input *input, const char *cursor) |
| | Set a specific cursor on a given seat.
|
| |
| EAPI Ecore_Wl2_Input * | ecore_wl2_input_default_input_get (const Ecore_Wl2_Display *ewd) |
| | Gets default input of a given display.
|
| |
| EAPI int | ecore_wl2_output_dpi_get (Ecore_Wl2_Output *output) |
| | Return the DPI of a given output.
|
| |
| EAPI int | ecore_wl2_output_transform_get (Ecore_Wl2_Output *output) |
| | Get the current transform of a given output.
|
| |
| EAPI int | ecore_wl2_display_compositor_version_get (Ecore_Wl2_Display *disp) |
| | Return the version of the display's compositor object.
|
| |
| EAPI void | ecore_wl2_session_recovery_disable (void) |
| | Disable session recovery for any further connections.
|
| |
| EAPI void | ecore_wl2_window_commit (Ecore_Wl2_Window *window, Eina_Bool flush) |
| | Commit the surface of a wayland window.
|
| |
| EAPI Ecore_Wl2_Frame_Cb_Handle * | ecore_wl2_window_frame_callback_add (Ecore_Wl2_Window *window, Ecore_Wl2_Frame_Cb cb, void *data) |
| | Add a callback that fires when the window's surface_frame callback fires.
|
| |
| EAPI void | ecore_wl2_window_frame_callback_del (Ecore_Wl2_Frame_Cb_Handle *handle) |
| | Delete a callback that fires when the window's surface_frame callback fires.
|
| |
| EAPI void | ecore_wl2_display_flush (Ecore_Wl2_Display *display) |
| | Push buffered wayland protocol to compositor.
|
| |
| EAPI Eina_Bool | ecore_wl2_window_resizing_get (Ecore_Wl2_Window *window) |
| | Get if a given window is resizing.
|
| |
| EAPI void | ecore_wl2_window_update_begin (Ecore_Wl2_Window *window) |
| | Latch window state at the start of an update.
|
| |