|
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. More...
|
|
Functions to interface with Wayland Drag-n-Drop
◆ ecore_wl_dnd_selection_set()
Eina_Bool ecore_wl_dnd_selection_set |
( |
Ecore_Wl_Input * |
input, |
|
|
const char ** |
types_offered |
|
) |
| |
◆ ecore_wl_dnd_selection_get()
Eina_Bool ecore_wl_dnd_selection_get |
( |
Ecore_Wl_Input * |
input, |
|
|
const char * |
type |
|
) |
| |
◆ ecore_wl_dnd_selection_owner_has()
Eina_Bool ecore_wl_dnd_selection_owner_has |
( |
Ecore_Wl_Input * |
input | ) |
|
◆ ecore_wl_dnd_selection_clear()
Eina_Bool ecore_wl_dnd_selection_clear |
( |
Ecore_Wl_Input * |
input | ) |
|
◆ ecore_wl_dnd_drag_start()
◆ ecore_wl_dnd_drag_end()
void ecore_wl_dnd_drag_end |
( |
Ecore_Wl_Input * |
input | ) |
|
◆ ecore_wl_dnd_drag_get()
Eina_Bool ecore_wl_dnd_drag_get |
( |
Ecore_Wl_Input * |
input, |
|
|
const char * |
type |
|
) |
| |
- Returns
- false if type not found or on error, true otherwise
- Since
- 1.8
-
1.8
References EINA_FALSE, and EINA_TRUE.
◆ ecore_wl_dnd_drag_types_set()
void ecore_wl_dnd_drag_types_set |
( |
Ecore_Wl_Input * |
input, |
|
|
const char ** |
types_offered |
|
) |
| |
◆ ecore_wl_dnd_drag_types_get()
struct wl_array * ecore_wl_dnd_drag_types_get |
( |
Ecore_Wl_Input * |
input | ) |
|
- Returns
- the data types being offered for drag-and-drop, or NULL on error
- Since
- 1.8
-
1.8
◆ ecore_wl_server_mode_set()
Enables/disables server mode.
- Since
- 1.8
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.