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) |
| Enable/disable server mode. More... | |
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 | ) |
References ECORE_CALLBACK_CANCEL, ECORE_CALLBACK_RENEW, ecore_event_add(), ecore_idler_add(), ECORE_WL_EVENT_DATA_SOURCE_CANCELLED, ECORE_WL_EVENT_DATA_SOURCE_SEND, ECORE_WL_EVENT_DATA_SOURCE_TARGET, ECORE_WL_EVENT_SELECTION_DATA_READY, ecore_wl_window_surface_find(), EINA_FALSE, EINA_TRUE, and EINA_UNUSED.
Enable/disable 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.
References ecore_animator_custom_tick(), ECORE_CALLBACK_CANCEL, ECORE_CALLBACK_RENEW, ecore_event_add(), ecore_event_shutdown(), ECORE_EVENT_SIGNAL_EXIT, ECORE_FD_ERROR, ECORE_FD_READ, ECORE_FD_WRITE, ecore_idle_enterer_del(), ecore_main_fd_handler_active_get(), ecore_main_fd_handler_active_set(), ecore_main_fd_handler_del(), ecore_shutdown(), ECORE_WL_EVENT_INTERFACES_BOUND, EINA_FALSE, eina_hash_foreach(), eina_hash_iterator_data_new(), eina_inlist_append(), EINA_INLIST_FOREACH_SAFE, EINA_INLIST_GET, eina_inlist_remove(), EINA_ITERATOR_FOREACH, eina_log_domain_unregister(), eina_shutdown(), EINA_TRUE, EINA_UNUSED, ERR, and _Ecore_Event_Signal_Exit::quit.