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.
220 * Clear: set pixels to 0
221 * And: source AND destination
222 * And Reverse: source AND (NOT destination)
223 * And Invert: (NOT source) AND destination
225 * Or: source OR destination
226 * Nor: (NOT source) AND (NOT destination)
227 * Equiv: (NOT source) XOR destination
228 * Xor Reverse: source OR (NOT destination)
229 * Copy Inverted: NOT source
230 * Xor Inverted: (NOT source) OR destination
231 * Nand: (NOT source) OR (NOT destination)
232 * Set: set pixels to 1
267 /* GC fill rule for polygons
285 GDK_LINE_ON_OFF_DASH,
319 #include <gdk/gdkcursors.h>
321 GDK_CURSOR_IS_PIXMAP = -1
325 GDK_FILTER_CONTINUE, /* Event not handled, continue processesing */
326 GDK_FILTER_TRANSLATE, /* Translated event stored */
327 GDK_FILTER_REMOVE /* Terminate processing, removing event */
331 GDK_VISIBILITY_UNOBSCURED,
332 GDK_VISIBILITY_PARTIAL,
333 GDK_VISIBILITY_FULLY_OBSCURED
334 } GdkVisibilityState;
337 * Nothing: No event occurred.
338 * Delete: A window delete event was sent by the window manager.
339 * The specified window should be deleted.
340 * Destroy: A window has been destroyed.
341 * Expose: Part of a window has been uncovered.
342 * NoExpose: Same as expose, but no expose event was generated.
343 * VisibilityNotify: A window has become fully/partially/not obscured.
344 * MotionNotify: The mouse has moved.
345 * ButtonPress: A mouse button was pressed.
346 * ButtonRelease: A mouse button was release.
347 * KeyPress: A key was pressed.
348 * KeyRelease: A key was released.
349 * EnterNotify: A window was entered.
350 * LeaveNotify: A window was exited.
351 * FocusChange: The focus window has changed. (The focus window gets
353 * Resize: A window has been resized.
354 * Map: A window has been mapped. (It is now visible on the screen).
355 * Unmap: A window has been unmapped. (It is no longer visible on
364 GDK_MOTION_NOTIFY = 3,
365 GDK_BUTTON_PRESS = 4,
366 GDK_2BUTTON_PRESS = 5,
367 GDK_3BUTTON_PRESS = 6,
368 GDK_BUTTON_RELEASE = 7,
371 GDK_ENTER_NOTIFY = 10,
372 GDK_LEAVE_NOTIFY = 11,
373 GDK_FOCUS_CHANGE = 12,
377 GDK_PROPERTY_NOTIFY = 16,
378 GDK_SELECTION_CLEAR = 17,
379 GDK_SELECTION_REQUEST = 18,
380 GDK_SELECTION_NOTIFY = 19,
381 GDK_PROXIMITY_IN = 20,
382 GDK_PROXIMITY_OUT = 21,
384 GDK_DRAG_REQUEST = 23,
387 GDK_DROP_DATA_AVAIL = 26,
388 GDK_CLIENT_EVENT = 27,
389 GDK_VISIBILITY_NOTIFY = 28,
391 GDK_OTHER_EVENT = 9999 /* Deprecated, use filters instead */
394 /* Event masks. (Used to select what types of events a window
399 GDK_EXPOSURE_MASK = 1 << 1,
400 GDK_POINTER_MOTION_MASK = 1 << 2,
401 GDK_POINTER_MOTION_HINT_MASK = 1 << 3,
402 GDK_BUTTON_MOTION_MASK = 1 << 4,
403 GDK_BUTTON1_MOTION_MASK = 1 << 5,
404 GDK_BUTTON2_MOTION_MASK = 1 << 6,
405 GDK_BUTTON3_MOTION_MASK = 1 << 7,
406 GDK_BUTTON_PRESS_MASK = 1 << 8,
407 GDK_BUTTON_RELEASE_MASK = 1 << 9,
408 GDK_KEY_PRESS_MASK = 1 << 10,
409 GDK_KEY_RELEASE_MASK = 1 << 11,
410 GDK_ENTER_NOTIFY_MASK = 1 << 12,
411 GDK_LEAVE_NOTIFY_MASK = 1 << 13,
412 GDK_FOCUS_CHANGE_MASK = 1 << 14,
413 GDK_STRUCTURE_MASK = 1 << 15,
414 GDK_PROPERTY_CHANGE_MASK = 1 << 16,
415 GDK_VISIBILITY_NOTIFY_MASK = 1 << 17,
416 GDK_PROXIMITY_IN_MASK = 1 << 18,
417 GDK_PROXIMITY_OUT_MASK = 1 << 19,
418 GDK_SUBSTRUCTURE_MASK = 1 << 20,
419 GDK_ALL_EVENTS_MASK = 0x0FFFFF
422 /* Types of enter/leave notifications.
428 * Unknown: An unknown type of enter/leave event occurred.
432 GDK_NOTIFY_ANCESTOR = 0,
433 GDK_NOTIFY_VIRTUAL = 1,
434 GDK_NOTIFY_INFERIOR = 2,
435 GDK_NOTIFY_NONLINEAR = 3,
436 GDK_NOTIFY_NONLINEAR_VIRTUAL = 4,
437 GDK_NOTIFY_UNKNOWN = 5
440 /* Enter/leave event modes.
452 /* Types of modifiers.
456 GDK_SHIFT_MASK = 1 << 0,
457 GDK_LOCK_MASK = 1 << 1,
458 GDK_CONTROL_MASK = 1 << 2,
459 GDK_MOD1_MASK = 1 << 3,
460 GDK_MOD2_MASK = 1 << 4,
461 GDK_MOD3_MASK = 1 << 5,
462 GDK_MOD4_MASK = 1 << 6,
463 GDK_MOD5_MASK = 1 << 7,
464 GDK_BUTTON1_MASK = 1 << 8,
465 GDK_BUTTON2_MASK = 1 << 9,
466 GDK_BUTTON3_MASK = 1 << 10,
467 GDK_BUTTON4_MASK = 1 << 11,
468 GDK_BUTTON5_MASK = 1 << 12,
469 GDK_RELEASE_MASK = 1 << 13,
470 GDK_MODIFIER_MASK = 0x3fff
475 GDK_CLIP_BY_CHILDREN = 0,
476 GDK_INCLUDE_INFERIORS = 1
481 GDK_INPUT_READ = 1 << 0,
482 GDK_INPUT_WRITE = 1 << 1,
483 GDK_INPUT_EXCEPTION = 1 << 2
490 GDK_ERROR_PARAM = -2,
503 GDK_GC_FOREGROUND = 1 << 0,
504 GDK_GC_BACKGROUND = 1 << 1,
505 GDK_GC_FONT = 1 << 2,
506 GDK_GC_FUNCTION = 1 << 3,
507 GDK_GC_FILL = 1 << 4,
508 GDK_GC_TILE = 1 << 5,
509 GDK_GC_STIPPLE = 1 << 6,
510 GDK_GC_CLIP_MASK = 1 << 7,
511 GDK_GC_SUBWINDOW = 1 << 8,
512 GDK_GC_TS_X_ORIGIN = 1 << 9,
513 GDK_GC_TS_Y_ORIGIN = 1 << 10,
514 GDK_GC_CLIP_X_ORIGIN = 1 << 11,
515 GDK_GC_CLIP_Y_ORIGIN = 1 << 12,
516 GDK_GC_EXPOSURES = 1 << 13,
517 GDK_GC_LINE_WIDTH = 1 << 14,
518 GDK_GC_LINE_STYLE = 1 << 15,
519 GDK_GC_CAP_STYLE = 1 << 16,
520 GDK_GC_JOIN_STYLE = 1 << 17
525 GDK_SELECTION_PRIMARY = 1,
526 GDK_SELECTION_SECONDARY = 2
531 GDK_PROPERTY_NEW_VALUE,
537 GDK_PROP_MODE_REPLACE,
538 GDK_PROP_MODE_PREPEND,
542 /* These definitions are for version 1 of the OffiX D&D protocol,
543 taken from <OffiX/DragAndDropTypes.h> */
546 GDK_DNDTYPE_NOTDND = -1,
547 GDK_DNDTYPE_UNKNOWN = 0,
548 GDK_DNDTYPE_RAWDATA = 1,
549 GDK_DNDTYPE_FILE = 2,
550 GDK_DNDTYPE_FILES = 3,
551 GDK_DNDTYPE_TEXT = 4,
553 GDK_DNDTYPE_LINK = 6,
556 GDK_DNDTYPE_MIME = 9,
560 /* Enums for XInput support */
588 /* The next two types define enums for predefined atoms relating
589 to selections. In general, one will need to use gdk_intern_atom */
593 GDK_TARGET_BITMAP = 5,
594 GDK_TARGET_COLORMAP = 7,
595 GDK_TARGET_DRAWABLE = 17,
596 GDK_TARGET_PIXMAP = 20,
597 GDK_TARGET_STRING = 31
602 GDK_SELECTION_TYPE_ATOM = 4,
603 GDK_SELECTION_TYPE_BITMAP = 5,
604 GDK_SELECTION_TYPE_COLORMAP = 7,
605 GDK_SELECTION_TYPE_DRAWABLE = 17,
606 GDK_SELECTION_TYPE_INTEGER = 19,
607 GDK_SELECTION_TYPE_PIXMAP = 20,
608 GDK_SELECTION_TYPE_WINDOW = 33,
609 GDK_SELECTION_TYPE_STRING = 31
614 GDK_EXTENSION_EVENTS_NONE,
615 GDK_EXTENSION_EVENTS_ALL,
616 GDK_EXTENSION_EVENTS_CURSOR
619 typedef enum /*< flags >*/
621 GDK_IM_PREEDIT_AREA = 0x0001,
622 GDK_IM_PREEDIT_CALLBACKS = 0x0002,
623 GDK_IM_PREEDIT_POSITION = 0x0004,
624 GDK_IM_PREEDIT_NOTHING = 0x0008,
625 GDK_IM_PREEDIT_NONE = 0x0010,
626 GDK_IM_PREEDIT_MASK = 0x001f,
628 GDK_IM_STATUS_AREA = 0x0100,
629 GDK_IM_STATUS_CALLBACKS = 0x0200,
630 GDK_IM_STATUS_NOTHING = 0x0400,
631 GDK_IM_STATUS_NONE = 0x0800,
632 GDK_IM_STATUS_MASK = 0x0f00
635 /* The next two enumeration values current match the
636 * Motif constants. If this is changed, the implementation
637 * of gdk_window_set_decorations/gdk_window_set_functions
638 * will need to change as well.
642 GDK_DECOR_ALL = 1 << 0,
643 GDK_DECOR_BORDER = 1 << 1,
644 GDK_DECOR_RESIZEH = 1 << 2,
645 GDK_DECOR_TITLE = 1 << 3,
646 GDK_DECOR_MENU = 1 << 4,
647 GDK_DECOR_MINIMIZE = 1 << 5,
648 GDK_DECOR_MAXIMIZE = 1 << 6
653 GDK_FUNC_ALL = 1 << 0,
654 GDK_FUNC_RESIZE = 1 << 1,
655 GDK_FUNC_MOVE = 1 << 2,
656 GDK_FUNC_MINIMIZE = 1 << 3,
657 GDK_FUNC_MAXIMIZE = 1 << 4,
658 GDK_FUNC_CLOSE = 1 << 5
661 typedef void (*GdkInputFunction) (gpointer data,
663 GdkInputCondition condition);
665 typedef void (*GdkDestroyNotify) (gpointer data);
667 /* Color Context modes.
669 * GDK_CC_MODE_UNDEFINED - unknown
670 * GDK_CC_MODE_BW - default B/W
671 * GDK_CC_MODE_STD_CMAP - has a standard colormap
672 * GDK_CC_MODE_TRUE - is a TrueColor/DirectColor visual
673 * GDK_CC_MODE_MY_GRAY - my grayramp
674 * GDK_CC_MODE_PALETTE - has a pre-allocated palette
679 GDK_CC_MODE_UNDEFINED,
681 GDK_CC_MODE_STD_CMAP,
685 } GdkColorContextMode;
687 /* Types of overlapping between a rectangle and a region
688 * GDK_OVERLAP_RECTANGLE_IN: rectangle is in region
689 * GDK_OVERLAP_RECTANGLE_OUT: rectangle in not in region
690 * GDK_OVERLAP_RECTANGLE_PART: rectangle in partially in region
695 GDK_OVERLAP_RECTANGLE_IN,
696 GDK_OVERLAP_RECTANGLE_OUT,
697 GDK_OVERLAP_RECTANGLE_PART
701 * A color consists of red, green and blue values in the
702 * range 0-65535 and a pixel value. The pixel value is highly
703 * dependent on the depth and colormap which this color will
704 * be used to draw into. Therefore, sharing colors between
705 * colormaps is a bad idea.
715 /* The colormap type.
716 * Colormaps consist of 256 colors.
725 * "type" is the type of visual this is (PseudoColor, TrueColor, etc).
726 * "depth" is the bit depth of this visual.
727 * "colormap_size" is the size of a colormap for this visual.
728 * "bits_per_rgb" is the number of significant bits per red, green and blue.
729 * The red, green and blue masks, shifts and precisions refer
730 * to value needed to calculate pixel values in TrueColor and DirectColor
731 * visuals. The "mask" is the significant bits within the pixel. The
732 * "shift" is the number of bits left we must shift a primary for it
733 * to be in position (according to the "mask"). "prec" refers to how
734 * much precision the pixel value contains for a particular primary.
740 GdkByteOrder byte_order;
757 struct _GdkWindowAttr
764 GdkWindowClass wclass;
766 GdkColormap *colormap;
767 GdkWindowType window_type;
770 gchar *wmclass_class;
771 gboolean override_redirect;
782 GdkVisual *visual; /* visual used to create the image */
783 GdkByteOrder byte_order;
787 guint16 bpp; /* bytes per pixel */
788 guint16 bpl; /* bytes per line */
797 GdkFunction function;
801 GdkPixmap *clip_mask;
802 GdkSubwindowMode subwindow_mode;
807 gint graphics_exposures;
809 GdkLineStyle line_style;
810 GdkCapStyle cap_style;
811 GdkJoinStyle join_style;
853 struct _GdkColorContextDither
855 gint fast_rgb[32][32][32]; /* quick look-up table for faster rendering */
856 gint fast_err[32][32][32]; /* internal RGB error information */
857 gint fast_erg[32][32][32];
858 gint fast_erb[32][32][32];
861 struct _GdkColorContext
864 GdkColormap *colormap;
866 gint num_colors; /* available no. of colors in colormap */
867 gint max_colors; /* maximum no. of colors */
868 gint num_allocated; /* no. of allocated colors */
870 GdkColorContextMode mode;
871 gint need_to_free_colormap;
872 GdkAtom std_cmap_atom;
874 gulong *clut; /* color look-up table */
875 GdkColor *cmap; /* colormap */
877 GHashTable *color_hash; /* hash table of allocated colors */
878 GdkColor *palette; /* preallocated palette */
879 gint num_palette; /* size of palette */
881 GdkColorContextDither *fast_dither; /* fast dither matrix */
910 /* Types for XInput support */
915 GdkModifierType modifiers;
918 struct _GdkDeviceInfo
922 GdkInputSource source;
924 gint has_cursor; /* TRUE if the X pointer follows device motion */
926 GdkAxisUse *axes; /* Specifies use for each axis */
941 /* Event filtering */
943 typedef void GdkXEvent; /* Can be cast to XEvent */
945 typedef GdkFilterReturn (*GdkFilterFunc) (GdkXEvent *xevent,
956 struct _GdkEventExpose
962 gint count; /* If non-zero, how many more events follow. */
965 struct _GdkEventNoExpose
970 /* XXX: does anyone need the X major_code or minor_code fields? */
973 struct _GdkEventVisibility
978 GdkVisibilityState state;
981 struct _GdkEventMotion
994 GdkInputSource source;
996 gdouble x_root, y_root;
999 struct _GdkEventButton
1012 GdkInputSource source;
1014 gdouble x_root, y_root;
1029 struct _GdkEventCrossing
1034 GdkWindow *subwindow;
1040 GdkCrossingMode mode;
1041 GdkNotifyType detail;
1046 struct _GdkEventFocus
1054 struct _GdkEventConfigure
1064 struct _GdkEventProperty
1074 struct _GdkEventSelection
1086 /* This event type will be used pretty rarely. It only is important
1087 for XInput aware programs that are drawing their own cursor */
1089 struct _GdkEventProximity
1095 GdkInputSource source;
1099 struct _GdkEventDragRequest
1107 guint protocol_version:4;
1110 guint delete_data:1; /* Do *not* delete if link is sent, only
1117 guint8 isdrop; /* This gdk event can be generated by a couple of
1118 X events - this lets the app know whether the
1119 drop really occurred or we just set the data */
1121 GdkPoint drop_coords;
1126 struct _GdkEventDragBegin
1133 guint protocol_version:4;
1140 struct _GdkEventDropEnter
1148 guint protocol_version:4;
1150 guint extended_typelist:1;
1157 struct _GdkEventDropLeave
1165 guint protocol_version:4;
1172 struct _GdkEventDropDataAvailable
1180 guint protocol_version:4;
1186 gchar *data_type; /* MIME type */
1187 gulong data_numbytes;
1193 struct _GdkEventClient
1198 GdkAtom message_type;
1199 gushort data_format;
1207 struct _GdkEventOther
1219 GdkEventExpose expose;
1220 GdkEventNoExpose no_expose;
1221 GdkEventVisibility visibility;
1222 GdkEventMotion motion;
1223 GdkEventButton button;
1225 GdkEventCrossing crossing;
1226 GdkEventFocus focus_change;
1227 GdkEventConfigure configure;
1228 GdkEventProperty property;
1229 GdkEventSelection selection;
1230 GdkEventProximity proximity;
1231 GdkEventDragBegin dragbegin;
1232 GdkEventDragRequest dragrequest;
1233 GdkEventDropEnter dropenter;
1234 GdkEventDropLeave dropleave;
1235 GdkEventDropDataAvailable dropdataavailable;
1236 GdkEventClient client;
1237 GdkEventOther other;
1249 #endif /* __cplusplus */
1252 #endif /* __GDK_TYPES_H__ */