summaryrefslogtreecommitdiff
path: root/gdk/wayland/gdkwayland.h
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2012-01-13 15:05:00 +0000
committerRob Bradford <rob@linux.intel.com>2012-01-13 16:50:47 +0000
commit368d6c50b71e3fa2b6052c4a6549c81923521e2d (patch)
tree521fa22a0b201627a5ea63f2e6663f55e04a9959 /gdk/wayland/gdkwayland.h
parentcd795de6bf21107051842062f501094feda96232 (diff)
downloadgtk+-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.h13
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