1 /* GDK - The GIMP Drawing Kit
2 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
19 #ifndef __GDK_TYPES_H__
20 #define __GDK_TYPES_H__
23 /* GDK uses "glib". (And so does GTK).
29 #define GDK_CURRENT_TIME 0L
30 #define GDK_PARENT_RELATIVE 1L
32 /* special deviceid for core pointer events */
33 #define GDK_CORE_POINTER 0xfedc
38 #endif /* __cplusplus */
41 /* Type definitions for the basic structures.
44 typedef gulong GdkAtom;
45 typedef struct _GdkColor GdkColor;
46 typedef struct _GdkColormap GdkColormap;
47 typedef struct _GdkVisual GdkVisual;
48 typedef struct _GdkWindowAttr GdkWindowAttr;
49 typedef struct _GdkWindow GdkWindow;
50 typedef struct _GdkWindow GdkPixmap;
51 typedef struct _GdkWindow GdkBitmap;
52 typedef struct _GdkWindow GdkDrawable;
53 typedef struct _GdkImage GdkImage;
54 typedef struct _GdkGCValues GdkGCValues;
55 typedef struct _GdkGC GdkGC;
56 typedef struct _GdkPoint GdkPoint;
57 typedef struct _GdkRectangle GdkRectangle;
58 typedef struct _GdkSegment GdkSegment;
59 typedef struct _GdkFont GdkFont;
60 typedef struct _GdkCursor GdkCursor;
61 typedef struct _GdkColorContextDither GdkColorContextDither;
62 typedef struct _GdkColorContext GdkColorContext;
64 typedef struct _GdkEventAny GdkEventAny;
65 typedef struct _GdkEventExpose GdkEventExpose;
66 typedef struct _GdkEventNoExpose GdkEventNoExpose;
67 typedef struct _GdkEventVisibility GdkEventVisibility;
68 typedef struct _GdkEventMotion GdkEventMotion;
69 typedef struct _GdkEventButton GdkEventButton;
70 typedef struct _GdkEventKey GdkEventKey;
71 typedef struct _GdkEventFocus GdkEventFocus;
72 typedef struct _GdkEventCrossing GdkEventCrossing;
73 typedef struct _GdkEventConfigure GdkEventConfigure;
74 typedef struct _GdkEventProperty GdkEventProperty;
75 typedef struct _GdkEventSelection GdkEventSelection;
76 typedef struct _GdkEventProximity GdkEventProximity;
77 typedef struct _GdkEventOther GdkEventOther;
78 typedef struct _GdkEventDragBegin GdkEventDragBegin;
79 typedef struct _GdkEventDragRequest GdkEventDragRequest;
80 typedef struct _GdkEventDropEnter GdkEventDropEnter;
81 typedef struct _GdkEventDropDataAvailable GdkEventDropDataAvailable;
82 typedef struct _GdkEventDropLeave GdkEventDropLeave;
83 typedef struct _GdkEventClient GdkEventClient;
84 typedef union _GdkEvent GdkEvent;
85 typedef struct _GdkDeviceKey GdkDeviceKey;
86 typedef struct _GdkDeviceInfo GdkDeviceInfo;
87 typedef struct _GdkTimeCoord GdkTimeCoord;
88 typedef struct _GdkRegion GdkRegion;
89 typedef gint (*GdkEventFunc) (GdkEvent *event,
97 * Root: There is only 1 root window and it is initialized
98 * at startup. Creating a window of type GDK_WINDOW_ROOT
100 * Toplevel: Windows which interact with the window manager.
101 * Child: Windows which are children of some other type of window.
102 * (Any other type of window). Most windows are child windows.
103 * Dialog: A special kind of toplevel window which interacts with
104 * the window manager slightly differently than a regular
105 * toplevel window. Dialog windows should be used for any
107 * Pixmap: Pixmaps are really just another kind of window which
108 * doesn't actually appear on the screen. It can't have
109 * children, either and is really just a convenience so
110 * that the drawing functions can work on both windows
111 * and pixmaps transparently. (ie. You shouldn't pass a
112 * pixmap to any procedure which accepts a window with the
113 * exception of the drawing functions).
114 * Foreign: A window that actually belongs to another application
127 /* Classes of windows.
128 * InputOutput: Almost every window should be of this type. Such windows
129 * receive events and are also displayed on screen.
130 * InputOnly: Used only in special circumstances when events need to be
131 * stolen from another window or windows. Input only windows
132 * have no visible output, so they are handy for placing over
133 * top of a group of windows in order to grab the events (or
134 * filter the events) from those windows.
143 * Normal: Normal X image type. These are slow as they involve passing
144 * the entire image through the X connection each time a draw
145 * request is required.
146 * Shared: Shared memory X image type. These are fast as the X server
147 * and the program actually use the same piece of memory. They
148 * should be used with care though as there is the possibility
149 * for both the X server and the program to be reading/writing
150 * the image simultaneously and producing undesired results.
169 GDK_VISUAL_STATIC_GRAY,
170 GDK_VISUAL_GRAYSCALE,
171 GDK_VISUAL_STATIC_COLOR,
172 GDK_VISUAL_PSEUDO_COLOR,
173 GDK_VISUAL_TRUE_COLOR,
174 GDK_VISUAL_DIRECT_COLOR
178 * GDK_FONT_FONT: the font is an XFontStruct.
179 * GDK_FONT_FONTSET: the font is an XFontSet used for I18N.
187 /* Window attribute mask values.
188 * GDK_WA_TITLE: The "title" field is valid.
189 * GDK_WA_X: The "x" field is valid.
190 * GDK_WA_Y: The "y" field is valid.
191 * GDK_WA_CURSOR: The "cursor" field is valid.
192 * GDK_WA_COLORMAP: The "colormap" field is valid.
193 * GDK_WA_VISUAL: The "visual" field is valid.
197 GDK_WA_TITLE = 1 << 1,
200 GDK_WA_CURSOR = 1 << 4,
201 GDK_WA_COLORMAP = 1 << 5,
202 GDK_WA_VISUAL = 1 << 6,
203 GDK_WA_WMCLASS = 1 << 7,
204 GDK_WA_NOREDIR = 1 << 8
205 } GdkWindowAttributesType;
207 /* Size restriction enumeration.
211 GDK_HINT_POS = 1 << 0,
212 GDK_HINT_MIN_SIZE = 1 << 1,
213 GDK_HINT_MAX_SIZE = 1 << 2
216 /* GC function types.
217 * Copy: Overwrites destination pixels with the source pixels.
218 * Invert: Inverts the destination pixels.
219 * Xor: Xor's the destination pixels with the source pixels.
242 /* GC fill rule for polygons
260 GDK_LINE_ON_OFF_DASH,
294 #include <gdk/gdkcursors.h>
296 GDK_CURSOR_IS_PIXMAP = -1
300 GDK_FILTER_CONTINUE, /* Event not handled, continue processesing */
301 GDK_FILTER_TRANSLATE, /* Translated event stored */
302 GDK_FILTER_REMOVE /* Terminate processing, removing event */
306 GDK_VISIBILITY_UNOBSCURED,
307 GDK_VISIBILITY_PARTIAL,
308 GDK_VISIBILITY_FULLY_OBSCURED
309 } GdkVisibilityState;
312 * Nothing: No event occurred.
313 * Delete: A window delete event was sent by the window manager.
314 * The specified window should be deleted.
315 * Destroy: A window has been destroyed.
316 * Expose: Part of a window has been uncovered.
317 * NoExpose: Same as expose, but no expose event was generated.
318 * VisibilityNotify: A window has become fully/partially/not obscured.
319 * MotionNotify: The mouse has moved.
320 * ButtonPress: A mouse button was pressed.
321 * ButtonRelease: A mouse button was release.
322 * KeyPress: A key was pressed.
323 * KeyRelease: A key was released.
324 * EnterNotify: A window was entered.
325 * LeaveNotify: A window was exited.
326 * FocusChange: The focus window has changed. (The focus window gets
328 * Resize: A window has been resized.
329 * Map: A window has been mapped. (It is now visible on the screen).
330 * Unmap: A window has been unmapped. (It is no longer visible on
339 GDK_MOTION_NOTIFY = 3,
340 GDK_BUTTON_PRESS = 4,
341 GDK_2BUTTON_PRESS = 5,
342 GDK_3BUTTON_PRESS = 6,
343 GDK_BUTTON_RELEASE = 7,
346 GDK_ENTER_NOTIFY = 10,
347 GDK_LEAVE_NOTIFY = 11,
348 GDK_FOCUS_CHANGE = 12,
352 GDK_PROPERTY_NOTIFY = 16,
353 GDK_SELECTION_CLEAR = 17,
354 GDK_SELECTION_REQUEST = 18,
355 GDK_SELECTION_NOTIFY = 19,
356 GDK_PROXIMITY_IN = 20,
357 GDK_PROXIMITY_OUT = 21,
359 GDK_DRAG_REQUEST = 23,
362 GDK_DROP_DATA_AVAIL = 26,
363 GDK_CLIENT_EVENT = 27,
364 GDK_VISIBILITY_NOTIFY = 28,
366 GDK_OTHER_EVENT = 9999 /* Deprecated, use filters instead */
369 /* Event masks. (Used to select what types of events a window
374 GDK_EXPOSURE_MASK = 1 << 1,
375 GDK_POINTER_MOTION_MASK = 1 << 2,
376 GDK_POINTER_MOTION_HINT_MASK = 1 << 3,
377 GDK_BUTTON_MOTION_MASK = 1 << 4,
378 GDK_BUTTON1_MOTION_MASK = 1 << 5,
379 GDK_BUTTON2_MOTION_MASK = 1 << 6,
380 GDK_BUTTON3_MOTION_MASK = 1 << 7,
381 GDK_BUTTON_PRESS_MASK = 1 << 8,
382 GDK_BUTTON_RELEASE_MASK = 1 << 9,
383 GDK_KEY_PRESS_MASK = 1 << 10,
384 GDK_KEY_RELEASE_MASK = 1 << 11,
385 GDK_ENTER_NOTIFY_MASK = 1 << 12,
386 GDK_LEAVE_NOTIFY_MASK = 1 << 13,
387 GDK_FOCUS_CHANGE_MASK = 1 << 14,
388 GDK_STRUCTURE_MASK = 1 << 15,
389 GDK_PROPERTY_CHANGE_MASK = 1 << 16,
390 GDK_VISIBILITY_NOTIFY_MASK = 1 << 17,
391 GDK_PROXIMITY_IN_MASK = 1 << 18,
392 GDK_PROXIMITY_OUT_MASK = 1 << 19,
393 GDK_SUBSTRUCTURE_MASK = 1 << 20,
394 GDK_ALL_EVENTS_MASK = 0x0FFFFF
397 /* Types of enter/leave notifications.
403 * Unknown: An unknown type of enter/leave event occurred.
407 GDK_NOTIFY_ANCESTOR = 0,
408 GDK_NOTIFY_VIRTUAL = 1,
409 GDK_NOTIFY_INFERIOR = 2,
410 GDK_NOTIFY_NONLINEAR = 3,
411 GDK_NOTIFY_NONLINEAR_VIRTUAL = 4,
412 GDK_NOTIFY_UNKNOWN = 5
415 /* Enter/leave event modes.
427 /* Types of modifiers.
431 GDK_SHIFT_MASK = 1 << 0,
432 GDK_LOCK_MASK = 1 << 1,
433 GDK_CONTROL_MASK = 1 << 2,
434 GDK_MOD1_MASK = 1 << 3,
435 GDK_MOD2_MASK = 1 << 4,
436 GDK_MOD3_MASK = 1 << 5,
437 GDK_MOD4_MASK = 1 << 6,
438 GDK_MOD5_MASK = 1 << 7,
439 GDK_BUTTON1_MASK = 1 << 8,
440 GDK_BUTTON2_MASK = 1 << 9,
441 GDK_BUTTON3_MASK = 1 << 10,
442 GDK_BUTTON4_MASK = 1 << 11,
443 GDK_BUTTON5_MASK = 1 << 12,
444 GDK_MODIFIER_MASK = 0x1fff
449 GDK_CLIP_BY_CHILDREN = 0,
450 GDK_INCLUDE_INFERIORS = 1
455 GDK_INPUT_READ = 1 << 0,
456 GDK_INPUT_WRITE = 1 << 1,
457 GDK_INPUT_EXCEPTION = 1 << 2
464 GDK_ERROR_PARAM = -2,
477 GDK_GC_FOREGROUND = 1 << 0,
478 GDK_GC_BACKGROUND = 1 << 1,
479 GDK_GC_FONT = 1 << 2,
480 GDK_GC_FUNCTION = 1 << 3,
481 GDK_GC_FILL = 1 << 4,
482 GDK_GC_TILE = 1 << 5,
483 GDK_GC_STIPPLE = 1 << 6,
484 GDK_GC_CLIP_MASK = 1 << 7,
485 GDK_GC_SUBWINDOW = 1 << 8,
486 GDK_GC_TS_X_ORIGIN = 1 << 9,
487 GDK_GC_TS_Y_ORIGIN = 1 << 10,
488 GDK_GC_CLIP_X_ORIGIN = 1 << 11,
489 GDK_GC_CLIP_Y_ORIGIN = 1 << 12,
490 GDK_GC_EXPOSURES = 1 << 13,
491 GDK_GC_LINE_WIDTH = 1 << 14,
492 GDK_GC_LINE_STYLE = 1 << 15,
493 GDK_GC_CAP_STYLE = 1 << 16,
494 GDK_GC_JOIN_STYLE = 1 << 17
499 GDK_SELECTION_PRIMARY = 1,
500 GDK_SELECTION_SECONDARY = 2
505 GDK_PROPERTY_NEW_VALUE,
511 GDK_PROP_MODE_REPLACE,
512 GDK_PROP_MODE_PREPEND,
516 /* These definitions are for version 1 of the OffiX D&D protocol,
517 taken from <OffiX/DragAndDropTypes.h> */
520 GDK_DNDTYPE_NOTDND = -1,
521 GDK_DNDTYPE_UNKNOWN = 0,
522 GDK_DNDTYPE_RAWDATA = 1,
523 GDK_DNDTYPE_FILE = 2,
524 GDK_DNDTYPE_FILES = 3,
525 GDK_DNDTYPE_TEXT = 4,
527 GDK_DNDTYPE_LINK = 6,
530 GDK_DNDTYPE_MIME = 9,
534 /* Enums for XInput support */
562 /* The next two types define enums for predefined atoms relating
563 to selections. In general, one will need to use gdk_intern_atom */
567 GDK_TARGET_BITMAP = 5,
568 GDK_TARGET_COLORMAP = 7,
569 GDK_TARGET_DRAWABLE = 17,
570 GDK_TARGET_PIXMAP = 20,
571 GDK_TARGET_STRING = 31
576 GDK_SELECTION_TYPE_ATOM = 4,
577 GDK_SELECTION_TYPE_BITMAP = 5,
578 GDK_SELECTION_TYPE_COLORMAP = 7,
579 GDK_SELECTION_TYPE_DRAWABLE = 17,
580 GDK_SELECTION_TYPE_INTEGER = 19,
581 GDK_SELECTION_TYPE_PIXMAP = 20,
582 GDK_SELECTION_TYPE_WINDOW = 33,
583 GDK_SELECTION_TYPE_STRING = 31
588 GDK_EXTENSION_EVENTS_NONE,
589 GDK_EXTENSION_EVENTS_ALL,
590 GDK_EXTENSION_EVENTS_CURSOR
593 typedef enum /*< flags >*/
595 GdkIMPreeditArea = 0x0001L, /*< nick=preedit-area >*/
596 GdkIMPreeditCallbacks = 0x0002L, /*< nick=preedit-callbacks >*/
597 GdkIMPreeditPosition = 0x0004L, /*< nick=preedit-position >*/
598 GdkIMPreeditNothing = 0x0008L, /*< nick=preedit-nothing >*/
599 GdkIMPreeditNone = 0x0010L, /*< nick=preedit-none >*/
600 GdkIMStatusArea = 0x0100L, /*< nick=status-area >*/
601 GdkIMStatusCallbacks = 0x0200L, /*< nick=status-callbacks >*/
602 GdkIMStatusNothing = 0x0400L, /*< nick=status-nothing >*/
603 GdkIMStatusNone = 0x0800L /*< nick=status-none >*/
606 /* The next two enumeration values current match the
607 * Motif constants. If this is changed, the implementation
608 * of gdk_window_set_decorations/gdk_window_set_functions
609 * will need to change as well.
613 GDK_DECOR_ALL = 1 << 0,
614 GDK_DECOR_BORDER = 1 << 1,
615 GDK_DECOR_RESIZEH = 1 << 2,
616 GDK_DECOR_TITLE = 1 << 3,
617 GDK_DECOR_MENU = 1 << 4,
618 GDK_DECOR_MINIMIZE = 1 << 5,
619 GDK_DECOR_MAXIMIZE = 1 << 6
624 GDK_FUNC_ALL = 1 << 0,
625 GDK_FUNC_RESIZE = 1 << 1,
626 GDK_FUNC_MOVE = 1 << 2,
627 GDK_FUNC_MINIMIZE = 1 << 3,
628 GDK_FUNC_MAXIMIZE = 1 << 4,
629 GDK_FUNC_CLOSE = 1 << 5
632 #define GdkIMPreeditMask \
633 ( GdkIMPreeditArea | GdkIMPreeditCallbacks | \
634 GdkIMPreeditPosition | GdkIMPreeditNothing | \
637 #define GdkIMStatusMask \
638 ( GdkIMStatusArea | GdkIMStatusCallbacks | \
639 GdkIMStatusNothing | GdkIMStatusNone )
641 typedef void (*GdkInputFunction) (gpointer data,
643 GdkInputCondition condition);
645 typedef void (*GdkDestroyNotify) (gpointer data);
647 /* Color Context modes.
649 * GDK_CC_MODE_UNDEFINED - unknown
650 * GDK_CC_MODE_BW - default B/W
651 * GDK_CC_MODE_STD_CMAP - has a standard colormap
652 * GDK_CC_MODE_TRUE - is a TrueColor/DirectColor visual
653 * GDK_CC_MODE_MY_GRAY - my grayramp
654 * GDK_CC_MODE_PALETTE - has a pre-allocated palette
659 GDK_CC_MODE_UNDEFINED,
661 GDK_CC_MODE_STD_CMAP,
665 } GdkColorContextMode;
667 /* Types of overlapping between a rectangle and a region
668 * GDK_OVERLAP_RECTANGLE_IN: rectangle is in region
669 * GDK_OVERLAP_RECTANGLE_OUT: rectangle in not in region
670 * GDK_OVERLAP_RECTANGLE_PART: rectangle in partially in region
675 GDK_OVERLAP_RECTANGLE_IN,
676 GDK_OVERLAP_RECTANGLE_OUT,
677 GDK_OVERLAP_RECTANGLE_PART
681 * A color consists of red, green and blue values in the
682 * range 0-65535 and a pixel value. The pixel value is highly
683 * dependent on the depth and colormap which this color will
684 * be used to draw into. Therefore, sharing colors between
685 * colormaps is a bad idea.
695 /* The colormap type.
696 * Colormaps consist of 256 colors.
705 * "type" is the type of visual this is (PseudoColor, TrueColor, etc).
706 * "depth" is the bit depth of this visual.
707 * "colormap_size" is the size of a colormap for this visual.
708 * "bits_per_rgb" is the number of significant bits per red, green and blue.
709 * The red, green and blue masks, shifts and precisions refer
710 * to value needed to calculate pixel values in TrueColor and DirectColor
711 * visuals. The "mask" is the significant bits within the pixel. The
712 * "shift" is the number of bits left we must shift a primary for it
713 * to be in position (according to the "mask"). "prec" refers to how
714 * much precision the pixel value contains for a particular primary.
720 GdkByteOrder byte_order;
737 struct _GdkWindowAttr
744 GdkWindowClass wclass;
746 GdkColormap *colormap;
747 GdkWindowType window_type;
750 gchar *wmclass_class;
751 gboolean override_redirect;
762 GdkVisual *visual; /* visual used to create the image */
763 GdkByteOrder byte_order;
767 guint16 bpp; /* bytes per pixel */
768 guint16 bpl; /* bytes per line */
777 GdkFunction function;
781 GdkPixmap *clip_mask;
782 GdkSubwindowMode subwindow_mode;
787 gint graphics_exposures;
789 GdkLineStyle line_style;
790 GdkCapStyle cap_style;
791 GdkJoinStyle join_style;
833 struct _GdkColorContextDither
835 gint fast_rgb[32][32][32]; /* quick look-up table for faster rendering */
836 gint fast_err[32][32][32]; /* internal RGB error information */
837 gint fast_erg[32][32][32];
838 gint fast_erb[32][32][32];
841 struct _GdkColorContext
844 GdkColormap *colormap;
846 gint num_colors; /* available no. of colors in colormap */
847 gint max_colors; /* maximum no. of colors */
848 gint num_allocated; /* no. of allocated colors */
850 GdkColorContextMode mode;
851 gint need_to_free_colormap;
852 GdkAtom std_cmap_atom;
854 gulong *clut; /* color look-up table */
855 GdkColor *cmap; /* colormap */
857 GHashTable *color_hash; /* hash table of allocated colors */
858 GdkColor *palette; /* preallocated palette */
859 gint num_palette; /* size of palette */
861 GdkColorContextDither *fast_dither; /* fast dither matrix */
890 /* Types for XInput support */
895 GdkModifierType modifiers;
898 struct _GdkDeviceInfo
902 GdkInputSource source;
904 gint has_cursor; /* TRUE if the X pointer follows device motion */
906 GdkAxisUse *axes; /* Specifies use for each axis */
921 /* Event filtering */
923 typedef void GdkXEvent; /* Can be cast to XEvent */
925 typedef GdkFilterReturn (*GdkFilterFunc) (GdkXEvent *xevent,
936 struct _GdkEventExpose
942 gint count; /* If non-zero, how many more events follow. */
945 struct _GdkEventNoExpose
950 /* XXX: does anyone need the X major_code or minor_code fields? */
953 struct _GdkEventVisibility
958 GdkVisibilityState state;
961 struct _GdkEventMotion
974 GdkInputSource source;
976 gdouble x_root, y_root;
979 struct _GdkEventButton
992 GdkInputSource source;
994 gdouble x_root, y_root;
1009 struct _GdkEventCrossing
1014 GdkWindow *subwindow;
1020 GdkCrossingMode mode;
1021 GdkNotifyType detail;
1026 struct _GdkEventFocus
1034 struct _GdkEventConfigure
1044 struct _GdkEventProperty
1054 struct _GdkEventSelection
1066 /* This event type will be used pretty rarely. It only is important
1067 for XInput aware programs that are drawing their own cursor */
1069 struct _GdkEventProximity
1075 GdkInputSource source;
1079 struct _GdkEventDragRequest
1087 guint protocol_version:4;
1090 guint delete_data:1; /* Do *not* delete if link is sent, only
1097 guint8 isdrop; /* This gdk event can be generated by a couple of
1098 X events - this lets the app know whether the
1099 drop really occurred or we just set the data */
1101 GdkPoint drop_coords;
1106 struct _GdkEventDragBegin
1113 guint protocol_version:4;
1120 struct _GdkEventDropEnter
1128 guint protocol_version:4;
1130 guint extended_typelist:1;
1137 struct _GdkEventDropLeave
1145 guint protocol_version:4;
1152 struct _GdkEventDropDataAvailable
1160 guint protocol_version:4;
1166 gchar *data_type; /* MIME type */
1167 gulong data_numbytes;
1173 struct _GdkEventClient
1178 GdkAtom message_type;
1179 gushort data_format;
1187 struct _GdkEventOther
1199 GdkEventExpose expose;
1200 GdkEventNoExpose no_expose;
1201 GdkEventVisibility visibility;
1202 GdkEventMotion motion;
1203 GdkEventButton button;
1205 GdkEventCrossing crossing;
1206 GdkEventFocus focus_change;
1207 GdkEventConfigure configure;
1208 GdkEventProperty property;
1209 GdkEventSelection selection;
1210 GdkEventProximity proximity;
1211 GdkEventDragBegin dragbegin;
1212 GdkEventDragRequest dragrequest;
1213 GdkEventDropEnter dropenter;
1214 GdkEventDropLeave dropleave;
1215 GdkEventDropDataAvailable dropdataavailable;
1216 GdkEventClient client;
1217 GdkEventOther other;
1229 #endif /* __cplusplus */
1232 #endif /* __GDK_TYPES_H__ */