gdk-2.0.vapi 71.4 KB
Newer Older
1
/* gdk-2.0.vapi generated by lt-vapigen, do not modify. */
2

3
[CCode (cprefix = "Gdk", lower_case_cprefix = "gdk_")]
4
namespace Gdk {
5
	[CCode (cprefix = "GDK_AXIS_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
6 7 8 9 10 11 12 13 14
	public enum AxisUse {
		IGNORE,
		X,
		Y,
		PRESSURE,
		XTILT,
		YTILT,
		WHEEL,
		LAST,
15
	}
16
	[CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
17 18 19
	public enum ByteOrder {
		LSB_FIRST,
		MSB_FIRST,
20
	}
21
	[CCode (cprefix = "GDK_CAP_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
22 23 24 25 26
	public enum CapStyle {
		NOT_LAST,
		BUTT,
		ROUND,
		PROJECTING,
27
	}
28
	[CCode (cprefix = "GDK_COLORSPACE_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
29 30
	public enum Colorspace {
		RGB,
31
	}
32
	[CCode (cprefix = "GDK_CROSSING_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
33 34 35 36
	public enum CrossingMode {
		NORMAL,
		GRAB,
		UNGRAB,
37
	}
38
	[CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
	public enum CursorType {
		X_CURSOR,
		ARROW,
		BASED_ARROW_DOWN,
		BASED_ARROW_UP,
		BOAT,
		BOGOSITY,
		BOTTOM_LEFT_CORNER,
		BOTTOM_RIGHT_CORNER,
		BOTTOM_SIDE,
		BOTTOM_TEE,
		BOX_SPIRAL,
		CENTER_PTR,
		CIRCLE,
		CLOCK,
		COFFEE_MUG,
		CROSS,
		CROSS_REVERSE,
		CROSSHAIR,
		DIAMOND_CROSS,
		DOT,
		DOTBOX,
		DOUBLE_ARROW,
		DRAFT_LARGE,
		DRAFT_SMALL,
		DRAPED_BOX,
		EXCHANGE,
		FLEUR,
		GOBBLER,
		GUMBY,
		HAND1,
		HAND2,
		HEART,
		ICON,
		IRON_CROSS,
		LEFT_PTR,
		LEFT_SIDE,
		LEFT_TEE,
		LEFTBUTTON,
		LL_ANGLE,
		LR_ANGLE,
		MAN,
		MIDDLEBUTTON,
		MOUSE,
		PENCIL,
		PIRATE,
		PLUS,
		QUESTION_ARROW,
		RIGHT_PTR,
		RIGHT_SIDE,
		RIGHT_TEE,
		RIGHTBUTTON,
		RTL_LOGO,
		SAILBOAT,
		SB_DOWN_ARROW,
		SB_H_DOUBLE_ARROW,
		SB_LEFT_ARROW,
		SB_RIGHT_ARROW,
		SB_UP_ARROW,
		SB_V_DOUBLE_ARROW,
		SHUTTLE,
		SIZING,
		SPIDER,
		SPRAYCAN,
		STAR,
		TARGET,
		TCROSS,
		TOP_LEFT_ARROW,
		TOP_LEFT_CORNER,
		TOP_RIGHT_CORNER,
		TOP_SIDE,
		TOP_TEE,
		TREK,
		UL_ANGLE,
		UMBRELLA,
		UR_ANGLE,
		WATCH,
		XTERM,
		LAST_CURSOR,
		CURSOR_IS_PIXMAP,
	}
120
	[CCode (cprefix = "GDK_DRAG_PROTO_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
121 122 123 124 125 126 127 128 129
	public enum DragProtocol {
		MOTIF,
		XDND,
		ROOTWIN,
		NONE,
		WIN32_DROPFILES,
		OLE2,
		LOCAL,
	}
130
	[CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169
	public enum EventType {
		NOTHING,
		DELETE,
		DESTROY,
		EXPOSE,
		MOTION_NOTIFY,
		BUTTON_PRESS,
		2BUTTON_PRESS,
		3BUTTON_PRESS,
		BUTTON_RELEASE,
		KEY_PRESS,
		KEY_RELEASE,
		ENTER_NOTIFY,
		LEAVE_NOTIFY,
		FOCUS_CHANGE,
		CONFIGURE,
		MAP,
		UNMAP,
		PROPERTY_NOTIFY,
		SELECTION_CLEAR,
		SELECTION_REQUEST,
		SELECTION_NOTIFY,
		PROXIMITY_IN,
		PROXIMITY_OUT,
		DRAG_ENTER,
		DRAG_LEAVE,
		DRAG_MOTION,
		DRAG_STATUS,
		DROP_START,
		DROP_FINISHED,
		CLIENT_EVENT,
		VISIBILITY_NOTIFY,
		NO_EXPOSE,
		SCROLL,
		WINDOW_STATE,
		SETTING,
		OWNER_CHANGE,
		GRAB_BROKEN,
	}
170
	[CCode (cprefix = "GDK_EXTENSION_EVENTS_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
171 172 173 174 175
	public enum ExtensionMode {
		NONE,
		ALL,
		CURSOR,
	}
176
	[CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
177 178 179 180 181 182
	public enum Fill {
		SOLID,
		TILED,
		STIPPLED,
		OPAQUE_STIPPLED,
	}
183
	[CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
184 185 186 187
	public enum FillRule {
		EVEN_ODD_RULE,
		WINDING_RULE,
	}
188
	[CCode (cprefix = "GDK_FILTER_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
189 190 191 192 193
	public enum FilterReturn {
		CONTINUE,
		TRANSLATE,
		REMOVE,
	}
194
	[CCode (cprefix = "GDK_FONT_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
195 196 197 198
	public enum FontType {
		FONT,
		FONTSET,
	}
199
	[CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217
	public enum Function {
		COPY,
		INVERT,
		XOR,
		CLEAR,
		AND,
		AND_REVERSE,
		AND_INVERT,
		NOOP,
		OR,
		EQUIV,
		OR_REVERSE,
		COPY_INVERT,
		OR_INVERT,
		NAND,
		NOR,
		SET,
	}
218
	[CCode (cprefix = "GDK_GRAB_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
219 220 221 222 223 224 225
	public enum GrabStatus {
		SUCCESS,
		ALREADY_GRABBED,
		INVALID_TIME,
		NOT_VIEWABLE,
		FROZEN,
	}
226
	[CCode (cprefix = "GDK_GRAVITY_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
227 228 229 230 231 232 233 234 235 236 237 238
	public enum Gravity {
		NORTH_WEST,
		NORTH,
		NORTH_EAST,
		WEST,
		CENTER,
		EAST,
		SOUTH_WEST,
		SOUTH,
		SOUTH_EAST,
		STATIC,
	}
239
	[CCode (cprefix = "GDK_IMAGE_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
240 241 242 243 244
	public enum ImageType {
		NORMAL,
		SHARED,
		FASTEST,
	}
245
	[CCode (cprefix = "GDK_MODE_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
246 247 248 249 250
	public enum InputMode {
		DISABLED,
		SCREEN,
		WINDOW,
	}
251
	[CCode (cprefix = "GDK_SOURCE_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
252 253 254 255 256 257
	public enum InputSource {
		MOUSE,
		PEN,
		ERASER,
		CURSOR,
	}
258
	[CCode (cprefix = "GDK_INTERP_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
259 260 261 262 263 264
	public enum InterpType {
		NEAREST,
		TILES,
		BILINEAR,
		HYPER,
	}
265
	[CCode (cprefix = "GDK_JOIN_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
266 267 268 269 270
	public enum JoinStyle {
		MITER,
		ROUND,
		BEVEL,
	}
271
	[CCode (cprefix = "GDK_LINE_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
272 273 274 275 276
	public enum LineStyle {
		SOLID,
		ON_OFF_DASH,
		DOUBLE_DASH,
	}
277
	[CCode (cprefix = "GDK_NOTIFY_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
278 279 280 281 282 283 284 285
	public enum NotifyType {
		ANCESTOR,
		VIRTUAL,
		INFERIOR,
		NONLINEAR,
		NONLINEAR_VIRTUAL,
		UNKNOWN,
	}
286
	[CCode (cprefix = "GDK_OVERLAP_RECTANGLE_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
287 288 289 290 291
	public enum OverlapType {
		IN,
		OUT,
		PART,
	}
292
	[CCode (cprefix = "GDK_OWNER_CHANGE_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
293 294 295 296 297
	public enum OwnerChange {
		NEW_OWNER,
		DESTROY,
		CLOSE,
	}
298
	[CCode (cprefix = "GDK_PIXBUF_ALPHA_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
299 300 301 302
	public enum PixbufAlphaMode {
		BILEVEL,
		FULL,
	}
303
	[CCode (cprefix = "GDK_PIXBUF_ERROR_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
304 305 306 307 308 309 310 311
	public enum PixbufError {
		CORRUPT_IMAGE,
		INSUFFICIENT_MEMORY,
		BAD_OPTION,
		UNKNOWN_TYPE,
		UNSUPPORTED_OPERATION,
		FAILED,
	}
312
	[CCode (cprefix = "GDK_PIXBUF_ROTATE_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
313 314 315 316 317 318
	public enum PixbufRotation {
		NONE,
		COUNTERCLOCKWISE,
		UPSIDEDOWN,
		CLOCKWISE,
	}
319
	[CCode (cprefix = "GDK_PIXDATA_DUMP_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
320 321 322 323 324 325 326 327 328 329
	public enum PixdataDumpType {
		PIXDATA_STREAM,
		PIXDATA_STRUCT,
		MACROS,
		GTYPES,
		CTYPES,
		STATIC,
		CONST,
		RLE_DECODER,
	}
330
	[CCode (cprefix = "GDK_PIXDATA_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
331 332 333 334 335 336 337 338 339
	public enum PixdataType {
		COLOR_TYPE_RGB,
		COLOR_TYPE_RGBA,
		COLOR_TYPE_MASK,
		SAMPLE_WIDTH_8,
		SAMPLE_WIDTH_MASK,
		ENCODING_RAW,
		ENCODING_RLE,
		ENCODING_MASK,
340
	}
341
	[CCode (cprefix = "GDK_PROP_MODE_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
342 343 344 345
	public enum PropMode {
		REPLACE,
		PREPEND,
		APPEND,
346
	}
347
	[CCode (cprefix = "GDK_PROPERTY_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
348 349 350
	public enum PropertyState {
		NEW_VALUE,
		DELETE,
351
	}
352
	[CCode (cprefix = "GDK_RGB_DITHER_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
353 354 355 356
	public enum RgbDither {
		NONE,
		NORMAL,
		MAX,
357
	}
358
	[CCode (cprefix = "GDK_SCROLL_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
359 360 361 362 363
	public enum ScrollDirection {
		UP,
		DOWN,
		LEFT,
		RIGHT,
364
	}
365
	[CCode (cprefix = "GDK_SETTING_ACTION_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
366 367 368 369 370
	public enum SettingAction {
		NEW,
		CHANGED,
		DELETED,
	}
371
	[CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
372 373 374 375 376 377 378
	public enum Status {
		OK,
		ERROR,
		ERROR_PARAM,
		ERROR_FILE,
		ERROR_MEM,
	}
379
	[CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
380 381 382 383
	public enum SubwindowMode {
		CLIP_BY_CHILDREN,
		INCLUDE_INFERIORS,
	}
384
	[CCode (cprefix = "GDK_VISIBILITY_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
385 386 387 388 389
	public enum VisibilityState {
		UNOBSCURED,
		PARTIAL,
		FULLY_OBSCURED,
	}
390
	[CCode (cprefix = "GDK_VISUAL_", cheader_filename = "gdk/gdk.h")]
Jürg Billeter's avatar
Jürg Billeter committed
391 392 393 394 395 396 397 398
	public enum VisualType {
		STATIC_GRAY,
		GRAYSCALE,
		STATIC_COLOR,
		PSEUDO_COLOR,
		TRUE_COLOR,
		DIRECT_COLOR,
	}
399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527
	[CCode (cprefix = "GDK_INPUT_", cheader_filename = "gdk/gdk.h")]
	public enum WindowClass {
		OUTPUT,
		ONLY,
	}
	[CCode (cprefix = "GDK_WINDOW_EDGE_", cheader_filename = "gdk/gdk.h")]
	public enum WindowEdge {
		NORTH_WEST,
		NORTH,
		NORTH_EAST,
		WEST,
		EAST,
		SOUTH_WEST,
		SOUTH,
		SOUTH_EAST,
	}
	[CCode (cprefix = "GDK_WINDOW_", cheader_filename = "gdk/gdk.h")]
	public enum WindowType {
		ROOT,
		TOPLEVEL,
		CHILD,
		DIALOG,
		TEMP,
		FOREIGN,
	}
	[CCode (cprefix = "GDK_WINDOW_TYPE_HINT_", cheader_filename = "gdk/gdk.h")]
	public enum WindowTypeHint {
		NORMAL,
		DIALOG,
		MENU,
		TOOLBAR,
		SPLASHSCREEN,
		UTILITY,
		DOCK,
		DESKTOP,
		DROPDOWN_MENU,
		POPUP_MENU,
		TOOLTIP,
		NOTIFICATION,
		COMBO,
		DND,
	}
	[CCode (cprefix = "GDK_ACTION_", cheader_filename = "gdk/gdk.h")]
	[Flags]
	public enum DragAction {
		DEFAULT,
		COPY,
		MOVE,
		LINK,
		PRIVATE,
		ASK,
	}
	[CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
	[Flags]
	public enum EventMask {
		EXPOSURE_MASK,
		POINTER_MOTION_MASK,
		POINTER_MOTION_HINT_MASK,
		BUTTON_MOTION_MASK,
		BUTTON1_MOTION_MASK,
		BUTTON2_MOTION_MASK,
		BUTTON3_MOTION_MASK,
		BUTTON_PRESS_MASK,
		BUTTON_RELEASE_MASK,
		KEY_PRESS_MASK,
		KEY_RELEASE_MASK,
		ENTER_NOTIFY_MASK,
		LEAVE_NOTIFY_MASK,
		FOCUS_CHANGE_MASK,
		STRUCTURE_MASK,
		PROPERTY_CHANGE_MASK,
		VISIBILITY_NOTIFY_MASK,
		PROXIMITY_IN_MASK,
		PROXIMITY_OUT_MASK,
		SUBSTRUCTURE_MASK,
		SCROLL_MASK,
		ALL_EVENTS_MASK,
	}
	[CCode (cprefix = "GDK_GC_", cheader_filename = "gdk/gdk.h")]
	[Flags]
	public enum GCValuesMask {
		FOREGROUND,
		BACKGROUND,
		FONT,
		FUNCTION,
		FILL,
		TILE,
		STIPPLE,
		CLIP_MASK,
		SUBWINDOW,
		TS_X_ORIGIN,
		TS_Y_ORIGIN,
		CLIP_X_ORIGIN,
		CLIP_Y_ORIGIN,
		EXPOSURES,
		LINE_WIDTH,
		LINE_STYLE,
		CAP_STYLE,
		JOIN_STYLE,
	}
	[CCode (cprefix = "GDK_INPUT_", cheader_filename = "gdk/gdk.h")]
	[Flags]
	public enum InputCondition {
		READ,
		WRITE,
		EXCEPTION,
	}
	[CCode (cprefix = "GDK_", cheader_filename = "gdk/gdk.h")]
	[Flags]
	public enum ModifierType {
		SHIFT_MASK,
		LOCK_MASK,
		CONTROL_MASK,
		MOD1_MASK,
		MOD2_MASK,
		MOD3_MASK,
		MOD4_MASK,
		MOD5_MASK,
		BUTTON1_MASK,
		BUTTON2_MASK,
		BUTTON3_MASK,
		BUTTON4_MASK,
		BUTTON5_MASK,
		SUPER_MASK,
		HYPER_MASK,
		META_MASK,
		RELEASE_MASK,
		MODIFIER_MASK,
	}
528
	[CCode (cprefix = "GDK_DECOR_", cheader_filename = "gdk/gdk.h")]
529
	[Flags]
Jürg Billeter's avatar
Jürg Billeter committed
530 531 532 533 534 535 536 537 538
	public enum WMDecoration {
		ALL,
		BORDER,
		RESIZEH,
		TITLE,
		MENU,
		MINIMIZE,
		MAXIMIZE,
	}
539
	[CCode (cprefix = "GDK_FUNC_", cheader_filename = "gdk/gdk.h")]
540
	[Flags]
Jürg Billeter's avatar
Jürg Billeter committed
541 542 543 544 545 546 547
	public enum WMFunction {
		ALL,
		RESIZE,
		MOVE,
		MINIMIZE,
		MAXIMIZE,
		CLOSE,
548
	}
549
	[CCode (cprefix = "GDK_WA_", cheader_filename = "gdk/gdk.h")]
550
	[Flags]
Jürg Billeter's avatar
Jürg Billeter committed
551 552 553 554 555 556 557 558 559
	public enum WindowAttributesType {
		TITLE,
		X,
		Y,
		CURSOR,
		COLORMAP,
		VISUAL,
		WMCLASS,
		NOREDIR,
560
		TYPE_HINT,
561
	}
562
	[CCode (cprefix = "GDK_HINT_", cheader_filename = "gdk/gdk.h")]
563
	[Flags]
Jürg Billeter's avatar
Jürg Billeter committed
564 565 566 567 568 569 570 571 572 573
	public enum WindowHints {
		POS,
		MIN_SIZE,
		MAX_SIZE,
		BASE_SIZE,
		ASPECT,
		RESIZE_INC,
		WIN_GRAVITY,
		USER_POS,
		USER_SIZE,
574
	}
575
	[CCode (cprefix = "GDK_WINDOW_STATE_", cheader_filename = "gdk/gdk.h")]
576
	[Flags]
Jürg Billeter's avatar
Jürg Billeter committed
577 578 579 580 581 582 583 584
	public enum WindowState {
		WITHDRAWN,
		ICONIFIED,
		MAXIMIZED,
		STICKY,
		FULLSCREEN,
		ABOVE,
		BELOW,
585
	}
586 587 588 589
	[CCode (cheader_filename = "gdk/gdk.h")]
	public class Bitmap {
		public weak GLib.Object parent_instance;
		public static weak Gdk.Bitmap create_from_data (Gdk.Drawable drawable, string data, int width, int height);
590
	}
591 592 593 594 595
	[CCode (cheader_filename = "gdk/gdk.h")]
	public class DeviceAxis {
		public Gdk.AxisUse use;
		public double min;
		public double max;
596
	}
Jürg Billeter's avatar
Jürg Billeter committed
597
	[CCode (cheader_filename = "gdk/gdk.h")]
598
	public class DeviceClass {
599
	}
600
	[CCode (cheader_filename = "gdk/gdk.h")]
601
	public class DeviceKey {
602 603
		public uint keyval;
		public Gdk.ModifierType modifiers;
604
	}
605
	[CCode (cheader_filename = "gdk/gdk.h")]
606
	public class DisplayPointerHooks {
607 608 609
		public GLib.Callback get_pointer;
		public GLib.Callback window_get_pointer;
		public GLib.Callback window_at_pointer;
610
	}
611
	[CCode (cheader_filename = "gdk/gdk.h")]
612
	public class EventAny {
613
		public Gdk.EventType type;
Jürg Billeter's avatar
Jürg Billeter committed
614
		public weak Gdk.Window window;
615
		public char send_event;
616
	}
617
	[CCode (cheader_filename = "gdk/gdk.h")]
618
	public class EventButton {
619
		public Gdk.EventType type;
Jürg Billeter's avatar
Jürg Billeter committed
620
		public weak Gdk.Window window;
621 622 623 624 625 626 627
		public char send_event;
		public uint time;
		public double x;
		public double y;
		public double axes;
		public uint state;
		public uint button;
Jürg Billeter's avatar
Jürg Billeter committed
628
		public weak Gdk.Device device;
629 630
		public double x_root;
		public double y_root;
631
	}
632
	[CCode (cheader_filename = "gdk/gdk.h")]
633
	public class EventClient {
634
		public Gdk.EventType type;
Jürg Billeter's avatar
Jürg Billeter committed
635
		public weak Gdk.Window window;
636 637 638
		public char send_event;
		public Gdk.Atom message_type;
		public ushort data_format;
639
		public pointer data;
640
	}
641
	[CCode (cheader_filename = "gdk/gdk.h")]
642
	public class EventConfigure {
643
		public Gdk.EventType type;
Jürg Billeter's avatar
Jürg Billeter committed
644
		public weak Gdk.Window window;
645 646 647 648 649
		public char send_event;
		public int x;
		public int y;
		public int width;
		public int height;
Jürg Billeter's avatar
Jürg Billeter committed
650
	}
651
	[CCode (cheader_filename = "gdk/gdk.h")]
652
	public class EventCrossing {
653
		public Gdk.EventType type;
Jürg Billeter's avatar
Jürg Billeter committed
654
		public weak Gdk.Window window;
655
		public char send_event;
Jürg Billeter's avatar
Jürg Billeter committed
656
		public weak Gdk.Window subwindow;
657 658 659 660 661 662 663 664 665
		public uint time;
		public double x;
		public double y;
		public double x_root;
		public double y_root;
		public Gdk.CrossingMode mode;
		public Gdk.NotifyType detail;
		public bool focus;
		public uint state;
Jürg Billeter's avatar
Jürg Billeter committed
666
	}
667
	[CCode (cheader_filename = "gdk/gdk.h")]
668
	public class EventDND {
669
		public Gdk.EventType type;
Jürg Billeter's avatar
Jürg Billeter committed
670
		public weak Gdk.Window window;
671
		public char send_event;
Jürg Billeter's avatar
Jürg Billeter committed
672
		public weak Gdk.DragContext context;
673 674 675
		public uint time;
		public short x_root;
		public short y_root;
Jürg Billeter's avatar
Jürg Billeter committed
676
	}
677
	[CCode (cheader_filename = "gdk/gdk.h")]
678
	public class EventExpose {
679
		public Gdk.EventType type;
Jürg Billeter's avatar
Jürg Billeter committed
680
		public weak Gdk.Window window;
681 682
		public char send_event;
		public Gdk.Rectangle area;
Jürg Billeter's avatar
Jürg Billeter committed
683
		public weak Gdk.Region region;
684
		public int count;
Jürg Billeter's avatar
Jürg Billeter committed
685
	}
686
	[CCode (cheader_filename = "gdk/gdk.h")]
687
	public class EventFocus {
688
		public Gdk.EventType type;
Jürg Billeter's avatar
Jürg Billeter committed
689
		public weak Gdk.Window window;
690 691
		public char send_event;
		public short @in;
Jürg Billeter's avatar
Jürg Billeter committed
692
	}
693
	[CCode (cheader_filename = "gdk/gdk.h")]
694
	public class EventGrabBroken {
695
		public Gdk.EventType type;
Jürg Billeter's avatar
Jürg Billeter committed
696
		public weak Gdk.Window window;
697 698 699
		public char send_event;
		public bool keyboard;
		public bool implicit;
Jürg Billeter's avatar
Jürg Billeter committed
700 701
		public weak Gdk.Window grab_window;
	}
702
	[CCode (cheader_filename = "gdk/gdk.h")]
703
	public class EventKey {
704
		public Gdk.EventType type;
Jürg Billeter's avatar
Jürg Billeter committed
705
		public weak Gdk.Window window;
706 707 708 709 710
		public char send_event;
		public uint time;
		public uint state;
		public uint keyval;
		public int length;
Jürg Billeter's avatar
Jürg Billeter committed
711
		public weak string string;
712 713 714
		public ushort hardware_keycode;
		public uchar group;
		public uint is_modifier;
Jürg Billeter's avatar
Jürg Billeter committed
715
	}
716
	[CCode (cheader_filename = "gdk/gdk.h")]
717
	public class EventMotion {
718
		public Gdk.EventType type;
Jürg Billeter's avatar
Jürg Billeter committed
719
		public weak Gdk.Window window;
720 721 722 723 724 725 726
		public char send_event;
		public uint time;
		public double x;
		public double y;
		public double axes;
		public uint state;
		public short is_hint;
Jürg Billeter's avatar
Jürg Billeter committed
727
		public weak Gdk.Device device;
728 729
		public double x_root;
		public double y_root;
Jürg Billeter's avatar
Jürg Billeter committed
730
	}
731
	[CCode (cheader_filename = "gdk/gdk.h")]
732
	public class EventNoExpose {
733
		public Gdk.EventType type;
Jürg Billeter's avatar
Jürg Billeter committed
734
		public weak Gdk.Window window;
735
		public char send_event;
Jürg Billeter's avatar
Jürg Billeter committed
736
	}
737
	[CCode (cheader_filename = "gdk/gdk.h")]
738
	public class EventOwnerChange {
739
		public Gdk.EventType type;
Jürg Billeter's avatar
Jürg Billeter committed
740
		public weak Gdk.Window window;
741 742 743 744 745 746
		public char send_event;
		public pointer owner;
		public Gdk.OwnerChange reason;
		public Gdk.Atom selection;
		public uint time;
		public uint selection_time;
Jürg Billeter's avatar
Jürg Billeter committed
747
	}
748
	[CCode (cheader_filename = "gdk/gdk.h")]
749
	public class EventProperty {
750
		public Gdk.EventType type;
Jürg Billeter's avatar
Jürg Billeter committed
751
		public weak Gdk.Window window;
752 753 754 755
		public char send_event;
		public Gdk.Atom atom;
		public uint time;
		public uint state;
Jürg Billeter's avatar
Jürg Billeter committed
756
	}
757
	[CCode (cheader_filename = "gdk/gdk.h")]
758
	public class EventProximity {
759
		public Gdk.EventType type;
Jürg Billeter's avatar
Jürg Billeter committed
760
		public weak Gdk.Window window;
761 762
		public char send_event;
		public uint time;
Jürg Billeter's avatar
Jürg Billeter committed
763 764
		public weak Gdk.Device device;
	}
765
	[CCode (cheader_filename = "gdk/gdk.h")]
766
	public class EventScroll {
767
		public Gdk.EventType type;
Jürg Billeter's avatar
Jürg Billeter committed
768
		public weak Gdk.Window window;
769 770 771 772 773 774
		public char send_event;
		public uint time;
		public double x;
		public double y;
		public uint state;
		public Gdk.ScrollDirection direction;
Jürg Billeter's avatar
Jürg Billeter committed
775
		public weak Gdk.Device device;
776 777
		public double x_root;
		public double y_root;
778
	}
779
	[CCode (cheader_filename = "gdk/gdk.h")]
780
	public class EventSelection {
781
		public Gdk.EventType type;
Jürg Billeter's avatar
Jürg Billeter committed
782
		public weak Gdk.Window window;
783 784 785 786 787 788
		public char send_event;
		public Gdk.Atom selection;
		public Gdk.Atom target;
		public Gdk.Atom property;
		public uint time;
		public pointer requestor;
789
	}
790
	[CCode (cheader_filename = "gdk/gdk.h")]
791
	public class EventSetting {
792
		public Gdk.EventType type;
Jürg Billeter's avatar
Jürg Billeter committed
793
		public weak Gdk.Window window;
794 795
		public char send_event;
		public Gdk.SettingAction action;
Jürg Billeter's avatar
Jürg Billeter committed
796
		public weak string name;
797
	}
798
	[CCode (cheader_filename = "gdk/gdk.h")]
799
	public class EventVisibility {
800
		public Gdk.EventType type;
Jürg Billeter's avatar
Jürg Billeter committed
801
		public weak Gdk.Window window;
802 803
		public char send_event;
		public Gdk.VisibilityState state;
804
	}
805
	[CCode (cheader_filename = "gdk/gdk.h")]
806
	public class EventWindowState {
807
		public Gdk.EventType type;
Jürg Billeter's avatar
Jürg Billeter committed
808
		public weak Gdk.Window window;
809 810 811
		public char send_event;
		public Gdk.WindowState changed_mask;
		public Gdk.WindowState new_window_state;
812
	}
813
	[CCode (cheader_filename = "gdk/gdk.h")]
814
	public class GCValues {
815 816
		public Gdk.Color foreground;
		public Gdk.Color background;
817
		public weak Gdk.Font font;
818 819
		public Gdk.Function function;
		public Gdk.Fill fill;
Jürg Billeter's avatar
Jürg Billeter committed
820 821 822
		public weak Gdk.Pixmap tile;
		public weak Gdk.Pixmap stipple;
		public weak Gdk.Pixmap clip_mask;
823 824 825 826 827 828 829 830 831 832
		public Gdk.SubwindowMode subwindow_mode;
		public int ts_x_origin;
		public int ts_y_origin;
		public int clip_x_origin;
		public int clip_y_origin;
		public int graphics_exposures;
		public int line_width;
		public Gdk.LineStyle line_style;
		public Gdk.CapStyle cap_style;
		public Gdk.JoinStyle join_style;
833
	}
834
	[CCode (cheader_filename = "gdk/gdk.h")]
835
	public class Geometry {
836 837 838 839 840 841 842 843 844 845 846
		public int min_width;
		public int min_height;
		public int max_width;
		public int max_height;
		public int base_width;
		public int base_height;
		public int width_inc;
		public int height_inc;
		public double min_aspect;
		public double max_aspect;
		public Gdk.Gravity win_gravity;
847
	}
848
	[CCode (cheader_filename = "gdk/gdk.h")]
849
	public class KeymapKey {
850 851 852
		public uint keycode;
		public int group;
		public int level;
853
	}
854
	[CCode (cheader_filename = "gdk/gdk.h")]
855 856 857
	public class NativeWindow {
	}
	[CCode (cheader_filename = "gdk/gdk.h")]
858
	public class PangoAttrEmbossColor {
859 860
		public weak Pango.Attribute attr;
		public Pango.Color color;
861
		public PangoAttrEmbossColor (out Gdk.Color color);
862
	}
863
	[CCode (cheader_filename = "gdk/gdk.h")]
864
	public class PangoAttrEmbossed {
Jürg Billeter's avatar
Jürg Billeter committed
865
		public weak Pango.Attribute attr;
866
		public bool embossed;
867
		public PangoAttrEmbossed (bool embossed);
868
	}
869
	[CCode (cheader_filename = "gdk/gdk.h")]
870
	public class PangoAttrStipple {
Jürg Billeter's avatar
Jürg Billeter committed
871 872
		public weak Pango.Attribute attr;
		public weak Gdk.Bitmap stipple;
873
		public PangoAttrStipple (Gdk.Bitmap stipple);
874
	}
875
	[CCode (cheader_filename = "gdk/gdk.h")]
876
	public class PixbufFormat {
877 878 879 880 881
		public weak string get_description ();
		public weak string get_extensions ();
		public weak string get_license ();
		public weak string get_mime_types ();
		public weak string get_name ();
Jürg Billeter's avatar
Jürg Billeter committed
882 883 884 885
		public bool is_disabled ();
		public bool is_scalable ();
		public bool is_writable ();
		public void set_disabled (bool disabled);
886
	}
887
	[CCode (cheader_filename = "gdk/gdk.h")]
888
	public class PixbufSimpleAnimClass {
889
	}
890
	[CCode (cheader_filename = "gdk/gdk.h")]
891
	public class Pixdata {
892 893 894 895 896 897 898
		public uint magic;
		public int length;
		public uint pixdata_type;
		public uint rowstride;
		public uint width;
		public uint height;
		public uchar pixel_data;
899
		public bool deserialize (uint stream_length, uchar stream) throws GLib.Error;
Jürg Billeter's avatar
Jürg Billeter committed
900 901
		public pointer from_pixbuf (Gdk.Pixbuf pixbuf, bool use_rle);
		public uchar serialize (uint stream_length_p);
902
		public weak GLib.String to_csource (string name, Gdk.PixdataDumpType dump_type);
903
	}
904
	[CCode (cheader_filename = "gdk/gdk.h")]
905
	public class PixmapObject {
Jürg Billeter's avatar
Jürg Billeter committed
906 907
		public weak Gdk.Drawable parent_instance;
		public weak Gdk.Drawable impl;
908
		public int depth;
909
	}
910
	[CCode (cheader_filename = "gdk/gdk.h")]
911 912 913 914
	public class PixmapObjectClass {
		public pointer parent_class;
	}
	[CCode (cheader_filename = "gdk/gdk.h")]
915
	public class Point {
916 917
		public int x;
		public int y;
918
	}
919
	[CCode (cheader_filename = "gdk/gdk.h")]
920
	public class PointerHooks {
921 922
		public GLib.Callback get_pointer;
		public GLib.Callback window_at_pointer;
923
	}
924
	[CCode (copy_function = "gdk_region_copy", free_function = "gdk_region_destroy", cheader_filename = "gdk/gdk.h")]
925
	public class Region {
926
		public weak Gdk.Region copy ();
Jürg Billeter's avatar
Jürg Billeter committed
927 928
		public bool empty ();
		public bool equal (Gdk.Region region2);
929
		public void get_clipbox (out Gdk.Rectangle rectangle);
930 931
		[NoArrayLength]
		public void get_rectangles (Gdk.Rectangle[] rectangles, int n_rectangles);
Jürg Billeter's avatar
Jürg Billeter committed
932
		public void intersect (Gdk.Region source2);
933
		public Region ();
Jürg Billeter's avatar
Jürg Billeter committed
934 935
		public void offset (int dx, int dy);
		public bool point_in (int x, int y);
936
		public static weak Gdk.Region polygon (Gdk.Point points, int npoints, Gdk.FillRule fill_rule);
937 938
		public Gdk.OverlapType rect_in (out Gdk.Rectangle rectangle);
		public static weak Gdk.Region rectangle (out Gdk.Rectangle rectangle);
Jürg Billeter's avatar
Jürg Billeter committed
939
		public void shrink (int dx, int dy);
940 941
		[NoArrayLength]
		public void spans_intersect_foreach (Gdk.Span[] spans, int n_spans, bool sorted, Gdk.SpanFunc function, pointer data);
Jürg Billeter's avatar
Jürg Billeter committed
942 943
		public void subtract (Gdk.Region source2);
		public void union (Gdk.Region source2);
944
		public void union_with_rect (out Gdk.Rectangle rect);
Jürg Billeter's avatar
Jürg Billeter committed
945
		public void xor (Gdk.Region source2);
946
	}
947
	[CCode (cheader_filename = "gdk/gdk.h")]
948
	public class RgbCmap {
949
		public weak uint[] colors;
950
		public int n_colors;
951
		public weak GLib.SList info_list;
952 953
		[NoArrayLength]
		public RgbCmap (uint[] colors, int n_colors);
954
	}
955
	[CCode (cheader_filename = "gdk/gdk.h")]
956
	public class Segment {
957 958 959 960
		public int x1;
		public int y1;
		public int x2;
		public int y2;
Jürg Billeter's avatar
Jürg Billeter committed
961
	}
962
	[CCode (cheader_filename = "gdk/gdk.h")]
963 964 965 966 967 968 969 970 971 972 973 974 975 976 977
	public class Selection {
		public static void convert (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, uint time_);
		public static weak Gdk.Window owner_get (Gdk.Atom selection);
		public static weak Gdk.Window owner_get_for_display (Gdk.Display display, Gdk.Atom selection);
		public static bool owner_set (Gdk.Window owner, Gdk.Atom selection, uint time_, bool send_event);
		public static bool owner_set_for_display (Gdk.Display display, Gdk.Window owner, Gdk.Atom selection, uint time_, bool send_event);
		[NoArrayLength]
		public static bool property_get (Gdk.Window requestor, uchar[] data, out Gdk.Atom prop_type, int prop_format);
		public static void send_notify (uint requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint time_);
		public static void send_notify_for_display (Gdk.Display display, uint requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint time_);
	}
	[CCode (cheader_filename = "gdk/gdk.h")]
	public class SelectionType {
	}
	[CCode (cheader_filename = "gdk/gdk.h")]
978
	public class Span {
979 980 981
		public int x;
		public int y;
		public int width;
982
	}
983
	[CCode (cheader_filename = "gdk/gdk.h")]
984 985 986
	public class Target {
	}
	[CCode (cheader_filename = "gdk/gdk.h")]
987
	public class TimeCoord {
988
		public uint time;
989
		public weak double[] axes;
990
	}
991
	[CCode (cheader_filename = "gdk/gdk.h")]
992
	public class Trapezoid {
993 994 995 996 997 998
		public double y1;
		public double x11;
		public double x21;
		public double y2;
		public double x12;
		public double x22;
999
	}
1000
	[CCode (cheader_filename = "gdk/gdk.h")]
1001 1002 1003 1004 1005 1006
	public class VisualClass {
	}
	[CCode (cheader_filename = "gdk/gdk.h")]
	public class WChar {
	}
	[CCode (cheader_filename = "gdk/gdk.h")]
1007
	public class WindowObject {
Jürg Billeter's avatar
Jürg Billeter committed
1008 1009 1010
		public weak Gdk.Drawable parent_instance;
		public weak Gdk.Drawable impl;
		public weak Gdk.WindowObject parent;
1011 1012 1013 1014
		public pointer user_data;
		public int x;
		public int y;
		public int extension_events;
Jürg Billeter's avatar
Jürg Billeter committed
1015 1016
		public weak GLib.List filters;
		public weak GLib.List children;
1017
		public Gdk.Color bg_color;
Jürg Billeter's avatar
Jürg Billeter committed
1018 1019 1020
		public weak Gdk.Pixmap bg_pixmap;
		public weak GLib.SList paint_stack;
		public weak Gdk.Region update_area;
1021 1022 1023 1024 1025 1026 1027 1028
		public uint update_freeze_count;
		public uchar window_type;
		public uchar depth;
		public uchar resize_count;
		public Gdk.WindowState state;
		public uint guffaw_gravity;
		public uint input_only;
		public uint modal_hint;
1029
		public uint composited;
1030 1031 1032 1033 1034
		public uint destroyed;
		public uint accept_focus;
		public uint focus_on_map;
		public uint shaped;
		public Gdk.EventMask event_mask;
1035
		public uint update_and_descendants_freeze_count;
1036
	}
1037
	[CCode (cheader_filename = "gdk/gdk.h")]
1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109
	public class WindowObjectClass {
		public pointer parent_class;
	}
	[CCode (cheader_filename = "gdk/gdk.h")]
	public class XEvent {
	}
	[CCode (ref_function = "gdk_cursor_ref", unref_function = "gdk_cursor_unref", cheader_filename = "gdk/gdk.h")]
	public class Cursor : GLib.Boxed {
		public Gdk.CursorType type;
		public uint ref_count;
		public weak Gdk.Display get_display ();
		public weak Gdk.Pixbuf get_image ();
		public Cursor (Gdk.CursorType cursor_type);
		public Cursor.for_display (Gdk.Display display, Gdk.CursorType cursor_type);
		public Cursor.from_name (Gdk.Display display, string name);
		public Cursor.from_pixbuf (Gdk.Display display, Gdk.Pixbuf pixbuf, int x, int y);
		public Cursor.from_pixmap (Gdk.Pixmap source, Gdk.Pixmap mask, out Gdk.Color fg, out Gdk.Color bg, int x, int y);
	}
	[CCode (copy_function = "gdk_event_copy", cheader_filename = "gdk/gdk.h")]
	public class Event : GLib.Boxed {
		public Gdk.EventType type;
		public weak Gdk.EventAny any;
		public weak Gdk.EventExpose expose;
		public weak Gdk.EventNoExpose no_expose;
		public weak Gdk.EventVisibility visibility;
		public weak Gdk.EventMotion motion;
		public weak Gdk.EventButton button;
		public weak Gdk.EventScroll scroll;
		public weak Gdk.EventKey key;
		public weak Gdk.EventCrossing crossing;
		public weak Gdk.EventFocus focus_change;
		public weak Gdk.EventConfigure configure;
		public weak Gdk.EventProperty property;
		public weak Gdk.EventSelection selection;
		public weak Gdk.EventOwnerChange owner_change;
		public weak Gdk.EventProximity proximity;
		public weak Gdk.EventClient client;
		public weak Gdk.EventDND dnd;
		public weak Gdk.EventWindowState window_state;
		public weak Gdk.EventSetting setting;
		public weak Gdk.EventGrabBroken grab_broken;
		public weak Gdk.Event copy ();
		public static weak Gdk.Event get ();
		public bool get_axis (Gdk.AxisUse axis_use, double value);
		public bool get_coords (double x_win, double y_win);
		public static weak Gdk.Event get_graphics_expose (Gdk.Window window);
		public bool get_root_coords (double x_root, double y_root);
		public weak Gdk.Screen get_screen ();
		public bool get_state (Gdk.ModifierType state);
		public uint get_time ();
		public static void handler_set (Gdk.EventFunc func, pointer data, GLib.DestroyNotify notify);
		public Event (Gdk.EventType type);
		public static weak Gdk.Event peek ();
		public void put ();
		public static void request_motions (Gdk.EventMotion event);
		public bool send_client_message (pointer winid);
		public static bool send_client_message_for_display (Gdk.Display display, Gdk.Event event, pointer winid);
		public void send_clientmessage_toall ();
		public void set_screen (Gdk.Screen screen);
	}
	[CCode (ref_function = "gdk_font_ref", unref_function = "gdk_font_unref", cheader_filename = "gdk/gdk.h")]
	public class Font : GLib.Boxed {
		public Gdk.FontType type;
		public int ascent;
		public int descent;
		public bool equal (Gdk.Font fontb);
		public static weak Gdk.Font from_description (Pango.FontDescription font_desc);
		public static weak Gdk.Font from_description_for_display (Gdk.Display display, Pango.FontDescription font_desc);
		public weak Gdk.Display get_display ();
		public int id ();
		public static weak Gdk.Font load (string font_name);
		public static weak Gdk.Font load_for_display (Gdk.Display display, string font_name);
1110
	}
1111
	[CCode (cheader_filename = "gdk/gdk.h")]
1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128
	public class Colormap : GLib.Object {
		public int size;
		public Gdk.Color colors;
		public weak Gdk.Visual visual;
		public pointer windowing_data;
		public bool alloc_color (out Gdk.Color color, bool writeable, bool best_match);
		public int alloc_colors (out Gdk.Color colors, int ncolors, bool writeable, bool best_match, bool success);
		public void change (int ncolors);
		public void free_colors (out Gdk.Color colors, int ncolors);
		public weak Gdk.Screen get_screen ();
		public static weak Gdk.Colormap get_system ();
		public static int get_system_size ();
		public weak Gdk.Visual get_visual ();
		public Colormap (Gdk.Visual visual, bool allocate);
		public void query_color (ulong pixel, out Gdk.Color result);
		public weak Gdk.Colormap @ref ();
		public void unref ();
1129
	}
1130
	[CCode (cheader_filename = "gdk/gdk.h")]
1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150
	public class Device : GLib.Object {
		public weak string name;
		public Gdk.InputSource source;
		public Gdk.InputMode mode;
		public bool has_cursor;
		public int num_axes;
		public weak Gdk.DeviceAxis axes;
		public int num_keys;
		public weak Gdk.DeviceKey keys;
		[NoArrayLength]
		public static void free_history (Gdk.TimeCoord[] events, int n_events);
		public bool get_axis (double axes, Gdk.AxisUse use, double value);
		public static weak Gdk.Device get_core_pointer ();
		[NoArrayLength]
		public bool get_history (Gdk.Window window, uint start, uint stop, Gdk.TimeCoord[] events, int n_events);
		public void get_state (Gdk.Window window, double axes, Gdk.ModifierType mask);
		public void set_axis_use (uint index_, Gdk.AxisUse use);
		public void set_key (uint index_, uint keyval, Gdk.ModifierType modifiers);
		public bool set_mode (Gdk.InputMode mode);
		public void set_source (Gdk.InputSource source);
1151
	}
1152
	[CCode (cheader_filename = "gdk/gdk.h")]
1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204
	public class Display : GLib.Object {
		public weak GLib.List queued_events;
		public weak GLib.List queued_tail;
		public weak uint[] button_click_time;
		public weak Gdk.Window[] button_window;
		public weak int[] button_number;
		public uint double_click_time;
		public weak Gdk.Device core_pointer;
		public weak Gdk.DisplayPointerHooks pointer_hooks;
		public uint double_click_distance;
		public weak int[] button_x;
		public weak int[] button_y;
		public void add_client_message_filter (Gdk.Atom message_type, Gdk.FilterFunc func, pointer data);
		public void beep ();
		public void close ();
		public void flush ();
		public weak Gdk.Device get_core_pointer ();
		public static weak Gdk.Display get_default ();
		public uint get_default_cursor_size ();
		public weak Gdk.Window get_default_group ();
		public virtual weak Gdk.Screen get_default_screen ();
		public weak Gdk.Event get_event ();
		public void get_maximal_cursor_size (uint width, uint height);
		public virtual int get_n_screens ();
		public weak string get_name ();
		public void get_pointer (Gdk.Screen screen, int x, int y, Gdk.ModifierType mask);
		public virtual weak Gdk.Screen get_screen (int screen_num);
		public weak Gdk.Window get_window_at_pointer (int win_x, int win_y);
		public void keyboard_ungrab (uint time_);
		public weak GLib.List list_devices ();
		public static weak Gdk.Display open (string display_name);
		public static weak Gdk.Display open_default_libgtk_only ();
		public weak Gdk.Event peek_event ();
		public bool pointer_is_grabbed ();
		public void pointer_ungrab (uint time_);
		public void put_event (Gdk.Event event);
		public bool request_selection_notification (Gdk.Atom selection);
		public void set_double_click_distance (uint distance);
		public void set_double_click_time (uint msec);
		public weak Gdk.DisplayPointerHooks set_pointer_hooks (Gdk.DisplayPointerHooks new_hooks);
		[NoArrayLength]
		public void store_clipboard (Gdk.Window clipboard_window, uint time_, Gdk.Atom[] targets, int n_targets);
		public bool supports_clipboard_persistence ();
		public bool supports_composite ();
		public bool supports_cursor_alpha ();
		public bool supports_cursor_color ();
		public bool supports_input_shapes ();
		public bool supports_selection_notification ();
		public bool supports_shapes ();
		public void sync ();
		public void warp_pointer (Gdk.Screen screen, int x, int y);
		public signal void closed (bool is_error);
1205
	}
1206
	[CCode (cheader_filename = "gdk/gdk.h")]
1207 1208 1209 1210 1211 1212 1213
	public class DisplayManager : GLib.Object {
		public static weak Gdk.DisplayManager get ();
		public weak Gdk.Display get_default_display ();
		public weak GLib.SList list_displays ();
		public void set_default_display (Gdk.Display display);
		public weak Gdk.Display default_display { get; set; }
		public signal void display_opened (Gdk.Display display);
1214
	}
1215
	[CCode (cheader_filename = "gdk/gdk.h")]
1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229
	public class DragContext : GLib.Object {
		public Gdk.DragProtocol protocol;
		public bool is_source;
		public weak Gdk.Window source_window;
		public weak Gdk.Window dest_window;
		public weak GLib.List targets;
		public Gdk.DragAction actions;
		public Gdk.DragAction suggested_action;
		public Gdk.DragAction action;
		public uint start_time;
		public pointer windowing_data;
		public DragContext ();
		public void @ref ();
		public void unref ();
1230
	}
1231
	[CCode (cheader_filename = "gdk/gdk.h")]
1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247
	public class Drawable : GLib.Object {
		public weak Gdk.Image copy_to_image (Gdk.Image image, int src_x, int src_y, int dest_x, int dest_y, int width, int height);
		public virtual weak Gdk.Region get_clip_region ();
		public virtual weak Gdk.Colormap get_colormap ();
		public pointer get_data (string key);
		public virtual int get_depth ();
		public weak Gdk.Display get_display ();
		public virtual weak Gdk.Image get_image (int x, int y, int width, int height);
		public virtual weak Gdk.Screen get_screen ();
		public virtual void get_size (int width, int height);
		public virtual weak Gdk.Region get_visible_region ();
		public virtual weak Gdk.Visual get_visual ();
		public weak Gdk.Drawable @ref ();
		public virtual void set_colormap (Gdk.Colormap colormap);
		public void set_data (string key, pointer data, GLib.DestroyNotify destroy_func);
		public void unref ();
1248
	}
1249
	[CCode (cheader_filename = "gdk/gdk.h")]
1250 1251 1252 1253 1254 1255 1256 1257 1258 1259