1 #ifndef __GDK_SELECTION_H__
2 #define __GDK_SELECTION_H__
4 #include <gdk/gdktypes.h>
8 #endif /* __cplusplus */
10 /* The next three types define enums for predefined atoms relating
11 to selections. In general, one will need to use gdk_intern_atom */
15 GDK_SELECTION_PRIMARY = 1,
16 GDK_SELECTION_SECONDARY = 2
21 GDK_TARGET_BITMAP = 5,
22 GDK_TARGET_COLORMAP = 7,
23 GDK_TARGET_DRAWABLE = 17,
24 GDK_TARGET_PIXMAP = 20,
25 GDK_TARGET_STRING = 31
30 GDK_SELECTION_TYPE_ATOM = 4,
31 GDK_SELECTION_TYPE_BITMAP = 5,
32 GDK_SELECTION_TYPE_COLORMAP = 7,
33 GDK_SELECTION_TYPE_DRAWABLE = 17,
34 GDK_SELECTION_TYPE_INTEGER = 19,
35 GDK_SELECTION_TYPE_PIXMAP = 20,
36 GDK_SELECTION_TYPE_WINDOW = 33,
37 GDK_SELECTION_TYPE_STRING = 31
42 gboolean gdk_selection_owner_set (GdkWindow *owner,
46 GdkWindow* gdk_selection_owner_get (GdkAtom selection);
47 void gdk_selection_convert (GdkWindow *requestor,
51 gboolean gdk_selection_property_get (GdkWindow *requestor,
55 void gdk_selection_send_notify (guint32 requestor,
63 #endif /* __cplusplus */
65 #endif /* __GDK_SELECTION_H__ */