Functions to interface with Wayland Drag-n-Drop More...
Functions | |
| EAPI Eina_Bool | ecore_wl_dnd_selection_set (Ecore_Wl_Input *input, const char **types_offered) |
| EAPI Eina_Bool | ecore_wl_dnd_selection_get (Ecore_Wl_Input *input, const char *type) |
| EAPI Eina_Bool | ecore_wl_dnd_selection_owner_has (Ecore_Wl_Input *input) |
| EAPI Eina_Bool | ecore_wl_dnd_selection_clear (Ecore_Wl_Input *input) |
| EAPI void | ecore_wl_dnd_drag_start (Ecore_Wl_Input *input, Ecore_Wl_Window *win, Ecore_Wl_Window *dragwin, int x, int y, int w, int h) |
| EAPI void | ecore_wl_dnd_drag_end (Ecore_Wl_Input *input) |
| EAPI Eina_Bool | ecore_wl_dnd_drag_get (Ecore_Wl_Input *input, const char *type) |
| EAPI void | ecore_wl_dnd_drag_types_set (Ecore_Wl_Input *input, const char **types_offered) |
| EAPI struct wl_array * | ecore_wl_dnd_drag_types_get (Ecore_Wl_Input *input) |
| EAPI void | ecore_wl_server_mode_set (Eina_Bool on) |
| Enables/disables server mode. | |
Functions to interface with Wayland Drag-n-Drop
| Eina_Bool ecore_wl_dnd_selection_set | ( | Ecore_Wl_Input * | input, |
| const char ** | types_offered ) |
References EINA_FALSE, and EINA_TRUE.
Referenced by ecore_wl_dnd_set_selection().
| Eina_Bool ecore_wl_dnd_selection_get | ( | Ecore_Wl_Input * | input, |
| const char * | type ) |
References EINA_FALSE, and EINA_TRUE.
Referenced by ecore_wl_dnd_get_selection().
| Eina_Bool ecore_wl_dnd_selection_owner_has | ( | Ecore_Wl_Input * | input | ) |
References EINA_FALSE.
Referenced by ecore_wl_dnd_selection_has_owner().
| Eina_Bool ecore_wl_dnd_selection_clear | ( | Ecore_Wl_Input * | input | ) |
| void ecore_wl_dnd_drag_start | ( | Ecore_Wl_Input * | input, |
| Ecore_Wl_Window * | win, | ||
| Ecore_Wl_Window * | dragwin, | ||
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h ) |
| void ecore_wl_dnd_drag_end | ( | Ecore_Wl_Input * | input | ) |
References ecore_event_add(), and ECORE_WL_EVENT_DND_END.
| Eina_Bool ecore_wl_dnd_drag_get | ( | Ecore_Wl_Input * | input, |
| const char * | type ) |
References EINA_FALSE, and EINA_TRUE.
| void ecore_wl_dnd_drag_types_set | ( | Ecore_Wl_Input * | input, |
| const char ** | types_offered ) |
| struct wl_array * ecore_wl_dnd_drag_types_get | ( | Ecore_Wl_Input * | input | ) |
| EAPI void ecore_wl_server_mode_set | ( | Eina_Bool | on | ) |
Enables/disables server mode.
With this enabled, the compositor acts as a Wayland server, iterating the display and dispatching events. With it disabled, the process is handled as a client.