diff options
author | Rob Bradford <rob@linux.intel.com> | 2012-01-13 15:05:00 +0000 |
---|---|---|
committer | Rob Bradford <rob@linux.intel.com> | 2012-01-13 16:50:47 +0000 |
commit | 368d6c50b71e3fa2b6052c4a6549c81923521e2d (patch) | |
tree | 521fa22a0b201627a5ea63f2e6663f55e04a9959 /gdk/wayland/gdkwayland.h | |
parent | cd795de6bf21107051842062f501094feda96232 (diff) | |
download | gtk+-368d6c50b71e3fa2b6052c4a6549c81923521e2d.tar.gz |
wayland: Add basic API for setting and clearing the selection on the device
Diffstat (limited to 'gdk/wayland/gdkwayland.h')
-rw-r--r-- | gdk/wayland/gdkwayland.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gdk/wayland/gdkwayland.h b/gdk/wayland/gdkwayland.h index e7028cd5b5..8c964c99b9 100644 --- a/gdk/wayland/gdkwayland.h +++ b/gdk/wayland/gdkwayland.h @@ -48,6 +48,19 @@ gdk_wayland_device_request_selection_content (GdkDevice GdkDeviceWaylandRequestContentCallback cb, gpointer userdata); +typedef const gchar *(*GdkDeviceWaylandOfferContentCallback) (GdkDevice *device, const gchar *mime_type, gssize *len, gpointer userdata); + +#define gdk_wayland_device_offer_selection_content gdk_wayland_device_offer_selection_content_libgtk_only +gboolean +gdk_wayland_device_offer_selection_content (GdkDevice *gdk_device, + const gchar **mime_types, + gint nr_mime_types, + GdkDeviceWaylandOfferContentCallback cb, + gpointer userdata); + +#define gdk_wayland_device_clear_selection_content gdk_wayland_device_clear_selection_content_libgtk_only +gboolean +gdk_wayland_device_clear_selection_content (GdkDevice *gdk_device); #endif G_END_DECLS |