1 /* 2 * This file generated automatically from xproto.xml by c-client.xsl using XSLT. 3 * Edit at your peril. 4 */ 5 6 /** 7 * @defgroup XCB__API XCB API 8 * @brief XCB Protocol Implementation. 9 * @{ 10 **/ 11 12 13 module std.c.linux.X11.xcb.xproto; 14 version(USE_XCB): 15 16 import std.c.linux.X11.xcb.xcb; 17 18 /** 19 * @brief xcb_char2b_t 20 **/ 21 struct xcb_char2b_t { 22 ubyte byte1; /**< */ 23 ubyte byte2; /**< */ 24 } ; 25 26 /** 27 * @brief xcb_char2b_iterator_t 28 **/ 29 struct xcb_char2b_iterator_t { 30 xcb_char2b_t *data; /**< */ 31 int rem; /**< */ 32 int index; /**< */ 33 } ; 34 35 alias uint xcb_window_t; 36 37 /** 38 * @brief xcb_window_iterator_t 39 **/ 40 struct xcb_window_iterator_t { 41 xcb_window_t *data; /**< */ 42 int rem; /**< */ 43 int index; /**< */ 44 } ; 45 46 alias uint xcb_pixmap_t; 47 48 /** 49 * @brief xcb_pixmap_iterator_t 50 **/ 51 struct xcb_pixmap_iterator_t { 52 xcb_pixmap_t *data; /**< */ 53 int rem; /**< */ 54 int index; /**< */ 55 } ; 56 57 alias uint xcb_cursor_t; 58 59 /** 60 * @brief xcb_cursor_iterator_t 61 **/ 62 struct xcb_cursor_iterator_t { 63 xcb_cursor_t *data; /**< */ 64 int rem; /**< */ 65 int index; /**< */ 66 } ; 67 68 alias uint xcb_font_t; 69 70 /** 71 * @brief xcb_font_iterator_t 72 **/ 73 struct xcb_font_iterator_t { 74 xcb_font_t *data; /**< */ 75 int rem; /**< */ 76 int index; /**< */ 77 } ; 78 79 alias uint xcb_gcontext_t; 80 81 /** 82 * @brief xcb_gcontext_iterator_t 83 **/ 84 struct xcb_gcontext_iterator_t { 85 xcb_gcontext_t *data; /**< */ 86 int rem; /**< */ 87 int index; /**< */ 88 } ; 89 90 alias uint xcb_colormap_t; 91 92 /** 93 * @brief xcb_colormap_iterator_t 94 **/ 95 struct xcb_colormap_iterator_t { 96 xcb_colormap_t *data; /**< */ 97 int rem; /**< */ 98 int index; /**< */ 99 } ; 100 101 alias uint xcb_atom_t; 102 103 enum : uint { 104 XCB_ATOM_NONE = 0, 105 XCB_ATOM_ANY = 0, 106 XCB_ATOM_PRIMARY, 107 XCB_ATOM_SECONDARY, 108 XCB_ATOM_ARC, 109 XCB_ATOM_ATOM, 110 XCB_ATOM_BITMAP, 111 XCB_ATOM_CARDINAL, 112 XCB_ATOM_COLORMAP, 113 XCB_ATOM_CURSOR, 114 XCB_ATOM_CUT_BUFFER0, 115 XCB_ATOM_CUT_BUFFER1, 116 XCB_ATOM_CUT_BUFFER2, 117 XCB_ATOM_CUT_BUFFER3, 118 XCB_ATOM_CUT_BUFFER4, 119 XCB_ATOM_CUT_BUFFER5, 120 XCB_ATOM_CUT_BUFFER6, 121 XCB_ATOM_CUT_BUFFER7, 122 XCB_ATOM_DRAWABLE, 123 XCB_ATOM_FONT, 124 XCB_ATOM_INTEGER, 125 XCB_ATOM_PIXMAP, 126 XCB_ATOM_POINT, 127 XCB_ATOM_RECTANGLE, 128 XCB_ATOM_RESOURCE_MANAGER, 129 XCB_ATOM_RGB_COLOR_MAP, 130 XCB_ATOM_RGB_BEST_MAP, 131 XCB_ATOM_RGB_BLUE_MAP, 132 XCB_ATOM_RGB_DEFAULT_MAP, 133 XCB_ATOM_RGB_GRAY_MAP, 134 XCB_ATOM_RGB_GREEN_MAP, 135 XCB_ATOM_RGB_RED_MAP, 136 XCB_ATOM_STRING, 137 XCB_ATOM_VISUALID, 138 XCB_ATOM_WINDOW, 139 XCB_ATOM_WM_COMMAND, 140 XCB_ATOM_WM_HINTS, 141 XCB_ATOM_WM_CLIENT_MACHINE, 142 XCB_ATOM_WM_ICON_NAME, 143 XCB_ATOM_WM_ICON_SIZE, 144 XCB_ATOM_WM_NAME, 145 XCB_ATOM_WM_NORMAL_HINTS, 146 XCB_ATOM_WM_SIZE_HINTS, 147 XCB_ATOM_WM_ZOOM_HINTS, 148 XCB_ATOM_MIN_SPACE, 149 XCB_ATOM_NORM_SPACE, 150 XCB_ATOM_MAX_SPACE, 151 XCB_ATOM_END_SPACE, 152 XCB_ATOM_SUPERSCRIPT_X, 153 XCB_ATOM_SUPERSCRIPT_Y, 154 XCB_ATOM_SUBSCRIPT_X, 155 XCB_ATOM_SUBSCRIPT_Y, 156 XCB_ATOM_UNDERLINE_POSITION, 157 XCB_ATOM_UNDERLINE_THICKNESS, 158 XCB_ATOM_STRIKEOUT_ASCENT, 159 XCB_ATOM_STRIKEOUT_DESCENT, 160 XCB_ATOM_ITALIC_ANGLE, 161 XCB_ATOM_X_HEIGHT, 162 XCB_ATOM_QUAD_WIDTH, 163 XCB_ATOM_WEIGHT, 164 XCB_ATOM_POINT_SIZE, 165 XCB_ATOM_RESOLUTION, 166 XCB_ATOM_COPYRIGHT, 167 XCB_ATOM_NOTICE, 168 XCB_ATOM_FONT_NAME, 169 XCB_ATOM_FAMILY_NAME, 170 XCB_ATOM_FULL_NAME, 171 XCB_ATOM_CAP_HEIGHT, 172 XCB_ATOM_WM_CLASS, 173 XCB_ATOM_WM_TRANSIENT_FOR 174 }; 175 176 /** 177 * @brief xcb_atom_iterator_t 178 **/ 179 struct xcb_atom_iterator_t { 180 xcb_atom_t *data; /**< */ 181 int rem; /**< */ 182 int index; /**< */ 183 } ; 184 185 alias uint xcb_drawable_t; 186 187 /** 188 * @brief xcb_drawable_iterator_t 189 **/ 190 struct xcb_drawable_iterator_t { 191 xcb_drawable_t *data; /**< */ 192 int rem; /**< */ 193 int index; /**< */ 194 } ; 195 196 alias uint xcb_fontable_t; 197 198 /** 199 * @brief xcb_fontable_iterator_t 200 **/ 201 struct xcb_fontable_iterator_t { 202 xcb_fontable_t *data; /**< */ 203 int rem; /**< */ 204 int index; /**< */ 205 } ; 206 207 alias uint xcb_visualid_t; 208 209 /** 210 * @brief xcb_visualid_iterator_t 211 **/ 212 struct xcb_visualid_iterator_t { 213 xcb_visualid_t *data; /**< */ 214 int rem; /**< */ 215 int index; /**< */ 216 } ; 217 218 alias uint xcb_timestamp_t; 219 220 /** 221 * @brief xcb_timestamp_iterator_t 222 **/ 223 struct xcb_timestamp_iterator_t { 224 xcb_timestamp_t *data; /**< */ 225 int rem; /**< */ 226 int index; /**< */ 227 } ; 228 229 alias uint xcb_keysym_t; 230 231 /** 232 * @brief xcb_keysym_iterator_t 233 **/ 234 struct xcb_keysym_iterator_t { 235 xcb_keysym_t *data; /**< */ 236 int rem; /**< */ 237 int index; /**< */ 238 } ; 239 240 alias ubyte xcb_keycode_t; 241 242 /** 243 * @brief xcb_keycode_iterator_t 244 **/ 245 struct xcb_keycode_iterator_t { 246 xcb_keycode_t *data; /**< */ 247 int rem; /**< */ 248 int index; /**< */ 249 } ; 250 251 alias ubyte xcb_button_t; 252 253 /** 254 * @brief xcb_button_iterator_t 255 **/ 256 struct xcb_button_iterator_t { 257 xcb_button_t *data; /**< */ 258 int rem; /**< */ 259 int index; /**< */ 260 } ; 261 262 /** 263 * @brief xcb_point_t 264 **/ 265 struct xcb_point_t { 266 short x; /**< */ 267 short y; /**< */ 268 } ; 269 270 /** 271 * @brief xcb_point_iterator_t 272 **/ 273 struct xcb_point_iterator_t { 274 xcb_point_t *data; /**< */ 275 int rem; /**< */ 276 int index; /**< */ 277 } ; 278 279 /** 280 * @brief xcb_rectangle_t 281 **/ 282 struct xcb_rectangle_t { 283 short x; /**< */ 284 short y; /**< */ 285 ushort width; /**< */ 286 ushort height; /**< */ 287 } ; 288 289 /** 290 * @brief xcb_rectangle_iterator_t 291 **/ 292 struct xcb_rectangle_iterator_t { 293 xcb_rectangle_t *data; /**< */ 294 int rem; /**< */ 295 int index; /**< */ 296 } ; 297 298 /** 299 * @brief xcb_arc_t 300 **/ 301 struct xcb_arc_t { 302 short x; /**< */ 303 short y; /**< */ 304 ushort width; /**< */ 305 ushort height; /**< */ 306 short angle1; /**< */ 307 short angle2; /**< */ 308 } ; 309 310 /** 311 * @brief xcb_arc_iterator_t 312 **/ 313 struct xcb_arc_iterator_t { 314 xcb_arc_t *data; /**< */ 315 int rem; /**< */ 316 int index; /**< */ 317 } ; 318 319 /** 320 * @brief xcb_format_t 321 **/ 322 struct xcb_format_t { 323 ubyte depth; /**< */ 324 ubyte bits_per_pixel; /**< */ 325 ubyte scanline_pad; /**< */ 326 ubyte pad0[5]; /**< */ 327 } ; 328 329 /** 330 * @brief xcb_format_iterator_t 331 **/ 332 struct xcb_format_iterator_t { 333 xcb_format_t *data; /**< */ 334 int rem; /**< */ 335 int index; /**< */ 336 } ; 337 338 enum :int{ 339 XCB_VISUAL_CLASS_STATIC_GRAY = 0, 340 XCB_VISUAL_CLASS_GRAY_SCALE = 1, 341 XCB_VISUAL_CLASS_STATIC_COLOR = 2, 342 XCB_VISUAL_CLASS_PSEUDO_COLOR = 3, 343 XCB_VISUAL_CLASS_TRUE_COLOR = 4, 344 XCB_VISUAL_CLASS_DIRECT_COLOR = 5 345 }; 346 347 /** 348 * @brief xcb_visualtype_t 349 **/ 350 struct xcb_visualtype_t { 351 xcb_visualid_t visual_id; /**< */ 352 ubyte _class; /**< */ 353 ubyte bits_per_rgb_value; /**< */ 354 ushort colormap_entries; /**< */ 355 uint red_mask; /**< */ 356 uint green_mask; /**< */ 357 uint blue_mask; /**< */ 358 ubyte pad0[4]; /**< */ 359 } ; 360 361 /** 362 * @brief xcb_visualtype_iterator_t 363 **/ 364 struct xcb_visualtype_iterator_t { 365 xcb_visualtype_t *data; /**< */ 366 int rem; /**< */ 367 int index; /**< */ 368 } ; 369 370 /** 371 * @brief xcb_depth_t 372 **/ 373 struct xcb_depth_t { 374 ubyte depth; /**< */ 375 ubyte pad0; /**< */ 376 ushort visuals_len; /**< */ 377 ubyte pad1[4]; /**< */ 378 } ; 379 380 /** 381 * @brief xcb_depth_iterator_t 382 **/ 383 struct xcb_depth_iterator_t { 384 xcb_depth_t *data; /**< */ 385 int rem; /**< */ 386 int index; /**< */ 387 } ; 388 389 /** 390 * @brief xcb_screen_t 391 **/ 392 struct xcb_screen_t { 393 xcb_window_t root; /**< */ 394 xcb_colormap_t default_colormap; /**< */ 395 uint white_pixel; /**< */ 396 uint black_pixel; /**< */ 397 uint current_input_masks; /**< */ 398 ushort width_in_pixels; /**< */ 399 ushort height_in_pixels; /**< */ 400 ushort width_in_millimeters; /**< */ 401 ushort height_in_millimeters; /**< */ 402 ushort min_installed_maps; /**< */ 403 ushort max_installed_maps; /**< */ 404 xcb_visualid_t root_visual; /**< */ 405 ubyte backing_stores; /**< */ 406 bool save_unders; /**< */ 407 ubyte root_depth; /**< */ 408 ubyte allowed_depths_len; /**< */ 409 } ; 410 411 /** 412 * @brief xcb_screen_iterator_t 413 **/ 414 struct xcb_screen_iterator_t { 415 xcb_screen_t *data; /**< */ 416 int rem; /**< */ 417 int index; /**< */ 418 } ; 419 420 /** 421 * @brief xcb_setup_request_t 422 **/ 423 struct xcb_setup_request_t { 424 ubyte byte_order; /**< */ 425 ubyte pad0; /**< */ 426 ushort protocol_major_version; /**< */ 427 ushort protocol_minor_version; /**< */ 428 ushort authorization_protocol_name_len; /**< */ 429 ushort authorization_protocol_data_len; /**< */ 430 } ; 431 432 /** 433 * @brief xcb_setup_request_iterator_t 434 **/ 435 struct xcb_setup_request_iterator_t { 436 xcb_setup_request_t *data; /**< */ 437 int rem; /**< */ 438 int index; /**< */ 439 } ; 440 441 /** 442 * @brief xcb_setup_failed_t 443 **/ 444 struct xcb_setup_failed_t { 445 ubyte status; /**< */ 446 ubyte reason_len; /**< */ 447 ushort protocol_major_version; /**< */ 448 ushort protocol_minor_version; /**< */ 449 ushort length; /**< */ 450 } ; 451 452 /** 453 * @brief xcb_setup_failed_iterator_t 454 **/ 455 struct xcb_setup_failed_iterator_t { 456 xcb_setup_failed_t *data; /**< */ 457 int rem; /**< */ 458 int index; /**< */ 459 } ; 460 461 /** 462 * @brief xcb_setup_authenticate_t 463 **/ 464 struct xcb_setup_authenticate_t { 465 ubyte status; /**< */ 466 ubyte pad0[5]; /**< */ 467 ushort length; /**< */ 468 } ; 469 470 /** 471 * @brief xcb_setup_authenticate_iterator_t 472 **/ 473 struct xcb_setup_authenticate_iterator_t { 474 xcb_setup_authenticate_t *data; /**< */ 475 int rem; /**< */ 476 int index; /**< */ 477 } ; 478 479 alias xcb_image_order_t = int; 480 enum :int{ 481 XCB_IMAGE_ORDER_LSB_FIRST = 0, 482 XCB_IMAGE_ORDER_MSB_FIRST = 1 483 }; 484 485 /** 486 * @brief xcb_setup_t 487 **/ 488 struct xcb_setup_t { 489 ubyte status; /**< */ 490 ubyte pad0; /**< */ 491 ushort protocol_major_version; /**< */ 492 ushort protocol_minor_version; /**< */ 493 ushort length; /**< */ 494 uint release_number; /**< */ 495 uint resource_id_base; /**< */ 496 uint resource_id_mask; /**< */ 497 uint motion_buffer_size; /**< */ 498 ushort vendor_len; /**< */ 499 ushort maximum_request_length; /**< */ 500 ubyte roots_len; /**< */ 501 ubyte pixmap_formats_len; /**< */ 502 ubyte image_byte_order; /**< */ 503 ubyte bitmap_format_bit_order; /**< */ 504 ubyte bitmap_format_scanline_unit; /**< */ 505 ubyte bitmap_format_scanline_pad; /**< */ 506 xcb_keycode_t min_keycode; /**< */ 507 xcb_keycode_t max_keycode; /**< */ 508 ubyte pad1[4]; /**< */ 509 } ; 510 511 /** 512 * @brief xcb_setup_iterator_t 513 **/ 514 struct xcb_setup_iterator_t { 515 xcb_setup_t *data; /**< */ 516 int rem; /**< */ 517 int index; /**< */ 518 } ; 519 520 enum :int{ 521 XCB_MOD_MASK_SHIFT = (1 << 0), 522 XCB_MOD_MASK_LOCK = (1 << 1), 523 XCB_MOD_MASK_CONTROL = (1 << 2), 524 XCB_MOD_MASK_1 = (1 << 3), 525 XCB_MOD_MASK_2 = (1 << 4), 526 XCB_MOD_MASK_3 = (1 << 5), 527 XCB_MOD_MASK_4 = (1 << 6), 528 XCB_MOD_MASK_5 = (1 << 7) 529 }; 530 531 /** Opcode for xcb_key_press. */ 532 const uint XCB_KEY_PRESS = 2; 533 534 /** 535 * @brief xcb_key_press_event_t 536 **/ 537 struct xcb_key_press_event_t { 538 ubyte response_type; /**< */ 539 xcb_keycode_t detail; /**< */ 540 ushort sequence; /**< */ 541 xcb_timestamp_t time; /**< */ 542 xcb_window_t root; /**< */ 543 xcb_window_t event; /**< */ 544 xcb_window_t child; /**< */ 545 short root_x; /**< */ 546 short root_y; /**< */ 547 short event_x; /**< */ 548 short event_y; /**< */ 549 ushort state; /**< */ 550 bool same_screen; /**< */ 551 } ; 552 553 /** Opcode for xcb_key_release. */ 554 const uint XCB_KEY_RELEASE = 3; 555 556 alias xcb_key_press_event_t xcb_key_release_event_t; 557 558 enum :int{ 559 XCB_BUTTON_MASK_1 = (1 << 8), 560 XCB_BUTTON_MASK_2 = (1 << 9), 561 XCB_BUTTON_MASK_3 = (1 << 10), 562 XCB_BUTTON_MASK_4 = (1 << 11), 563 XCB_BUTTON_MASK_5 = (1 << 12), 564 XCB_BUTTON_MASK_ANY = (1 << 15) 565 }; 566 567 /** Opcode for xcb_button_press. */ 568 const uint XCB_BUTTON_PRESS = 4; 569 570 /** 571 * @brief xcb_button_press_event_t 572 **/ 573 struct xcb_button_press_event_t { 574 ubyte response_type; /**< */ 575 xcb_button_t detail; /**< */ 576 ushort sequence; /**< */ 577 xcb_timestamp_t time; /**< */ 578 xcb_window_t root; /**< */ 579 xcb_window_t event; /**< */ 580 xcb_window_t child; /**< */ 581 short root_x; /**< */ 582 short root_y; /**< */ 583 short event_x; /**< */ 584 short event_y; /**< */ 585 ushort state; /**< */ 586 bool same_screen; /**< */ 587 } ; 588 589 /** Opcode for xcb_button_release. */ 590 const uint XCB_BUTTON_RELEASE = 5; 591 592 alias xcb_button_press_event_t xcb_button_release_event_t; 593 594 enum :int{ 595 XCB_MOTION_NORMAL = 0, 596 XCB_MOTION_HINT = 1 597 }; 598 599 /** Opcode for xcb_motion_notify. */ 600 const uint XCB_MOTION_NOTIFY = 6; 601 602 /** 603 * @brief xcb_motion_notify_event_t 604 **/ 605 struct xcb_motion_notify_event_t { 606 ubyte response_type; /**< */ 607 ubyte detail; /**< */ 608 ushort sequence; /**< */ 609 xcb_timestamp_t time; /**< */ 610 xcb_window_t root; /**< */ 611 xcb_window_t event; /**< */ 612 xcb_window_t child; /**< */ 613 short root_x; /**< */ 614 short root_y; /**< */ 615 short event_x; /**< */ 616 short event_y; /**< */ 617 ushort state; /**< */ 618 bool same_screen; /**< */ 619 } ; 620 621 enum :int{ 622 XCB_NOTIFY_DETAIL_ANCESTOR = 0, 623 XCB_NOTIFY_DETAIL_VIRTUAL = 1, 624 XCB_NOTIFY_DETAIL_INFERIOR = 2, 625 XCB_NOTIFY_DETAIL_NONLINEAR = 3, 626 XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4, 627 XCB_NOTIFY_DETAIL_POINTER = 5, 628 XCB_NOTIFY_DETAIL_POINTER_ROOT = 6, 629 XCB_NOTIFY_DETAIL_NONE = 7 630 }; 631 632 enum :int{ 633 XCB_NOTIFY_MODE_NORMAL = 0, 634 XCB_NOTIFY_MODE_GRAB = 1, 635 XCB_NOTIFY_MODE_UNGRAB = 2, 636 XCB_NOTIFY_MODE_WHILE_GRABBED = 3 637 }; 638 639 /** Opcode for xcb_enter_notify. */ 640 const uint XCB_ENTER_NOTIFY = 7; 641 642 /** 643 * @brief xcb_enter_notify_event_t 644 **/ 645 struct xcb_enter_notify_event_t { 646 ubyte response_type; /**< */ 647 ubyte detail; /**< */ 648 ushort sequence; /**< */ 649 xcb_timestamp_t time; /**< */ 650 xcb_window_t root; /**< */ 651 xcb_window_t event; /**< */ 652 xcb_window_t child; /**< */ 653 short root_x; /**< */ 654 short root_y; /**< */ 655 short event_x; /**< */ 656 short event_y; /**< */ 657 ushort state; /**< */ 658 ubyte mode; /**< */ 659 ubyte same_screen_focus; /**< */ 660 } ; 661 662 /** Opcode for xcb_leave_notify. */ 663 const uint XCB_LEAVE_NOTIFY = 8; 664 665 alias xcb_enter_notify_event_t xcb_leave_notify_event_t; 666 667 /** Opcode for xcb_focus_in. */ 668 const uint XCB_FOCUS_IN = 9; 669 670 /** 671 * @brief xcb_focus_in_event_t 672 **/ 673 struct xcb_focus_in_event_t { 674 ubyte response_type; /**< */ 675 ubyte detail; /**< */ 676 ushort sequence; /**< */ 677 xcb_window_t event; /**< */ 678 ubyte mode; /**< */ 679 } ; 680 681 /** Opcode for xcb_focus_out. */ 682 const uint XCB_FOCUS_OUT = 10; 683 684 alias xcb_focus_in_event_t xcb_focus_out_event_t; 685 686 /** Opcode for xcb_keymap_notify. */ 687 const uint XCB_KEYMAP_NOTIFY = 11; 688 689 /** 690 * @brief xcb_keymap_notify_event_t 691 **/ 692 struct xcb_keymap_notify_event_t { 693 ubyte response_type; /**< */ 694 ubyte keys[31]; /**< */ 695 } ; 696 697 /** Opcode for xcb_expose. */ 698 const uint XCB_EXPOSE = 12; 699 700 /** 701 * @brief xcb_expose_event_t 702 **/ 703 struct xcb_expose_event_t { 704 ubyte response_type; /**< */ 705 ubyte pad0; /**< */ 706 ushort sequence; /**< */ 707 xcb_window_t window; /**< */ 708 ushort x; /**< */ 709 ushort y; /**< */ 710 ushort width; /**< */ 711 ushort height; /**< */ 712 ushort count; /**< */ 713 } ; 714 715 /** Opcode for xcb_graphics_exposure. */ 716 const uint XCB_GRAPHICS_EXPOSURE = 13; 717 718 /** 719 * @brief xcb_graphics_exposure_event_t 720 **/ 721 struct xcb_graphics_exposure_event_t { 722 ubyte response_type; /**< */ 723 ubyte pad0; /**< */ 724 ushort sequence; /**< */ 725 xcb_drawable_t drawable; /**< */ 726 ushort x; /**< */ 727 ushort y; /**< */ 728 ushort width; /**< */ 729 ushort height; /**< */ 730 ushort minor_opcode; /**< */ 731 ushort count; /**< */ 732 ubyte major_opcode; /**< */ 733 } ; 734 735 /** Opcode for xcb_no_exposure. */ 736 const uint XCB_NO_EXPOSURE = 14; 737 738 /** 739 * @brief xcb_no_exposure_event_t 740 **/ 741 struct xcb_no_exposure_event_t { 742 ubyte response_type; /**< */ 743 ubyte pad0; /**< */ 744 ushort sequence; /**< */ 745 xcb_drawable_t drawable; /**< */ 746 ushort minor_opcode; /**< */ 747 ubyte major_opcode; /**< */ 748 } ; 749 750 enum :int{ 751 XCB_VISIBILITY_UNOBSCURED = 0, 752 XCB_VISIBILITY_PARTIALLY_OBSCURED = 1, 753 XCB_VISIBILITY_FULLY_OBSCURED = 2 754 }; 755 756 /** Opcode for xcb_visibility_notify. */ 757 const uint XCB_VISIBILITY_NOTIFY = 15; 758 759 /** 760 * @brief xcb_visibility_notify_event_t 761 **/ 762 struct xcb_visibility_notify_event_t { 763 ubyte response_type; /**< */ 764 ubyte pad0; /**< */ 765 ushort sequence; /**< */ 766 xcb_window_t window; /**< */ 767 ubyte state; /**< */ 768 } ; 769 770 /** Opcode for xcb_create_notify. */ 771 const uint XCB_CREATE_NOTIFY = 16; 772 773 /** 774 * @brief xcb_create_notify_event_t 775 **/ 776 struct xcb_create_notify_event_t { 777 ubyte response_type; /**< */ 778 ubyte pad0; /**< */ 779 ushort sequence; /**< */ 780 xcb_window_t parent; /**< */ 781 xcb_window_t window; /**< */ 782 short x; /**< */ 783 short y; /**< */ 784 ushort width; /**< */ 785 ushort height; /**< */ 786 ushort border_width; /**< */ 787 bool override_redirect; /**< */ 788 } ; 789 790 /** Opcode for xcb_destroy_notify. */ 791 const uint XCB_DESTROY_NOTIFY = 17; 792 793 /** 794 * @brief xcb_destroy_notify_event_t 795 **/ 796 struct xcb_destroy_notify_event_t { 797 ubyte response_type; /**< */ 798 ubyte pad0; /**< */ 799 ushort sequence; /**< */ 800 xcb_window_t event; /**< */ 801 xcb_window_t window; /**< */ 802 } ; 803 804 /** Opcode for xcb_unmap_notify. */ 805 const uint XCB_UNMAP_NOTIFY = 18; 806 807 /** 808 * @brief xcb_unmap_notify_event_t 809 **/ 810 struct xcb_unmap_notify_event_t { 811 ubyte response_type; /**< */ 812 ubyte pad0; /**< */ 813 ushort sequence; /**< */ 814 xcb_window_t event; /**< */ 815 xcb_window_t window; /**< */ 816 bool from_configure; /**< */ 817 } ; 818 819 /** Opcode for xcb_map_notify. */ 820 const uint XCB_MAP_NOTIFY = 19; 821 822 /** 823 * @brief xcb_map_notify_event_t 824 **/ 825 struct xcb_map_notify_event_t { 826 ubyte response_type; /**< */ 827 ubyte pad0; /**< */ 828 ushort sequence; /**< */ 829 xcb_window_t event; /**< */ 830 xcb_window_t window; /**< */ 831 bool override_redirect; /**< */ 832 } ; 833 834 /** Opcode for xcb_map_request. */ 835 const uint XCB_MAP_REQUEST = 20; 836 837 /** 838 * @brief xcb_map_request_event_t 839 **/ 840 struct xcb_map_request_event_t { 841 ubyte response_type; /**< */ 842 ubyte pad0; /**< */ 843 ushort sequence; /**< */ 844 xcb_window_t parent; /**< */ 845 xcb_window_t window; /**< */ 846 } ; 847 848 /** Opcode for xcb_reparent_notify. */ 849 const uint XCB_REPARENT_NOTIFY = 21; 850 851 /** 852 * @brief xcb_reparent_notify_event_t 853 **/ 854 struct xcb_reparent_notify_event_t { 855 ubyte response_type; /**< */ 856 ubyte pad0; /**< */ 857 ushort sequence; /**< */ 858 xcb_window_t event; /**< */ 859 xcb_window_t window; /**< */ 860 xcb_window_t parent; /**< */ 861 short x; /**< */ 862 short y; /**< */ 863 bool override_redirect; /**< */ 864 } ; 865 866 /** Opcode for xcb_configure_notify. */ 867 const uint XCB_CONFIGURE_NOTIFY = 22; 868 869 /** 870 * @brief xcb_configure_notify_event_t 871 **/ 872 struct xcb_configure_notify_event_t { 873 ubyte response_type; /**< */ 874 ubyte pad0; /**< */ 875 ushort sequence; /**< */ 876 xcb_window_t event; /**< */ 877 xcb_window_t window; /**< */ 878 xcb_window_t above_sibling; /**< */ 879 short x; /**< */ 880 short y; /**< */ 881 ushort width; /**< */ 882 ushort height; /**< */ 883 ushort border_width; /**< */ 884 bool override_redirect; /**< */ 885 } ; 886 887 /** Opcode for xcb_configure_request. */ 888 const uint XCB_CONFIGURE_REQUEST = 23; 889 890 /** 891 * @brief xcb_configure_request_event_t 892 **/ 893 struct xcb_configure_request_event_t { 894 ubyte response_type; /**< */ 895 ubyte stack_mode; /**< */ 896 ushort sequence; /**< */ 897 xcb_window_t parent; /**< */ 898 xcb_window_t window; /**< */ 899 xcb_window_t sibling; /**< */ 900 short x; /**< */ 901 short y; /**< */ 902 ushort width; /**< */ 903 ushort height; /**< */ 904 ushort border_width; /**< */ 905 ushort value_mask; /**< */ 906 } ; 907 908 /** Opcode for xcb_gravity_notify. */ 909 const uint XCB_GRAVITY_NOTIFY = 24; 910 911 /** 912 * @brief xcb_gravity_notify_event_t 913 **/ 914 struct xcb_gravity_notify_event_t { 915 ubyte response_type; /**< */ 916 ubyte pad0; /**< */ 917 ushort sequence; /**< */ 918 xcb_window_t event; /**< */ 919 xcb_window_t window; /**< */ 920 short x; /**< */ 921 short y; /**< */ 922 } ; 923 924 /** Opcode for xcb_resize_request. */ 925 const uint XCB_RESIZE_REQUEST = 25; 926 927 /** 928 * @brief xcb_resize_request_event_t 929 **/ 930 struct xcb_resize_request_event_t { 931 ubyte response_type; /**< */ 932 ubyte pad0; /**< */ 933 ushort sequence; /**< */ 934 xcb_window_t window; /**< */ 935 ushort width; /**< */ 936 ushort height; /**< */ 937 } ; 938 939 enum :int{ 940 XCB_PLACE_ON_TOP = 0, 941 XCB_PLACE_ON_BOTTOM = 1 942 }; 943 944 /** Opcode for xcb_circulate_notify. */ 945 const uint XCB_CIRCULATE_NOTIFY = 26; 946 947 /** 948 * @brief xcb_circulate_notify_event_t 949 **/ 950 struct xcb_circulate_notify_event_t { 951 ubyte response_type; /**< */ 952 ubyte pad0; /**< */ 953 ushort sequence; /**< */ 954 xcb_window_t event; /**< */ 955 xcb_window_t window; /**< */ 956 ubyte pad1[4]; /**< */ 957 ubyte place; /**< */ 958 } ; 959 960 /** Opcode for xcb_circulate_request. */ 961 const uint XCB_CIRCULATE_REQUEST = 27; 962 963 alias xcb_circulate_notify_event_t xcb_circulate_request_event_t; 964 965 enum :int{ 966 XCB_PROPERTY_NEW_VALUE = 0, 967 XCB_PROPERTY_DELETE = 1 968 }; 969 970 /** Opcode for xcb_property_notify. */ 971 const uint XCB_PROPERTY_NOTIFY = 28; 972 973 /** 974 * @brief xcb_property_notify_event_t 975 **/ 976 struct xcb_property_notify_event_t { 977 ubyte response_type; /**< */ 978 ubyte pad0; /**< */ 979 ushort sequence; /**< */ 980 xcb_window_t window; /**< */ 981 xcb_atom_t atom; /**< */ 982 xcb_timestamp_t time; /**< */ 983 ubyte state; /**< */ 984 } ; 985 986 /** Opcode for xcb_selection_clear. */ 987 const uint XCB_SELECTION_CLEAR = 29; 988 989 /** 990 * @brief xcb_selection_clear_event_t 991 **/ 992 struct xcb_selection_clear_event_t { 993 ubyte response_type; /**< */ 994 ubyte pad0; /**< */ 995 ushort sequence; /**< */ 996 xcb_timestamp_t time; /**< */ 997 xcb_window_t owner; /**< */ 998 xcb_atom_t selection; /**< */ 999 } ; 1000 1001 /** Opcode for xcb_selection_request. */ 1002 const uint XCB_SELECTION_REQUEST = 30; 1003 1004 /** 1005 * @brief xcb_selection_request_event_t 1006 **/ 1007 struct xcb_selection_request_event_t { 1008 ubyte response_type; /**< */ 1009 ubyte pad0; /**< */ 1010 ushort sequence; /**< */ 1011 xcb_timestamp_t time; /**< */ 1012 xcb_window_t owner; /**< */ 1013 xcb_window_t requestor; /**< */ 1014 xcb_atom_t selection; /**< */ 1015 xcb_atom_t target; /**< */ 1016 xcb_atom_t property; /**< */ 1017 } ; 1018 1019 /** Opcode for xcb_selection_notify. */ 1020 const uint XCB_SELECTION_NOTIFY = 31; 1021 1022 /** 1023 * @brief xcb_selection_notify_event_t 1024 **/ 1025 struct xcb_selection_notify_event_t { 1026 ubyte response_type; /**< */ 1027 ubyte pad0; /**< */ 1028 ushort sequence; /**< */ 1029 xcb_timestamp_t time; /**< */ 1030 xcb_window_t requestor; /**< */ 1031 xcb_atom_t selection; /**< */ 1032 xcb_atom_t target; /**< */ 1033 xcb_atom_t property; /**< */ 1034 } ; 1035 1036 enum :int{ 1037 XCB_COLORMAP_STATE_UNINSTALLED = 0, 1038 XCB_COLORMAP_STATE_INSTALLED = 1 1039 }; 1040 1041 /** Opcode for xcb_colormap_notify. */ 1042 const uint XCB_COLORMAP_NOTIFY = 32; 1043 1044 /** 1045 * @brief xcb_colormap_notify_event_t 1046 **/ 1047 struct xcb_colormap_notify_event_t { 1048 ubyte response_type; /**< */ 1049 ubyte pad0; /**< */ 1050 ushort sequence; /**< */ 1051 xcb_window_t window; /**< */ 1052 xcb_colormap_t colormap; /**< */ 1053 bool _new; /**< */ 1054 ubyte state; /**< */ 1055 } ; 1056 1057 /** 1058 * @brief xcb_client_message_data_t 1059 **/ 1060 union xcb_client_message_data_t { 1061 ubyte data8[20]; /**< */ 1062 ushort data16[10]; /**< */ 1063 uint data32[5]; /**< */ 1064 } ; 1065 1066 /** 1067 * @brief xcb_client_message_data_iterator_t 1068 **/ 1069 struct xcb_client_message_data_iterator_t { 1070 xcb_client_message_data_t *data; /**< */ 1071 int rem; /**< */ 1072 int index; /**< */ 1073 } ; 1074 1075 /** Opcode for xcb_client_message. */ 1076 const uint XCB_CLIENT_MESSAGE = 33; 1077 1078 /** 1079 * @brief xcb_client_message_event_t 1080 **/ 1081 struct xcb_client_message_event_t { 1082 ubyte response_type; /**< */ 1083 ubyte format; /**< */ 1084 ushort sequence; /**< */ 1085 xcb_window_t window; /**< */ 1086 xcb_atom_t type; /**< */ 1087 xcb_client_message_data_t data; /**< */ 1088 } ; 1089 1090 enum :int{ 1091 XCB_MAPPING_MODIFIER = 0, 1092 XCB_MAPPING_KEYBOARD = 1, 1093 XCB_MAPPING_POINTER = 2 1094 }; 1095 1096 /** Opcode for xcb_mapping_notify. */ 1097 const uint XCB_MAPPING_NOTIFY = 34; 1098 1099 /** 1100 * @brief xcb_mapping_notify_event_t 1101 **/ 1102 struct xcb_mapping_notify_event_t { 1103 ubyte response_type; /**< */ 1104 ubyte pad0; /**< */ 1105 ushort sequence; /**< */ 1106 ubyte request; /**< */ 1107 xcb_keycode_t first_keycode; /**< */ 1108 ubyte count; /**< */ 1109 } ; 1110 1111 /** Opcode for xcb_request. */ 1112 const uint XCB_REQUEST = 1; 1113 1114 /** 1115 * @brief xcb_request_error_t 1116 **/ 1117 struct xcb_request_error_t { 1118 ubyte response_type; /**< */ 1119 ubyte error_code; /**< */ 1120 ushort sequence; /**< */ 1121 uint bad_value; /**< */ 1122 ushort minor_opcode; /**< */ 1123 ubyte major_opcode; /**< */ 1124 } ; 1125 1126 /** Opcode for xcb_value. */ 1127 const uint XCB_VALUE = 2; 1128 1129 /** 1130 * @brief xcb_value_error_t 1131 **/ 1132 struct xcb_value_error_t { 1133 ubyte response_type; /**< */ 1134 ubyte error_code; /**< */ 1135 ushort sequence; /**< */ 1136 uint bad_value; /**< */ 1137 ushort minor_opcode; /**< */ 1138 ubyte major_opcode; /**< */ 1139 } ; 1140 1141 /** Opcode for xcb_window. */ 1142 const uint XCB_WINDOW = 3; 1143 1144 alias xcb_value_error_t xcb_window_error_t; 1145 1146 /** Opcode for xcb_pixmap. */ 1147 const uint XCB_PIXMAP = 4; 1148 1149 alias xcb_value_error_t xcb_pixmap_error_t; 1150 1151 /** Opcode for xcb_atom. */ 1152 const uint XCB_ATOM = 5; 1153 1154 alias xcb_value_error_t xcb_atom_error_t; 1155 1156 /** Opcode for xcb_cursor. */ 1157 const uint XCB_CURSOR = 6; 1158 1159 alias xcb_value_error_t xcb_cursor_error_t; 1160 1161 /** Opcode for xcb_font. */ 1162 const uint XCB_FONT = 7; 1163 1164 alias xcb_value_error_t xcb_font_error_t; 1165 1166 /** Opcode for xcb_match. */ 1167 const uint XCB_MATCH = 8; 1168 1169 alias xcb_request_error_t xcb_match_error_t; 1170 1171 /** Opcode for xcb_drawable. */ 1172 const uint XCB_DRAWABLE = 9; 1173 1174 alias xcb_value_error_t xcb_drawable_error_t; 1175 1176 /** Opcode for xcb_access. */ 1177 const uint XCB_ACCESS = 10; 1178 1179 alias xcb_request_error_t xcb_access_error_t; 1180 1181 /** Opcode for xcb_alloc. */ 1182 const uint XCB_ALLOC = 11; 1183 1184 alias xcb_request_error_t xcb_alloc_error_t; 1185 1186 /** Opcode for xcb_colormap. */ 1187 const uint XCB_COLORMAP = 12; 1188 1189 alias xcb_value_error_t xcb_colormap_error_t; 1190 1191 /** Opcode for xcb_g_context. */ 1192 const uint XCB_G_CONTEXT = 13; 1193 1194 alias xcb_value_error_t xcb_g_context_error_t; 1195 1196 /** Opcode for xcb_id_choice. */ 1197 const uint XCB_ID_CHOICE = 14; 1198 1199 alias xcb_value_error_t xcb_id_choice_error_t; 1200 1201 /** Opcode for xcb_name. */ 1202 const uint XCB_NAME = 15; 1203 1204 alias xcb_request_error_t xcb_name_error_t; 1205 1206 /** Opcode for xcb_length. */ 1207 const uint XCB_LENGTH = 16; 1208 1209 alias xcb_request_error_t xcb_length_error_t; 1210 1211 /** Opcode for xcb_implementation. */ 1212 const uint XCB_IMPLEMENTATION = 17; 1213 1214 alias xcb_request_error_t xcb_implementation_error_t; 1215 1216 enum :int{ 1217 XCB_WINDOW_CLASS_COPY_FROM_PARENT = 0, 1218 XCB_WINDOW_CLASS_INPUT_OUTPUT = 1, 1219 XCB_WINDOW_CLASS_INPUT_ONLY = 2 1220 }; 1221 1222 enum :int{ 1223 XCB_CW_BACK_PIXMAP = (1 << 0), 1224 XCB_CW_BACK_PIXEL = (1 << 1), 1225 XCB_CW_BORDER_PIXMAP = (1 << 2), 1226 XCB_CW_BORDER_PIXEL = (1 << 3), 1227 XCB_CW_BIT_GRAVITY = (1 << 4), 1228 XCB_CW_WIN_GRAVITY = (1 << 5), 1229 XCB_CW_BACKING_STORE = (1 << 6), 1230 XCB_CW_BACKING_PLANES = (1 << 7), 1231 XCB_CW_BACKING_PIXEL = (1 << 8), 1232 XCB_CW_OVERRIDE_REDIRECT = (1 << 9), 1233 XCB_CW_SAVE_UNDER = (1 << 10), 1234 XCB_CW_EVENT_MASK = (1 << 11), 1235 XCB_CW_DONT_PROPAGATE = (1 << 12), 1236 XCB_CW_COLORMAP = (1 << 13), 1237 XCB_CW_CURSOR = (1 << 14) 1238 }; 1239 1240 enum :int{ 1241 XCB_BACK_PIXMAP_NONE = 0, 1242 XCB_BACK_PIXMAP_PARENT_RELATIVE = 1 1243 }; 1244 1245 enum :int{ 1246 XCB_GRAVITY_BIT_FORGET = 0, 1247 XCB_GRAVITY_WIN_UNMAP = 0, 1248 XCB_GRAVITY_NORTH_WEST = 1, 1249 XCB_GRAVITY_NORTH = 2, 1250 XCB_GRAVITY_NORTH_EAST = 3, 1251 XCB_GRAVITY_WEST = 4, 1252 XCB_GRAVITY_CENTER = 5, 1253 XCB_GRAVITY_EAST = 6, 1254 XCB_GRAVITY_SOUTH_WEST = 7, 1255 XCB_GRAVITY_SOUTH = 8, 1256 XCB_GRAVITY_SOUTH_EAST = 9, 1257 XCB_GRAVITY_STATIC = 10 1258 }; 1259 1260 enum :int{ 1261 XCB_BACKING_STORE_NOT_USEFUL = 0, 1262 XCB_BACKING_STORE_WHEN_MAPPED = 1, 1263 XCB_BACKING_STORE_ALWAYS = 2 1264 }; 1265 1266 enum :int{ 1267 XCB_EVENT_MASK_NO_EVENT = 0, 1268 XCB_EVENT_MASK_KEY_PRESS = (1 << 0), 1269 XCB_EVENT_MASK_KEY_RELEASE = (1 << 1), 1270 XCB_EVENT_MASK_BUTTON_PRESS = (1 << 2), 1271 XCB_EVENT_MASK_BUTTON_RELEASE = (1 << 3), 1272 XCB_EVENT_MASK_ENTER_WINDOW = (1 << 4), 1273 XCB_EVENT_MASK_LEAVE_WINDOW = (1 << 5), 1274 XCB_EVENT_MASK_POINTER_MOTION = (1 << 6), 1275 XCB_EVENT_MASK_POINTER_MOTION_HINT = (1 << 7), 1276 XCB_EVENT_MASK_BUTTON_1_MOTION = (1 << 8), 1277 XCB_EVENT_MASK_BUTTON_2_MOTION = (1 << 9), 1278 XCB_EVENT_MASK_BUTTON_3_MOTION = (1 << 10), 1279 XCB_EVENT_MASK_BUTTON_4_MOTION = (1 << 11), 1280 XCB_EVENT_MASK_BUTTON_5_MOTION = (1 << 12), 1281 XCB_EVENT_MASK_BUTTON_MOTION = (1 << 13), 1282 XCB_EVENT_MASK_KEYMAP_STATE = (1 << 14), 1283 XCB_EVENT_MASK_EXPOSURE = (1 << 15), 1284 XCB_EVENT_MASK_VISIBILITY_CHANGE = (1 << 16), 1285 XCB_EVENT_MASK_STRUCTURE_NOTIFY = (1 << 17), 1286 XCB_EVENT_MASK_RESIZE_REDIRECT = (1 << 18), 1287 XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY = (1 << 19), 1288 XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT = (1 << 20), 1289 XCB_EVENT_MASK_FOCUS_CHANGE = (1 << 21), 1290 XCB_EVENT_MASK_PROPERTY_CHANGE = (1 << 22), 1291 XCB_EVENT_MASK_COLOR_MAP_CHANGE = (1 << 23), 1292 XCB_EVENT_MASK_OWNER_GRAB_BUTTON = (1 << 24) 1293 }; 1294 1295 /** Opcode for xcb_create_window. */ 1296 const uint XCB_CREATE_WINDOW = 1; 1297 1298 /** 1299 * @brief xcb_create_window_request_t 1300 **/ 1301 struct xcb_create_window_request_t { 1302 ubyte major_opcode; /**< */ 1303 ubyte depth; /**< */ 1304 ushort length; /**< */ 1305 xcb_window_t wid; /**< */ 1306 xcb_window_t parent; /**< */ 1307 short x; /**< */ 1308 short y; /**< */ 1309 ushort width; /**< */ 1310 ushort height; /**< */ 1311 ushort border_width; /**< */ 1312 ushort _class; /**< */ 1313 xcb_visualid_t visual; /**< */ 1314 uint value_mask; /**< */ 1315 } ; 1316 1317 /** Opcode for xcb_change_window_attributes. */ 1318 const uint XCB_CHANGE_WINDOW_ATTRIBUTES = 2; 1319 1320 /** 1321 * @brief xcb_change_window_attributes_request_t 1322 **/ 1323 struct xcb_change_window_attributes_request_t { 1324 ubyte major_opcode; /**< */ 1325 ubyte pad0; /**< */ 1326 ushort length; /**< */ 1327 xcb_window_t window; /**< */ 1328 uint value_mask; /**< */ 1329 } ; 1330 1331 enum :int{ 1332 XCB_MAP_STATE_UNMAPPED = 0, 1333 XCB_MAP_STATE_UNVIEWABLE = 1, 1334 XCB_MAP_STATE_VIEWABLE = 2 1335 }; 1336 1337 /** 1338 * @brief xcb_get_window_attributes_cookie_t 1339 **/ 1340 struct xcb_get_window_attributes_cookie_t { 1341 uint sequence; /**< */ 1342 } ; 1343 1344 /** Opcode for xcb_get_window_attributes. */ 1345 const uint XCB_GET_WINDOW_ATTRIBUTES = 3; 1346 1347 /** 1348 * @brief xcb_get_window_attributes_request_t 1349 **/ 1350 struct xcb_get_window_attributes_request_t { 1351 ubyte major_opcode; /**< */ 1352 ubyte pad0; /**< */ 1353 ushort length; /**< */ 1354 xcb_window_t window; /**< */ 1355 } ; 1356 1357 /** 1358 * @brief xcb_get_window_attributes_reply_t 1359 **/ 1360 struct xcb_get_window_attributes_reply_t { 1361 ubyte response_type; /**< */ 1362 ubyte backing_store; /**< */ 1363 ushort sequence; /**< */ 1364 uint length; /**< */ 1365 xcb_visualid_t visual; /**< */ 1366 ushort _class; /**< */ 1367 ubyte bit_gravity; /**< */ 1368 ubyte win_gravity; /**< */ 1369 uint backing_planes; /**< */ 1370 uint backing_pixel; /**< */ 1371 bool save_under; /**< */ 1372 bool map_is_installed; /**< */ 1373 ubyte map_state; /**< */ 1374 bool override_redirect; /**< */ 1375 xcb_colormap_t colormap; /**< */ 1376 uint all_event_masks; /**< */ 1377 uint your_event_mask; /**< */ 1378 ushort do_not_propagate_mask; /**< */ 1379 } ; 1380 1381 /** Opcode for xcb_destroy_window. */ 1382 const uint XCB_DESTROY_WINDOW = 4; 1383 1384 /** 1385 * @brief xcb_destroy_window_request_t 1386 **/ 1387 struct xcb_destroy_window_request_t { 1388 ubyte major_opcode; /**< */ 1389 ubyte pad0; /**< */ 1390 ushort length; /**< */ 1391 xcb_window_t window; /**< */ 1392 } ; 1393 1394 /** Opcode for xcb_destroy_subwindows. */ 1395 const uint XCB_DESTROY_SUBWINDOWS = 5; 1396 1397 /** 1398 * @brief xcb_destroy_subwindows_request_t 1399 **/ 1400 struct xcb_destroy_subwindows_request_t { 1401 ubyte major_opcode; /**< */ 1402 ubyte pad0; /**< */ 1403 ushort length; /**< */ 1404 xcb_window_t window; /**< */ 1405 } ; 1406 1407 enum :int{ 1408 XCB_SET_MODE_INSERT = 0, 1409 XCB_SET_MODE_DELETE = 1 1410 }; 1411 1412 /** Opcode for xcb_change_save_set. */ 1413 const uint XCB_CHANGE_SAVE_SET = 6; 1414 1415 /** 1416 * @brief xcb_change_save_set_request_t 1417 **/ 1418 struct xcb_change_save_set_request_t { 1419 ubyte major_opcode; /**< */ 1420 ubyte mode; /**< */ 1421 ushort length; /**< */ 1422 xcb_window_t window; /**< */ 1423 } ; 1424 1425 /** Opcode for xcb_reparent_window. */ 1426 const uint XCB_REPARENT_WINDOW = 7; 1427 1428 /** 1429 * @brief xcb_reparent_window_request_t 1430 **/ 1431 struct xcb_reparent_window_request_t { 1432 ubyte major_opcode; /**< */ 1433 ubyte pad0; /**< */ 1434 ushort length; /**< */ 1435 xcb_window_t window; /**< */ 1436 xcb_window_t parent; /**< */ 1437 short x; /**< */ 1438 short y; /**< */ 1439 } ; 1440 1441 /** Opcode for xcb_map_window. */ 1442 const uint XCB_MAP_WINDOW = 8; 1443 1444 /** 1445 * @brief xcb_map_window_request_t 1446 **/ 1447 struct xcb_map_window_request_t { 1448 ubyte major_opcode; /**< */ 1449 ubyte pad0; /**< */ 1450 ushort length; /**< */ 1451 xcb_window_t window; /**< */ 1452 } ; 1453 1454 /** Opcode for xcb_map_subwindows. */ 1455 const uint XCB_MAP_SUBWINDOWS = 9; 1456 1457 /** 1458 * @brief xcb_map_subwindows_request_t 1459 **/ 1460 struct xcb_map_subwindows_request_t { 1461 ubyte major_opcode; /**< */ 1462 ubyte pad0; /**< */ 1463 ushort length; /**< */ 1464 xcb_window_t window; /**< */ 1465 } ; 1466 1467 /** Opcode for xcb_unmap_window. */ 1468 const uint XCB_UNMAP_WINDOW = 10; 1469 1470 /** 1471 * @brief xcb_unmap_window_request_t 1472 **/ 1473 struct xcb_unmap_window_request_t { 1474 ubyte major_opcode; /**< */ 1475 ubyte pad0; /**< */ 1476 ushort length; /**< */ 1477 xcb_window_t window; /**< */ 1478 } ; 1479 1480 /** Opcode for xcb_unmap_subwindows. */ 1481 const uint XCB_UNMAP_SUBWINDOWS = 11; 1482 1483 /** 1484 * @brief xcb_unmap_subwindows_request_t 1485 **/ 1486 struct xcb_unmap_subwindows_request_t { 1487 ubyte major_opcode; /**< */ 1488 ubyte pad0; /**< */ 1489 ushort length; /**< */ 1490 xcb_window_t window; /**< */ 1491 } ; 1492 1493 enum :int{ 1494 XCB_CONFIG_WINDOW_X = (1 << 0), 1495 XCB_CONFIG_WINDOW_Y = (1 << 1), 1496 XCB_CONFIG_WINDOW_WIDTH = (1 << 2), 1497 XCB_CONFIG_WINDOW_HEIGHT = (1 << 3), 1498 XCB_CONFIG_WINDOW_BORDER_WIDTH = (1 << 4), 1499 XCB_CONFIG_WINDOW_SIBLING = (1 << 5), 1500 XCB_CONFIG_WINDOW_STACK_MODE = (1 << 6) 1501 }; 1502 1503 enum :int{ 1504 XCB_STACK_MODE_ABOVE = 0, 1505 XCB_STACK_MODE_BELOW = 1, 1506 XCB_STACK_MODE_TOP_IF = 2, 1507 XCB_STACK_MODE_BOTTOM_IF = 3, 1508 XCB_STACK_MODE_OPPOSITE = 4 1509 }; 1510 1511 /** Opcode for xcb_configure_window. */ 1512 const uint XCB_CONFIGURE_WINDOW = 12; 1513 1514 /** 1515 * @brief xcb_configure_window_request_t 1516 **/ 1517 struct xcb_configure_window_request_t { 1518 ubyte major_opcode; /**< */ 1519 ubyte pad0; /**< */ 1520 ushort length; /**< */ 1521 xcb_window_t window; /**< */ 1522 ushort value_mask; /**< */ 1523 } ; 1524 1525 enum :int{ 1526 XCB_CIRCULATE_RAISE_LOWEST = 0, 1527 XCB_CIRCULATE_LOWER_HIGHEST = 1 1528 }; 1529 1530 /** Opcode for xcb_circulate_window. */ 1531 const uint XCB_CIRCULATE_WINDOW = 13; 1532 1533 /** 1534 * @brief xcb_circulate_window_request_t 1535 **/ 1536 struct xcb_circulate_window_request_t { 1537 ubyte major_opcode; /**< */ 1538 ubyte direction; /**< */ 1539 ushort length; /**< */ 1540 xcb_window_t window; /**< */ 1541 } ; 1542 1543 /** 1544 * @brief xcb_get_geometry_cookie_t 1545 **/ 1546 struct xcb_get_geometry_cookie_t { 1547 uint sequence; /**< */ 1548 } ; 1549 1550 /** Opcode for xcb_get_geometry. */ 1551 const uint XCB_GET_GEOMETRY = 14; 1552 1553 /** 1554 * @brief xcb_get_geometry_request_t 1555 **/ 1556 struct xcb_get_geometry_request_t { 1557 ubyte major_opcode; /**< */ 1558 ubyte pad0; /**< */ 1559 ushort length; /**< */ 1560 xcb_drawable_t drawable; /**< */ 1561 } ; 1562 1563 /** 1564 * @brief xcb_get_geometry_reply_t 1565 **/ 1566 struct xcb_get_geometry_reply_t { 1567 ubyte response_type; /**< */ 1568 ubyte depth; /**< */ 1569 ushort sequence; /**< */ 1570 uint length; /**< */ 1571 xcb_window_t root; /**< */ 1572 short x; /**< */ 1573 short y; /**< */ 1574 ushort width; /**< */ 1575 ushort height; /**< */ 1576 ushort border_width; /**< */ 1577 } ; 1578 1579 /** 1580 * @brief xcb_query_tree_cookie_t 1581 **/ 1582 struct xcb_query_tree_cookie_t { 1583 uint sequence; /**< */ 1584 } ; 1585 1586 /** Opcode for xcb_query_tree. */ 1587 const uint XCB_QUERY_TREE = 15; 1588 1589 /** 1590 * @brief xcb_query_tree_request_t 1591 **/ 1592 struct xcb_query_tree_request_t { 1593 ubyte major_opcode; /**< */ 1594 ubyte pad0; /**< */ 1595 ushort length; /**< */ 1596 xcb_window_t window; /**< */ 1597 } ; 1598 1599 /** 1600 * @brief xcb_query_tree_reply_t 1601 **/ 1602 struct xcb_query_tree_reply_t { 1603 ubyte response_type; /**< */ 1604 ubyte pad0; /**< */ 1605 ushort sequence; /**< */ 1606 uint length; /**< */ 1607 xcb_window_t root; /**< */ 1608 xcb_window_t parent; /**< */ 1609 ushort children_len; /**< */ 1610 ubyte pad1[14]; /**< */ 1611 } ; 1612 1613 /** 1614 * @brief xcb_intern_atom_cookie_t 1615 **/ 1616 struct xcb_intern_atom_cookie_t { 1617 uint sequence; /**< */ 1618 } ; 1619 1620 /** Opcode for xcb_intern_atom. */ 1621 const uint XCB_INTERN_ATOM = 16; 1622 1623 /** 1624 * @brief xcb_intern_atom_request_t 1625 **/ 1626 struct xcb_intern_atom_request_t { 1627 ubyte major_opcode; /**< */ 1628 bool only_if_exists; /**< */ 1629 ushort length; /**< */ 1630 ushort name_len; /**< */ 1631 ubyte pad0[2]; /**< */ 1632 } ; 1633 1634 /** 1635 * @brief xcb_intern_atom_reply_t 1636 **/ 1637 struct xcb_intern_atom_reply_t { 1638 ubyte response_type; /**< */ 1639 ubyte pad0; /**< */ 1640 ushort sequence; /**< */ 1641 uint length; /**< */ 1642 xcb_atom_t atom; /**< */ 1643 } ; 1644 1645 /** 1646 * @brief xcb_get_atom_name_cookie_t 1647 **/ 1648 struct xcb_get_atom_name_cookie_t { 1649 uint sequence; /**< */ 1650 } ; 1651 1652 /** Opcode for xcb_get_atom_name. */ 1653 const uint XCB_GET_ATOM_NAME = 17; 1654 1655 /** 1656 * @brief xcb_get_atom_name_request_t 1657 **/ 1658 struct xcb_get_atom_name_request_t { 1659 ubyte major_opcode; /**< */ 1660 ubyte pad0; /**< */ 1661 ushort length; /**< */ 1662 xcb_atom_t atom; /**< */ 1663 } ; 1664 1665 /** 1666 * @brief xcb_get_atom_name_reply_t 1667 **/ 1668 struct xcb_get_atom_name_reply_t { 1669 ubyte response_type; /**< */ 1670 ubyte pad0; /**< */ 1671 ushort sequence; /**< */ 1672 uint length; /**< */ 1673 ushort name_len; /**< */ 1674 ubyte pad1[22]; /**< */ 1675 } ; 1676 1677 enum :int{ 1678 XCB_PROP_MODE_REPLACE = 0, 1679 XCB_PROP_MODE_PREPEND = 1, 1680 XCB_PROP_MODE_APPEND = 2 1681 }; 1682 1683 /** Opcode for xcb_change_property. */ 1684 const uint XCB_CHANGE_PROPERTY = 18; 1685 1686 /** 1687 * @brief xcb_change_property_request_t 1688 **/ 1689 struct xcb_change_property_request_t { 1690 ubyte major_opcode; /**< */ 1691 ubyte mode; /**< */ 1692 ushort length; /**< */ 1693 xcb_window_t window; /**< */ 1694 xcb_atom_t property; /**< */ 1695 xcb_atom_t type; /**< */ 1696 ubyte format; /**< */ 1697 ubyte pad0[3]; /**< */ 1698 uint data_len; /**< */ 1699 } ; 1700 1701 /** Opcode for xcb_delete_property. */ 1702 const uint XCB_DELETE_PROPERTY = 19; 1703 1704 /** 1705 * @brief xcb_delete_property_request_t 1706 **/ 1707 struct xcb_delete_property_request_t { 1708 ubyte major_opcode; /**< */ 1709 ubyte pad0; /**< */ 1710 ushort length; /**< */ 1711 xcb_window_t window; /**< */ 1712 xcb_atom_t property; /**< */ 1713 } ; 1714 1715 enum :int{ 1716 XCB_GET_PROPERTY_TYPE_ANY = 0 1717 }; 1718 1719 /** 1720 * @brief xcb_get_property_cookie_t 1721 **/ 1722 struct xcb_get_property_cookie_t { 1723 uint sequence; /**< */ 1724 } ; 1725 1726 /** Opcode for xcb_get_property. */ 1727 const uint XCB_GET_PROPERTY = 20; 1728 1729 /** 1730 * @brief xcb_get_property_request_t 1731 **/ 1732 struct xcb_get_property_request_t { 1733 ubyte major_opcode; /**< */ 1734 bool _delete; /**< */ 1735 ushort length; /**< */ 1736 xcb_window_t window; /**< */ 1737 xcb_atom_t property; /**< */ 1738 xcb_atom_t type; /**< */ 1739 uint long_offset; /**< */ 1740 uint long_length; /**< */ 1741 } ; 1742 1743 /** 1744 * @brief xcb_get_property_reply_t 1745 **/ 1746 struct xcb_get_property_reply_t { 1747 ubyte response_type; /**< */ 1748 ubyte format; /**< */ 1749 ushort sequence; /**< */ 1750 uint length; /**< */ 1751 xcb_atom_t type; /**< */ 1752 uint bytes_after; /**< */ 1753 uint value_len; /**< */ 1754 ubyte pad0[12]; /**< */ 1755 } ; 1756 1757 /** 1758 * @brief xcb_list_properties_cookie_t 1759 **/ 1760 struct xcb_list_properties_cookie_t { 1761 uint sequence; /**< */ 1762 } ; 1763 1764 /** Opcode for xcb_list_properties. */ 1765 const uint XCB_LIST_PROPERTIES = 21; 1766 1767 /** 1768 * @brief xcb_list_properties_request_t 1769 **/ 1770 struct xcb_list_properties_request_t { 1771 ubyte major_opcode; /**< */ 1772 ubyte pad0; /**< */ 1773 ushort length; /**< */ 1774 xcb_window_t window; /**< */ 1775 } ; 1776 1777 /** 1778 * @brief xcb_list_properties_reply_t 1779 **/ 1780 struct xcb_list_properties_reply_t { 1781 ubyte response_type; /**< */ 1782 ubyte pad0; /**< */ 1783 ushort sequence; /**< */ 1784 uint length; /**< */ 1785 ushort atoms_len; /**< */ 1786 ubyte pad1[22]; /**< */ 1787 } ; 1788 1789 /** Opcode for xcb_set_selection_owner. */ 1790 const uint XCB_SET_SELECTION_OWNER = 22; 1791 1792 /** 1793 * @brief xcb_set_selection_owner_request_t 1794 **/ 1795 struct xcb_set_selection_owner_request_t { 1796 ubyte major_opcode; /**< */ 1797 ubyte pad0; /**< */ 1798 ushort length; /**< */ 1799 xcb_window_t owner; /**< */ 1800 xcb_atom_t selection; /**< */ 1801 xcb_timestamp_t time; /**< */ 1802 } ; 1803 1804 /** 1805 * @brief xcb_get_selection_owner_cookie_t 1806 **/ 1807 struct xcb_get_selection_owner_cookie_t { 1808 uint sequence; /**< */ 1809 } ; 1810 1811 /** Opcode for xcb_get_selection_owner. */ 1812 const uint XCB_GET_SELECTION_OWNER = 23; 1813 1814 /** 1815 * @brief xcb_get_selection_owner_request_t 1816 **/ 1817 struct xcb_get_selection_owner_request_t { 1818 ubyte major_opcode; /**< */ 1819 ubyte pad0; /**< */ 1820 ushort length; /**< */ 1821 xcb_atom_t selection; /**< */ 1822 } ; 1823 1824 /** 1825 * @brief xcb_get_selection_owner_reply_t 1826 **/ 1827 struct xcb_get_selection_owner_reply_t { 1828 ubyte response_type; /**< */ 1829 ubyte pad0; /**< */ 1830 ushort sequence; /**< */ 1831 uint length; /**< */ 1832 xcb_window_t owner; /**< */ 1833 } ; 1834 1835 /** Opcode for xcb_convert_selection. */ 1836 const uint XCB_CONVERT_SELECTION = 24; 1837 1838 /** 1839 * @brief xcb_convert_selection_request_t 1840 **/ 1841 struct xcb_convert_selection_request_t { 1842 ubyte major_opcode; /**< */ 1843 ubyte pad0; /**< */ 1844 ushort length; /**< */ 1845 xcb_window_t requestor; /**< */ 1846 xcb_atom_t selection; /**< */ 1847 xcb_atom_t target; /**< */ 1848 xcb_atom_t property; /**< */ 1849 xcb_timestamp_t time; /**< */ 1850 } ; 1851 1852 enum :int{ 1853 XCB_SEND_EVENT_DEST_POINTER_WINDOW = 0, 1854 XCB_SEND_EVENT_DEST_ITEM_FOCUS = 1 1855 }; 1856 1857 /** Opcode for xcb_send_event. */ 1858 const uint XCB_SEND_EVENT = 25; 1859 1860 /** 1861 * @brief xcb_send_event_request_t 1862 **/ 1863 struct xcb_send_event_request_t { 1864 ubyte major_opcode; /**< */ 1865 bool propagate; /**< */ 1866 ushort length; /**< */ 1867 xcb_window_t destination; /**< */ 1868 uint event_mask; /**< */ 1869 } ; 1870 1871 enum :int{ 1872 XCB_GRAB_MODE_SYNC = 0, 1873 XCB_GRAB_MODE_ASYNC = 1 1874 }; 1875 1876 enum :int{ 1877 XCB_GRAB_STATUS_SUCCESS = 0, 1878 XCB_GRAB_STATUS_ALREADY_GRABBED = 1, 1879 XCB_GRAB_STATUS_INVALID_TIME = 2, 1880 XCB_GRAB_STATUS_NOT_VIEWABLE = 3, 1881 XCB_GRAB_STATUS_FROZEN = 4 1882 }; 1883 1884 /** 1885 * @brief xcb_grab_pointer_cookie_t 1886 **/ 1887 struct xcb_grab_pointer_cookie_t { 1888 uint sequence; /**< */ 1889 } ; 1890 1891 /** Opcode for xcb_grab_pointer. */ 1892 const uint XCB_GRAB_POINTER = 26; 1893 1894 /** 1895 * @brief xcb_grab_pointer_request_t 1896 **/ 1897 struct xcb_grab_pointer_request_t { 1898 ubyte major_opcode; /**< */ 1899 bool owner_events; /**< */ 1900 ushort length; /**< */ 1901 xcb_window_t grab_window; /**< */ 1902 ushort event_mask; /**< */ 1903 ubyte pointer_mode; /**< */ 1904 ubyte keyboard_mode; /**< */ 1905 xcb_window_t confine_to; /**< */ 1906 xcb_cursor_t cursor; /**< */ 1907 xcb_timestamp_t time; /**< */ 1908 } ; 1909 1910 /** 1911 * @brief xcb_grab_pointer_reply_t 1912 **/ 1913 struct xcb_grab_pointer_reply_t { 1914 ubyte response_type; /**< */ 1915 ubyte status; /**< */ 1916 ushort sequence; /**< */ 1917 uint length; /**< */ 1918 } ; 1919 1920 /** Opcode for xcb_ungrab_pointer. */ 1921 const uint XCB_UNGRAB_POINTER = 27; 1922 1923 /** 1924 * @brief xcb_ungrab_pointer_request_t 1925 **/ 1926 struct xcb_ungrab_pointer_request_t { 1927 ubyte major_opcode; /**< */ 1928 ubyte pad0; /**< */ 1929 ushort length; /**< */ 1930 xcb_timestamp_t time; /**< */ 1931 } ; 1932 1933 enum :int{ 1934 XCB_BUTTON_INDEX_ANY = 0, 1935 XCB_BUTTON_INDEX_1 = 1, 1936 XCB_BUTTON_INDEX_2 = 2, 1937 XCB_BUTTON_INDEX_3 = 3, 1938 XCB_BUTTON_INDEX_4 = 4, 1939 XCB_BUTTON_INDEX_5 = 5 1940 }; 1941 1942 /** Opcode for xcb_grab_button. */ 1943 const uint XCB_GRAB_BUTTON = 28; 1944 1945 /** 1946 * @brief xcb_grab_button_request_t 1947 **/ 1948 struct xcb_grab_button_request_t { 1949 ubyte major_opcode; /**< */ 1950 bool owner_events; /**< */ 1951 ushort length; /**< */ 1952 xcb_window_t grab_window; /**< */ 1953 ushort event_mask; /**< */ 1954 ubyte pointer_mode; /**< */ 1955 ubyte keyboard_mode; /**< */ 1956 xcb_window_t confine_to; /**< */ 1957 xcb_cursor_t cursor; /**< */ 1958 ubyte button; /**< */ 1959 ubyte pad0; /**< */ 1960 ushort modifiers; /**< */ 1961 } ; 1962 1963 /** Opcode for xcb_ungrab_button. */ 1964 const uint XCB_UNGRAB_BUTTON = 29; 1965 1966 /** 1967 * @brief xcb_ungrab_button_request_t 1968 **/ 1969 struct xcb_ungrab_button_request_t { 1970 ubyte major_opcode; /**< */ 1971 ubyte button; /**< */ 1972 ushort length; /**< */ 1973 xcb_window_t grab_window; /**< */ 1974 ushort modifiers; /**< */ 1975 ubyte pad0[2]; /**< */ 1976 } ; 1977 1978 /** Opcode for xcb_change_active_pointer_grab. */ 1979 const uint XCB_CHANGE_ACTIVE_POINTER_GRAB = 30; 1980 1981 /** 1982 * @brief xcb_change_active_pointer_grab_request_t 1983 **/ 1984 struct xcb_change_active_pointer_grab_request_t { 1985 ubyte major_opcode; /**< */ 1986 ubyte pad0; /**< */ 1987 ushort length; /**< */ 1988 xcb_cursor_t cursor; /**< */ 1989 xcb_timestamp_t time; /**< */ 1990 ushort event_mask; /**< */ 1991 } ; 1992 1993 /** 1994 * @brief xcb_grab_keyboard_cookie_t 1995 **/ 1996 struct xcb_grab_keyboard_cookie_t { 1997 uint sequence; /**< */ 1998 } ; 1999 2000 /** Opcode for xcb_grab_keyboard. */ 2001 const uint XCB_GRAB_KEYBOARD = 31; 2002 2003 /** 2004 * @brief xcb_grab_keyboard_request_t 2005 **/ 2006 struct xcb_grab_keyboard_request_t { 2007 ubyte major_opcode; /**< */ 2008 bool owner_events; /**< */ 2009 ushort length; /**< */ 2010 xcb_window_t grab_window; /**< */ 2011 xcb_timestamp_t time; /**< */ 2012 ubyte pointer_mode; /**< */ 2013 ubyte keyboard_mode; /**< */ 2014 } ; 2015 2016 /** 2017 * @brief xcb_grab_keyboard_reply_t 2018 **/ 2019 struct xcb_grab_keyboard_reply_t { 2020 ubyte response_type; /**< */ 2021 ubyte status; /**< */ 2022 ushort sequence; /**< */ 2023 uint length; /**< */ 2024 } ; 2025 2026 /** Opcode for xcb_ungrab_keyboard. */ 2027 const uint XCB_UNGRAB_KEYBOARD = 32; 2028 2029 /** 2030 * @brief xcb_ungrab_keyboard_request_t 2031 **/ 2032 struct xcb_ungrab_keyboard_request_t { 2033 ubyte major_opcode; /**< */ 2034 ubyte pad0; /**< */ 2035 ushort length; /**< */ 2036 xcb_timestamp_t time; /**< */ 2037 } ; 2038 2039 enum :int{ 2040 XCB_GRAB_ANY = 0 2041 }; 2042 2043 /** Opcode for xcb_grab_key. */ 2044 const uint XCB_GRAB_KEY = 33; 2045 2046 /** 2047 * @brief xcb_grab_key_request_t 2048 **/ 2049 struct xcb_grab_key_request_t { 2050 ubyte major_opcode; /**< */ 2051 bool owner_events; /**< */ 2052 ushort length; /**< */ 2053 xcb_window_t grab_window; /**< */ 2054 ushort modifiers; /**< */ 2055 xcb_keycode_t key; /**< */ 2056 ubyte pointer_mode; /**< */ 2057 ubyte keyboard_mode; /**< */ 2058 } ; 2059 2060 /** Opcode for xcb_ungrab_key. */ 2061 const uint XCB_UNGRAB_KEY = 34; 2062 2063 /** 2064 * @brief xcb_ungrab_key_request_t 2065 **/ 2066 struct xcb_ungrab_key_request_t { 2067 ubyte major_opcode; /**< */ 2068 xcb_keycode_t key; /**< */ 2069 ushort length; /**< */ 2070 xcb_window_t grab_window; /**< */ 2071 ushort modifiers; /**< */ 2072 } ; 2073 2074 enum :int{ 2075 XCB_ALLOW_ASYNC_POINTER = 0, 2076 XCB_ALLOW_SYNC_POINTER = 1, 2077 XCB_ALLOW_REPLAY_POINTER = 2, 2078 XCB_ALLOW_ASYNC_KEYBOARD = 3, 2079 XCB_ALLOW_SYNC_KEYBOARD = 4, 2080 XCB_ALLOW_REPLAY_KEYBOARD = 5, 2081 XCB_ALLOW_ASYNC_BOTH = 6, 2082 XCB_ALLOW_SYNC_BOTH = 7 2083 }; 2084 2085 /** Opcode for xcb_allow_events. */ 2086 const uint XCB_ALLOW_EVENTS = 35; 2087 2088 /** 2089 * @brief xcb_allow_events_request_t 2090 **/ 2091 struct xcb_allow_events_request_t { 2092 ubyte major_opcode; /**< */ 2093 ubyte mode; /**< */ 2094 ushort length; /**< */ 2095 xcb_timestamp_t time; /**< */ 2096 } ; 2097 2098 /** Opcode for xcb_grab_server. */ 2099 const uint XCB_GRAB_SERVER = 36; 2100 2101 /** 2102 * @brief xcb_grab_server_request_t 2103 **/ 2104 struct xcb_grab_server_request_t { 2105 ubyte major_opcode; /**< */ 2106 ubyte pad0; /**< */ 2107 ushort length; /**< */ 2108 } ; 2109 2110 /** Opcode for xcb_ungrab_server. */ 2111 const uint XCB_UNGRAB_SERVER = 37; 2112 2113 /** 2114 * @brief xcb_ungrab_server_request_t 2115 **/ 2116 struct xcb_ungrab_server_request_t { 2117 ubyte major_opcode; /**< */ 2118 ubyte pad0; /**< */ 2119 ushort length; /**< */ 2120 } ; 2121 2122 /** 2123 * @brief xcb_query_pointer_cookie_t 2124 **/ 2125 struct xcb_query_pointer_cookie_t { 2126 uint sequence; /**< */ 2127 } ; 2128 2129 /** Opcode for xcb_query_pointer. */ 2130 const uint XCB_QUERY_POINTER = 38; 2131 2132 /** 2133 * @brief xcb_query_pointer_request_t 2134 **/ 2135 struct xcb_query_pointer_request_t { 2136 ubyte major_opcode; /**< */ 2137 ubyte pad0; /**< */ 2138 ushort length; /**< */ 2139 xcb_window_t window; /**< */ 2140 } ; 2141 2142 /** 2143 * @brief xcb_query_pointer_reply_t 2144 **/ 2145 struct xcb_query_pointer_reply_t { 2146 ubyte response_type; /**< */ 2147 bool same_screen; /**< */ 2148 ushort sequence; /**< */ 2149 uint length; /**< */ 2150 xcb_window_t root; /**< */ 2151 xcb_window_t child; /**< */ 2152 short root_x; /**< */ 2153 short root_y; /**< */ 2154 short win_x; /**< */ 2155 short win_y; /**< */ 2156 ushort mask; /**< */ 2157 } ; 2158 2159 /** 2160 * @brief xcb_timecoord_t 2161 **/ 2162 struct xcb_timecoord_t { 2163 xcb_timestamp_t time; /**< */ 2164 short x; /**< */ 2165 short y; /**< */ 2166 } ; 2167 2168 /** 2169 * @brief xcb_timecoord_iterator_t 2170 **/ 2171 struct xcb_timecoord_iterator_t { 2172 xcb_timecoord_t *data; /**< */ 2173 int rem; /**< */ 2174 int index; /**< */ 2175 } ; 2176 2177 /** 2178 * @brief xcb_get_motion_events_cookie_t 2179 **/ 2180 struct xcb_get_motion_events_cookie_t { 2181 uint sequence; /**< */ 2182 } ; 2183 2184 /** Opcode for xcb_get_motion_events. */ 2185 const uint XCB_GET_MOTION_EVENTS = 39; 2186 2187 /** 2188 * @brief xcb_get_motion_events_request_t 2189 **/ 2190 struct xcb_get_motion_events_request_t { 2191 ubyte major_opcode; /**< */ 2192 ubyte pad0; /**< */ 2193 ushort length; /**< */ 2194 xcb_window_t window; /**< */ 2195 xcb_timestamp_t start; /**< */ 2196 xcb_timestamp_t stop; /**< */ 2197 } ; 2198 2199 /** 2200 * @brief xcb_get_motion_events_reply_t 2201 **/ 2202 struct xcb_get_motion_events_reply_t { 2203 ubyte response_type; /**< */ 2204 ubyte pad0; /**< */ 2205 ushort sequence; /**< */ 2206 uint length; /**< */ 2207 uint events_len; /**< */ 2208 ubyte pad1[20]; /**< */ 2209 } ; 2210 2211 /** 2212 * @brief xcb_translate_coordinates_cookie_t 2213 **/ 2214 struct xcb_translate_coordinates_cookie_t { 2215 uint sequence; /**< */ 2216 } ; 2217 2218 /** Opcode for xcb_translate_coordinates. */ 2219 const uint XCB_TRANSLATE_COORDINATES = 40; 2220 2221 /** 2222 * @brief xcb_translate_coordinates_request_t 2223 **/ 2224 struct xcb_translate_coordinates_request_t { 2225 ubyte major_opcode; /**< */ 2226 ubyte pad0; /**< */ 2227 ushort length; /**< */ 2228 xcb_window_t src_window; /**< */ 2229 xcb_window_t dst_window; /**< */ 2230 short src_x; /**< */ 2231 short src_y; /**< */ 2232 } ; 2233 2234 /** 2235 * @brief xcb_translate_coordinates_reply_t 2236 **/ 2237 struct xcb_translate_coordinates_reply_t { 2238 ubyte response_type; /**< */ 2239 bool same_screen; /**< */ 2240 ushort sequence; /**< */ 2241 uint length; /**< */ 2242 xcb_window_t child; /**< */ 2243 ushort dst_x; /**< */ 2244 ushort dst_y; /**< */ 2245 } ; 2246 2247 /** Opcode for xcb_warp_pointer. */ 2248 const uint XCB_WARP_POINTER = 41; 2249 2250 /** 2251 * @brief xcb_warp_pointer_request_t 2252 **/ 2253 struct xcb_warp_pointer_request_t { 2254 ubyte major_opcode; /**< */ 2255 ubyte pad0; /**< */ 2256 ushort length; /**< */ 2257 xcb_window_t src_window; /**< */ 2258 xcb_window_t dst_window; /**< */ 2259 short src_x; /**< */ 2260 short src_y; /**< */ 2261 ushort src_width; /**< */ 2262 ushort src_height; /**< */ 2263 short dst_x; /**< */ 2264 short dst_y; /**< */ 2265 } ; 2266 2267 enum :int{ 2268 XCB_INPUT_FOCUS_NONE = 0, 2269 XCB_INPUT_FOCUS_POINTER_ROOT = 1, 2270 XCB_INPUT_FOCUS_PARENT = 2 2271 }; 2272 2273 /** Opcode for xcb_set_input_focus. */ 2274 const uint XCB_SET_INPUT_FOCUS = 42; 2275 2276 /** 2277 * @brief xcb_set_input_focus_request_t 2278 **/ 2279 struct xcb_set_input_focus_request_t { 2280 ubyte major_opcode; /**< */ 2281 ubyte revert_to; /**< */ 2282 ushort length; /**< */ 2283 xcb_window_t focus; /**< */ 2284 xcb_timestamp_t time; /**< */ 2285 } ; 2286 2287 /** 2288 * @brief xcb_get_input_focus_cookie_t 2289 **/ 2290 struct xcb_get_input_focus_cookie_t { 2291 uint sequence; /**< */ 2292 } ; 2293 2294 /** Opcode for xcb_get_input_focus. */ 2295 const uint XCB_GET_INPUT_FOCUS = 43; 2296 2297 /** 2298 * @brief xcb_get_input_focus_request_t 2299 **/ 2300 struct xcb_get_input_focus_request_t { 2301 ubyte major_opcode; /**< */ 2302 ubyte pad0; /**< */ 2303 ushort length; /**< */ 2304 } ; 2305 2306 /** 2307 * @brief xcb_get_input_focus_reply_t 2308 **/ 2309 struct xcb_get_input_focus_reply_t { 2310 ubyte response_type; /**< */ 2311 ubyte revert_to; /**< */ 2312 ushort sequence; /**< */ 2313 uint length; /**< */ 2314 xcb_window_t focus; /**< */ 2315 } ; 2316 2317 /** 2318 * @brief xcb_query_keymap_cookie_t 2319 **/ 2320 struct xcb_query_keymap_cookie_t { 2321 uint sequence; /**< */ 2322 } ; 2323 2324 /** Opcode for xcb_query_keymap. */ 2325 const uint XCB_QUERY_KEYMAP = 44; 2326 2327 /** 2328 * @brief xcb_query_keymap_request_t 2329 **/ 2330 struct xcb_query_keymap_request_t { 2331 ubyte major_opcode; /**< */ 2332 ubyte pad0; /**< */ 2333 ushort length; /**< */ 2334 } ; 2335 2336 /** 2337 * @brief xcb_query_keymap_reply_t 2338 **/ 2339 struct xcb_query_keymap_reply_t { 2340 ubyte response_type; /**< */ 2341 ubyte pad0; /**< */ 2342 ushort sequence; /**< */ 2343 uint length; /**< */ 2344 ubyte keys[32]; /**< */ 2345 } ; 2346 2347 /** Opcode for xcb_open_font. */ 2348 const uint XCB_OPEN_FONT = 45; 2349 2350 /** 2351 * @brief xcb_open_font_request_t 2352 **/ 2353 struct xcb_open_font_request_t { 2354 ubyte major_opcode; /**< */ 2355 ubyte pad0; /**< */ 2356 ushort length; /**< */ 2357 xcb_font_t fid; /**< */ 2358 ushort name_len; /**< */ 2359 } ; 2360 2361 /** Opcode for xcb_close_font. */ 2362 const uint XCB_CLOSE_FONT = 46; 2363 2364 /** 2365 * @brief xcb_close_font_request_t 2366 **/ 2367 struct xcb_close_font_request_t { 2368 ubyte major_opcode; /**< */ 2369 ubyte pad0; /**< */ 2370 ushort length; /**< */ 2371 xcb_font_t font; /**< */ 2372 } ; 2373 2374 enum :int{ 2375 XCB_FONT_DRAW_LEFT_TO_RIGHT = 0, 2376 XCB_FONT_DRAW_RIGHT_TO_LEFT = 1 2377 }; 2378 2379 /** 2380 * @brief xcb_fontprop_t 2381 **/ 2382 struct xcb_fontprop_t { 2383 xcb_atom_t name; /**< */ 2384 uint value; /**< */ 2385 } ; 2386 2387 /** 2388 * @brief xcb_fontprop_iterator_t 2389 **/ 2390 struct xcb_fontprop_iterator_t { 2391 xcb_fontprop_t *data; /**< */ 2392 int rem; /**< */ 2393 int index; /**< */ 2394 } ; 2395 2396 /** 2397 * @brief xcb_charinfo_t 2398 **/ 2399 struct xcb_charinfo_t { 2400 short left_side_bearing; /**< */ 2401 short right_side_bearing; /**< */ 2402 short character_width; /**< */ 2403 short ascent; /**< */ 2404 short descent; /**< */ 2405 ushort attributes; /**< */ 2406 } ; 2407 2408 /** 2409 * @brief xcb_charinfo_iterator_t 2410 **/ 2411 struct xcb_charinfo_iterator_t { 2412 xcb_charinfo_t *data; /**< */ 2413 int rem; /**< */ 2414 int index; /**< */ 2415 } ; 2416 2417 /** 2418 * @brief xcb_query_font_cookie_t 2419 **/ 2420 struct xcb_query_font_cookie_t { 2421 uint sequence; /**< */ 2422 } ; 2423 2424 /** Opcode for xcb_query_font. */ 2425 const uint XCB_QUERY_FONT = 47; 2426 2427 /** 2428 * @brief xcb_query_font_request_t 2429 **/ 2430 struct xcb_query_font_request_t { 2431 ubyte major_opcode; /**< */ 2432 ubyte pad0; /**< */ 2433 ushort length; /**< */ 2434 xcb_fontable_t font; /**< */ 2435 } ; 2436 2437 /** 2438 * @brief xcb_query_font_reply_t 2439 **/ 2440 struct xcb_query_font_reply_t { 2441 ubyte response_type; /**< */ 2442 ubyte pad0; /**< */ 2443 ushort sequence; /**< */ 2444 uint length; /**< */ 2445 xcb_charinfo_t min_bounds; /**< */ 2446 ubyte pad1[4]; /**< */ 2447 xcb_charinfo_t max_bounds; /**< */ 2448 ubyte pad2[4]; /**< */ 2449 ushort min_char_or_byte2; /**< */ 2450 ushort max_char_or_byte2; /**< */ 2451 ushort default_char; /**< */ 2452 ushort properties_len; /**< */ 2453 ubyte draw_direction; /**< */ 2454 ubyte min_byte1; /**< */ 2455 ubyte max_byte1; /**< */ 2456 bool all_chars_exist; /**< */ 2457 short font_ascent; /**< */ 2458 short font_descent; /**< */ 2459 uint char_infos_len; /**< */ 2460 } ; 2461 2462 /** 2463 * @brief xcb_query_text_extents_cookie_t 2464 **/ 2465 struct xcb_query_text_extents_cookie_t { 2466 uint sequence; /**< */ 2467 } ; 2468 2469 /** Opcode for xcb_query_text_extents. */ 2470 const uint XCB_QUERY_TEXT_EXTENTS = 48; 2471 2472 /** 2473 * @brief xcb_query_text_extents_request_t 2474 **/ 2475 struct xcb_query_text_extents_request_t { 2476 ubyte major_opcode; /**< */ 2477 bool odd_length; /**< */ 2478 ushort length; /**< */ 2479 xcb_fontable_t font; /**< */ 2480 } ; 2481 2482 /** 2483 * @brief xcb_query_text_extents_reply_t 2484 **/ 2485 struct xcb_query_text_extents_reply_t { 2486 ubyte response_type; /**< */ 2487 ubyte draw_direction; /**< */ 2488 ushort sequence; /**< */ 2489 uint length; /**< */ 2490 short font_ascent; /**< */ 2491 short font_descent; /**< */ 2492 short overall_ascent; /**< */ 2493 short overall_descent; /**< */ 2494 int overall_width; /**< */ 2495 int overall_left; /**< */ 2496 int overall_right; /**< */ 2497 } ; 2498 2499 /** 2500 * @brief xcb_str_t 2501 **/ 2502 struct xcb_str_t { 2503 ubyte name_len; /**< */ 2504 } ; 2505 2506 /** 2507 * @brief xcb_str_iterator_t 2508 **/ 2509 struct xcb_str_iterator_t { 2510 xcb_str_t *data; /**< */ 2511 int rem; /**< */ 2512 int index; /**< */ 2513 } ; 2514 2515 /** 2516 * @brief xcb_list_fonts_cookie_t 2517 **/ 2518 struct xcb_list_fonts_cookie_t { 2519 uint sequence; /**< */ 2520 } ; 2521 2522 /** Opcode for xcb_list_fonts. */ 2523 const uint XCB_LIST_FONTS = 49; 2524 2525 /** 2526 * @brief xcb_list_fonts_request_t 2527 **/ 2528 struct xcb_list_fonts_request_t { 2529 ubyte major_opcode; /**< */ 2530 ubyte pad0; /**< */ 2531 ushort length; /**< */ 2532 ushort max_names; /**< */ 2533 ushort pattern_len; /**< */ 2534 } ; 2535 2536 /** 2537 * @brief xcb_list_fonts_reply_t 2538 **/ 2539 struct xcb_list_fonts_reply_t { 2540 ubyte response_type; /**< */ 2541 ubyte pad0; /**< */ 2542 ushort sequence; /**< */ 2543 uint length; /**< */ 2544 ushort names_len; /**< */ 2545 ubyte pad1[22]; /**< */ 2546 } ; 2547 2548 /** 2549 * @brief xcb_list_fonts_with_info_cookie_t 2550 **/ 2551 struct xcb_list_fonts_with_info_cookie_t { 2552 uint sequence; /**< */ 2553 } ; 2554 2555 /** Opcode for xcb_list_fonts_with_info. */ 2556 const uint XCB_LIST_FONTS_WITH_INFO = 50; 2557 2558 /** 2559 * @brief xcb_list_fonts_with_info_request_t 2560 **/ 2561 struct xcb_list_fonts_with_info_request_t { 2562 ubyte major_opcode; /**< */ 2563 ubyte pad0; /**< */ 2564 ushort length; /**< */ 2565 ushort max_names; /**< */ 2566 ushort pattern_len; /**< */ 2567 } ; 2568 2569 /** 2570 * @brief xcb_list_fonts_with_info_reply_t 2571 **/ 2572 struct xcb_list_fonts_with_info_reply_t { 2573 ubyte response_type; /**< */ 2574 ubyte name_len; /**< */ 2575 ushort sequence; /**< */ 2576 uint length; /**< */ 2577 xcb_charinfo_t min_bounds; /**< */ 2578 ubyte pad0[4]; /**< */ 2579 xcb_charinfo_t max_bounds; /**< */ 2580 ubyte pad1[4]; /**< */ 2581 ushort min_char_or_byte2; /**< */ 2582 ushort max_char_or_byte2; /**< */ 2583 ushort default_char; /**< */ 2584 ushort properties_len; /**< */ 2585 ubyte draw_direction; /**< */ 2586 ubyte min_byte1; /**< */ 2587 ubyte max_byte1; /**< */ 2588 bool all_chars_exist; /**< */ 2589 short font_ascent; /**< */ 2590 short font_descent; /**< */ 2591 uint replies_hint; /**< */ 2592 } ; 2593 2594 /** Opcode for xcb_set_font_path. */ 2595 const uint XCB_SET_FONT_PATH = 51; 2596 2597 /** 2598 * @brief xcb_set_font_path_request_t 2599 **/ 2600 struct xcb_set_font_path_request_t { 2601 ubyte major_opcode; /**< */ 2602 ubyte pad0; /**< */ 2603 ushort length; /**< */ 2604 ushort font_qty; /**< */ 2605 } ; 2606 2607 /** 2608 * @brief xcb_get_font_path_cookie_t 2609 **/ 2610 struct xcb_get_font_path_cookie_t { 2611 uint sequence; /**< */ 2612 } ; 2613 2614 /** Opcode for xcb_get_font_path. */ 2615 const uint XCB_GET_FONT_PATH = 52; 2616 2617 /** 2618 * @brief xcb_get_font_path_request_t 2619 **/ 2620 struct xcb_get_font_path_request_t { 2621 ubyte major_opcode; /**< */ 2622 ubyte pad0; /**< */ 2623 ushort length; /**< */ 2624 } ; 2625 2626 /** 2627 * @brief xcb_get_font_path_reply_t 2628 **/ 2629 struct xcb_get_font_path_reply_t { 2630 ubyte response_type; /**< */ 2631 ubyte pad0; /**< */ 2632 ushort sequence; /**< */ 2633 uint length; /**< */ 2634 ushort path_len; /**< */ 2635 ubyte pad1[22]; /**< */ 2636 } ; 2637 2638 /** Opcode for xcb_create_pixmap. */ 2639 const uint XCB_CREATE_PIXMAP = 53; 2640 2641 /** 2642 * @brief xcb_create_pixmap_request_t 2643 **/ 2644 struct xcb_create_pixmap_request_t { 2645 ubyte major_opcode; /**< */ 2646 ubyte depth; /**< */ 2647 ushort length; /**< */ 2648 xcb_pixmap_t pid; /**< */ 2649 xcb_drawable_t drawable; /**< */ 2650 ushort width; /**< */ 2651 ushort height; /**< */ 2652 } ; 2653 2654 /** Opcode for xcb_free_pixmap. */ 2655 const uint XCB_FREE_PIXMAP = 54; 2656 2657 /** 2658 * @brief xcb_free_pixmap_request_t 2659 **/ 2660 struct xcb_free_pixmap_request_t { 2661 ubyte major_opcode; /**< */ 2662 ubyte pad0; /**< */ 2663 ushort length; /**< */ 2664 xcb_pixmap_t pixmap; /**< */ 2665 } ; 2666 2667 enum :int{ 2668 XCB_GC_FUNCTION = (1 << 0), 2669 XCB_GC_PLANE_MASK = (1 << 1), 2670 XCB_GC_FOREGROUND = (1 << 2), 2671 XCB_GC_BACKGROUND = (1 << 3), 2672 XCB_GC_LINE_WIDTH = (1 << 4), 2673 XCB_GC_LINE_STYLE = (1 << 5), 2674 XCB_GC_CAP_STYLE = (1 << 6), 2675 XCB_GC_JOIN_STYLE = (1 << 7), 2676 XCB_GC_FILL_STYLE = (1 << 8), 2677 XCB_GC_FILL_RULE = (1 << 9), 2678 XCB_GC_TILE = (1 << 10), 2679 XCB_GC_STIPPLE = (1 << 11), 2680 XCB_GC_TILE_STIPPLE_ORIGIN_X = (1 << 12), 2681 XCB_GC_TILE_STIPPLE_ORIGIN_Y = (1 << 13), 2682 XCB_GC_FONT = (1 << 14), 2683 XCB_GC_SUBWINDOW_MODE = (1 << 15), 2684 XCB_GC_GRAPHICS_EXPOSURES = (1 << 16), 2685 XCB_GC_CLIP_ORIGIN_X = (1 << 17), 2686 XCB_GC_CLIP_ORIGIN_Y = (1 << 18), 2687 XCB_GC_CLIP_MASK = (1 << 19), 2688 XCB_GC_DASH_OFFSET = (1 << 20), 2689 XCB_GC_DASH_LIST = (1 << 21), 2690 XCB_GC_ARC_MODE = (1 << 22) 2691 }; 2692 2693 enum :int{ 2694 XCB_GX_CLEAR = 0x0, 2695 XCB_GX_AND = 0x1, 2696 XCB_GX_AND_REVERSE = 0x2, 2697 XCB_GX_COPY = 0x3, 2698 XCB_GX_AND_INVERTED = 0x4, 2699 XCB_GX_NOOP = 0x5, 2700 XCB_GX_XOR = 0x6, 2701 XCB_GX_OR = 0x7, 2702 XCB_GX_NOR = 0x8, 2703 XCB_GX_EQUIV = 0x9, 2704 XCB_GX_INVERT = 0xa, 2705 XCB_GX_OR_REVERSE = 0xb, 2706 XCB_GX_COPY_INVERTED = 0xc, 2707 XCB_GX_OR_INVERTED = 0xd, 2708 XCB_GX_NAND = 0xe, 2709 XCB_GX_SET = 0xf 2710 }; 2711 2712 enum :int{ 2713 XCB_LINE_STYLE_SOLID = 0, 2714 XCB_LINE_STYLE_ON_OFF_DASH = 1, 2715 XCB_LINE_STYLE_DOUBLE_DASH = 2 2716 }; 2717 2718 enum :int{ 2719 XCB_CAP_STYLE_NOT_LAST = 0, 2720 XCB_CAP_STYLE_BUTT = 1, 2721 XCB_CAP_STYLE_ROUND = 2, 2722 XCB_CAP_STYLE_PROJECTING = 3 2723 }; 2724 2725 enum :int{ 2726 XCB_JOIN_STYLE_MITRE = 0, 2727 XCB_JOIN_STYLE_ROUND = 1, 2728 XCB_JOIN_STYLE_BEVEL = 2 2729 }; 2730 2731 enum :int{ 2732 XCB_FILL_STYLE_SOLID = 0, 2733 XCB_FILL_STYLE_TILED = 1, 2734 XCB_FILL_STYLE_STIPPLED = 2, 2735 XCB_FILL_STYLE_OPAQUE_STIPPLED = 3 2736 }; 2737 2738 enum :int{ 2739 XCB_FILL_RULE_EVEN_ODD = 0, 2740 XCB_FILL_RULE_WINDING = 1 2741 }; 2742 2743 enum :int{ 2744 XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN = 0, 2745 XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS = 1 2746 }; 2747 2748 enum :int{ 2749 XCB_ARC_MODE_CHORD = 0, 2750 XCB_ARC_MODE_PIE_SLICE = 1 2751 }; 2752 2753 /** Opcode for xcb_create_gc. */ 2754 const uint XCB_CREATE_GC = 55; 2755 2756 /** 2757 * @brief xcb_create_gc_request_t 2758 **/ 2759 struct xcb_create_gc_request_t { 2760 ubyte major_opcode; /**< */ 2761 ubyte pad0; /**< */ 2762 ushort length; /**< */ 2763 xcb_gcontext_t cid; /**< */ 2764 xcb_drawable_t drawable; /**< */ 2765 uint value_mask; /**< */ 2766 } ; 2767 2768 /** Opcode for xcb_change_gc. */ 2769 const uint XCB_CHANGE_GC = 56; 2770 2771 /** 2772 * @brief xcb_change_gc_request_t 2773 **/ 2774 struct xcb_change_gc_request_t { 2775 ubyte major_opcode; /**< */ 2776 ubyte pad0; /**< */ 2777 ushort length; /**< */ 2778 xcb_gcontext_t gc; /**< */ 2779 uint value_mask; /**< */ 2780 } ; 2781 2782 /** Opcode for xcb_copy_gc. */ 2783 const uint XCB_COPY_GC = 57; 2784 2785 /** 2786 * @brief xcb_copy_gc_request_t 2787 **/ 2788 struct xcb_copy_gc_request_t { 2789 ubyte major_opcode; /**< */ 2790 ubyte pad0; /**< */ 2791 ushort length; /**< */ 2792 xcb_gcontext_t src_gc; /**< */ 2793 xcb_gcontext_t dst_gc; /**< */ 2794 uint value_mask; /**< */ 2795 } ; 2796 2797 /** Opcode for xcb_set_dashes. */ 2798 const uint XCB_SET_DASHES = 58; 2799 2800 /** 2801 * @brief xcb_set_dashes_request_t 2802 **/ 2803 struct xcb_set_dashes_request_t { 2804 ubyte major_opcode; /**< */ 2805 ubyte pad0; /**< */ 2806 ushort length; /**< */ 2807 xcb_gcontext_t gc; /**< */ 2808 ushort dash_offset; /**< */ 2809 ushort dashes_len; /**< */ 2810 } ; 2811 2812 enum :int{ 2813 XCB_CLIP_ORDERING_UNSORTED = 0, 2814 XCB_CLIP_ORDERING_Y_SORTED = 1, 2815 XCB_CLIP_ORDERING_YX_SORTED = 2, 2816 XCB_CLIP_ORDERING_YX_BANDED = 3 2817 }; 2818 2819 /** Opcode for xcb_set_clip_rectangles. */ 2820 const uint XCB_SET_CLIP_RECTANGLES = 59; 2821 2822 /** 2823 * @brief xcb_set_clip_rectangles_request_t 2824 **/ 2825 struct xcb_set_clip_rectangles_request_t { 2826 ubyte major_opcode; /**< */ 2827 ubyte ordering; /**< */ 2828 ushort length; /**< */ 2829 xcb_gcontext_t gc; /**< */ 2830 short clip_x_origin; /**< */ 2831 short clip_y_origin; /**< */ 2832 } ; 2833 2834 /** Opcode for xcb_free_gc. */ 2835 const uint XCB_FREE_GC = 60; 2836 2837 /** 2838 * @brief xcb_free_gc_request_t 2839 **/ 2840 struct xcb_free_gc_request_t { 2841 ubyte major_opcode; /**< */ 2842 ubyte pad0; /**< */ 2843 ushort length; /**< */ 2844 xcb_gcontext_t gc; /**< */ 2845 } ; 2846 2847 /** Opcode for xcb_clear_area. */ 2848 const uint XCB_CLEAR_AREA = 61; 2849 2850 /** 2851 * @brief xcb_clear_area_request_t 2852 **/ 2853 struct xcb_clear_area_request_t { 2854 ubyte major_opcode; /**< */ 2855 bool exposures; /**< */ 2856 ushort length; /**< */ 2857 xcb_window_t window; /**< */ 2858 short x; /**< */ 2859 short y; /**< */ 2860 ushort width; /**< */ 2861 ushort height; /**< */ 2862 } ; 2863 2864 /** Opcode for xcb_copy_area. */ 2865 const uint XCB_COPY_AREA = 62; 2866 2867 /** 2868 * @brief xcb_copy_area_request_t 2869 **/ 2870 struct xcb_copy_area_request_t { 2871 ubyte major_opcode; /**< */ 2872 ubyte pad0; /**< */ 2873 ushort length; /**< */ 2874 xcb_drawable_t src_drawable; /**< */ 2875 xcb_drawable_t dst_drawable; /**< */ 2876 xcb_gcontext_t gc; /**< */ 2877 short src_x; /**< */ 2878 short src_y; /**< */ 2879 short dst_x; /**< */ 2880 short dst_y; /**< */ 2881 ushort width; /**< */ 2882 ushort height; /**< */ 2883 } ; 2884 2885 /** Opcode for xcb_copy_plane. */ 2886 const uint XCB_COPY_PLANE = 63; 2887 2888 /** 2889 * @brief xcb_copy_plane_request_t 2890 **/ 2891 struct xcb_copy_plane_request_t { 2892 ubyte major_opcode; /**< */ 2893 ubyte pad0; /**< */ 2894 ushort length; /**< */ 2895 xcb_drawable_t src_drawable; /**< */ 2896 xcb_drawable_t dst_drawable; /**< */ 2897 xcb_gcontext_t gc; /**< */ 2898 short src_x; /**< */ 2899 short src_y; /**< */ 2900 short dst_x; /**< */ 2901 short dst_y; /**< */ 2902 ushort width; /**< */ 2903 ushort height; /**< */ 2904 uint bit_plane; /**< */ 2905 } ; 2906 2907 enum :int{ 2908 XCB_COORD_MODE_ORIGIN = 0, 2909 XCB_COORD_MODE_PREVIOUS = 1 2910 }; 2911 2912 /** Opcode for xcb_poly_point. */ 2913 const uint XCB_POLY_POINT = 64; 2914 2915 /** 2916 * @brief xcb_poly_point_request_t 2917 **/ 2918 struct xcb_poly_point_request_t { 2919 ubyte major_opcode; /**< */ 2920 ubyte coordinate_mode; /**< */ 2921 ushort length; /**< */ 2922 xcb_drawable_t drawable; /**< */ 2923 xcb_gcontext_t gc; /**< */ 2924 } ; 2925 2926 /** Opcode for xcb_poly_line. */ 2927 const uint XCB_POLY_LINE = 65; 2928 2929 /** 2930 * @brief xcb_poly_line_request_t 2931 **/ 2932 struct xcb_poly_line_request_t { 2933 ubyte major_opcode; /**< */ 2934 ubyte coordinate_mode; /**< */ 2935 ushort length; /**< */ 2936 xcb_drawable_t drawable; /**< */ 2937 xcb_gcontext_t gc; /**< */ 2938 } ; 2939 2940 /** 2941 * @brief xcb_segment_t 2942 **/ 2943 struct xcb_segment_t { 2944 short x1; /**< */ 2945 short y1; /**< */ 2946 short x2; /**< */ 2947 short y2; /**< */ 2948 } ; 2949 2950 /** 2951 * @brief xcb_segment_iterator_t 2952 **/ 2953 struct xcb_segment_iterator_t { 2954 xcb_segment_t *data; /**< */ 2955 int rem; /**< */ 2956 int index; /**< */ 2957 } ; 2958 2959 /** Opcode for xcb_poly_segment. */ 2960 const uint XCB_POLY_SEGMENT = 66; 2961 2962 /** 2963 * @brief xcb_poly_segment_request_t 2964 **/ 2965 struct xcb_poly_segment_request_t { 2966 ubyte major_opcode; /**< */ 2967 ubyte pad0; /**< */ 2968 ushort length; /**< */ 2969 xcb_drawable_t drawable; /**< */ 2970 xcb_gcontext_t gc; /**< */ 2971 } ; 2972 2973 /** Opcode for xcb_poly_rectangle. */ 2974 const uint XCB_POLY_RECTANGLE = 67; 2975 2976 /** 2977 * @brief xcb_poly_rectangle_request_t 2978 **/ 2979 struct xcb_poly_rectangle_request_t { 2980 ubyte major_opcode; /**< */ 2981 ubyte pad0; /**< */ 2982 ushort length; /**< */ 2983 xcb_drawable_t drawable; /**< */ 2984 xcb_gcontext_t gc; /**< */ 2985 } ; 2986 2987 /** Opcode for xcb_poly_arc. */ 2988 const uint XCB_POLY_ARC = 68; 2989 2990 /** 2991 * @brief xcb_poly_arc_request_t 2992 **/ 2993 struct xcb_poly_arc_request_t { 2994 ubyte major_opcode; /**< */ 2995 ubyte pad0; /**< */ 2996 ushort length; /**< */ 2997 xcb_drawable_t drawable; /**< */ 2998 xcb_gcontext_t gc; /**< */ 2999 } ; 3000 3001 enum :int{ 3002 XCB_POLY_SHAPE_COMPLEX = 0, 3003 XCB_POLY_SHAPE_NONCONVEX = 1, 3004 XCB_POLY_SHAPE_CONVEX = 2 3005 }; 3006 3007 /** Opcode for xcb_fill_poly. */ 3008 const uint XCB_FILL_POLY = 69; 3009 3010 /** 3011 * @brief xcb_fill_poly_request_t 3012 **/ 3013 struct xcb_fill_poly_request_t { 3014 ubyte major_opcode; /**< */ 3015 ubyte pad0; /**< */ 3016 ushort length; /**< */ 3017 xcb_drawable_t drawable; /**< */ 3018 xcb_gcontext_t gc; /**< */ 3019 ubyte shape; /**< */ 3020 ubyte coordinate_mode; /**< */ 3021 } ; 3022 3023 /** Opcode for xcb_poly_fill_rectangle. */ 3024 const uint XCB_POLY_FILL_RECTANGLE = 70; 3025 3026 /** 3027 * @brief xcb_poly_fill_rectangle_request_t 3028 **/ 3029 struct xcb_poly_fill_rectangle_request_t { 3030 ubyte major_opcode; /**< */ 3031 ubyte pad0; /**< */ 3032 ushort length; /**< */ 3033 xcb_drawable_t drawable; /**< */ 3034 xcb_gcontext_t gc; /**< */ 3035 } ; 3036 3037 /** Opcode for xcb_poly_fill_arc. */ 3038 const uint XCB_POLY_FILL_ARC = 71; 3039 3040 /** 3041 * @brief xcb_poly_fill_arc_request_t 3042 **/ 3043 struct xcb_poly_fill_arc_request_t { 3044 ubyte major_opcode; /**< */ 3045 ubyte pad0; /**< */ 3046 ushort length; /**< */ 3047 xcb_drawable_t drawable; /**< */ 3048 xcb_gcontext_t gc; /**< */ 3049 } ; 3050 3051 alias xcb_image_format_t = int; 3052 enum :int{ 3053 XCB_IMAGE_FORMAT_XY_BITMAP = 0, 3054 XCB_IMAGE_FORMAT_XY_PIXMAP = 1, 3055 XCB_IMAGE_FORMAT_Z_PIXMAP = 2 3056 }; 3057 3058 /** Opcode for xcb_put_image. */ 3059 const uint XCB_PUT_IMAGE = 72; 3060 3061 /** 3062 * @brief xcb_put_image_request_t 3063 **/ 3064 struct xcb_put_image_request_t { 3065 ubyte major_opcode; /**< */ 3066 ubyte format; /**< */ 3067 ushort length; /**< */ 3068 xcb_drawable_t drawable; /**< */ 3069 xcb_gcontext_t gc; /**< */ 3070 ushort width; /**< */ 3071 ushort height; /**< */ 3072 short dst_x; /**< */ 3073 short dst_y; /**< */ 3074 ubyte left_pad; /**< */ 3075 ubyte depth; /**< */ 3076 } ; 3077 3078 /** 3079 * @brief xcb_get_image_cookie_t 3080 **/ 3081 struct xcb_get_image_cookie_t { 3082 uint sequence; /**< */ 3083 } ; 3084 3085 /** Opcode for xcb_get_image. */ 3086 const uint XCB_GET_IMAGE = 73; 3087 3088 /** 3089 * @brief xcb_get_image_request_t 3090 **/ 3091 struct xcb_get_image_request_t { 3092 ubyte major_opcode; /**< */ 3093 ubyte format; /**< */ 3094 ushort length; /**< */ 3095 xcb_drawable_t drawable; /**< */ 3096 short x; /**< */ 3097 short y; /**< */ 3098 ushort width; /**< */ 3099 ushort height; /**< */ 3100 uint plane_mask; /**< */ 3101 } ; 3102 3103 /** 3104 * @brief xcb_get_image_reply_t 3105 **/ 3106 struct xcb_get_image_reply_t { 3107 ubyte response_type; /**< */ 3108 ubyte depth; /**< */ 3109 ushort sequence; /**< */ 3110 uint length; /**< */ 3111 xcb_visualid_t visual; /**< */ 3112 ubyte pad0[20]; /**< */ 3113 } ; 3114 3115 /** Opcode for xcb_poly_text_8. */ 3116 const uint XCB_POLY_TEXT_8 = 74; 3117 3118 /** 3119 * @brief xcb_poly_text_8_request_t 3120 **/ 3121 struct xcb_poly_text_8_request_t { 3122 ubyte major_opcode; /**< */ 3123 ubyte pad0; /**< */ 3124 ushort length; /**< */ 3125 xcb_drawable_t drawable; /**< */ 3126 xcb_gcontext_t gc; /**< */ 3127 short x; /**< */ 3128 short y; /**< */ 3129 } ; 3130 3131 /** Opcode for xcb_poly_text_16. */ 3132 const uint XCB_POLY_TEXT_16 = 75; 3133 3134 /** 3135 * @brief xcb_poly_text_16_request_t 3136 **/ 3137 struct xcb_poly_text_16_request_t { 3138 ubyte major_opcode; /**< */ 3139 ubyte pad0; /**< */ 3140 ushort length; /**< */ 3141 xcb_drawable_t drawable; /**< */ 3142 xcb_gcontext_t gc; /**< */ 3143 short x; /**< */ 3144 short y; /**< */ 3145 } ; 3146 3147 /** Opcode for xcb_image_text_8. */ 3148 const uint XCB_IMAGE_TEXT_8 = 76; 3149 3150 /** 3151 * @brief xcb_image_text_8_request_t 3152 **/ 3153 struct xcb_image_text_8_request_t { 3154 ubyte major_opcode; /**< */ 3155 ubyte string_len; /**< */ 3156 ushort length; /**< */ 3157 xcb_drawable_t drawable; /**< */ 3158 xcb_gcontext_t gc; /**< */ 3159 short x; /**< */ 3160 short y; /**< */ 3161 } ; 3162 3163 /** Opcode for xcb_image_text_16. */ 3164 const uint XCB_IMAGE_TEXT_16 = 77; 3165 3166 /** 3167 * @brief xcb_image_text_16_request_t 3168 **/ 3169 struct xcb_image_text_16_request_t { 3170 ubyte major_opcode; /**< */ 3171 ubyte string_len; /**< */ 3172 ushort length; /**< */ 3173 xcb_drawable_t drawable; /**< */ 3174 xcb_gcontext_t gc; /**< */ 3175 short x; /**< */ 3176 short y; /**< */ 3177 } ; 3178 3179 enum :int{ 3180 XCB_COLORMAP_ALLOC_NONE = 0, 3181 XCB_COLORMAP_ALLOC_ALL = 1 3182 }; 3183 3184 /** Opcode for xcb_create_colormap. */ 3185 const uint XCB_CREATE_COLORMAP = 78; 3186 3187 /** 3188 * @brief xcb_create_colormap_request_t 3189 **/ 3190 struct xcb_create_colormap_request_t { 3191 ubyte major_opcode; /**< */ 3192 ubyte alloc; /**< */ 3193 ushort length; /**< */ 3194 xcb_colormap_t mid; /**< */ 3195 xcb_window_t window; /**< */ 3196 xcb_visualid_t visual; /**< */ 3197 } ; 3198 3199 /** Opcode for xcb_free_colormap. */ 3200 const uint XCB_FREE_COLORMAP = 79; 3201 3202 /** 3203 * @brief xcb_free_colormap_request_t 3204 **/ 3205 struct xcb_free_colormap_request_t { 3206 ubyte major_opcode; /**< */ 3207 ubyte pad0; /**< */ 3208 ushort length; /**< */ 3209 xcb_colormap_t cmap; /**< */ 3210 } ; 3211 3212 /** Opcode for xcb_copy_colormap_and_free. */ 3213 const uint XCB_COPY_COLORMAP_AND_FREE = 80; 3214 3215 /** 3216 * @brief xcb_copy_colormap_and_free_request_t 3217 **/ 3218 struct xcb_copy_colormap_and_free_request_t { 3219 ubyte major_opcode; /**< */ 3220 ubyte pad0; /**< */ 3221 ushort length; /**< */ 3222 xcb_colormap_t mid; /**< */ 3223 xcb_colormap_t src_cmap; /**< */ 3224 } ; 3225 3226 /** Opcode for xcb_install_colormap. */ 3227 const uint XCB_INSTALL_COLORMAP = 81; 3228 3229 /** 3230 * @brief xcb_install_colormap_request_t 3231 **/ 3232 struct xcb_install_colormap_request_t { 3233 ubyte major_opcode; /**< */ 3234 ubyte pad0; /**< */ 3235 ushort length; /**< */ 3236 xcb_colormap_t cmap; /**< */ 3237 } ; 3238 3239 /** Opcode for xcb_uninstall_colormap. */ 3240 const uint XCB_UNINSTALL_COLORMAP = 82; 3241 3242 /** 3243 * @brief xcb_uninstall_colormap_request_t 3244 **/ 3245 struct xcb_uninstall_colormap_request_t { 3246 ubyte major_opcode; /**< */ 3247 ubyte pad0; /**< */ 3248 ushort length; /**< */ 3249 xcb_colormap_t cmap; /**< */ 3250 } ; 3251 3252 /** 3253 * @brief xcb_list_installed_colormaps_cookie_t 3254 **/ 3255 struct xcb_list_installed_colormaps_cookie_t { 3256 uint sequence; /**< */ 3257 } ; 3258 3259 /** Opcode for xcb_list_installed_colormaps. */ 3260 const uint XCB_LIST_INSTALLED_COLORMAPS = 83; 3261 3262 /** 3263 * @brief xcb_list_installed_colormaps_request_t 3264 **/ 3265 struct xcb_list_installed_colormaps_request_t { 3266 ubyte major_opcode; /**< */ 3267 ubyte pad0; /**< */ 3268 ushort length; /**< */ 3269 xcb_window_t window; /**< */ 3270 } ; 3271 3272 /** 3273 * @brief xcb_list_installed_colormaps_reply_t 3274 **/ 3275 struct xcb_list_installed_colormaps_reply_t { 3276 ubyte response_type; /**< */ 3277 ubyte pad0; /**< */ 3278 ushort sequence; /**< */ 3279 uint length; /**< */ 3280 ushort cmaps_len; /**< */ 3281 ubyte pad1[22]; /**< */ 3282 } ; 3283 3284 /** 3285 * @brief xcb_alloc_color_cookie_t 3286 **/ 3287 struct xcb_alloc_color_cookie_t { 3288 uint sequence; /**< */ 3289 } ; 3290 3291 /** Opcode for xcb_alloc_color. */ 3292 const uint XCB_ALLOC_COLOR = 84; 3293 3294 /** 3295 * @brief xcb_alloc_color_request_t 3296 **/ 3297 struct xcb_alloc_color_request_t { 3298 ubyte major_opcode; /**< */ 3299 ubyte pad0; /**< */ 3300 ushort length; /**< */ 3301 xcb_colormap_t cmap; /**< */ 3302 ushort red; /**< */ 3303 ushort green; /**< */ 3304 ushort blue; /**< */ 3305 } ; 3306 3307 /** 3308 * @brief xcb_alloc_color_reply_t 3309 **/ 3310 struct xcb_alloc_color_reply_t { 3311 ubyte response_type; /**< */ 3312 ubyte pad0; /**< */ 3313 ushort sequence; /**< */ 3314 uint length; /**< */ 3315 ushort red; /**< */ 3316 ushort green; /**< */ 3317 ushort blue; /**< */ 3318 ubyte pad1[2]; /**< */ 3319 uint pixel; /**< */ 3320 } ; 3321 3322 /** 3323 * @brief xcb_alloc_named_color_cookie_t 3324 **/ 3325 struct xcb_alloc_named_color_cookie_t { 3326 uint sequence; /**< */ 3327 } ; 3328 3329 /** Opcode for xcb_alloc_named_color. */ 3330 const uint XCB_ALLOC_NAMED_COLOR = 85; 3331 3332 /** 3333 * @brief xcb_alloc_named_color_request_t 3334 **/ 3335 struct xcb_alloc_named_color_request_t { 3336 ubyte major_opcode; /**< */ 3337 ubyte pad0; /**< */ 3338 ushort length; /**< */ 3339 xcb_colormap_t cmap; /**< */ 3340 ushort name_len; /**< */ 3341 } ; 3342 3343 /** 3344 * @brief xcb_alloc_named_color_reply_t 3345 **/ 3346 struct xcb_alloc_named_color_reply_t { 3347 ubyte response_type; /**< */ 3348 ubyte pad0; /**< */ 3349 ushort sequence; /**< */ 3350 uint length; /**< */ 3351 uint pixel; /**< */ 3352 ushort exact_red; /**< */ 3353 ushort exact_green; /**< */ 3354 ushort exact_blue; /**< */ 3355 ushort visual_red; /**< */ 3356 ushort visual_green; /**< */ 3357 ushort visual_blue; /**< */ 3358 } ; 3359 3360 /** 3361 * @brief xcb_alloc_color_cells_cookie_t 3362 **/ 3363 struct xcb_alloc_color_cells_cookie_t { 3364 uint sequence; /**< */ 3365 } ; 3366 3367 /** Opcode for xcb_alloc_color_cells. */ 3368 const uint XCB_ALLOC_COLOR_CELLS = 86; 3369 3370 /** 3371 * @brief xcb_alloc_color_cells_request_t 3372 **/ 3373 struct xcb_alloc_color_cells_request_t { 3374 ubyte major_opcode; /**< */ 3375 bool contiguous; /**< */ 3376 ushort length; /**< */ 3377 xcb_colormap_t cmap; /**< */ 3378 ushort colors; /**< */ 3379 ushort planes; /**< */ 3380 } ; 3381 3382 /** 3383 * @brief xcb_alloc_color_cells_reply_t 3384 **/ 3385 struct xcb_alloc_color_cells_reply_t { 3386 ubyte response_type; /**< */ 3387 ubyte pad0; /**< */ 3388 ushort sequence; /**< */ 3389 uint length; /**< */ 3390 ushort pixels_len; /**< */ 3391 ushort masks_len; /**< */ 3392 ubyte pad1[20]; /**< */ 3393 } ; 3394 3395 /** 3396 * @brief xcb_alloc_color_planes_cookie_t 3397 **/ 3398 struct xcb_alloc_color_planes_cookie_t { 3399 uint sequence; /**< */ 3400 } ; 3401 3402 /** Opcode for xcb_alloc_color_planes. */ 3403 const uint XCB_ALLOC_COLOR_PLANES = 87; 3404 3405 /** 3406 * @brief xcb_alloc_color_planes_request_t 3407 **/ 3408 struct xcb_alloc_color_planes_request_t { 3409 ubyte major_opcode; /**< */ 3410 bool contiguous; /**< */ 3411 ushort length; /**< */ 3412 xcb_colormap_t cmap; /**< */ 3413 ushort colors; /**< */ 3414 ushort reds; /**< */ 3415 ushort greens; /**< */ 3416 ushort blues; /**< */ 3417 } ; 3418 3419 /** 3420 * @brief xcb_alloc_color_planes_reply_t 3421 **/ 3422 struct xcb_alloc_color_planes_reply_t { 3423 ubyte response_type; /**< */ 3424 ubyte pad0; /**< */ 3425 ushort sequence; /**< */ 3426 uint length; /**< */ 3427 ushort pixels_len; /**< */ 3428 ubyte pad1[2]; /**< */ 3429 uint red_mask; /**< */ 3430 uint green_mask; /**< */ 3431 uint blue_mask; /**< */ 3432 ubyte pad2[8]; /**< */ 3433 } ; 3434 3435 /** Opcode for xcb_free_colors. */ 3436 const uint XCB_FREE_COLORS = 88; 3437 3438 /** 3439 * @brief xcb_free_colors_request_t 3440 **/ 3441 struct xcb_free_colors_request_t { 3442 ubyte major_opcode; /**< */ 3443 ubyte pad0; /**< */ 3444 ushort length; /**< */ 3445 xcb_colormap_t cmap; /**< */ 3446 uint plane_mask; /**< */ 3447 } ; 3448 3449 enum :int{ 3450 XCB_COLOR_FLAG_RED = (1 << 0), 3451 XCB_COLOR_FLAG_GREEN = (1 << 1), 3452 XCB_COLOR_FLAG_BLUE = (1 << 2) 3453 }; 3454 3455 /** 3456 * @brief xcb_coloritem_t 3457 **/ 3458 struct xcb_coloritem_t { 3459 uint pixel; /**< */ 3460 ushort red; /**< */ 3461 ushort green; /**< */ 3462 ushort blue; /**< */ 3463 ubyte flags; /**< */ 3464 ubyte pad0; /**< */ 3465 } ; 3466 3467 /** 3468 * @brief xcb_coloritem_iterator_t 3469 **/ 3470 struct xcb_coloritem_iterator_t { 3471 xcb_coloritem_t *data; /**< */ 3472 int rem; /**< */ 3473 int index; /**< */ 3474 } ; 3475 3476 /** Opcode for xcb_store_colors. */ 3477 const uint XCB_STORE_COLORS = 89; 3478 3479 /** 3480 * @brief xcb_store_colors_request_t 3481 **/ 3482 struct xcb_store_colors_request_t { 3483 ubyte major_opcode; /**< */ 3484 ubyte pad0; /**< */ 3485 ushort length; /**< */ 3486 xcb_colormap_t cmap; /**< */ 3487 } ; 3488 3489 /** Opcode for xcb_store_named_color. */ 3490 const uint XCB_STORE_NAMED_COLOR = 90; 3491 3492 /** 3493 * @brief xcb_store_named_color_request_t 3494 **/ 3495 struct xcb_store_named_color_request_t { 3496 ubyte major_opcode; /**< */ 3497 ubyte flags; /**< */ 3498 ushort length; /**< */ 3499 xcb_colormap_t cmap; /**< */ 3500 uint pixel; /**< */ 3501 ushort name_len; /**< */ 3502 } ; 3503 3504 /** 3505 * @brief xcb_rgb_t 3506 **/ 3507 struct xcb_rgb_t { 3508 ushort red; /**< */ 3509 ushort green; /**< */ 3510 ushort blue; /**< */ 3511 ubyte pad0[2]; /**< */ 3512 } ; 3513 3514 /** 3515 * @brief xcb_rgb_iterator_t 3516 **/ 3517 struct xcb_rgb_iterator_t { 3518 xcb_rgb_t *data; /**< */ 3519 int rem; /**< */ 3520 int index; /**< */ 3521 } ; 3522 3523 /** 3524 * @brief xcb_query_colors_cookie_t 3525 **/ 3526 struct xcb_query_colors_cookie_t { 3527 uint sequence; /**< */ 3528 } ; 3529 3530 /** Opcode for xcb_query_colors. */ 3531 const uint XCB_QUERY_COLORS = 91; 3532 3533 /** 3534 * @brief xcb_query_colors_request_t 3535 **/ 3536 struct xcb_query_colors_request_t { 3537 ubyte major_opcode; /**< */ 3538 ubyte pad0; /**< */ 3539 ushort length; /**< */ 3540 xcb_colormap_t cmap; /**< */ 3541 } ; 3542 3543 /** 3544 * @brief xcb_query_colors_reply_t 3545 **/ 3546 struct xcb_query_colors_reply_t { 3547 ubyte response_type; /**< */ 3548 ubyte pad0; /**< */ 3549 ushort sequence; /**< */ 3550 uint length; /**< */ 3551 ushort colors_len; /**< */ 3552 ubyte pad1[22]; /**< */ 3553 } ; 3554 3555 /** 3556 * @brief xcb_lookup_color_cookie_t 3557 **/ 3558 struct xcb_lookup_color_cookie_t { 3559 uint sequence; /**< */ 3560 } ; 3561 3562 /** Opcode for xcb_lookup_color. */ 3563 const uint XCB_LOOKUP_COLOR = 92; 3564 3565 /** 3566 * @brief xcb_lookup_color_request_t 3567 **/ 3568 struct xcb_lookup_color_request_t { 3569 ubyte major_opcode; /**< */ 3570 ubyte pad0; /**< */ 3571 ushort length; /**< */ 3572 xcb_colormap_t cmap; /**< */ 3573 ushort name_len; /**< */ 3574 } ; 3575 3576 /** 3577 * @brief xcb_lookup_color_reply_t 3578 **/ 3579 struct xcb_lookup_color_reply_t { 3580 ubyte response_type; /**< */ 3581 ubyte pad0; /**< */ 3582 ushort sequence; /**< */ 3583 uint length; /**< */ 3584 ushort exact_red; /**< */ 3585 ushort exact_green; /**< */ 3586 ushort exact_blue; /**< */ 3587 ushort visual_red; /**< */ 3588 ushort visual_green; /**< */ 3589 ushort visual_blue; /**< */ 3590 } ; 3591 3592 /** Opcode for xcb_create_cursor. */ 3593 const uint XCB_CREATE_CURSOR = 93; 3594 3595 /** 3596 * @brief xcb_create_cursor_request_t 3597 **/ 3598 struct xcb_create_cursor_request_t { 3599 ubyte major_opcode; /**< */ 3600 ubyte pad0; /**< */ 3601 ushort length; /**< */ 3602 xcb_cursor_t cid; /**< */ 3603 xcb_pixmap_t source; /**< */ 3604 xcb_pixmap_t mask; /**< */ 3605 ushort fore_red; /**< */ 3606 ushort fore_green; /**< */ 3607 ushort fore_blue; /**< */ 3608 ushort back_red; /**< */ 3609 ushort back_green; /**< */ 3610 ushort back_blue; /**< */ 3611 ushort x; /**< */ 3612 ushort y; /**< */ 3613 } ; 3614 3615 /** Opcode for xcb_create_glyph_cursor. */ 3616 const uint XCB_CREATE_GLYPH_CURSOR = 94; 3617 3618 /** 3619 * @brief xcb_create_glyph_cursor_request_t 3620 **/ 3621 struct xcb_create_glyph_cursor_request_t { 3622 ubyte major_opcode; /**< */ 3623 ubyte pad0; /**< */ 3624 ushort length; /**< */ 3625 xcb_cursor_t cid; /**< */ 3626 xcb_font_t source_font; /**< */ 3627 xcb_font_t mask_font; /**< */ 3628 ushort source_char; /**< */ 3629 ushort mask_char; /**< */ 3630 ushort fore_red; /**< */ 3631 ushort fore_green; /**< */ 3632 ushort fore_blue; /**< */ 3633 ushort back_red; /**< */ 3634 ushort back_green; /**< */ 3635 ushort back_blue; /**< */ 3636 } ; 3637 3638 /** Opcode for xcb_free_cursor. */ 3639 const uint XCB_FREE_CURSOR = 95; 3640 3641 /** 3642 * @brief xcb_free_cursor_request_t 3643 **/ 3644 struct xcb_free_cursor_request_t { 3645 ubyte major_opcode; /**< */ 3646 ubyte pad0; /**< */ 3647 ushort length; /**< */ 3648 xcb_cursor_t cursor; /**< */ 3649 } ; 3650 3651 /** Opcode for xcb_recolor_cursor. */ 3652 const uint XCB_RECOLOR_CURSOR = 96; 3653 3654 /** 3655 * @brief xcb_recolor_cursor_request_t 3656 **/ 3657 struct xcb_recolor_cursor_request_t { 3658 ubyte major_opcode; /**< */ 3659 ubyte pad0; /**< */ 3660 ushort length; /**< */ 3661 xcb_cursor_t cursor; /**< */ 3662 ushort fore_red; /**< */ 3663 ushort fore_green; /**< */ 3664 ushort fore_blue; /**< */ 3665 ushort back_red; /**< */ 3666 ushort back_green; /**< */ 3667 ushort back_blue; /**< */ 3668 } ; 3669 3670 enum :int{ 3671 XCB_QUERY_SHAPE_OF_LARGEST_CURSOR = 0, 3672 XCB_QUERY_SHAPE_OF_FASTEST_TILE = 1, 3673 XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE = 2 3674 }; 3675 3676 /** 3677 * @brief xcb_query_best_size_cookie_t 3678 **/ 3679 struct xcb_query_best_size_cookie_t { 3680 uint sequence; /**< */ 3681 } ; 3682 3683 /** Opcode for xcb_query_best_size. */ 3684 const uint XCB_QUERY_BEST_SIZE = 97; 3685 3686 /** 3687 * @brief xcb_query_best_size_request_t 3688 **/ 3689 struct xcb_query_best_size_request_t { 3690 ubyte major_opcode; /**< */ 3691 ubyte _class; /**< */ 3692 ushort length; /**< */ 3693 xcb_drawable_t drawable; /**< */ 3694 ushort width; /**< */ 3695 ushort height; /**< */ 3696 } ; 3697 3698 /** 3699 * @brief xcb_query_best_size_reply_t 3700 **/ 3701 struct xcb_query_best_size_reply_t { 3702 ubyte response_type; /**< */ 3703 ubyte pad0; /**< */ 3704 ushort sequence; /**< */ 3705 uint length; /**< */ 3706 ushort width; /**< */ 3707 ushort height; /**< */ 3708 } ; 3709 3710 /** 3711 * @brief xcb_query_extension_cookie_t 3712 **/ 3713 struct xcb_query_extension_cookie_t { 3714 uint sequence; /**< */ 3715 } ; 3716 3717 /** Opcode for xcb_query_extension. */ 3718 const uint XCB_QUERY_EXTENSION = 98; 3719 3720 /** 3721 * @brief xcb_query_extension_request_t 3722 **/ 3723 struct xcb_query_extension_request_t { 3724 ubyte major_opcode; /**< */ 3725 ubyte pad0; /**< */ 3726 ushort length; /**< */ 3727 ushort name_len; /**< */ 3728 } ; 3729 3730 /** 3731 * @brief xcb_query_extension_reply_t 3732 **/ 3733 struct xcb_query_extension_reply_t { 3734 ubyte response_type; /**< */ 3735 ubyte pad0; /**< */ 3736 ushort sequence; /**< */ 3737 uint length; /**< */ 3738 bool present; /**< */ 3739 ubyte major_opcode; /**< */ 3740 ubyte first_event; /**< */ 3741 ubyte first_error; /**< */ 3742 } ; 3743 3744 /** 3745 * @brief xcb_list_extensions_cookie_t 3746 **/ 3747 struct xcb_list_extensions_cookie_t { 3748 uint sequence; /**< */ 3749 } ; 3750 3751 /** Opcode for xcb_list_extensions. */ 3752 const uint XCB_LIST_EXTENSIONS = 99; 3753 3754 /** 3755 * @brief xcb_list_extensions_request_t 3756 **/ 3757 struct xcb_list_extensions_request_t { 3758 ubyte major_opcode; /**< */ 3759 ubyte pad0; /**< */ 3760 ushort length; /**< */ 3761 } ; 3762 3763 /** 3764 * @brief xcb_list_extensions_reply_t 3765 **/ 3766 struct xcb_list_extensions_reply_t { 3767 ubyte response_type; /**< */ 3768 ubyte names_len; /**< */ 3769 ushort sequence; /**< */ 3770 uint length; /**< */ 3771 ubyte pad0[24]; /**< */ 3772 } ; 3773 3774 /** Opcode for xcb_change_keyboard_mapping. */ 3775 const uint XCB_CHANGE_KEYBOARD_MAPPING = 100; 3776 3777 /** 3778 * @brief xcb_change_keyboard_mapping_request_t 3779 **/ 3780 struct xcb_change_keyboard_mapping_request_t { 3781 ubyte major_opcode; /**< */ 3782 ubyte keycode_count; /**< */ 3783 ushort length; /**< */ 3784 xcb_keycode_t first_keycode; /**< */ 3785 ubyte keysyms_per_keycode; /**< */ 3786 } ; 3787 3788 /** 3789 * @brief xcb_get_keyboard_mapping_cookie_t 3790 **/ 3791 struct xcb_get_keyboard_mapping_cookie_t { 3792 uint sequence; /**< */ 3793 } ; 3794 3795 /** Opcode for xcb_get_keyboard_mapping. */ 3796 const uint XCB_GET_KEYBOARD_MAPPING = 101; 3797 3798 /** 3799 * @brief xcb_get_keyboard_mapping_request_t 3800 **/ 3801 struct xcb_get_keyboard_mapping_request_t { 3802 ubyte major_opcode; /**< */ 3803 ubyte pad0; /**< */ 3804 ushort length; /**< */ 3805 xcb_keycode_t first_keycode; /**< */ 3806 ubyte count; /**< */ 3807 } ; 3808 3809 /** 3810 * @brief xcb_get_keyboard_mapping_reply_t 3811 **/ 3812 struct xcb_get_keyboard_mapping_reply_t { 3813 ubyte response_type; /**< */ 3814 ubyte keysyms_per_keycode; /**< */ 3815 ushort sequence; /**< */ 3816 uint length; /**< */ 3817 ubyte pad0[24]; /**< */ 3818 } ; 3819 3820 enum :int{ 3821 XCB_KB_KEY_CLICK_PERCENT = (1 << 0), 3822 XCB_KB_BELL_PERCENT = (1 << 1), 3823 XCB_KB_BELL_PITCH = (1 << 2), 3824 XCB_KB_BELL_DURATION = (1 << 3), 3825 XCB_KB_LED = (1 << 4), 3826 XCB_KB_LED_MODE = (1 << 5), 3827 XCB_KB_KEY = (1 << 6), 3828 XCB_KB_AUTO_REPEAT_MODE = (1 << 7) 3829 }; 3830 3831 enum :int{ 3832 XCB_LED_MODE_OFF = 0, 3833 XCB_LED_MODE_ON = 1 3834 }; 3835 3836 enum :int{ 3837 XCB_AUTO_REPEAT_MODE_OFF = 0, 3838 XCB_AUTO_REPEAT_MODE_ON = 1, 3839 XCB_AUTO_REPEAT_MODE_DEFAULT = 2 3840 }; 3841 3842 /** Opcode for xcb_change_keyboard_control. */ 3843 const uint XCB_CHANGE_KEYBOARD_CONTROL = 102; 3844 3845 /** 3846 * @brief xcb_change_keyboard_control_request_t 3847 **/ 3848 struct xcb_change_keyboard_control_request_t { 3849 ubyte major_opcode; /**< */ 3850 ubyte pad0; /**< */ 3851 ushort length; /**< */ 3852 uint value_mask; /**< */ 3853 } ; 3854 3855 /** 3856 * @brief xcb_get_keyboard_control_cookie_t 3857 **/ 3858 struct xcb_get_keyboard_control_cookie_t { 3859 uint sequence; /**< */ 3860 } ; 3861 3862 /** Opcode for xcb_get_keyboard_control. */ 3863 const uint XCB_GET_KEYBOARD_CONTROL = 103; 3864 3865 /** 3866 * @brief xcb_get_keyboard_control_request_t 3867 **/ 3868 struct xcb_get_keyboard_control_request_t { 3869 ubyte major_opcode; /**< */ 3870 ubyte pad0; /**< */ 3871 ushort length; /**< */ 3872 } ; 3873 3874 /** 3875 * @brief xcb_get_keyboard_control_reply_t 3876 **/ 3877 struct xcb_get_keyboard_control_reply_t { 3878 ubyte response_type; /**< */ 3879 ubyte global_auto_repeat; /**< */ 3880 ushort sequence; /**< */ 3881 uint length; /**< */ 3882 uint led_mask; /**< */ 3883 ubyte key_click_percent; /**< */ 3884 ubyte bell_percent; /**< */ 3885 ushort bell_pitch; /**< */ 3886 ushort bell_duration; /**< */ 3887 ubyte pad0[2]; /**< */ 3888 ubyte auto_repeats[32]; /**< */ 3889 } ; 3890 3891 /** Opcode for xcb_bell. */ 3892 const uint XCB_BELL = 104; 3893 3894 /** 3895 * @brief xcb_bell_request_t 3896 **/ 3897 struct xcb_bell_request_t { 3898 ubyte major_opcode; /**< */ 3899 byte percent; /**< */ 3900 ushort length; /**< */ 3901 } ; 3902 3903 /** Opcode for xcb_change_pointer_control. */ 3904 const uint XCB_CHANGE_POINTER_CONTROL = 105; 3905 3906 /** 3907 * @brief xcb_change_pointer_control_request_t 3908 **/ 3909 struct xcb_change_pointer_control_request_t { 3910 ubyte major_opcode; /**< */ 3911 ubyte pad0; /**< */ 3912 ushort length; /**< */ 3913 short acceleration_numerator; /**< */ 3914 short acceleration_denominator; /**< */ 3915 short threshold; /**< */ 3916 bool do_acceleration; /**< */ 3917 bool do_threshold; /**< */ 3918 } ; 3919 3920 /** 3921 * @brief xcb_get_pointer_control_cookie_t 3922 **/ 3923 struct xcb_get_pointer_control_cookie_t { 3924 uint sequence; /**< */ 3925 } ; 3926 3927 /** Opcode for xcb_get_pointer_control. */ 3928 const uint XCB_GET_POINTER_CONTROL = 106; 3929 3930 /** 3931 * @brief xcb_get_pointer_control_request_t 3932 **/ 3933 struct xcb_get_pointer_control_request_t { 3934 ubyte major_opcode; /**< */ 3935 ubyte pad0; /**< */ 3936 ushort length; /**< */ 3937 } ; 3938 3939 /** 3940 * @brief xcb_get_pointer_control_reply_t 3941 **/ 3942 struct xcb_get_pointer_control_reply_t { 3943 ubyte response_type; /**< */ 3944 ubyte pad0; /**< */ 3945 ushort sequence; /**< */ 3946 uint length; /**< */ 3947 ushort acceleration_numerator; /**< */ 3948 ushort acceleration_denominator; /**< */ 3949 ushort threshold; /**< */ 3950 } ; 3951 3952 enum :int{ 3953 XCB_BLANKING_NOT_PREFERRED = 0, 3954 XCB_BLANKING_PREFERRED = 1, 3955 XCB_BLANKING_DEFAULT = 2 3956 }; 3957 3958 enum :int{ 3959 XCB_EXPOSURES_NOT_ALLOWED = 0, 3960 XCB_EXPOSURES_ALLOWED = 1, 3961 XCB_EXPOSURES_DEFAULT = 2 3962 }; 3963 3964 /** Opcode for xcb_set_screen_saver. */ 3965 const uint XCB_SET_SCREEN_SAVER = 107; 3966 3967 /** 3968 * @brief xcb_set_screen_saver_request_t 3969 **/ 3970 struct xcb_set_screen_saver_request_t { 3971 ubyte major_opcode; /**< */ 3972 ubyte pad0; /**< */ 3973 ushort length; /**< */ 3974 short timeout; /**< */ 3975 short interval; /**< */ 3976 ubyte prefer_blanking; /**< */ 3977 ubyte allow_exposures; /**< */ 3978 } ; 3979 3980 /** 3981 * @brief xcb_get_screen_saver_cookie_t 3982 **/ 3983 struct xcb_get_screen_saver_cookie_t { 3984 uint sequence; /**< */ 3985 } ; 3986 3987 /** Opcode for xcb_get_screen_saver. */ 3988 const uint XCB_GET_SCREEN_SAVER = 108; 3989 3990 /** 3991 * @brief xcb_get_screen_saver_request_t 3992 **/ 3993 struct xcb_get_screen_saver_request_t { 3994 ubyte major_opcode; /**< */ 3995 ubyte pad0; /**< */ 3996 ushort length; /**< */ 3997 } ; 3998 3999 /** 4000 * @brief xcb_get_screen_saver_reply_t 4001 **/ 4002 struct xcb_get_screen_saver_reply_t { 4003 ubyte response_type; /**< */ 4004 ubyte pad0; /**< */ 4005 ushort sequence; /**< */ 4006 uint length; /**< */ 4007 ushort timeout; /**< */ 4008 ushort interval; /**< */ 4009 ubyte prefer_blanking; /**< */ 4010 ubyte allow_exposures; /**< */ 4011 } ; 4012 4013 enum :int{ 4014 XCB_HOST_MODE_INSERT = 0, 4015 XCB_HOST_MODE_DELETE = 1 4016 }; 4017 4018 enum :int{ 4019 XCB_FAMILY_INTERNET = 0, 4020 XCB_FAMILY_DECNET = 1, 4021 XCB_FAMILY_CHAOS = 2, 4022 XCB_FAMILY_SERVER_INTERPRETED = 5, 4023 XCB_FAMILY_INTERNET_6 = 6 4024 }; 4025 4026 /** Opcode for xcb_change_hosts. */ 4027 const uint XCB_CHANGE_HOSTS = 109; 4028 4029 /** 4030 * @brief xcb_change_hosts_request_t 4031 **/ 4032 struct xcb_change_hosts_request_t { 4033 ubyte major_opcode; /**< */ 4034 ubyte mode; /**< */ 4035 ushort length; /**< */ 4036 ubyte family; /**< */ 4037 ubyte pad0; /**< */ 4038 ushort address_len; /**< */ 4039 } ; 4040 4041 /** 4042 * @brief xcb_host_t 4043 **/ 4044 struct xcb_host_t { 4045 ubyte family; /**< */ 4046 ubyte pad0; /**< */ 4047 ushort address_len; /**< */ 4048 } ; 4049 4050 /** 4051 * @brief xcb_host_iterator_t 4052 **/ 4053 struct xcb_host_iterator_t { 4054 xcb_host_t *data; /**< */ 4055 int rem; /**< */ 4056 int index; /**< */ 4057 } ; 4058 4059 /** 4060 * @brief xcb_list_hosts_cookie_t 4061 **/ 4062 struct xcb_list_hosts_cookie_t { 4063 uint sequence; /**< */ 4064 } ; 4065 4066 /** Opcode for xcb_list_hosts. */ 4067 const uint XCB_LIST_HOSTS = 110; 4068 4069 /** 4070 * @brief xcb_list_hosts_request_t 4071 **/ 4072 struct xcb_list_hosts_request_t { 4073 ubyte major_opcode; /**< */ 4074 ubyte pad0; /**< */ 4075 ushort length; /**< */ 4076 } ; 4077 4078 /** 4079 * @brief xcb_list_hosts_reply_t 4080 **/ 4081 struct xcb_list_hosts_reply_t { 4082 ubyte response_type; /**< */ 4083 ubyte mode; /**< */ 4084 ushort sequence; /**< */ 4085 uint length; /**< */ 4086 ushort hosts_len; /**< */ 4087 ubyte pad0[22]; /**< */ 4088 } ; 4089 4090 enum :int{ 4091 XCB_ACCESS_CONTROL_DISABLE = 0, 4092 XCB_ACCESS_CONTROL_ENABLE = 1 4093 }; 4094 4095 /** Opcode for xcb_set_access_control. */ 4096 const uint XCB_SET_ACCESS_CONTROL = 111; 4097 4098 /** 4099 * @brief xcb_set_access_control_request_t 4100 **/ 4101 struct xcb_set_access_control_request_t { 4102 ubyte major_opcode; /**< */ 4103 ubyte mode; /**< */ 4104 ushort length; /**< */ 4105 } ; 4106 4107 enum :int{ 4108 XCB_CLOSE_DOWN_DESTROY_ALL = 0, 4109 XCB_CLOSE_DOWN_RETAIN_PERMANENT = 1, 4110 XCB_CLOSE_DOWN_RETAIN_TEMPORARY = 2 4111 }; 4112 4113 /** Opcode for xcb_set_close_down_mode. */ 4114 const uint XCB_SET_CLOSE_DOWN_MODE = 112; 4115 4116 /** 4117 * @brief xcb_set_close_down_mode_request_t 4118 **/ 4119 struct xcb_set_close_down_mode_request_t { 4120 ubyte major_opcode; /**< */ 4121 ubyte mode; /**< */ 4122 ushort length; /**< */ 4123 } ; 4124 4125 enum :int{ 4126 XCB_KILL_ALL_TEMPORARY = 0 4127 }; 4128 4129 /** Opcode for xcb_kill_client. */ 4130 const uint XCB_KILL_CLIENT = 113; 4131 4132 /** 4133 * @brief xcb_kill_client_request_t 4134 **/ 4135 struct xcb_kill_client_request_t { 4136 ubyte major_opcode; /**< */ 4137 ubyte pad0; /**< */ 4138 ushort length; /**< */ 4139 uint resource; /**< */ 4140 } ; 4141 4142 /** Opcode for xcb_rotate_properties. */ 4143 const uint XCB_ROTATE_PROPERTIES = 114; 4144 4145 /** 4146 * @brief xcb_rotate_properties_request_t 4147 **/ 4148 struct xcb_rotate_properties_request_t { 4149 ubyte major_opcode; /**< */ 4150 xcb_window_t window; /**< */ 4151 ushort length; /**< */ 4152 ushort atoms_len; /**< */ 4153 short delta; /**< */ 4154 } ; 4155 4156 enum :int{ 4157 XCB_SCREEN_SAVER_RESET = 0, 4158 XCB_SCREEN_SAVER_ACTIVE = 1 4159 }; 4160 4161 /** Opcode for xcb_force_screen_saver. */ 4162 const uint XCB_FORCE_SCREEN_SAVER = 115; 4163 4164 /** 4165 * @brief xcb_force_screen_saver_request_t 4166 **/ 4167 struct xcb_force_screen_saver_request_t { 4168 ubyte major_opcode; /**< */ 4169 ubyte mode; /**< */ 4170 ushort length; /**< */ 4171 } ; 4172 4173 enum :int{ 4174 XCB_MAPPING_STATUS_SUCCESS = 0, 4175 XCB_MAPPING_STATUS_BUSY = 1, 4176 XCB_MAPPING_STATUS_FAILURE = 2 4177 }; 4178 4179 /** 4180 * @brief xcb_set_pointer_mapping_cookie_t 4181 **/ 4182 struct xcb_set_pointer_mapping_cookie_t { 4183 uint sequence; /**< */ 4184 } ; 4185 4186 /** Opcode for xcb_set_pointer_mapping. */ 4187 const uint XCB_SET_POINTER_MAPPING = 116; 4188 4189 /** 4190 * @brief xcb_set_pointer_mapping_request_t 4191 **/ 4192 struct xcb_set_pointer_mapping_request_t { 4193 ubyte major_opcode; /**< */ 4194 ubyte map_len; /**< */ 4195 ushort length; /**< */ 4196 } ; 4197 4198 /** 4199 * @brief xcb_set_pointer_mapping_reply_t 4200 **/ 4201 struct xcb_set_pointer_mapping_reply_t { 4202 ubyte response_type; /**< */ 4203 ubyte status; /**< */ 4204 ushort sequence; /**< */ 4205 uint length; /**< */ 4206 } ; 4207 4208 /** 4209 * @brief xcb_get_pointer_mapping_cookie_t 4210 **/ 4211 struct xcb_get_pointer_mapping_cookie_t { 4212 uint sequence; /**< */ 4213 } ; 4214 4215 /** Opcode for xcb_get_pointer_mapping. */ 4216 const uint XCB_GET_POINTER_MAPPING = 117; 4217 4218 /** 4219 * @brief xcb_get_pointer_mapping_request_t 4220 **/ 4221 struct xcb_get_pointer_mapping_request_t { 4222 ubyte major_opcode; /**< */ 4223 ubyte pad0; /**< */ 4224 ushort length; /**< */ 4225 } ; 4226 4227 /** 4228 * @brief xcb_get_pointer_mapping_reply_t 4229 **/ 4230 struct xcb_get_pointer_mapping_reply_t { 4231 ubyte response_type; /**< */ 4232 ubyte map_len; /**< */ 4233 ushort sequence; /**< */ 4234 uint length; /**< */ 4235 ubyte pad0[24]; /**< */ 4236 } ; 4237 4238 enum :int{ 4239 XCB_MAP_INDEX_SHIFT = 0, 4240 XCB_MAP_INDEX_LOCK = 1, 4241 XCB_MAP_INDEX_CONTROL = 2, 4242 XCB_MAP_INDEX_1 = 3, 4243 XCB_MAP_INDEX_2 = 4, 4244 XCB_MAP_INDEX_3 = 5, 4245 XCB_MAP_INDEX_4 = 6, 4246 XCB_MAP_INDEX_5 = 7 4247 }; 4248 4249 /** 4250 * @brief xcb_set_modifier_mapping_cookie_t 4251 **/ 4252 struct xcb_set_modifier_mapping_cookie_t { 4253 uint sequence; /**< */ 4254 } ; 4255 4256 /** Opcode for xcb_set_modifier_mapping. */ 4257 const uint XCB_SET_MODIFIER_MAPPING = 118; 4258 4259 /** 4260 * @brief xcb_set_modifier_mapping_request_t 4261 **/ 4262 struct xcb_set_modifier_mapping_request_t { 4263 ubyte major_opcode; /**< */ 4264 ubyte keycodes_per_modifier; /**< */ 4265 ushort length; /**< */ 4266 } ; 4267 4268 /** 4269 * @brief xcb_set_modifier_mapping_reply_t 4270 **/ 4271 struct xcb_set_modifier_mapping_reply_t { 4272 ubyte response_type; /**< */ 4273 ubyte status; /**< */ 4274 ushort sequence; /**< */ 4275 uint length; /**< */ 4276 } ; 4277 4278 /** 4279 * @brief xcb_get_modifier_mapping_cookie_t 4280 **/ 4281 struct xcb_get_modifier_mapping_cookie_t { 4282 uint sequence; /**< */ 4283 } ; 4284 4285 /** Opcode for xcb_get_modifier_mapping. */ 4286 const uint XCB_GET_MODIFIER_MAPPING = 119; 4287 4288 /** 4289 * @brief xcb_get_modifier_mapping_request_t 4290 **/ 4291 struct xcb_get_modifier_mapping_request_t { 4292 ubyte major_opcode; /**< */ 4293 ubyte pad0; /**< */ 4294 ushort length; /**< */ 4295 } ; 4296 4297 /** 4298 * @brief xcb_get_modifier_mapping_reply_t 4299 **/ 4300 struct xcb_get_modifier_mapping_reply_t { 4301 ubyte response_type; /**< */ 4302 ubyte keycodes_per_modifier; /**< */ 4303 ushort sequence; /**< */ 4304 uint length; /**< */ 4305 ubyte pad0[24]; /**< */ 4306 } ; 4307 4308 /** Opcode for xcb_no_operation. */ 4309 const uint XCB_NO_OPERATION = 127; 4310 4311 /** 4312 * @brief xcb_no_operation_request_t 4313 **/ 4314 struct xcb_no_operation_request_t { 4315 ubyte major_opcode; /**< */ 4316 ubyte pad0; /**< */ 4317 ushort length; /**< */ 4318 } ; 4319 4320 4321 /***************************************************************************** 4322 ** 4323 ** void xcb_char2b_next 4324 ** 4325 ** @param xcb_char2b_iterator_t *i 4326 ** @returns void 4327 ** 4328 *****************************************************************************/ 4329 4330 extern(C) void 4331 xcb_char2b_next (xcb_char2b_iterator_t *i /**< */); 4332 4333 4334 /***************************************************************************** 4335 ** 4336 ** xcb_generic_iterator_t xcb_char2b_end 4337 ** 4338 ** @param xcb_char2b_iterator_t i 4339 ** @returns xcb_generic_iterator_t 4340 ** 4341 *****************************************************************************/ 4342 4343 extern(C) xcb_generic_iterator_t 4344 xcb_char2b_end (xcb_char2b_iterator_t i /**< */); 4345 4346 4347 /***************************************************************************** 4348 ** 4349 ** void xcb_window_next 4350 ** 4351 ** @param xcb_window_iterator_t *i 4352 ** @returns void 4353 ** 4354 *****************************************************************************/ 4355 4356 extern(C) void 4357 xcb_window_next (xcb_window_iterator_t *i /**< */); 4358 4359 4360 /***************************************************************************** 4361 ** 4362 ** xcb_generic_iterator_t xcb_window_end 4363 ** 4364 ** @param xcb_window_iterator_t i 4365 ** @returns xcb_generic_iterator_t 4366 ** 4367 *****************************************************************************/ 4368 4369 extern(C) xcb_generic_iterator_t 4370 xcb_window_end (xcb_window_iterator_t i /**< */); 4371 4372 4373 /***************************************************************************** 4374 ** 4375 ** void xcb_pixmap_next 4376 ** 4377 ** @param xcb_pixmap_iterator_t *i 4378 ** @returns void 4379 ** 4380 *****************************************************************************/ 4381 4382 extern(C) void 4383 xcb_pixmap_next (xcb_pixmap_iterator_t *i /**< */); 4384 4385 4386 /***************************************************************************** 4387 ** 4388 ** xcb_generic_iterator_t xcb_pixmap_end 4389 ** 4390 ** @param xcb_pixmap_iterator_t i 4391 ** @returns xcb_generic_iterator_t 4392 ** 4393 *****************************************************************************/ 4394 4395 extern(C) xcb_generic_iterator_t 4396 xcb_pixmap_end (xcb_pixmap_iterator_t i /**< */); 4397 4398 4399 /***************************************************************************** 4400 ** 4401 ** void xcb_cursor_next 4402 ** 4403 ** @param xcb_cursor_iterator_t *i 4404 ** @returns void 4405 ** 4406 *****************************************************************************/ 4407 4408 extern(C) void 4409 xcb_cursor_next (xcb_cursor_iterator_t *i /**< */); 4410 4411 4412 /***************************************************************************** 4413 ** 4414 ** xcb_generic_iterator_t xcb_cursor_end 4415 ** 4416 ** @param xcb_cursor_iterator_t i 4417 ** @returns xcb_generic_iterator_t 4418 ** 4419 *****************************************************************************/ 4420 4421 extern(C) xcb_generic_iterator_t 4422 xcb_cursor_end (xcb_cursor_iterator_t i /**< */); 4423 4424 4425 /***************************************************************************** 4426 ** 4427 ** void xcb_font_next 4428 ** 4429 ** @param xcb_font_iterator_t *i 4430 ** @returns void 4431 ** 4432 *****************************************************************************/ 4433 4434 extern(C) void 4435 xcb_font_next (xcb_font_iterator_t *i /**< */); 4436 4437 4438 /***************************************************************************** 4439 ** 4440 ** xcb_generic_iterator_t xcb_font_end 4441 ** 4442 ** @param xcb_font_iterator_t i 4443 ** @returns xcb_generic_iterator_t 4444 ** 4445 *****************************************************************************/ 4446 4447 extern(C) xcb_generic_iterator_t 4448 xcb_font_end (xcb_font_iterator_t i /**< */); 4449 4450 4451 /***************************************************************************** 4452 ** 4453 ** void xcb_gcontext_next 4454 ** 4455 ** @param xcb_gcontext_iterator_t *i 4456 ** @returns void 4457 ** 4458 *****************************************************************************/ 4459 4460 extern(C) void 4461 xcb_gcontext_next (xcb_gcontext_iterator_t *i /**< */); 4462 4463 4464 /***************************************************************************** 4465 ** 4466 ** xcb_generic_iterator_t xcb_gcontext_end 4467 ** 4468 ** @param xcb_gcontext_iterator_t i 4469 ** @returns xcb_generic_iterator_t 4470 ** 4471 *****************************************************************************/ 4472 4473 extern(C) xcb_generic_iterator_t 4474 xcb_gcontext_end (xcb_gcontext_iterator_t i /**< */); 4475 4476 4477 /***************************************************************************** 4478 ** 4479 ** void xcb_colormap_next 4480 ** 4481 ** @param xcb_colormap_iterator_t *i 4482 ** @returns void 4483 ** 4484 *****************************************************************************/ 4485 4486 extern(C) void 4487 xcb_colormap_next (xcb_colormap_iterator_t *i /**< */); 4488 4489 4490 /***************************************************************************** 4491 ** 4492 ** xcb_generic_iterator_t xcb_colormap_end 4493 ** 4494 ** @param xcb_colormap_iterator_t i 4495 ** @returns xcb_generic_iterator_t 4496 ** 4497 *****************************************************************************/ 4498 4499 extern(C) xcb_generic_iterator_t 4500 xcb_colormap_end (xcb_colormap_iterator_t i /**< */); 4501 4502 4503 /***************************************************************************** 4504 ** 4505 ** void xcb_atom_next 4506 ** 4507 ** @param xcb_atom_iterator_t *i 4508 ** @returns void 4509 ** 4510 *****************************************************************************/ 4511 4512 extern(C) void 4513 xcb_atom_next (xcb_atom_iterator_t *i /**< */); 4514 4515 4516 /***************************************************************************** 4517 ** 4518 ** xcb_generic_iterator_t xcb_atom_end 4519 ** 4520 ** @param xcb_atom_iterator_t i 4521 ** @returns xcb_generic_iterator_t 4522 ** 4523 *****************************************************************************/ 4524 4525 extern(C) xcb_generic_iterator_t 4526 xcb_atom_end (xcb_atom_iterator_t i /**< */); 4527 4528 4529 /***************************************************************************** 4530 ** 4531 ** void xcb_drawable_next 4532 ** 4533 ** @param xcb_drawable_iterator_t *i 4534 ** @returns void 4535 ** 4536 *****************************************************************************/ 4537 4538 extern(C) void 4539 xcb_drawable_next (xcb_drawable_iterator_t *i /**< */); 4540 4541 4542 /***************************************************************************** 4543 ** 4544 ** xcb_generic_iterator_t xcb_drawable_end 4545 ** 4546 ** @param xcb_drawable_iterator_t i 4547 ** @returns xcb_generic_iterator_t 4548 ** 4549 *****************************************************************************/ 4550 4551 extern(C) xcb_generic_iterator_t 4552 xcb_drawable_end (xcb_drawable_iterator_t i /**< */); 4553 4554 4555 /***************************************************************************** 4556 ** 4557 ** void xcb_fontable_next 4558 ** 4559 ** @param xcb_fontable_iterator_t *i 4560 ** @returns void 4561 ** 4562 *****************************************************************************/ 4563 4564 extern(C) void 4565 xcb_fontable_next (xcb_fontable_iterator_t *i /**< */); 4566 4567 4568 /***************************************************************************** 4569 ** 4570 ** xcb_generic_iterator_t xcb_fontable_end 4571 ** 4572 ** @param xcb_fontable_iterator_t i 4573 ** @returns xcb_generic_iterator_t 4574 ** 4575 *****************************************************************************/ 4576 4577 extern(C) xcb_generic_iterator_t 4578 xcb_fontable_end (xcb_fontable_iterator_t i /**< */); 4579 4580 4581 /***************************************************************************** 4582 ** 4583 ** void xcb_visualid_next 4584 ** 4585 ** @param xcb_visualid_iterator_t *i 4586 ** @returns void 4587 ** 4588 *****************************************************************************/ 4589 4590 extern(C) void 4591 xcb_visualid_next (xcb_visualid_iterator_t *i /**< */); 4592 4593 4594 /***************************************************************************** 4595 ** 4596 ** xcb_generic_iterator_t xcb_visualid_end 4597 ** 4598 ** @param xcb_visualid_iterator_t i 4599 ** @returns xcb_generic_iterator_t 4600 ** 4601 *****************************************************************************/ 4602 4603 extern(C) xcb_generic_iterator_t 4604 xcb_visualid_end (xcb_visualid_iterator_t i /**< */); 4605 4606 4607 /***************************************************************************** 4608 ** 4609 ** void xcb_timestamp_next 4610 ** 4611 ** @param xcb_timestamp_iterator_t *i 4612 ** @returns void 4613 ** 4614 *****************************************************************************/ 4615 4616 extern(C) void 4617 xcb_timestamp_next (xcb_timestamp_iterator_t *i /**< */); 4618 4619 4620 /***************************************************************************** 4621 ** 4622 ** xcb_generic_iterator_t xcb_timestamp_end 4623 ** 4624 ** @param xcb_timestamp_iterator_t i 4625 ** @returns xcb_generic_iterator_t 4626 ** 4627 *****************************************************************************/ 4628 4629 extern(C) xcb_generic_iterator_t 4630 xcb_timestamp_end (xcb_timestamp_iterator_t i /**< */); 4631 4632 4633 /***************************************************************************** 4634 ** 4635 ** void xcb_keysym_next 4636 ** 4637 ** @param xcb_keysym_iterator_t *i 4638 ** @returns void 4639 ** 4640 *****************************************************************************/ 4641 4642 extern(C) void 4643 xcb_keysym_next (xcb_keysym_iterator_t *i /**< */); 4644 4645 4646 /***************************************************************************** 4647 ** 4648 ** xcb_generic_iterator_t xcb_keysym_end 4649 ** 4650 ** @param xcb_keysym_iterator_t i 4651 ** @returns xcb_generic_iterator_t 4652 ** 4653 *****************************************************************************/ 4654 4655 extern(C) xcb_generic_iterator_t 4656 xcb_keysym_end (xcb_keysym_iterator_t i /**< */); 4657 4658 4659 /***************************************************************************** 4660 ** 4661 ** void xcb_keycode_next 4662 ** 4663 ** @param xcb_keycode_iterator_t *i 4664 ** @returns void 4665 ** 4666 *****************************************************************************/ 4667 4668 extern(C) void 4669 xcb_keycode_next (xcb_keycode_iterator_t *i /**< */); 4670 4671 4672 /***************************************************************************** 4673 ** 4674 ** xcb_generic_iterator_t xcb_keycode_end 4675 ** 4676 ** @param xcb_keycode_iterator_t i 4677 ** @returns xcb_generic_iterator_t 4678 ** 4679 *****************************************************************************/ 4680 4681 extern(C) xcb_generic_iterator_t 4682 xcb_keycode_end (xcb_keycode_iterator_t i /**< */); 4683 4684 4685 /***************************************************************************** 4686 ** 4687 ** void xcb_button_next 4688 ** 4689 ** @param xcb_button_iterator_t *i 4690 ** @returns void 4691 ** 4692 *****************************************************************************/ 4693 4694 extern(C) void 4695 xcb_button_next (xcb_button_iterator_t *i /**< */); 4696 4697 4698 /***************************************************************************** 4699 ** 4700 ** xcb_generic_iterator_t xcb_button_end 4701 ** 4702 ** @param xcb_button_iterator_t i 4703 ** @returns xcb_generic_iterator_t 4704 ** 4705 *****************************************************************************/ 4706 4707 extern(C) xcb_generic_iterator_t 4708 xcb_button_end (xcb_button_iterator_t i /**< */); 4709 4710 4711 /***************************************************************************** 4712 ** 4713 ** void xcb_point_next 4714 ** 4715 ** @param xcb_point_iterator_t *i 4716 ** @returns void 4717 ** 4718 *****************************************************************************/ 4719 4720 extern(C) void 4721 xcb_point_next (xcb_point_iterator_t *i /**< */); 4722 4723 4724 /***************************************************************************** 4725 ** 4726 ** xcb_generic_iterator_t xcb_point_end 4727 ** 4728 ** @param xcb_point_iterator_t i 4729 ** @returns xcb_generic_iterator_t 4730 ** 4731 *****************************************************************************/ 4732 4733 extern(C) xcb_generic_iterator_t 4734 xcb_point_end (xcb_point_iterator_t i /**< */); 4735 4736 4737 /***************************************************************************** 4738 ** 4739 ** void xcb_rectangle_next 4740 ** 4741 ** @param xcb_rectangle_iterator_t *i 4742 ** @returns void 4743 ** 4744 *****************************************************************************/ 4745 4746 extern(C) void 4747 xcb_rectangle_next (xcb_rectangle_iterator_t *i /**< */); 4748 4749 4750 /***************************************************************************** 4751 ** 4752 ** xcb_generic_iterator_t xcb_rectangle_end 4753 ** 4754 ** @param xcb_rectangle_iterator_t i 4755 ** @returns xcb_generic_iterator_t 4756 ** 4757 *****************************************************************************/ 4758 4759 extern(C) xcb_generic_iterator_t 4760 xcb_rectangle_end (xcb_rectangle_iterator_t i /**< */); 4761 4762 4763 /***************************************************************************** 4764 ** 4765 ** void xcb_arc_next 4766 ** 4767 ** @param xcb_arc_iterator_t *i 4768 ** @returns void 4769 ** 4770 *****************************************************************************/ 4771 4772 extern(C) void 4773 xcb_arc_next (xcb_arc_iterator_t *i /**< */); 4774 4775 4776 /***************************************************************************** 4777 ** 4778 ** xcb_generic_iterator_t xcb_arc_end 4779 ** 4780 ** @param xcb_arc_iterator_t i 4781 ** @returns xcb_generic_iterator_t 4782 ** 4783 *****************************************************************************/ 4784 4785 extern(C) xcb_generic_iterator_t 4786 xcb_arc_end (xcb_arc_iterator_t i /**< */); 4787 4788 4789 /***************************************************************************** 4790 ** 4791 ** void xcb_format_next 4792 ** 4793 ** @param xcb_format_iterator_t *i 4794 ** @returns void 4795 ** 4796 *****************************************************************************/ 4797 4798 extern(C) void 4799 xcb_format_next (xcb_format_iterator_t *i /**< */); 4800 4801 4802 /***************************************************************************** 4803 ** 4804 ** xcb_generic_iterator_t xcb_format_end 4805 ** 4806 ** @param xcb_format_iterator_t i 4807 ** @returns xcb_generic_iterator_t 4808 ** 4809 *****************************************************************************/ 4810 4811 extern(C) xcb_generic_iterator_t 4812 xcb_format_end (xcb_format_iterator_t i /**< */); 4813 4814 4815 /***************************************************************************** 4816 ** 4817 ** void xcb_visualtype_next 4818 ** 4819 ** @param xcb_visualtype_iterator_t *i 4820 ** @returns void 4821 ** 4822 *****************************************************************************/ 4823 4824 extern(C) void 4825 xcb_visualtype_next (xcb_visualtype_iterator_t *i /**< */); 4826 4827 4828 /***************************************************************************** 4829 ** 4830 ** xcb_generic_iterator_t xcb_visualtype_end 4831 ** 4832 ** @param xcb_visualtype_iterator_t i 4833 ** @returns xcb_generic_iterator_t 4834 ** 4835 *****************************************************************************/ 4836 4837 extern(C) xcb_generic_iterator_t 4838 xcb_visualtype_end (xcb_visualtype_iterator_t i /**< */); 4839 4840 4841 /***************************************************************************** 4842 ** 4843 ** xcb_visualtype_t * xcb_depth_visuals 4844 ** 4845 ** @param /+const+/ xcb_depth_t *R 4846 ** @returns xcb_visualtype_t * 4847 ** 4848 *****************************************************************************/ 4849 4850 extern(C) xcb_visualtype_t * 4851 xcb_depth_visuals (/+const+/ xcb_depth_t *R /**< */); 4852 4853 4854 /***************************************************************************** 4855 ** 4856 ** int xcb_depth_visuals_length 4857 ** 4858 ** @param /+const+/ xcb_depth_t *R 4859 ** @returns int 4860 ** 4861 *****************************************************************************/ 4862 4863 extern(C) int 4864 xcb_depth_visuals_length (/+const+/ xcb_depth_t *R /**< */); 4865 4866 4867 /***************************************************************************** 4868 ** 4869 ** xcb_visualtype_iterator_t xcb_depth_visuals_iterator 4870 ** 4871 ** @param /+const+/ xcb_depth_t *R 4872 ** @returns xcb_visualtype_iterator_t 4873 ** 4874 *****************************************************************************/ 4875 4876 extern(C) xcb_visualtype_iterator_t 4877 xcb_depth_visuals_iterator (/+const+/ xcb_depth_t *R /**< */); 4878 4879 4880 /***************************************************************************** 4881 ** 4882 ** void xcb_depth_next 4883 ** 4884 ** @param xcb_depth_iterator_t *i 4885 ** @returns void 4886 ** 4887 *****************************************************************************/ 4888 4889 extern(C) void 4890 xcb_depth_next (xcb_depth_iterator_t *i /**< */); 4891 4892 4893 /***************************************************************************** 4894 ** 4895 ** xcb_generic_iterator_t xcb_depth_end 4896 ** 4897 ** @param xcb_depth_iterator_t i 4898 ** @returns xcb_generic_iterator_t 4899 ** 4900 *****************************************************************************/ 4901 4902 extern(C) xcb_generic_iterator_t 4903 xcb_depth_end (xcb_depth_iterator_t i /**< */); 4904 4905 4906 /***************************************************************************** 4907 ** 4908 ** int xcb_screen_allowed_depths_length 4909 ** 4910 ** @param /+const+/ xcb_screen_t *R 4911 ** @returns int 4912 ** 4913 *****************************************************************************/ 4914 4915 extern(C) int 4916 xcb_screen_allowed_depths_length (/+const+/ xcb_screen_t *R /**< */); 4917 4918 4919 /***************************************************************************** 4920 ** 4921 ** xcb_depth_iterator_t xcb_screen_allowed_depths_iterator 4922 ** 4923 ** @param /+const+/ xcb_screen_t *R 4924 ** @returns xcb_depth_iterator_t 4925 ** 4926 *****************************************************************************/ 4927 4928 extern(C) xcb_depth_iterator_t 4929 xcb_screen_allowed_depths_iterator (/+const+/ xcb_screen_t *R /**< */); 4930 4931 4932 /***************************************************************************** 4933 ** 4934 ** void xcb_screen_next 4935 ** 4936 ** @param xcb_screen_iterator_t *i 4937 ** @returns void 4938 ** 4939 *****************************************************************************/ 4940 4941 extern(C) void 4942 xcb_screen_next (xcb_screen_iterator_t *i /**< */); 4943 4944 4945 /***************************************************************************** 4946 ** 4947 ** xcb_generic_iterator_t xcb_screen_end 4948 ** 4949 ** @param xcb_screen_iterator_t i 4950 ** @returns xcb_generic_iterator_t 4951 ** 4952 *****************************************************************************/ 4953 4954 extern(C) xcb_generic_iterator_t 4955 xcb_screen_end (xcb_screen_iterator_t i /**< */); 4956 4957 4958 /***************************************************************************** 4959 ** 4960 ** char * xcb_setup_request_authorization_protocol_name 4961 ** 4962 ** @param /+const+/ xcb_setup_request_t *R 4963 ** @returns char * 4964 ** 4965 *****************************************************************************/ 4966 4967 extern(C) char * 4968 xcb_setup_request_authorization_protocol_name (/+const+/ xcb_setup_request_t *R /**< */); 4969 4970 4971 /***************************************************************************** 4972 ** 4973 ** int xcb_setup_request_authorization_protocol_name_length 4974 ** 4975 ** @param /+const+/ xcb_setup_request_t *R 4976 ** @returns int 4977 ** 4978 *****************************************************************************/ 4979 4980 extern(C) int 4981 xcb_setup_request_authorization_protocol_name_length (/+const+/ xcb_setup_request_t *R /**< */); 4982 4983 4984 /***************************************************************************** 4985 ** 4986 ** xcb_generic_iterator_t xcb_setup_request_authorization_protocol_name_end 4987 ** 4988 ** @param /+const+/ xcb_setup_request_t *R 4989 ** @returns xcb_generic_iterator_t 4990 ** 4991 *****************************************************************************/ 4992 4993 extern(C) xcb_generic_iterator_t 4994 xcb_setup_request_authorization_protocol_name_end (/+const+/ xcb_setup_request_t *R /**< */); 4995 4996 4997 /***************************************************************************** 4998 ** 4999 ** char * xcb_setup_request_authorization_protocol_data 5000 ** 5001 ** @param /+const+/ xcb_setup_request_t *R 5002 ** @returns char * 5003 ** 5004 *****************************************************************************/ 5005 5006 extern(C) char * 5007 xcb_setup_request_authorization_protocol_data (/+const+/ xcb_setup_request_t *R /**< */); 5008 5009 5010 /***************************************************************************** 5011 ** 5012 ** int xcb_setup_request_authorization_protocol_data_length 5013 ** 5014 ** @param /+const+/ xcb_setup_request_t *R 5015 ** @returns int 5016 ** 5017 *****************************************************************************/ 5018 5019 extern(C) int 5020 xcb_setup_request_authorization_protocol_data_length (/+const+/ xcb_setup_request_t *R /**< */); 5021 5022 5023 /***************************************************************************** 5024 ** 5025 ** xcb_generic_iterator_t xcb_setup_request_authorization_protocol_data_end 5026 ** 5027 ** @param /+const+/ xcb_setup_request_t *R 5028 ** @returns xcb_generic_iterator_t 5029 ** 5030 *****************************************************************************/ 5031 5032 extern(C) xcb_generic_iterator_t 5033 xcb_setup_request_authorization_protocol_data_end (/+const+/ xcb_setup_request_t *R /**< */); 5034 5035 5036 /***************************************************************************** 5037 ** 5038 ** void xcb_setup_request_next 5039 ** 5040 ** @param xcb_setup_request_iterator_t *i 5041 ** @returns void 5042 ** 5043 *****************************************************************************/ 5044 5045 extern(C) void 5046 xcb_setup_request_next (xcb_setup_request_iterator_t *i /**< */); 5047 5048 5049 /***************************************************************************** 5050 ** 5051 ** xcb_generic_iterator_t xcb_setup_request_end 5052 ** 5053 ** @param xcb_setup_request_iterator_t i 5054 ** @returns xcb_generic_iterator_t 5055 ** 5056 *****************************************************************************/ 5057 5058 extern(C) xcb_generic_iterator_t 5059 xcb_setup_request_end (xcb_setup_request_iterator_t i /**< */); 5060 5061 5062 /***************************************************************************** 5063 ** 5064 ** char * xcb_setup_failed_reason 5065 ** 5066 ** @param /+const+/ xcb_setup_failed_t *R 5067 ** @returns char * 5068 ** 5069 *****************************************************************************/ 5070 5071 extern(C) char * 5072 xcb_setup_failed_reason (/+const+/ xcb_setup_failed_t *R /**< */); 5073 5074 5075 /***************************************************************************** 5076 ** 5077 ** int xcb_setup_failed_reason_length 5078 ** 5079 ** @param /+const+/ xcb_setup_failed_t *R 5080 ** @returns int 5081 ** 5082 *****************************************************************************/ 5083 5084 extern(C) int 5085 xcb_setup_failed_reason_length (/+const+/ xcb_setup_failed_t *R /**< */); 5086 5087 5088 /***************************************************************************** 5089 ** 5090 ** xcb_generic_iterator_t xcb_setup_failed_reason_end 5091 ** 5092 ** @param /+const+/ xcb_setup_failed_t *R 5093 ** @returns xcb_generic_iterator_t 5094 ** 5095 *****************************************************************************/ 5096 5097 extern(C) xcb_generic_iterator_t 5098 xcb_setup_failed_reason_end (/+const+/ xcb_setup_failed_t *R /**< */); 5099 5100 5101 /***************************************************************************** 5102 ** 5103 ** void xcb_setup_failed_next 5104 ** 5105 ** @param xcb_setup_failed_iterator_t *i 5106 ** @returns void 5107 ** 5108 *****************************************************************************/ 5109 5110 extern(C) void 5111 xcb_setup_failed_next (xcb_setup_failed_iterator_t *i /**< */); 5112 5113 5114 /***************************************************************************** 5115 ** 5116 ** xcb_generic_iterator_t xcb_setup_failed_end 5117 ** 5118 ** @param xcb_setup_failed_iterator_t i 5119 ** @returns xcb_generic_iterator_t 5120 ** 5121 *****************************************************************************/ 5122 5123 extern(C) xcb_generic_iterator_t 5124 xcb_setup_failed_end (xcb_setup_failed_iterator_t i /**< */); 5125 5126 5127 /***************************************************************************** 5128 ** 5129 ** char * xcb_setup_authenticate_reason 5130 ** 5131 ** @param /+const+/ xcb_setup_authenticate_t *R 5132 ** @returns char * 5133 ** 5134 *****************************************************************************/ 5135 5136 extern(C) char * 5137 xcb_setup_authenticate_reason (/+const+/ xcb_setup_authenticate_t *R /**< */); 5138 5139 5140 /***************************************************************************** 5141 ** 5142 ** int xcb_setup_authenticate_reason_length 5143 ** 5144 ** @param /+const+/ xcb_setup_authenticate_t *R 5145 ** @returns int 5146 ** 5147 *****************************************************************************/ 5148 5149 extern(C) int 5150 xcb_setup_authenticate_reason_length (/+const+/ xcb_setup_authenticate_t *R /**< */); 5151 5152 5153 /***************************************************************************** 5154 ** 5155 ** xcb_generic_iterator_t xcb_setup_authenticate_reason_end 5156 ** 5157 ** @param /+const+/ xcb_setup_authenticate_t *R 5158 ** @returns xcb_generic_iterator_t 5159 ** 5160 *****************************************************************************/ 5161 5162 extern(C) xcb_generic_iterator_t 5163 xcb_setup_authenticate_reason_end (/+const+/ xcb_setup_authenticate_t *R /**< */); 5164 5165 5166 /***************************************************************************** 5167 ** 5168 ** void xcb_setup_authenticate_next 5169 ** 5170 ** @param xcb_setup_authenticate_iterator_t *i 5171 ** @returns void 5172 ** 5173 *****************************************************************************/ 5174 5175 extern(C) void 5176 xcb_setup_authenticate_next (xcb_setup_authenticate_iterator_t *i /**< */); 5177 5178 5179 /***************************************************************************** 5180 ** 5181 ** xcb_generic_iterator_t xcb_setup_authenticate_end 5182 ** 5183 ** @param xcb_setup_authenticate_iterator_t i 5184 ** @returns xcb_generic_iterator_t 5185 ** 5186 *****************************************************************************/ 5187 5188 extern(C) xcb_generic_iterator_t 5189 xcb_setup_authenticate_end (xcb_setup_authenticate_iterator_t i /**< */); 5190 5191 5192 /***************************************************************************** 5193 ** 5194 ** char * xcb_setup_vendor 5195 ** 5196 ** @param /+const+/ xcb_setup_t *R 5197 ** @returns char * 5198 ** 5199 *****************************************************************************/ 5200 5201 extern(C) char * 5202 xcb_setup_vendor (/+const+/ xcb_setup_t *R /**< */); 5203 5204 5205 /***************************************************************************** 5206 ** 5207 ** int xcb_setup_vendor_length 5208 ** 5209 ** @param /+const+/ xcb_setup_t *R 5210 ** @returns int 5211 ** 5212 *****************************************************************************/ 5213 5214 extern(C) int 5215 xcb_setup_vendor_length (/+const+/ xcb_setup_t *R /**< */); 5216 5217 5218 /***************************************************************************** 5219 ** 5220 ** xcb_generic_iterator_t xcb_setup_vendor_end 5221 ** 5222 ** @param /+const+/ xcb_setup_t *R 5223 ** @returns xcb_generic_iterator_t 5224 ** 5225 *****************************************************************************/ 5226 5227 extern(C) xcb_generic_iterator_t 5228 xcb_setup_vendor_end (/+const+/ xcb_setup_t *R /**< */); 5229 5230 5231 /***************************************************************************** 5232 ** 5233 ** xcb_format_t * xcb_setup_pixmap_formats 5234 ** 5235 ** @param /+const+/ xcb_setup_t *R 5236 ** @returns xcb_format_t * 5237 ** 5238 *****************************************************************************/ 5239 5240 extern(C) xcb_format_t * 5241 xcb_setup_pixmap_formats (/+const+/ xcb_setup_t *R /**< */); 5242 5243 5244 /***************************************************************************** 5245 ** 5246 ** int xcb_setup_pixmap_formats_length 5247 ** 5248 ** @param /+const+/ xcb_setup_t *R 5249 ** @returns int 5250 ** 5251 *****************************************************************************/ 5252 5253 extern(C) int 5254 xcb_setup_pixmap_formats_length (/+const+/ xcb_setup_t *R /**< */); 5255 5256 5257 /***************************************************************************** 5258 ** 5259 ** xcb_format_iterator_t xcb_setup_pixmap_formats_iterator 5260 ** 5261 ** @param /+const+/ xcb_setup_t *R 5262 ** @returns xcb_format_iterator_t 5263 ** 5264 *****************************************************************************/ 5265 5266 extern(C) xcb_format_iterator_t 5267 xcb_setup_pixmap_formats_iterator (/+const+/ xcb_setup_t *R /**< */); 5268 5269 5270 /***************************************************************************** 5271 ** 5272 ** int xcb_setup_roots_length 5273 ** 5274 ** @param /+const+/ xcb_setup_t *R 5275 ** @returns int 5276 ** 5277 *****************************************************************************/ 5278 5279 extern(C) int 5280 xcb_setup_roots_length (/+const+/ xcb_setup_t *R /**< */); 5281 5282 5283 /***************************************************************************** 5284 ** 5285 ** xcb_screen_iterator_t xcb_setup_roots_iterator 5286 ** 5287 ** @param /+const+/ xcb_setup_t *R 5288 ** @returns xcb_screen_iterator_t 5289 ** 5290 *****************************************************************************/ 5291 5292 extern(C) xcb_screen_iterator_t 5293 xcb_setup_roots_iterator (/+const+/ xcb_setup_t *R /**< */); 5294 5295 5296 /***************************************************************************** 5297 ** 5298 ** void xcb_setup_next 5299 ** 5300 ** @param xcb_setup_iterator_t *i 5301 ** @returns void 5302 ** 5303 *****************************************************************************/ 5304 5305 extern(C) void 5306 xcb_setup_next (xcb_setup_iterator_t *i /**< */); 5307 5308 5309 /***************************************************************************** 5310 ** 5311 ** xcb_generic_iterator_t xcb_setup_end 5312 ** 5313 ** @param xcb_setup_iterator_t i 5314 ** @returns xcb_generic_iterator_t 5315 ** 5316 *****************************************************************************/ 5317 5318 extern(C) xcb_generic_iterator_t 5319 xcb_setup_end (xcb_setup_iterator_t i /**< */); 5320 5321 5322 /***************************************************************************** 5323 ** 5324 ** void xcb_client_message_data_next 5325 ** 5326 ** @param xcb_client_message_data_iterator_t *i 5327 ** @returns void 5328 ** 5329 *****************************************************************************/ 5330 5331 extern(C) void 5332 xcb_client_message_data_next (xcb_client_message_data_iterator_t *i /**< */); 5333 5334 5335 /***************************************************************************** 5336 ** 5337 ** xcb_generic_iterator_t xcb_client_message_data_end 5338 ** 5339 ** @param xcb_client_message_data_iterator_t i 5340 ** @returns xcb_generic_iterator_t 5341 ** 5342 *****************************************************************************/ 5343 5344 extern(C) xcb_generic_iterator_t 5345 xcb_client_message_data_end (xcb_client_message_data_iterator_t i /**< */); 5346 5347 5348 /***************************************************************************** 5349 ** 5350 ** xcb_void_cookie_t xcb_create_window_checked 5351 ** 5352 ** @param xcb_connection_t *c 5353 ** @param ubyte depth 5354 ** @param xcb_window_t wid 5355 ** @param xcb_window_t parent 5356 ** @param short x 5357 ** @param short y 5358 ** @param ushort width 5359 ** @param ushort height 5360 ** @param ushort border_width 5361 ** @param ushort _class 5362 ** @param xcb_visualid_t visual 5363 ** @param uint value_mask 5364 ** @param /+const+/ uint *value_list 5365 ** @returns xcb_void_cookie_t 5366 ** 5367 *****************************************************************************/ 5368 5369 extern(C) xcb_void_cookie_t 5370 xcb_create_window_checked (xcb_connection_t *c /**< */, 5371 ubyte depth /**< */, 5372 xcb_window_t wid /**< */, 5373 xcb_window_t parent /**< */, 5374 short x /**< */, 5375 short y /**< */, 5376 ushort width /**< */, 5377 ushort height /**< */, 5378 ushort border_width /**< */, 5379 ushort _class /**< */, 5380 xcb_visualid_t visual /**< */, 5381 uint value_mask /**< */, 5382 /+const+/ uint *value_list /**< */); 5383 5384 5385 /***************************************************************************** 5386 ** 5387 ** xcb_void_cookie_t xcb_create_window 5388 ** 5389 ** @param xcb_connection_t *c 5390 ** @param ubyte depth 5391 ** @param xcb_window_t wid 5392 ** @param xcb_window_t parent 5393 ** @param short x 5394 ** @param short y 5395 ** @param ushort width 5396 ** @param ushort height 5397 ** @param ushort border_width 5398 ** @param ushort _class 5399 ** @param xcb_visualid_t visual 5400 ** @param uint value_mask 5401 ** @param /+const+/ uint *value_list 5402 ** @returns xcb_void_cookie_t 5403 ** 5404 *****************************************************************************/ 5405 5406 extern(C) xcb_void_cookie_t 5407 xcb_create_window (xcb_connection_t *c /**< */, 5408 ubyte depth /**< */, 5409 xcb_window_t wid /**< */, 5410 xcb_window_t parent /**< */, 5411 short x /**< */, 5412 short y /**< */, 5413 ushort width /**< */, 5414 ushort height /**< */, 5415 ushort border_width /**< */, 5416 ushort _class /**< */, 5417 xcb_visualid_t visual /**< */, 5418 uint value_mask /**< */, 5419 /+const+/ uint *value_list /**< */); 5420 5421 5422 /***************************************************************************** 5423 ** 5424 ** xcb_void_cookie_t xcb_change_window_attributes_checked 5425 ** 5426 ** @param xcb_connection_t *c 5427 ** @param xcb_window_t window 5428 ** @param uint value_mask 5429 ** @param /+const+/ uint *value_list 5430 ** @returns xcb_void_cookie_t 5431 ** 5432 *****************************************************************************/ 5433 5434 extern(C) xcb_void_cookie_t 5435 xcb_change_window_attributes_checked (xcb_connection_t *c /**< */, 5436 xcb_window_t window /**< */, 5437 uint value_mask /**< */, 5438 /+const+/ uint *value_list /**< */); 5439 5440 5441 /***************************************************************************** 5442 ** 5443 ** xcb_void_cookie_t xcb_change_window_attributes 5444 ** 5445 ** @param xcb_connection_t *c 5446 ** @param xcb_window_t window 5447 ** @param uint value_mask 5448 ** @param /+const+/ uint *value_list 5449 ** @returns xcb_void_cookie_t 5450 ** 5451 *****************************************************************************/ 5452 5453 extern(C) xcb_void_cookie_t 5454 xcb_change_window_attributes (xcb_connection_t *c /**< */, 5455 xcb_window_t window /**< */, 5456 uint value_mask /**< */, 5457 /+const+/ uint *value_list /**< */); 5458 5459 5460 /***************************************************************************** 5461 ** 5462 ** xcb_get_window_attributes_cookie_t xcb_get_window_attributes 5463 ** 5464 ** @param xcb_connection_t *c 5465 ** @param xcb_window_t window 5466 ** @returns xcb_get_window_attributes_cookie_t 5467 ** 5468 *****************************************************************************/ 5469 5470 extern(C) xcb_get_window_attributes_cookie_t 5471 xcb_get_window_attributes (xcb_connection_t *c /**< */, 5472 xcb_window_t window /**< */); 5473 5474 5475 /***************************************************************************** 5476 ** 5477 ** xcb_get_window_attributes_cookie_t xcb_get_window_attributes_unchecked 5478 ** 5479 ** @param xcb_connection_t *c 5480 ** @param xcb_window_t window 5481 ** @returns xcb_get_window_attributes_cookie_t 5482 ** 5483 *****************************************************************************/ 5484 5485 extern(C) xcb_get_window_attributes_cookie_t 5486 xcb_get_window_attributes_unchecked (xcb_connection_t *c /**< */, 5487 xcb_window_t window /**< */); 5488 5489 5490 /***************************************************************************** 5491 ** 5492 ** xcb_get_window_attributes_reply_t * xcb_get_window_attributes_reply 5493 ** 5494 ** @param xcb_connection_t *c 5495 ** @param xcb_get_window_attributes_cookie_t cookie 5496 ** @param xcb_generic_error_t **e 5497 ** @returns xcb_get_window_attributes_reply_t * 5498 ** 5499 *****************************************************************************/ 5500 5501 extern(C) xcb_get_window_attributes_reply_t * 5502 xcb_get_window_attributes_reply (xcb_connection_t *c /**< */, 5503 xcb_get_window_attributes_cookie_t cookie /**< */, 5504 xcb_generic_error_t **e /**< */); 5505 5506 5507 /***************************************************************************** 5508 ** 5509 ** xcb_void_cookie_t xcb_destroy_window_checked 5510 ** 5511 ** @param xcb_connection_t *c 5512 ** @param xcb_window_t window 5513 ** @returns xcb_void_cookie_t 5514 ** 5515 *****************************************************************************/ 5516 5517 extern(C) xcb_void_cookie_t 5518 xcb_destroy_window_checked (xcb_connection_t *c /**< */, 5519 xcb_window_t window /**< */); 5520 5521 5522 /***************************************************************************** 5523 ** 5524 ** xcb_void_cookie_t xcb_destroy_window 5525 ** 5526 ** @param xcb_connection_t *c 5527 ** @param xcb_window_t window 5528 ** @returns xcb_void_cookie_t 5529 ** 5530 *****************************************************************************/ 5531 5532 extern(C) xcb_void_cookie_t 5533 xcb_destroy_window (xcb_connection_t *c /**< */, 5534 xcb_window_t window /**< */); 5535 5536 5537 /***************************************************************************** 5538 ** 5539 ** xcb_void_cookie_t xcb_destroy_subwindows_checked 5540 ** 5541 ** @param xcb_connection_t *c 5542 ** @param xcb_window_t window 5543 ** @returns xcb_void_cookie_t 5544 ** 5545 *****************************************************************************/ 5546 5547 extern(C) xcb_void_cookie_t 5548 xcb_destroy_subwindows_checked (xcb_connection_t *c /**< */, 5549 xcb_window_t window /**< */); 5550 5551 5552 /***************************************************************************** 5553 ** 5554 ** xcb_void_cookie_t xcb_destroy_subwindows 5555 ** 5556 ** @param xcb_connection_t *c 5557 ** @param xcb_window_t window 5558 ** @returns xcb_void_cookie_t 5559 ** 5560 *****************************************************************************/ 5561 5562 extern(C) xcb_void_cookie_t 5563 xcb_destroy_subwindows (xcb_connection_t *c /**< */, 5564 xcb_window_t window /**< */); 5565 5566 5567 /***************************************************************************** 5568 ** 5569 ** xcb_void_cookie_t xcb_change_save_set_checked 5570 ** 5571 ** @param xcb_connection_t *c 5572 ** @param ubyte mode 5573 ** @param xcb_window_t window 5574 ** @returns xcb_void_cookie_t 5575 ** 5576 *****************************************************************************/ 5577 5578 extern(C) xcb_void_cookie_t 5579 xcb_change_save_set_checked (xcb_connection_t *c /**< */, 5580 ubyte mode /**< */, 5581 xcb_window_t window /**< */); 5582 5583 5584 /***************************************************************************** 5585 ** 5586 ** xcb_void_cookie_t xcb_change_save_set 5587 ** 5588 ** @param xcb_connection_t *c 5589 ** @param ubyte mode 5590 ** @param xcb_window_t window 5591 ** @returns xcb_void_cookie_t 5592 ** 5593 *****************************************************************************/ 5594 5595 extern(C) xcb_void_cookie_t 5596 xcb_change_save_set (xcb_connection_t *c /**< */, 5597 ubyte mode /**< */, 5598 xcb_window_t window /**< */); 5599 5600 5601 /***************************************************************************** 5602 ** 5603 ** xcb_void_cookie_t xcb_reparent_window_checked 5604 ** 5605 ** @param xcb_connection_t *c 5606 ** @param xcb_window_t window 5607 ** @param xcb_window_t parent 5608 ** @param short x 5609 ** @param short y 5610 ** @returns xcb_void_cookie_t 5611 ** 5612 *****************************************************************************/ 5613 5614 extern(C) xcb_void_cookie_t 5615 xcb_reparent_window_checked (xcb_connection_t *c /**< */, 5616 xcb_window_t window /**< */, 5617 xcb_window_t parent /**< */, 5618 short x /**< */, 5619 short y /**< */); 5620 5621 5622 /***************************************************************************** 5623 ** 5624 ** xcb_void_cookie_t xcb_reparent_window 5625 ** 5626 ** @param xcb_connection_t *c 5627 ** @param xcb_window_t window 5628 ** @param xcb_window_t parent 5629 ** @param short x 5630 ** @param short y 5631 ** @returns xcb_void_cookie_t 5632 ** 5633 *****************************************************************************/ 5634 5635 extern(C) xcb_void_cookie_t 5636 xcb_reparent_window (xcb_connection_t *c /**< */, 5637 xcb_window_t window /**< */, 5638 xcb_window_t parent /**< */, 5639 short x /**< */, 5640 short y /**< */); 5641 5642 5643 /***************************************************************************** 5644 ** 5645 ** xcb_void_cookie_t xcb_map_window_checked 5646 ** 5647 ** @param xcb_connection_t *c 5648 ** @param xcb_window_t window 5649 ** @returns xcb_void_cookie_t 5650 ** 5651 *****************************************************************************/ 5652 5653 extern(C) xcb_void_cookie_t 5654 xcb_map_window_checked (xcb_connection_t *c /**< */, 5655 xcb_window_t window /**< */); 5656 5657 5658 /***************************************************************************** 5659 ** 5660 ** xcb_void_cookie_t xcb_map_window 5661 ** 5662 ** @param xcb_connection_t *c 5663 ** @param xcb_window_t window 5664 ** @returns xcb_void_cookie_t 5665 ** 5666 *****************************************************************************/ 5667 5668 extern(C) xcb_void_cookie_t 5669 xcb_map_window (xcb_connection_t *c /**< */, 5670 xcb_window_t window /**< */); 5671 5672 5673 /***************************************************************************** 5674 ** 5675 ** xcb_void_cookie_t xcb_map_subwindows_checked 5676 ** 5677 ** @param xcb_connection_t *c 5678 ** @param xcb_window_t window 5679 ** @returns xcb_void_cookie_t 5680 ** 5681 *****************************************************************************/ 5682 5683 extern(C) xcb_void_cookie_t 5684 xcb_map_subwindows_checked (xcb_connection_t *c /**< */, 5685 xcb_window_t window /**< */); 5686 5687 5688 /***************************************************************************** 5689 ** 5690 ** xcb_void_cookie_t xcb_map_subwindows 5691 ** 5692 ** @param xcb_connection_t *c 5693 ** @param xcb_window_t window 5694 ** @returns xcb_void_cookie_t 5695 ** 5696 *****************************************************************************/ 5697 5698 extern(C) xcb_void_cookie_t 5699 xcb_map_subwindows (xcb_connection_t *c /**< */, 5700 xcb_window_t window /**< */); 5701 5702 5703 /***************************************************************************** 5704 ** 5705 ** xcb_void_cookie_t xcb_unmap_window_checked 5706 ** 5707 ** @param xcb_connection_t *c 5708 ** @param xcb_window_t window 5709 ** @returns xcb_void_cookie_t 5710 ** 5711 *****************************************************************************/ 5712 5713 extern(C) xcb_void_cookie_t 5714 xcb_unmap_window_checked (xcb_connection_t *c /**< */, 5715 xcb_window_t window /**< */); 5716 5717 5718 /***************************************************************************** 5719 ** 5720 ** xcb_void_cookie_t xcb_unmap_window 5721 ** 5722 ** @param xcb_connection_t *c 5723 ** @param xcb_window_t window 5724 ** @returns xcb_void_cookie_t 5725 ** 5726 *****************************************************************************/ 5727 5728 extern(C) xcb_void_cookie_t 5729 xcb_unmap_window (xcb_connection_t *c /**< */, 5730 xcb_window_t window /**< */); 5731 5732 5733 /***************************************************************************** 5734 ** 5735 ** xcb_void_cookie_t xcb_unmap_subwindows_checked 5736 ** 5737 ** @param xcb_connection_t *c 5738 ** @param xcb_window_t window 5739 ** @returns xcb_void_cookie_t 5740 ** 5741 *****************************************************************************/ 5742 5743 extern(C) xcb_void_cookie_t 5744 xcb_unmap_subwindows_checked (xcb_connection_t *c /**< */, 5745 xcb_window_t window /**< */); 5746 5747 5748 /***************************************************************************** 5749 ** 5750 ** xcb_void_cookie_t xcb_unmap_subwindows 5751 ** 5752 ** @param xcb_connection_t *c 5753 ** @param xcb_window_t window 5754 ** @returns xcb_void_cookie_t 5755 ** 5756 *****************************************************************************/ 5757 5758 extern(C) xcb_void_cookie_t 5759 xcb_unmap_subwindows (xcb_connection_t *c /**< */, 5760 xcb_window_t window /**< */); 5761 5762 5763 /***************************************************************************** 5764 ** 5765 ** xcb_void_cookie_t xcb_configure_window_checked 5766 ** 5767 ** @param xcb_connection_t *c 5768 ** @param xcb_window_t window 5769 ** @param ushort value_mask 5770 ** @param /+const+/ uint *value_list 5771 ** @returns xcb_void_cookie_t 5772 ** 5773 *****************************************************************************/ 5774 5775 extern(C) xcb_void_cookie_t 5776 xcb_configure_window_checked (xcb_connection_t *c /**< */, 5777 xcb_window_t window /**< */, 5778 ushort value_mask /**< */, 5779 /+const+/ uint *value_list /**< */); 5780 5781 5782 /***************************************************************************** 5783 ** 5784 ** xcb_void_cookie_t xcb_configure_window 5785 ** 5786 ** @param xcb_connection_t *c 5787 ** @param xcb_window_t window 5788 ** @param ushort value_mask 5789 ** @param /+const+/ uint *value_list 5790 ** @returns xcb_void_cookie_t 5791 ** 5792 *****************************************************************************/ 5793 5794 extern(C) xcb_void_cookie_t 5795 xcb_configure_window (xcb_connection_t *c /**< */, 5796 xcb_window_t window /**< */, 5797 ushort value_mask /**< */, 5798 /+const+/ uint *value_list /**< */); 5799 5800 5801 /***************************************************************************** 5802 ** 5803 ** xcb_void_cookie_t xcb_circulate_window_checked 5804 ** 5805 ** @param xcb_connection_t *c 5806 ** @param ubyte direction 5807 ** @param xcb_window_t window 5808 ** @returns xcb_void_cookie_t 5809 ** 5810 *****************************************************************************/ 5811 5812 extern(C) xcb_void_cookie_t 5813 xcb_circulate_window_checked (xcb_connection_t *c /**< */, 5814 ubyte direction /**< */, 5815 xcb_window_t window /**< */); 5816 5817 5818 /***************************************************************************** 5819 ** 5820 ** xcb_void_cookie_t xcb_circulate_window 5821 ** 5822 ** @param xcb_connection_t *c 5823 ** @param ubyte direction 5824 ** @param xcb_window_t window 5825 ** @returns xcb_void_cookie_t 5826 ** 5827 *****************************************************************************/ 5828 5829 extern(C) xcb_void_cookie_t 5830 xcb_circulate_window (xcb_connection_t *c /**< */, 5831 ubyte direction /**< */, 5832 xcb_window_t window /**< */); 5833 5834 5835 /***************************************************************************** 5836 ** 5837 ** xcb_get_geometry_cookie_t xcb_get_geometry 5838 ** 5839 ** @param xcb_connection_t *c 5840 ** @param xcb_drawable_t drawable 5841 ** @returns xcb_get_geometry_cookie_t 5842 ** 5843 *****************************************************************************/ 5844 5845 extern(C) xcb_get_geometry_cookie_t 5846 xcb_get_geometry (xcb_connection_t *c /**< */, 5847 xcb_drawable_t drawable /**< */); 5848 5849 5850 /***************************************************************************** 5851 ** 5852 ** xcb_get_geometry_cookie_t xcb_get_geometry_unchecked 5853 ** 5854 ** @param xcb_connection_t *c 5855 ** @param xcb_drawable_t drawable 5856 ** @returns xcb_get_geometry_cookie_t 5857 ** 5858 *****************************************************************************/ 5859 5860 extern(C) xcb_get_geometry_cookie_t 5861 xcb_get_geometry_unchecked (xcb_connection_t *c /**< */, 5862 xcb_drawable_t drawable /**< */); 5863 5864 5865 /***************************************************************************** 5866 ** 5867 ** xcb_get_geometry_reply_t * xcb_get_geometry_reply 5868 ** 5869 ** @param xcb_connection_t *c 5870 ** @param xcb_get_geometry_cookie_t cookie 5871 ** @param xcb_generic_error_t **e 5872 ** @returns xcb_get_geometry_reply_t * 5873 ** 5874 *****************************************************************************/ 5875 5876 extern(C) xcb_get_geometry_reply_t * 5877 xcb_get_geometry_reply (xcb_connection_t *c /**< */, 5878 xcb_get_geometry_cookie_t cookie /**< */, 5879 xcb_generic_error_t **e /**< */); 5880 5881 5882 /***************************************************************************** 5883 ** 5884 ** xcb_query_tree_cookie_t xcb_query_tree 5885 ** 5886 ** @param xcb_connection_t *c 5887 ** @param xcb_window_t window 5888 ** @returns xcb_query_tree_cookie_t 5889 ** 5890 *****************************************************************************/ 5891 5892 extern(C) xcb_query_tree_cookie_t 5893 xcb_query_tree (xcb_connection_t *c /**< */, 5894 xcb_window_t window /**< */); 5895 5896 5897 /***************************************************************************** 5898 ** 5899 ** xcb_query_tree_cookie_t xcb_query_tree_unchecked 5900 ** 5901 ** @param xcb_connection_t *c 5902 ** @param xcb_window_t window 5903 ** @returns xcb_query_tree_cookie_t 5904 ** 5905 *****************************************************************************/ 5906 5907 extern(C) xcb_query_tree_cookie_t 5908 xcb_query_tree_unchecked (xcb_connection_t *c /**< */, 5909 xcb_window_t window /**< */); 5910 5911 5912 /***************************************************************************** 5913 ** 5914 ** xcb_window_t * xcb_query_tree_children 5915 ** 5916 ** @param /+const+/ xcb_query_tree_reply_t *R 5917 ** @returns xcb_window_t * 5918 ** 5919 *****************************************************************************/ 5920 5921 extern(C) xcb_window_t * 5922 xcb_query_tree_children (/+const+/ xcb_query_tree_reply_t *R /**< */); 5923 5924 5925 /***************************************************************************** 5926 ** 5927 ** int xcb_query_tree_children_length 5928 ** 5929 ** @param /+const+/ xcb_query_tree_reply_t *R 5930 ** @returns int 5931 ** 5932 *****************************************************************************/ 5933 5934 extern(C) int 5935 xcb_query_tree_children_length (/+const+/ xcb_query_tree_reply_t *R /**< */); 5936 5937 5938 /***************************************************************************** 5939 ** 5940 ** xcb_window_iterator_t xcb_query_tree_children_iterator 5941 ** 5942 ** @param /+const+/ xcb_query_tree_reply_t *R 5943 ** @returns xcb_window_iterator_t 5944 ** 5945 *****************************************************************************/ 5946 5947 extern(C) xcb_window_iterator_t 5948 xcb_query_tree_children_iterator (/+const+/ xcb_query_tree_reply_t *R /**< */); 5949 5950 5951 /***************************************************************************** 5952 ** 5953 ** xcb_query_tree_reply_t * xcb_query_tree_reply 5954 ** 5955 ** @param xcb_connection_t *c 5956 ** @param xcb_query_tree_cookie_t cookie 5957 ** @param xcb_generic_error_t **e 5958 ** @returns xcb_query_tree_reply_t * 5959 ** 5960 *****************************************************************************/ 5961 5962 extern(C) xcb_query_tree_reply_t * 5963 xcb_query_tree_reply (xcb_connection_t *c /**< */, 5964 xcb_query_tree_cookie_t cookie /**< */, 5965 xcb_generic_error_t **e /**< */); 5966 5967 5968 /***************************************************************************** 5969 ** 5970 ** xcb_intern_atom_cookie_t xcb_intern_atom 5971 ** 5972 ** @param xcb_connection_t *c 5973 ** @param bool only_if_exists 5974 ** @param ushort name_len 5975 ** @param /+const+/ char *name 5976 ** @returns xcb_intern_atom_cookie_t 5977 ** 5978 *****************************************************************************/ 5979 5980 extern(C) xcb_intern_atom_cookie_t 5981 xcb_intern_atom (xcb_connection_t *c /**< */, 5982 bool only_if_exists /**< */, 5983 ushort name_len /**< */, 5984 /+const+/ char *name /**< */); 5985 5986 5987 /***************************************************************************** 5988 ** 5989 ** xcb_intern_atom_cookie_t xcb_intern_atom_unchecked 5990 ** 5991 ** @param xcb_connection_t *c 5992 ** @param bool only_if_exists 5993 ** @param ushort name_len 5994 ** @param /+const+/ char *name 5995 ** @returns xcb_intern_atom_cookie_t 5996 ** 5997 *****************************************************************************/ 5998 5999 extern(C) xcb_intern_atom_cookie_t 6000 xcb_intern_atom_unchecked (xcb_connection_t *c /**< */, 6001 bool only_if_exists /**< */, 6002 ushort name_len /**< */, 6003 /+const+/ char *name /**< */); 6004 6005 6006 /***************************************************************************** 6007 ** 6008 ** xcb_intern_atom_reply_t * xcb_intern_atom_reply 6009 ** 6010 ** @param xcb_connection_t *c 6011 ** @param xcb_intern_atom_cookie_t cookie 6012 ** @param xcb_generic_error_t **e 6013 ** @returns xcb_intern_atom_reply_t * 6014 ** 6015 *****************************************************************************/ 6016 6017 extern(C) xcb_intern_atom_reply_t * 6018 xcb_intern_atom_reply (xcb_connection_t *c /**< */, 6019 xcb_intern_atom_cookie_t cookie /**< */, 6020 xcb_generic_error_t **e /**< */); 6021 6022 6023 /***************************************************************************** 6024 ** 6025 ** xcb_get_atom_name_cookie_t xcb_get_atom_name 6026 ** 6027 ** @param xcb_connection_t *c 6028 ** @param xcb_atom_t atom 6029 ** @returns xcb_get_atom_name_cookie_t 6030 ** 6031 *****************************************************************************/ 6032 6033 extern(C) xcb_get_atom_name_cookie_t 6034 xcb_get_atom_name (xcb_connection_t *c /**< */, 6035 xcb_atom_t atom /**< */); 6036 6037 6038 /***************************************************************************** 6039 ** 6040 ** xcb_get_atom_name_cookie_t xcb_get_atom_name_unchecked 6041 ** 6042 ** @param xcb_connection_t *c 6043 ** @param xcb_atom_t atom 6044 ** @returns xcb_get_atom_name_cookie_t 6045 ** 6046 *****************************************************************************/ 6047 6048 extern(C) xcb_get_atom_name_cookie_t 6049 xcb_get_atom_name_unchecked (xcb_connection_t *c /**< */, 6050 xcb_atom_t atom /**< */); 6051 6052 6053 /***************************************************************************** 6054 ** 6055 ** ubyte * xcb_get_atom_name_name 6056 ** 6057 ** @param /+const+/ xcb_get_atom_name_reply_t *R 6058 ** @returns ubyte * 6059 ** 6060 *****************************************************************************/ 6061 6062 extern(C) ubyte * 6063 xcb_get_atom_name_name (/+const+/ xcb_get_atom_name_reply_t *R /**< */); 6064 6065 6066 /***************************************************************************** 6067 ** 6068 ** int xcb_get_atom_name_name_length 6069 ** 6070 ** @param /+const+/ xcb_get_atom_name_reply_t *R 6071 ** @returns int 6072 ** 6073 *****************************************************************************/ 6074 6075 extern(C) int 6076 xcb_get_atom_name_name_length (/+const+/ xcb_get_atom_name_reply_t *R /**< */); 6077 6078 6079 /***************************************************************************** 6080 ** 6081 ** xcb_generic_iterator_t xcb_get_atom_name_name_end 6082 ** 6083 ** @param /+const+/ xcb_get_atom_name_reply_t *R 6084 ** @returns xcb_generic_iterator_t 6085 ** 6086 *****************************************************************************/ 6087 6088 extern(C) xcb_generic_iterator_t 6089 xcb_get_atom_name_name_end (/+const+/ xcb_get_atom_name_reply_t *R /**< */); 6090 6091 6092 /***************************************************************************** 6093 ** 6094 ** xcb_get_atom_name_reply_t * xcb_get_atom_name_reply 6095 ** 6096 ** @param xcb_connection_t *c 6097 ** @param xcb_get_atom_name_cookie_t cookie 6098 ** @param xcb_generic_error_t **e 6099 ** @returns xcb_get_atom_name_reply_t * 6100 ** 6101 *****************************************************************************/ 6102 6103 extern(C) xcb_get_atom_name_reply_t * 6104 xcb_get_atom_name_reply (xcb_connection_t *c /**< */, 6105 xcb_get_atom_name_cookie_t cookie /**< */, 6106 xcb_generic_error_t **e /**< */); 6107 6108 6109 /***************************************************************************** 6110 ** 6111 ** xcb_void_cookie_t xcb_change_property_checked 6112 ** 6113 ** @param xcb_connection_t *c 6114 ** @param ubyte mode 6115 ** @param xcb_window_t window 6116 ** @param xcb_atom_t property 6117 ** @param xcb_atom_t type 6118 ** @param ubyte format 6119 ** @param uint data_len 6120 ** @param /+const+/ void *data 6121 ** @returns xcb_void_cookie_t 6122 ** 6123 *****************************************************************************/ 6124 6125 extern(C) xcb_void_cookie_t 6126 xcb_change_property_checked (xcb_connection_t *c /**< */, 6127 ubyte mode /**< */, 6128 xcb_window_t window /**< */, 6129 xcb_atom_t property /**< */, 6130 xcb_atom_t type /**< */, 6131 ubyte format /**< */, 6132 uint data_len /**< */, 6133 /+const+/ void *data /**< */); 6134 6135 6136 /***************************************************************************** 6137 ** 6138 ** xcb_void_cookie_t xcb_change_property 6139 ** 6140 ** @param xcb_connection_t *c 6141 ** @param ubyte mode 6142 ** @param xcb_window_t window 6143 ** @param xcb_atom_t property 6144 ** @param xcb_atom_t type 6145 ** @param ubyte format 6146 ** @param uint data_len 6147 ** @param /+const+/ void *data 6148 ** @returns xcb_void_cookie_t 6149 ** 6150 *****************************************************************************/ 6151 6152 extern(C) xcb_void_cookie_t 6153 xcb_change_property (xcb_connection_t *c /**< */, 6154 ubyte mode /**< */, 6155 xcb_window_t window /**< */, 6156 xcb_atom_t property /**< */, 6157 xcb_atom_t type /**< */, 6158 ubyte format /**< */, 6159 uint data_len /**< */, 6160 /+const+/ void *data /**< */); 6161 6162 6163 /***************************************************************************** 6164 ** 6165 ** xcb_void_cookie_t xcb_delete_property_checked 6166 ** 6167 ** @param xcb_connection_t *c 6168 ** @param xcb_window_t window 6169 ** @param xcb_atom_t property 6170 ** @returns xcb_void_cookie_t 6171 ** 6172 *****************************************************************************/ 6173 6174 extern(C) xcb_void_cookie_t 6175 xcb_delete_property_checked (xcb_connection_t *c /**< */, 6176 xcb_window_t window /**< */, 6177 xcb_atom_t property /**< */); 6178 6179 6180 /***************************************************************************** 6181 ** 6182 ** xcb_void_cookie_t xcb_delete_property 6183 ** 6184 ** @param xcb_connection_t *c 6185 ** @param xcb_window_t window 6186 ** @param xcb_atom_t property 6187 ** @returns xcb_void_cookie_t 6188 ** 6189 *****************************************************************************/ 6190 6191 extern(C) xcb_void_cookie_t 6192 xcb_delete_property (xcb_connection_t *c /**< */, 6193 xcb_window_t window /**< */, 6194 xcb_atom_t property /**< */); 6195 6196 6197 /***************************************************************************** 6198 ** 6199 ** xcb_get_property_cookie_t xcb_get_property 6200 ** 6201 ** @param xcb_connection_t *c 6202 ** @param bool _delete 6203 ** @param xcb_window_t window 6204 ** @param xcb_atom_t property 6205 ** @param xcb_atom_t type 6206 ** @param uint long_offset 6207 ** @param uint long_length 6208 ** @returns xcb_get_property_cookie_t 6209 ** 6210 *****************************************************************************/ 6211 6212 extern(C) xcb_get_property_cookie_t 6213 xcb_get_property (xcb_connection_t *c /**< */, 6214 bool _delete /**< */, 6215 xcb_window_t window /**< */, 6216 xcb_atom_t property /**< */, 6217 xcb_atom_t type /**< */, 6218 uint long_offset /**< */, 6219 uint long_length /**< */); 6220 6221 6222 /***************************************************************************** 6223 ** 6224 ** xcb_get_property_cookie_t xcb_get_property_unchecked 6225 ** 6226 ** @param xcb_connection_t *c 6227 ** @param bool _delete 6228 ** @param xcb_window_t window 6229 ** @param xcb_atom_t property 6230 ** @param xcb_atom_t type 6231 ** @param uint long_offset 6232 ** @param uint long_length 6233 ** @returns xcb_get_property_cookie_t 6234 ** 6235 *****************************************************************************/ 6236 6237 extern(C) xcb_get_property_cookie_t 6238 xcb_get_property_unchecked (xcb_connection_t *c /**< */, 6239 bool _delete /**< */, 6240 xcb_window_t window /**< */, 6241 xcb_atom_t property /**< */, 6242 xcb_atom_t type /**< */, 6243 uint long_offset /**< */, 6244 uint long_length /**< */); 6245 6246 6247 /***************************************************************************** 6248 ** 6249 ** void * xcb_get_property_value 6250 ** 6251 ** @param /+const+/ xcb_get_property_reply_t *R 6252 ** @returns void * 6253 ** 6254 *****************************************************************************/ 6255 6256 extern(C) void * 6257 xcb_get_property_value (/+const+/ xcb_get_property_reply_t *R /**< */); 6258 6259 6260 /***************************************************************************** 6261 ** 6262 ** int xcb_get_property_value_length 6263 ** 6264 ** @param /+const+/ xcb_get_property_reply_t *R 6265 ** @returns int 6266 ** 6267 *****************************************************************************/ 6268 6269 extern(C) int 6270 xcb_get_property_value_length (/+const+/ xcb_get_property_reply_t *R /**< */); 6271 6272 6273 /***************************************************************************** 6274 ** 6275 ** xcb_generic_iterator_t xcb_get_property_value_end 6276 ** 6277 ** @param /+const+/ xcb_get_property_reply_t *R 6278 ** @returns xcb_generic_iterator_t 6279 ** 6280 *****************************************************************************/ 6281 6282 extern(C) xcb_generic_iterator_t 6283 xcb_get_property_value_end (/+const+/ xcb_get_property_reply_t *R /**< */); 6284 6285 6286 /***************************************************************************** 6287 ** 6288 ** xcb_get_property_reply_t * xcb_get_property_reply 6289 ** 6290 ** @param xcb_connection_t *c 6291 ** @param xcb_get_property_cookie_t cookie 6292 ** @param xcb_generic_error_t **e 6293 ** @returns xcb_get_property_reply_t * 6294 ** 6295 *****************************************************************************/ 6296 6297 extern(C) xcb_get_property_reply_t * 6298 xcb_get_property_reply (xcb_connection_t *c /**< */, 6299 xcb_get_property_cookie_t cookie /**< */, 6300 xcb_generic_error_t **e /**< */); 6301 6302 6303 /***************************************************************************** 6304 ** 6305 ** xcb_list_properties_cookie_t xcb_list_properties 6306 ** 6307 ** @param xcb_connection_t *c 6308 ** @param xcb_window_t window 6309 ** @returns xcb_list_properties_cookie_t 6310 ** 6311 *****************************************************************************/ 6312 6313 extern(C) xcb_list_properties_cookie_t 6314 xcb_list_properties (xcb_connection_t *c /**< */, 6315 xcb_window_t window /**< */); 6316 6317 6318 /***************************************************************************** 6319 ** 6320 ** xcb_list_properties_cookie_t xcb_list_properties_unchecked 6321 ** 6322 ** @param xcb_connection_t *c 6323 ** @param xcb_window_t window 6324 ** @returns xcb_list_properties_cookie_t 6325 ** 6326 *****************************************************************************/ 6327 6328 extern(C) xcb_list_properties_cookie_t 6329 xcb_list_properties_unchecked (xcb_connection_t *c /**< */, 6330 xcb_window_t window /**< */); 6331 6332 6333 /***************************************************************************** 6334 ** 6335 ** xcb_atom_t * xcb_list_properties_atoms 6336 ** 6337 ** @param /+const+/ xcb_list_properties_reply_t *R 6338 ** @returns xcb_atom_t * 6339 ** 6340 *****************************************************************************/ 6341 6342 extern(C) xcb_atom_t * 6343 xcb_list_properties_atoms (/+const+/ xcb_list_properties_reply_t *R /**< */); 6344 6345 6346 /***************************************************************************** 6347 ** 6348 ** int xcb_list_properties_atoms_length 6349 ** 6350 ** @param /+const+/ xcb_list_properties_reply_t *R 6351 ** @returns int 6352 ** 6353 *****************************************************************************/ 6354 6355 extern(C) int 6356 xcb_list_properties_atoms_length (/+const+/ xcb_list_properties_reply_t *R /**< */); 6357 6358 6359 /***************************************************************************** 6360 ** 6361 ** xcb_atom_iterator_t xcb_list_properties_atoms_iterator 6362 ** 6363 ** @param /+const+/ xcb_list_properties_reply_t *R 6364 ** @returns xcb_atom_iterator_t 6365 ** 6366 *****************************************************************************/ 6367 6368 extern(C) xcb_atom_iterator_t 6369 xcb_list_properties_atoms_iterator (/+const+/ xcb_list_properties_reply_t *R /**< */); 6370 6371 6372 /***************************************************************************** 6373 ** 6374 ** xcb_list_properties_reply_t * xcb_list_properties_reply 6375 ** 6376 ** @param xcb_connection_t *c 6377 ** @param xcb_list_properties_cookie_t cookie 6378 ** @param xcb_generic_error_t **e 6379 ** @returns xcb_list_properties_reply_t * 6380 ** 6381 *****************************************************************************/ 6382 6383 extern(C) xcb_list_properties_reply_t * 6384 xcb_list_properties_reply (xcb_connection_t *c /**< */, 6385 xcb_list_properties_cookie_t cookie /**< */, 6386 xcb_generic_error_t **e /**< */); 6387 6388 6389 /***************************************************************************** 6390 ** 6391 ** xcb_void_cookie_t xcb_set_selection_owner_checked 6392 ** 6393 ** @param xcb_connection_t *c 6394 ** @param xcb_window_t owner 6395 ** @param xcb_atom_t selection 6396 ** @param xcb_timestamp_t time 6397 ** @returns xcb_void_cookie_t 6398 ** 6399 *****************************************************************************/ 6400 6401 extern(C) xcb_void_cookie_t 6402 xcb_set_selection_owner_checked (xcb_connection_t *c /**< */, 6403 xcb_window_t owner /**< */, 6404 xcb_atom_t selection /**< */, 6405 xcb_timestamp_t time /**< */); 6406 6407 6408 /***************************************************************************** 6409 ** 6410 ** xcb_void_cookie_t xcb_set_selection_owner 6411 ** 6412 ** @param xcb_connection_t *c 6413 ** @param xcb_window_t owner 6414 ** @param xcb_atom_t selection 6415 ** @param xcb_timestamp_t time 6416 ** @returns xcb_void_cookie_t 6417 ** 6418 *****************************************************************************/ 6419 6420 extern(C) xcb_void_cookie_t 6421 xcb_set_selection_owner (xcb_connection_t *c /**< */, 6422 xcb_window_t owner /**< */, 6423 xcb_atom_t selection /**< */, 6424 xcb_timestamp_t time /**< */); 6425 6426 6427 /***************************************************************************** 6428 ** 6429 ** xcb_get_selection_owner_cookie_t xcb_get_selection_owner 6430 ** 6431 ** @param xcb_connection_t *c 6432 ** @param xcb_atom_t selection 6433 ** @returns xcb_get_selection_owner_cookie_t 6434 ** 6435 *****************************************************************************/ 6436 6437 extern(C) xcb_get_selection_owner_cookie_t 6438 xcb_get_selection_owner (xcb_connection_t *c /**< */, 6439 xcb_atom_t selection /**< */); 6440 6441 6442 /***************************************************************************** 6443 ** 6444 ** xcb_get_selection_owner_cookie_t xcb_get_selection_owner_unchecked 6445 ** 6446 ** @param xcb_connection_t *c 6447 ** @param xcb_atom_t selection 6448 ** @returns xcb_get_selection_owner_cookie_t 6449 ** 6450 *****************************************************************************/ 6451 6452 extern(C) xcb_get_selection_owner_cookie_t 6453 xcb_get_selection_owner_unchecked (xcb_connection_t *c /**< */, 6454 xcb_atom_t selection /**< */); 6455 6456 6457 /***************************************************************************** 6458 ** 6459 ** xcb_get_selection_owner_reply_t * xcb_get_selection_owner_reply 6460 ** 6461 ** @param xcb_connection_t *c 6462 ** @param xcb_get_selection_owner_cookie_t cookie 6463 ** @param xcb_generic_error_t **e 6464 ** @returns xcb_get_selection_owner_reply_t * 6465 ** 6466 *****************************************************************************/ 6467 6468 extern(C) xcb_get_selection_owner_reply_t * 6469 xcb_get_selection_owner_reply (xcb_connection_t *c /**< */, 6470 xcb_get_selection_owner_cookie_t cookie /**< */, 6471 xcb_generic_error_t **e /**< */); 6472 6473 6474 /***************************************************************************** 6475 ** 6476 ** xcb_void_cookie_t xcb_convert_selection_checked 6477 ** 6478 ** @param xcb_connection_t *c 6479 ** @param xcb_window_t requestor 6480 ** @param xcb_atom_t selection 6481 ** @param xcb_atom_t target 6482 ** @param xcb_atom_t property 6483 ** @param xcb_timestamp_t time 6484 ** @returns xcb_void_cookie_t 6485 ** 6486 *****************************************************************************/ 6487 6488 extern(C) xcb_void_cookie_t 6489 xcb_convert_selection_checked (xcb_connection_t *c /**< */, 6490 xcb_window_t requestor /**< */, 6491 xcb_atom_t selection /**< */, 6492 xcb_atom_t target /**< */, 6493 xcb_atom_t property /**< */, 6494 xcb_timestamp_t time /**< */); 6495 6496 6497 /***************************************************************************** 6498 ** 6499 ** xcb_void_cookie_t xcb_convert_selection 6500 ** 6501 ** @param xcb_connection_t *c 6502 ** @param xcb_window_t requestor 6503 ** @param xcb_atom_t selection 6504 ** @param xcb_atom_t target 6505 ** @param xcb_atom_t property 6506 ** @param xcb_timestamp_t time 6507 ** @returns xcb_void_cookie_t 6508 ** 6509 *****************************************************************************/ 6510 6511 extern(C) xcb_void_cookie_t 6512 xcb_convert_selection (xcb_connection_t *c /**< */, 6513 xcb_window_t requestor /**< */, 6514 xcb_atom_t selection /**< */, 6515 xcb_atom_t target /**< */, 6516 xcb_atom_t property /**< */, 6517 xcb_timestamp_t time /**< */); 6518 6519 6520 /***************************************************************************** 6521 ** 6522 ** xcb_void_cookie_t xcb_send_event_checked 6523 ** 6524 ** @param xcb_connection_t *c 6525 ** @param bool propagate 6526 ** @param xcb_window_t destination 6527 ** @param uint event_mask 6528 ** @param /+const+/ char *event 6529 ** @returns xcb_void_cookie_t 6530 ** 6531 *****************************************************************************/ 6532 6533 extern(C) xcb_void_cookie_t 6534 xcb_send_event_checked (xcb_connection_t *c /**< */, 6535 bool propagate /**< */, 6536 xcb_window_t destination /**< */, 6537 uint event_mask /**< */, 6538 /+const+/ char *event /**< */); 6539 6540 6541 /***************************************************************************** 6542 ** 6543 ** xcb_void_cookie_t xcb_send_event 6544 ** 6545 ** @param xcb_connection_t *c 6546 ** @param bool propagate 6547 ** @param xcb_window_t destination 6548 ** @param uint event_mask 6549 ** @param /+const+/ char *event 6550 ** @returns xcb_void_cookie_t 6551 ** 6552 *****************************************************************************/ 6553 6554 extern(C) xcb_void_cookie_t 6555 xcb_send_event (xcb_connection_t *c /**< */, 6556 bool propagate /**< */, 6557 xcb_window_t destination /**< */, 6558 uint event_mask /**< */, 6559 /+const+/ char *event /**< */); 6560 6561 6562 /***************************************************************************** 6563 ** 6564 ** xcb_grab_pointer_cookie_t xcb_grab_pointer 6565 ** 6566 ** @param xcb_connection_t *c 6567 ** @param bool owner_events 6568 ** @param xcb_window_t grab_window 6569 ** @param ushort event_mask 6570 ** @param ubyte pointer_mode 6571 ** @param ubyte keyboard_mode 6572 ** @param xcb_window_t confine_to 6573 ** @param xcb_cursor_t cursor 6574 ** @param xcb_timestamp_t time 6575 ** @returns xcb_grab_pointer_cookie_t 6576 ** 6577 *****************************************************************************/ 6578 6579 extern(C) xcb_grab_pointer_cookie_t 6580 xcb_grab_pointer (xcb_connection_t *c /**< */, 6581 bool owner_events /**< */, 6582 xcb_window_t grab_window /**< */, 6583 ushort event_mask /**< */, 6584 ubyte pointer_mode /**< */, 6585 ubyte keyboard_mode /**< */, 6586 xcb_window_t confine_to /**< */, 6587 xcb_cursor_t cursor /**< */, 6588 xcb_timestamp_t time /**< */); 6589 6590 6591 /***************************************************************************** 6592 ** 6593 ** xcb_grab_pointer_cookie_t xcb_grab_pointer_unchecked 6594 ** 6595 ** @param xcb_connection_t *c 6596 ** @param bool owner_events 6597 ** @param xcb_window_t grab_window 6598 ** @param ushort event_mask 6599 ** @param ubyte pointer_mode 6600 ** @param ubyte keyboard_mode 6601 ** @param xcb_window_t confine_to 6602 ** @param xcb_cursor_t cursor 6603 ** @param xcb_timestamp_t time 6604 ** @returns xcb_grab_pointer_cookie_t 6605 ** 6606 *****************************************************************************/ 6607 6608 extern(C) xcb_grab_pointer_cookie_t 6609 xcb_grab_pointer_unchecked (xcb_connection_t *c /**< */, 6610 bool owner_events /**< */, 6611 xcb_window_t grab_window /**< */, 6612 ushort event_mask /**< */, 6613 ubyte pointer_mode /**< */, 6614 ubyte keyboard_mode /**< */, 6615 xcb_window_t confine_to /**< */, 6616 xcb_cursor_t cursor /**< */, 6617 xcb_timestamp_t time /**< */); 6618 6619 6620 /***************************************************************************** 6621 ** 6622 ** xcb_grab_pointer_reply_t * xcb_grab_pointer_reply 6623 ** 6624 ** @param xcb_connection_t *c 6625 ** @param xcb_grab_pointer_cookie_t cookie 6626 ** @param xcb_generic_error_t **e 6627 ** @returns xcb_grab_pointer_reply_t * 6628 ** 6629 *****************************************************************************/ 6630 6631 extern(C) xcb_grab_pointer_reply_t * 6632 xcb_grab_pointer_reply (xcb_connection_t *c /**< */, 6633 xcb_grab_pointer_cookie_t cookie /**< */, 6634 xcb_generic_error_t **e /**< */); 6635 6636 6637 /***************************************************************************** 6638 ** 6639 ** xcb_void_cookie_t xcb_ungrab_pointer_checked 6640 ** 6641 ** @param xcb_connection_t *c 6642 ** @param xcb_timestamp_t time 6643 ** @returns xcb_void_cookie_t 6644 ** 6645 *****************************************************************************/ 6646 6647 extern(C) xcb_void_cookie_t 6648 xcb_ungrab_pointer_checked (xcb_connection_t *c /**< */, 6649 xcb_timestamp_t time /**< */); 6650 6651 6652 /***************************************************************************** 6653 ** 6654 ** xcb_void_cookie_t xcb_ungrab_pointer 6655 ** 6656 ** @param xcb_connection_t *c 6657 ** @param xcb_timestamp_t time 6658 ** @returns xcb_void_cookie_t 6659 ** 6660 *****************************************************************************/ 6661 6662 extern(C) xcb_void_cookie_t 6663 xcb_ungrab_pointer (xcb_connection_t *c /**< */, 6664 xcb_timestamp_t time /**< */); 6665 6666 6667 /***************************************************************************** 6668 ** 6669 ** xcb_void_cookie_t xcb_grab_button_checked 6670 ** 6671 ** @param xcb_connection_t *c 6672 ** @param bool owner_events 6673 ** @param xcb_window_t grab_window 6674 ** @param ushort event_mask 6675 ** @param ubyte pointer_mode 6676 ** @param ubyte keyboard_mode 6677 ** @param xcb_window_t confine_to 6678 ** @param xcb_cursor_t cursor 6679 ** @param ubyte button 6680 ** @param ushort modifiers 6681 ** @returns xcb_void_cookie_t 6682 ** 6683 *****************************************************************************/ 6684 6685 extern(C) xcb_void_cookie_t 6686 xcb_grab_button_checked (xcb_connection_t *c /**< */, 6687 bool owner_events /**< */, 6688 xcb_window_t grab_window /**< */, 6689 ushort event_mask /**< */, 6690 ubyte pointer_mode /**< */, 6691 ubyte keyboard_mode /**< */, 6692 xcb_window_t confine_to /**< */, 6693 xcb_cursor_t cursor /**< */, 6694 ubyte button /**< */, 6695 ushort modifiers /**< */); 6696 6697 6698 /***************************************************************************** 6699 ** 6700 ** xcb_void_cookie_t xcb_grab_button 6701 ** 6702 ** @param xcb_connection_t *c 6703 ** @param bool owner_events 6704 ** @param xcb_window_t grab_window 6705 ** @param ushort event_mask 6706 ** @param ubyte pointer_mode 6707 ** @param ubyte keyboard_mode 6708 ** @param xcb_window_t confine_to 6709 ** @param xcb_cursor_t cursor 6710 ** @param ubyte button 6711 ** @param ushort modifiers 6712 ** @returns xcb_void_cookie_t 6713 ** 6714 *****************************************************************************/ 6715 6716 extern(C) xcb_void_cookie_t 6717 xcb_grab_button (xcb_connection_t *c /**< */, 6718 bool owner_events /**< */, 6719 xcb_window_t grab_window /**< */, 6720 ushort event_mask /**< */, 6721 ubyte pointer_mode /**< */, 6722 ubyte keyboard_mode /**< */, 6723 xcb_window_t confine_to /**< */, 6724 xcb_cursor_t cursor /**< */, 6725 ubyte button /**< */, 6726 ushort modifiers /**< */); 6727 6728 6729 /***************************************************************************** 6730 ** 6731 ** xcb_void_cookie_t xcb_ungrab_button_checked 6732 ** 6733 ** @param xcb_connection_t *c 6734 ** @param ubyte button 6735 ** @param xcb_window_t grab_window 6736 ** @param ushort modifiers 6737 ** @returns xcb_void_cookie_t 6738 ** 6739 *****************************************************************************/ 6740 6741 extern(C) xcb_void_cookie_t 6742 xcb_ungrab_button_checked (xcb_connection_t *c /**< */, 6743 ubyte button /**< */, 6744 xcb_window_t grab_window /**< */, 6745 ushort modifiers /**< */); 6746 6747 6748 /***************************************************************************** 6749 ** 6750 ** xcb_void_cookie_t xcb_ungrab_button 6751 ** 6752 ** @param xcb_connection_t *c 6753 ** @param ubyte button 6754 ** @param xcb_window_t grab_window 6755 ** @param ushort modifiers 6756 ** @returns xcb_void_cookie_t 6757 ** 6758 *****************************************************************************/ 6759 6760 extern(C) xcb_void_cookie_t 6761 xcb_ungrab_button (xcb_connection_t *c /**< */, 6762 ubyte button /**< */, 6763 xcb_window_t grab_window /**< */, 6764 ushort modifiers /**< */); 6765 6766 6767 /***************************************************************************** 6768 ** 6769 ** xcb_void_cookie_t xcb_change_active_pointer_grab_checked 6770 ** 6771 ** @param xcb_connection_t *c 6772 ** @param xcb_cursor_t cursor 6773 ** @param xcb_timestamp_t time 6774 ** @param ushort event_mask 6775 ** @returns xcb_void_cookie_t 6776 ** 6777 *****************************************************************************/ 6778 6779 extern(C) xcb_void_cookie_t 6780 xcb_change_active_pointer_grab_checked (xcb_connection_t *c /**< */, 6781 xcb_cursor_t cursor /**< */, 6782 xcb_timestamp_t time /**< */, 6783 ushort event_mask /**< */); 6784 6785 6786 /***************************************************************************** 6787 ** 6788 ** xcb_void_cookie_t xcb_change_active_pointer_grab 6789 ** 6790 ** @param xcb_connection_t *c 6791 ** @param xcb_cursor_t cursor 6792 ** @param xcb_timestamp_t time 6793 ** @param ushort event_mask 6794 ** @returns xcb_void_cookie_t 6795 ** 6796 *****************************************************************************/ 6797 6798 extern(C) xcb_void_cookie_t 6799 xcb_change_active_pointer_grab (xcb_connection_t *c /**< */, 6800 xcb_cursor_t cursor /**< */, 6801 xcb_timestamp_t time /**< */, 6802 ushort event_mask /**< */); 6803 6804 6805 /***************************************************************************** 6806 ** 6807 ** xcb_grab_keyboard_cookie_t xcb_grab_keyboard 6808 ** 6809 ** @param xcb_connection_t *c 6810 ** @param bool owner_events 6811 ** @param xcb_window_t grab_window 6812 ** @param xcb_timestamp_t time 6813 ** @param ubyte pointer_mode 6814 ** @param ubyte keyboard_mode 6815 ** @returns xcb_grab_keyboard_cookie_t 6816 ** 6817 *****************************************************************************/ 6818 6819 extern(C) xcb_grab_keyboard_cookie_t 6820 xcb_grab_keyboard (xcb_connection_t *c /**< */, 6821 bool owner_events /**< */, 6822 xcb_window_t grab_window /**< */, 6823 xcb_timestamp_t time /**< */, 6824 ubyte pointer_mode /**< */, 6825 ubyte keyboard_mode /**< */); 6826 6827 6828 /***************************************************************************** 6829 ** 6830 ** xcb_grab_keyboard_cookie_t xcb_grab_keyboard_unchecked 6831 ** 6832 ** @param xcb_connection_t *c 6833 ** @param bool owner_events 6834 ** @param xcb_window_t grab_window 6835 ** @param xcb_timestamp_t time 6836 ** @param ubyte pointer_mode 6837 ** @param ubyte keyboard_mode 6838 ** @returns xcb_grab_keyboard_cookie_t 6839 ** 6840 *****************************************************************************/ 6841 6842 extern(C) xcb_grab_keyboard_cookie_t 6843 xcb_grab_keyboard_unchecked (xcb_connection_t *c /**< */, 6844 bool owner_events /**< */, 6845 xcb_window_t grab_window /**< */, 6846 xcb_timestamp_t time /**< */, 6847 ubyte pointer_mode /**< */, 6848 ubyte keyboard_mode /**< */); 6849 6850 6851 /***************************************************************************** 6852 ** 6853 ** xcb_grab_keyboard_reply_t * xcb_grab_keyboard_reply 6854 ** 6855 ** @param xcb_connection_t *c 6856 ** @param xcb_grab_keyboard_cookie_t cookie 6857 ** @param xcb_generic_error_t **e 6858 ** @returns xcb_grab_keyboard_reply_t * 6859 ** 6860 *****************************************************************************/ 6861 6862 extern(C) xcb_grab_keyboard_reply_t * 6863 xcb_grab_keyboard_reply (xcb_connection_t *c /**< */, 6864 xcb_grab_keyboard_cookie_t cookie /**< */, 6865 xcb_generic_error_t **e /**< */); 6866 6867 6868 /***************************************************************************** 6869 ** 6870 ** xcb_void_cookie_t xcb_ungrab_keyboard_checked 6871 ** 6872 ** @param xcb_connection_t *c 6873 ** @param xcb_timestamp_t time 6874 ** @returns xcb_void_cookie_t 6875 ** 6876 *****************************************************************************/ 6877 6878 extern(C) xcb_void_cookie_t 6879 xcb_ungrab_keyboard_checked (xcb_connection_t *c /**< */, 6880 xcb_timestamp_t time /**< */); 6881 6882 6883 /***************************************************************************** 6884 ** 6885 ** xcb_void_cookie_t xcb_ungrab_keyboard 6886 ** 6887 ** @param xcb_connection_t *c 6888 ** @param xcb_timestamp_t time 6889 ** @returns xcb_void_cookie_t 6890 ** 6891 *****************************************************************************/ 6892 6893 extern(C) xcb_void_cookie_t 6894 xcb_ungrab_keyboard (xcb_connection_t *c /**< */, 6895 xcb_timestamp_t time /**< */); 6896 6897 6898 /***************************************************************************** 6899 ** 6900 ** xcb_void_cookie_t xcb_grab_key_checked 6901 ** 6902 ** @param xcb_connection_t *c 6903 ** @param bool owner_events 6904 ** @param xcb_window_t grab_window 6905 ** @param ushort modifiers 6906 ** @param xcb_keycode_t key 6907 ** @param ubyte pointer_mode 6908 ** @param ubyte keyboard_mode 6909 ** @returns xcb_void_cookie_t 6910 ** 6911 *****************************************************************************/ 6912 6913 extern(C) xcb_void_cookie_t 6914 xcb_grab_key_checked (xcb_connection_t *c /**< */, 6915 bool owner_events /**< */, 6916 xcb_window_t grab_window /**< */, 6917 ushort modifiers /**< */, 6918 xcb_keycode_t key /**< */, 6919 ubyte pointer_mode /**< */, 6920 ubyte keyboard_mode /**< */); 6921 6922 6923 /***************************************************************************** 6924 ** 6925 ** xcb_void_cookie_t xcb_grab_key 6926 ** 6927 ** @param xcb_connection_t *c 6928 ** @param bool owner_events 6929 ** @param xcb_window_t grab_window 6930 ** @param ushort modifiers 6931 ** @param xcb_keycode_t key 6932 ** @param ubyte pointer_mode 6933 ** @param ubyte keyboard_mode 6934 ** @returns xcb_void_cookie_t 6935 ** 6936 *****************************************************************************/ 6937 6938 extern(C) xcb_void_cookie_t 6939 xcb_grab_key (xcb_connection_t *c /**< */, 6940 bool owner_events /**< */, 6941 xcb_window_t grab_window /**< */, 6942 ushort modifiers /**< */, 6943 xcb_keycode_t key /**< */, 6944 ubyte pointer_mode /**< */, 6945 ubyte keyboard_mode /**< */); 6946 6947 6948 /***************************************************************************** 6949 ** 6950 ** xcb_void_cookie_t xcb_ungrab_key_checked 6951 ** 6952 ** @param xcb_connection_t *c 6953 ** @param xcb_keycode_t key 6954 ** @param xcb_window_t grab_window 6955 ** @param ushort modifiers 6956 ** @returns xcb_void_cookie_t 6957 ** 6958 *****************************************************************************/ 6959 6960 extern(C) xcb_void_cookie_t 6961 xcb_ungrab_key_checked (xcb_connection_t *c /**< */, 6962 xcb_keycode_t key /**< */, 6963 xcb_window_t grab_window /**< */, 6964 ushort modifiers /**< */); 6965 6966 6967 /***************************************************************************** 6968 ** 6969 ** xcb_void_cookie_t xcb_ungrab_key 6970 ** 6971 ** @param xcb_connection_t *c 6972 ** @param xcb_keycode_t key 6973 ** @param xcb_window_t grab_window 6974 ** @param ushort modifiers 6975 ** @returns xcb_void_cookie_t 6976 ** 6977 *****************************************************************************/ 6978 6979 extern(C) xcb_void_cookie_t 6980 xcb_ungrab_key (xcb_connection_t *c /**< */, 6981 xcb_keycode_t key /**< */, 6982 xcb_window_t grab_window /**< */, 6983 ushort modifiers /**< */); 6984 6985 6986 /***************************************************************************** 6987 ** 6988 ** xcb_void_cookie_t xcb_allow_events_checked 6989 ** 6990 ** @param xcb_connection_t *c 6991 ** @param ubyte mode 6992 ** @param xcb_timestamp_t time 6993 ** @returns xcb_void_cookie_t 6994 ** 6995 *****************************************************************************/ 6996 6997 extern(C) xcb_void_cookie_t 6998 xcb_allow_events_checked (xcb_connection_t *c /**< */, 6999 ubyte mode /**< */, 7000 xcb_timestamp_t time /**< */); 7001 7002 7003 /***************************************************************************** 7004 ** 7005 ** xcb_void_cookie_t xcb_allow_events 7006 ** 7007 ** @param xcb_connection_t *c 7008 ** @param ubyte mode 7009 ** @param xcb_timestamp_t time 7010 ** @returns xcb_void_cookie_t 7011 ** 7012 *****************************************************************************/ 7013 7014 extern(C) xcb_void_cookie_t 7015 xcb_allow_events (xcb_connection_t *c /**< */, 7016 ubyte mode /**< */, 7017 xcb_timestamp_t time /**< */); 7018 7019 7020 /***************************************************************************** 7021 ** 7022 ** xcb_void_cookie_t xcb_grab_server_checked 7023 ** 7024 ** @param xcb_connection_t *c 7025 ** @returns xcb_void_cookie_t 7026 ** 7027 *****************************************************************************/ 7028 7029 extern(C) xcb_void_cookie_t 7030 xcb_grab_server_checked (xcb_connection_t *c /**< */); 7031 7032 7033 /***************************************************************************** 7034 ** 7035 ** xcb_void_cookie_t xcb_grab_server 7036 ** 7037 ** @param xcb_connection_t *c 7038 ** @returns xcb_void_cookie_t 7039 ** 7040 *****************************************************************************/ 7041 7042 extern(C) xcb_void_cookie_t 7043 xcb_grab_server (xcb_connection_t *c /**< */); 7044 7045 7046 /***************************************************************************** 7047 ** 7048 ** xcb_void_cookie_t xcb_ungrab_server_checked 7049 ** 7050 ** @param xcb_connection_t *c 7051 ** @returns xcb_void_cookie_t 7052 ** 7053 *****************************************************************************/ 7054 7055 extern(C) xcb_void_cookie_t 7056 xcb_ungrab_server_checked (xcb_connection_t *c /**< */); 7057 7058 7059 /***************************************************************************** 7060 ** 7061 ** xcb_void_cookie_t xcb_ungrab_server 7062 ** 7063 ** @param xcb_connection_t *c 7064 ** @returns xcb_void_cookie_t 7065 ** 7066 *****************************************************************************/ 7067 7068 extern(C) xcb_void_cookie_t 7069 xcb_ungrab_server (xcb_connection_t *c /**< */); 7070 7071 7072 /***************************************************************************** 7073 ** 7074 ** xcb_query_pointer_cookie_t xcb_query_pointer 7075 ** 7076 ** @param xcb_connection_t *c 7077 ** @param xcb_window_t window 7078 ** @returns xcb_query_pointer_cookie_t 7079 ** 7080 *****************************************************************************/ 7081 7082 extern(C) xcb_query_pointer_cookie_t 7083 xcb_query_pointer (xcb_connection_t *c /**< */, 7084 xcb_window_t window /**< */); 7085 7086 7087 /***************************************************************************** 7088 ** 7089 ** xcb_query_pointer_cookie_t xcb_query_pointer_unchecked 7090 ** 7091 ** @param xcb_connection_t *c 7092 ** @param xcb_window_t window 7093 ** @returns xcb_query_pointer_cookie_t 7094 ** 7095 *****************************************************************************/ 7096 7097 extern(C) xcb_query_pointer_cookie_t 7098 xcb_query_pointer_unchecked (xcb_connection_t *c /**< */, 7099 xcb_window_t window /**< */); 7100 7101 7102 /***************************************************************************** 7103 ** 7104 ** xcb_query_pointer_reply_t * xcb_query_pointer_reply 7105 ** 7106 ** @param xcb_connection_t *c 7107 ** @param xcb_query_pointer_cookie_t cookie 7108 ** @param xcb_generic_error_t **e 7109 ** @returns xcb_query_pointer_reply_t * 7110 ** 7111 *****************************************************************************/ 7112 7113 extern(C) xcb_query_pointer_reply_t * 7114 xcb_query_pointer_reply (xcb_connection_t *c /**< */, 7115 xcb_query_pointer_cookie_t cookie /**< */, 7116 xcb_generic_error_t **e /**< */); 7117 7118 7119 /***************************************************************************** 7120 ** 7121 ** void xcb_timecoord_next 7122 ** 7123 ** @param xcb_timecoord_iterator_t *i 7124 ** @returns void 7125 ** 7126 *****************************************************************************/ 7127 7128 extern(C) void 7129 xcb_timecoord_next (xcb_timecoord_iterator_t *i /**< */); 7130 7131 7132 /***************************************************************************** 7133 ** 7134 ** xcb_generic_iterator_t xcb_timecoord_end 7135 ** 7136 ** @param xcb_timecoord_iterator_t i 7137 ** @returns xcb_generic_iterator_t 7138 ** 7139 *****************************************************************************/ 7140 7141 extern(C) xcb_generic_iterator_t 7142 xcb_timecoord_end (xcb_timecoord_iterator_t i /**< */); 7143 7144 7145 /***************************************************************************** 7146 ** 7147 ** xcb_get_motion_events_cookie_t xcb_get_motion_events 7148 ** 7149 ** @param xcb_connection_t *c 7150 ** @param xcb_window_t window 7151 ** @param xcb_timestamp_t start 7152 ** @param xcb_timestamp_t stop 7153 ** @returns xcb_get_motion_events_cookie_t 7154 ** 7155 *****************************************************************************/ 7156 7157 extern(C) xcb_get_motion_events_cookie_t 7158 xcb_get_motion_events (xcb_connection_t *c /**< */, 7159 xcb_window_t window /**< */, 7160 xcb_timestamp_t start /**< */, 7161 xcb_timestamp_t stop /**< */); 7162 7163 7164 /***************************************************************************** 7165 ** 7166 ** xcb_get_motion_events_cookie_t xcb_get_motion_events_unchecked 7167 ** 7168 ** @param xcb_connection_t *c 7169 ** @param xcb_window_t window 7170 ** @param xcb_timestamp_t start 7171 ** @param xcb_timestamp_t stop 7172 ** @returns xcb_get_motion_events_cookie_t 7173 ** 7174 *****************************************************************************/ 7175 7176 extern(C) xcb_get_motion_events_cookie_t 7177 xcb_get_motion_events_unchecked (xcb_connection_t *c /**< */, 7178 xcb_window_t window /**< */, 7179 xcb_timestamp_t start /**< */, 7180 xcb_timestamp_t stop /**< */); 7181 7182 7183 /***************************************************************************** 7184 ** 7185 ** xcb_timecoord_t * xcb_get_motion_events_events 7186 ** 7187 ** @param /+const+/ xcb_get_motion_events_reply_t *R 7188 ** @returns xcb_timecoord_t * 7189 ** 7190 *****************************************************************************/ 7191 7192 extern(C) xcb_timecoord_t * 7193 xcb_get_motion_events_events (/+const+/ xcb_get_motion_events_reply_t *R /**< */); 7194 7195 7196 /***************************************************************************** 7197 ** 7198 ** int xcb_get_motion_events_events_length 7199 ** 7200 ** @param /+const+/ xcb_get_motion_events_reply_t *R 7201 ** @returns int 7202 ** 7203 *****************************************************************************/ 7204 7205 extern(C) int 7206 xcb_get_motion_events_events_length (/+const+/ xcb_get_motion_events_reply_t *R /**< */); 7207 7208 7209 /***************************************************************************** 7210 ** 7211 ** xcb_timecoord_iterator_t xcb_get_motion_events_events_iterator 7212 ** 7213 ** @param /+const+/ xcb_get_motion_events_reply_t *R 7214 ** @returns xcb_timecoord_iterator_t 7215 ** 7216 *****************************************************************************/ 7217 7218 extern(C) xcb_timecoord_iterator_t 7219 xcb_get_motion_events_events_iterator (/+const+/ xcb_get_motion_events_reply_t *R /**< */); 7220 7221 7222 /***************************************************************************** 7223 ** 7224 ** xcb_get_motion_events_reply_t * xcb_get_motion_events_reply 7225 ** 7226 ** @param xcb_connection_t *c 7227 ** @param xcb_get_motion_events_cookie_t cookie 7228 ** @param xcb_generic_error_t **e 7229 ** @returns xcb_get_motion_events_reply_t * 7230 ** 7231 *****************************************************************************/ 7232 7233 extern(C) xcb_get_motion_events_reply_t * 7234 xcb_get_motion_events_reply (xcb_connection_t *c /**< */, 7235 xcb_get_motion_events_cookie_t cookie /**< */, 7236 xcb_generic_error_t **e /**< */); 7237 7238 7239 /***************************************************************************** 7240 ** 7241 ** xcb_translate_coordinates_cookie_t xcb_translate_coordinates 7242 ** 7243 ** @param xcb_connection_t *c 7244 ** @param xcb_window_t src_window 7245 ** @param xcb_window_t dst_window 7246 ** @param short src_x 7247 ** @param short src_y 7248 ** @returns xcb_translate_coordinates_cookie_t 7249 ** 7250 *****************************************************************************/ 7251 7252 extern(C) xcb_translate_coordinates_cookie_t 7253 xcb_translate_coordinates (xcb_connection_t *c /**< */, 7254 xcb_window_t src_window /**< */, 7255 xcb_window_t dst_window /**< */, 7256 short src_x /**< */, 7257 short src_y /**< */); 7258 7259 7260 /***************************************************************************** 7261 ** 7262 ** xcb_translate_coordinates_cookie_t xcb_translate_coordinates_unchecked 7263 ** 7264 ** @param xcb_connection_t *c 7265 ** @param xcb_window_t src_window 7266 ** @param xcb_window_t dst_window 7267 ** @param short src_x 7268 ** @param short src_y 7269 ** @returns xcb_translate_coordinates_cookie_t 7270 ** 7271 *****************************************************************************/ 7272 7273 extern(C) xcb_translate_coordinates_cookie_t 7274 xcb_translate_coordinates_unchecked (xcb_connection_t *c /**< */, 7275 xcb_window_t src_window /**< */, 7276 xcb_window_t dst_window /**< */, 7277 short src_x /**< */, 7278 short src_y /**< */); 7279 7280 7281 /***************************************************************************** 7282 ** 7283 ** xcb_translate_coordinates_reply_t * xcb_translate_coordinates_reply 7284 ** 7285 ** @param xcb_connection_t *c 7286 ** @param xcb_translate_coordinates_cookie_t cookie 7287 ** @param xcb_generic_error_t **e 7288 ** @returns xcb_translate_coordinates_reply_t * 7289 ** 7290 *****************************************************************************/ 7291 7292 extern(C) xcb_translate_coordinates_reply_t * 7293 xcb_translate_coordinates_reply (xcb_connection_t *c /**< */, 7294 xcb_translate_coordinates_cookie_t cookie /**< */, 7295 xcb_generic_error_t **e /**< */); 7296 7297 7298 /***************************************************************************** 7299 ** 7300 ** xcb_void_cookie_t xcb_warp_pointer_checked 7301 ** 7302 ** @param xcb_connection_t *c 7303 ** @param xcb_window_t src_window 7304 ** @param xcb_window_t dst_window 7305 ** @param short src_x 7306 ** @param short src_y 7307 ** @param ushort src_width 7308 ** @param ushort src_height 7309 ** @param short dst_x 7310 ** @param short dst_y 7311 ** @returns xcb_void_cookie_t 7312 ** 7313 *****************************************************************************/ 7314 7315 extern(C) xcb_void_cookie_t 7316 xcb_warp_pointer_checked (xcb_connection_t *c /**< */, 7317 xcb_window_t src_window /**< */, 7318 xcb_window_t dst_window /**< */, 7319 short src_x /**< */, 7320 short src_y /**< */, 7321 ushort src_width /**< */, 7322 ushort src_height /**< */, 7323 short dst_x /**< */, 7324 short dst_y /**< */); 7325 7326 7327 /***************************************************************************** 7328 ** 7329 ** xcb_void_cookie_t xcb_warp_pointer 7330 ** 7331 ** @param xcb_connection_t *c 7332 ** @param xcb_window_t src_window 7333 ** @param xcb_window_t dst_window 7334 ** @param short src_x 7335 ** @param short src_y 7336 ** @param ushort src_width 7337 ** @param ushort src_height 7338 ** @param short dst_x 7339 ** @param short dst_y 7340 ** @returns xcb_void_cookie_t 7341 ** 7342 *****************************************************************************/ 7343 7344 extern(C) xcb_void_cookie_t 7345 xcb_warp_pointer (xcb_connection_t *c /**< */, 7346 xcb_window_t src_window /**< */, 7347 xcb_window_t dst_window /**< */, 7348 short src_x /**< */, 7349 short src_y /**< */, 7350 ushort src_width /**< */, 7351 ushort src_height /**< */, 7352 short dst_x /**< */, 7353 short dst_y /**< */); 7354 7355 7356 /***************************************************************************** 7357 ** 7358 ** xcb_void_cookie_t xcb_set_input_focus_checked 7359 ** 7360 ** @param xcb_connection_t *c 7361 ** @param ubyte revert_to 7362 ** @param xcb_window_t focus 7363 ** @param xcb_timestamp_t time 7364 ** @returns xcb_void_cookie_t 7365 ** 7366 *****************************************************************************/ 7367 7368 extern(C) xcb_void_cookie_t 7369 xcb_set_input_focus_checked (xcb_connection_t *c /**< */, 7370 ubyte revert_to /**< */, 7371 xcb_window_t focus /**< */, 7372 xcb_timestamp_t time /**< */); 7373 7374 7375 /***************************************************************************** 7376 ** 7377 ** xcb_void_cookie_t xcb_set_input_focus 7378 ** 7379 ** @param xcb_connection_t *c 7380 ** @param ubyte revert_to 7381 ** @param xcb_window_t focus 7382 ** @param xcb_timestamp_t time 7383 ** @returns xcb_void_cookie_t 7384 ** 7385 *****************************************************************************/ 7386 7387 extern(C) xcb_void_cookie_t 7388 xcb_set_input_focus (xcb_connection_t *c /**< */, 7389 ubyte revert_to /**< */, 7390 xcb_window_t focus /**< */, 7391 xcb_timestamp_t time /**< */); 7392 7393 7394 /***************************************************************************** 7395 ** 7396 ** xcb_get_input_focus_cookie_t xcb_get_input_focus 7397 ** 7398 ** @param xcb_connection_t *c 7399 ** @returns xcb_get_input_focus_cookie_t 7400 ** 7401 *****************************************************************************/ 7402 7403 extern(C) xcb_get_input_focus_cookie_t 7404 xcb_get_input_focus (xcb_connection_t *c /**< */); 7405 7406 7407 /***************************************************************************** 7408 ** 7409 ** xcb_get_input_focus_cookie_t xcb_get_input_focus_unchecked 7410 ** 7411 ** @param xcb_connection_t *c 7412 ** @returns xcb_get_input_focus_cookie_t 7413 ** 7414 *****************************************************************************/ 7415 7416 extern(C) xcb_get_input_focus_cookie_t 7417 xcb_get_input_focus_unchecked (xcb_connection_t *c /**< */); 7418 7419 7420 /***************************************************************************** 7421 ** 7422 ** xcb_get_input_focus_reply_t * xcb_get_input_focus_reply 7423 ** 7424 ** @param xcb_connection_t *c 7425 ** @param xcb_get_input_focus_cookie_t cookie 7426 ** @param xcb_generic_error_t **e 7427 ** @returns xcb_get_input_focus_reply_t * 7428 ** 7429 *****************************************************************************/ 7430 7431 extern(C) xcb_get_input_focus_reply_t * 7432 xcb_get_input_focus_reply (xcb_connection_t *c /**< */, 7433 xcb_get_input_focus_cookie_t cookie /**< */, 7434 xcb_generic_error_t **e /**< */); 7435 7436 7437 /***************************************************************************** 7438 ** 7439 ** xcb_query_keymap_cookie_t xcb_query_keymap 7440 ** 7441 ** @param xcb_connection_t *c 7442 ** @returns xcb_query_keymap_cookie_t 7443 ** 7444 *****************************************************************************/ 7445 7446 extern(C) xcb_query_keymap_cookie_t 7447 xcb_query_keymap (xcb_connection_t *c /**< */); 7448 7449 7450 /***************************************************************************** 7451 ** 7452 ** xcb_query_keymap_cookie_t xcb_query_keymap_unchecked 7453 ** 7454 ** @param xcb_connection_t *c 7455 ** @returns xcb_query_keymap_cookie_t 7456 ** 7457 *****************************************************************************/ 7458 7459 extern(C) xcb_query_keymap_cookie_t 7460 xcb_query_keymap_unchecked (xcb_connection_t *c /**< */); 7461 7462 7463 /***************************************************************************** 7464 ** 7465 ** xcb_query_keymap_reply_t * xcb_query_keymap_reply 7466 ** 7467 ** @param xcb_connection_t *c 7468 ** @param xcb_query_keymap_cookie_t cookie 7469 ** @param xcb_generic_error_t **e 7470 ** @returns xcb_query_keymap_reply_t * 7471 ** 7472 *****************************************************************************/ 7473 7474 extern(C) xcb_query_keymap_reply_t * 7475 xcb_query_keymap_reply (xcb_connection_t *c /**< */, 7476 xcb_query_keymap_cookie_t cookie /**< */, 7477 xcb_generic_error_t **e /**< */); 7478 7479 7480 /***************************************************************************** 7481 ** 7482 ** xcb_void_cookie_t xcb_open_font_checked 7483 ** 7484 ** @param xcb_connection_t *c 7485 ** @param xcb_font_t fid 7486 ** @param ushort name_len 7487 ** @param /+const+/ char *name 7488 ** @returns xcb_void_cookie_t 7489 ** 7490 *****************************************************************************/ 7491 7492 extern(C) xcb_void_cookie_t 7493 xcb_open_font_checked (xcb_connection_t *c /**< */, 7494 xcb_font_t fid /**< */, 7495 ushort name_len /**< */, 7496 /+const+/ char *name /**< */); 7497 7498 7499 /***************************************************************************** 7500 ** 7501 ** xcb_void_cookie_t xcb_open_font 7502 ** 7503 ** @param xcb_connection_t *c 7504 ** @param xcb_font_t fid 7505 ** @param ushort name_len 7506 ** @param /+const+/ char *name 7507 ** @returns xcb_void_cookie_t 7508 ** 7509 *****************************************************************************/ 7510 7511 extern(C) xcb_void_cookie_t 7512 xcb_open_font (xcb_connection_t *c /**< */, 7513 xcb_font_t fid /**< */, 7514 ushort name_len /**< */, 7515 /+const+/ char *name /**< */); 7516 7517 7518 /***************************************************************************** 7519 ** 7520 ** xcb_void_cookie_t xcb_close_font_checked 7521 ** 7522 ** @param xcb_connection_t *c 7523 ** @param xcb_font_t font 7524 ** @returns xcb_void_cookie_t 7525 ** 7526 *****************************************************************************/ 7527 7528 extern(C) xcb_void_cookie_t 7529 xcb_close_font_checked (xcb_connection_t *c /**< */, 7530 xcb_font_t font /**< */); 7531 7532 7533 /***************************************************************************** 7534 ** 7535 ** xcb_void_cookie_t xcb_close_font 7536 ** 7537 ** @param xcb_connection_t *c 7538 ** @param xcb_font_t font 7539 ** @returns xcb_void_cookie_t 7540 ** 7541 *****************************************************************************/ 7542 7543 extern(C) xcb_void_cookie_t 7544 xcb_close_font (xcb_connection_t *c /**< */, 7545 xcb_font_t font /**< */); 7546 7547 7548 /***************************************************************************** 7549 ** 7550 ** void xcb_fontprop_next 7551 ** 7552 ** @param xcb_fontprop_iterator_t *i 7553 ** @returns void 7554 ** 7555 *****************************************************************************/ 7556 7557 extern(C) void 7558 xcb_fontprop_next (xcb_fontprop_iterator_t *i /**< */); 7559 7560 7561 /***************************************************************************** 7562 ** 7563 ** xcb_generic_iterator_t xcb_fontprop_end 7564 ** 7565 ** @param xcb_fontprop_iterator_t i 7566 ** @returns xcb_generic_iterator_t 7567 ** 7568 *****************************************************************************/ 7569 7570 extern(C) xcb_generic_iterator_t 7571 xcb_fontprop_end (xcb_fontprop_iterator_t i /**< */); 7572 7573 7574 /***************************************************************************** 7575 ** 7576 ** void xcb_charinfo_next 7577 ** 7578 ** @param xcb_charinfo_iterator_t *i 7579 ** @returns void 7580 ** 7581 *****************************************************************************/ 7582 7583 extern(C) void 7584 xcb_charinfo_next (xcb_charinfo_iterator_t *i /**< */); 7585 7586 7587 /***************************************************************************** 7588 ** 7589 ** xcb_generic_iterator_t xcb_charinfo_end 7590 ** 7591 ** @param xcb_charinfo_iterator_t i 7592 ** @returns xcb_generic_iterator_t 7593 ** 7594 *****************************************************************************/ 7595 7596 extern(C) xcb_generic_iterator_t 7597 xcb_charinfo_end (xcb_charinfo_iterator_t i /**< */); 7598 7599 7600 /***************************************************************************** 7601 ** 7602 ** xcb_query_font_cookie_t xcb_query_font 7603 ** 7604 ** @param xcb_connection_t *c 7605 ** @param xcb_fontable_t font 7606 ** @returns xcb_query_font_cookie_t 7607 ** 7608 *****************************************************************************/ 7609 7610 extern(C) xcb_query_font_cookie_t 7611 xcb_query_font (xcb_connection_t *c /**< */, 7612 xcb_fontable_t font /**< */); 7613 7614 7615 /***************************************************************************** 7616 ** 7617 ** xcb_query_font_cookie_t xcb_query_font_unchecked 7618 ** 7619 ** @param xcb_connection_t *c 7620 ** @param xcb_fontable_t font 7621 ** @returns xcb_query_font_cookie_t 7622 ** 7623 *****************************************************************************/ 7624 7625 extern(C) xcb_query_font_cookie_t 7626 xcb_query_font_unchecked (xcb_connection_t *c /**< */, 7627 xcb_fontable_t font /**< */); 7628 7629 7630 /***************************************************************************** 7631 ** 7632 ** xcb_fontprop_t * xcb_query_font_properties 7633 ** 7634 ** @param /+const+/ xcb_query_font_reply_t *R 7635 ** @returns xcb_fontprop_t * 7636 ** 7637 *****************************************************************************/ 7638 7639 extern(C) xcb_fontprop_t * 7640 xcb_query_font_properties (/+const+/ xcb_query_font_reply_t *R /**< */); 7641 7642 7643 /***************************************************************************** 7644 ** 7645 ** int xcb_query_font_properties_length 7646 ** 7647 ** @param /+const+/ xcb_query_font_reply_t *R 7648 ** @returns int 7649 ** 7650 *****************************************************************************/ 7651 7652 extern(C) int 7653 xcb_query_font_properties_length (/+const+/ xcb_query_font_reply_t *R /**< */); 7654 7655 7656 /***************************************************************************** 7657 ** 7658 ** xcb_fontprop_iterator_t xcb_query_font_properties_iterator 7659 ** 7660 ** @param /+const+/ xcb_query_font_reply_t *R 7661 ** @returns xcb_fontprop_iterator_t 7662 ** 7663 *****************************************************************************/ 7664 7665 extern(C) xcb_fontprop_iterator_t 7666 xcb_query_font_properties_iterator (/+const+/ xcb_query_font_reply_t *R /**< */); 7667 7668 7669 /***************************************************************************** 7670 ** 7671 ** xcb_charinfo_t * xcb_query_font_char_infos 7672 ** 7673 ** @param /+const+/ xcb_query_font_reply_t *R 7674 ** @returns xcb_charinfo_t * 7675 ** 7676 *****************************************************************************/ 7677 7678 extern(C) xcb_charinfo_t * 7679 xcb_query_font_char_infos (/+const+/ xcb_query_font_reply_t *R /**< */); 7680 7681 7682 /***************************************************************************** 7683 ** 7684 ** int xcb_query_font_char_infos_length 7685 ** 7686 ** @param /+const+/ xcb_query_font_reply_t *R 7687 ** @returns int 7688 ** 7689 *****************************************************************************/ 7690 7691 extern(C) int 7692 xcb_query_font_char_infos_length (/+const+/ xcb_query_font_reply_t *R /**< */); 7693 7694 7695 /***************************************************************************** 7696 ** 7697 ** xcb_charinfo_iterator_t xcb_query_font_char_infos_iterator 7698 ** 7699 ** @param /+const+/ xcb_query_font_reply_t *R 7700 ** @returns xcb_charinfo_iterator_t 7701 ** 7702 *****************************************************************************/ 7703 7704 extern(C) xcb_charinfo_iterator_t 7705 xcb_query_font_char_infos_iterator (/+const+/ xcb_query_font_reply_t *R /**< */); 7706 7707 7708 /***************************************************************************** 7709 ** 7710 ** xcb_query_font_reply_t * xcb_query_font_reply 7711 ** 7712 ** @param xcb_connection_t *c 7713 ** @param xcb_query_font_cookie_t cookie 7714 ** @param xcb_generic_error_t **e 7715 ** @returns xcb_query_font_reply_t * 7716 ** 7717 *****************************************************************************/ 7718 7719 extern(C) xcb_query_font_reply_t * 7720 xcb_query_font_reply (xcb_connection_t *c /**< */, 7721 xcb_query_font_cookie_t cookie /**< */, 7722 xcb_generic_error_t **e /**< */); 7723 7724 7725 /***************************************************************************** 7726 ** 7727 ** xcb_query_text_extents_cookie_t xcb_query_text_extents 7728 ** 7729 ** @param xcb_connection_t *c 7730 ** @param xcb_fontable_t font 7731 ** @param uint string_len 7732 ** @param /+const+/ xcb_char2b_t *string 7733 ** @returns xcb_query_text_extents_cookie_t 7734 ** 7735 *****************************************************************************/ 7736 7737 extern(C) xcb_query_text_extents_cookie_t 7738 xcb_query_text_extents (xcb_connection_t *c /**< */, 7739 xcb_fontable_t font /**< */, 7740 uint string_len /**< */, 7741 /+const+/ xcb_char2b_t *string /**< */); 7742 7743 7744 /***************************************************************************** 7745 ** 7746 ** xcb_query_text_extents_cookie_t xcb_query_text_extents_unchecked 7747 ** 7748 ** @param xcb_connection_t *c 7749 ** @param xcb_fontable_t font 7750 ** @param uint string_len 7751 ** @param /+const+/ xcb_char2b_t *string 7752 ** @returns xcb_query_text_extents_cookie_t 7753 ** 7754 *****************************************************************************/ 7755 7756 extern(C) xcb_query_text_extents_cookie_t 7757 xcb_query_text_extents_unchecked (xcb_connection_t *c /**< */, 7758 xcb_fontable_t font /**< */, 7759 uint string_len /**< */, 7760 /+const+/ xcb_char2b_t *string /**< */); 7761 7762 7763 /***************************************************************************** 7764 ** 7765 ** xcb_query_text_extents_reply_t * xcb_query_text_extents_reply 7766 ** 7767 ** @param xcb_connection_t *c 7768 ** @param xcb_query_text_extents_cookie_t cookie 7769 ** @param xcb_generic_error_t **e 7770 ** @returns xcb_query_text_extents_reply_t * 7771 ** 7772 *****************************************************************************/ 7773 7774 extern(C) xcb_query_text_extents_reply_t * 7775 xcb_query_text_extents_reply (xcb_connection_t *c /**< */, 7776 xcb_query_text_extents_cookie_t cookie /**< */, 7777 xcb_generic_error_t **e /**< */); 7778 7779 7780 /***************************************************************************** 7781 ** 7782 ** char * xcb_str_name 7783 ** 7784 ** @param /+const+/ xcb_str_t *R 7785 ** @returns char * 7786 ** 7787 *****************************************************************************/ 7788 7789 extern(C) char * 7790 xcb_str_name (/+const+/ xcb_str_t *R /**< */); 7791 7792 7793 /***************************************************************************** 7794 ** 7795 ** int xcb_str_name_length 7796 ** 7797 ** @param /+const+/ xcb_str_t *R 7798 ** @returns int 7799 ** 7800 *****************************************************************************/ 7801 7802 extern(C) int 7803 xcb_str_name_length (/+const+/ xcb_str_t *R /**< */); 7804 7805 7806 /***************************************************************************** 7807 ** 7808 ** xcb_generic_iterator_t xcb_str_name_end 7809 ** 7810 ** @param /+const+/ xcb_str_t *R 7811 ** @returns xcb_generic_iterator_t 7812 ** 7813 *****************************************************************************/ 7814 7815 extern(C) xcb_generic_iterator_t 7816 xcb_str_name_end (/+const+/ xcb_str_t *R /**< */); 7817 7818 7819 /***************************************************************************** 7820 ** 7821 ** void xcb_str_next 7822 ** 7823 ** @param xcb_str_iterator_t *i 7824 ** @returns void 7825 ** 7826 *****************************************************************************/ 7827 7828 extern(C) void 7829 xcb_str_next (xcb_str_iterator_t *i /**< */); 7830 7831 7832 /***************************************************************************** 7833 ** 7834 ** xcb_generic_iterator_t xcb_str_end 7835 ** 7836 ** @param xcb_str_iterator_t i 7837 ** @returns xcb_generic_iterator_t 7838 ** 7839 *****************************************************************************/ 7840 7841 extern(C) xcb_generic_iterator_t 7842 xcb_str_end (xcb_str_iterator_t i /**< */); 7843 7844 7845 /***************************************************************************** 7846 ** 7847 ** xcb_list_fonts_cookie_t xcb_list_fonts 7848 ** 7849 ** @param xcb_connection_t *c 7850 ** @param ushort max_names 7851 ** @param ushort pattern_len 7852 ** @param /+const+/ char *pattern 7853 ** @returns xcb_list_fonts_cookie_t 7854 ** 7855 *****************************************************************************/ 7856 7857 extern(C) xcb_list_fonts_cookie_t 7858 xcb_list_fonts (xcb_connection_t *c /**< */, 7859 ushort max_names /**< */, 7860 ushort pattern_len /**< */, 7861 /+const+/ char *pattern /**< */); 7862 7863 7864 /***************************************************************************** 7865 ** 7866 ** xcb_list_fonts_cookie_t xcb_list_fonts_unchecked 7867 ** 7868 ** @param xcb_connection_t *c 7869 ** @param ushort max_names 7870 ** @param ushort pattern_len 7871 ** @param /+const+/ char *pattern 7872 ** @returns xcb_list_fonts_cookie_t 7873 ** 7874 *****************************************************************************/ 7875 7876 extern(C) xcb_list_fonts_cookie_t 7877 xcb_list_fonts_unchecked (xcb_connection_t *c /**< */, 7878 ushort max_names /**< */, 7879 ushort pattern_len /**< */, 7880 /+const+/ char *pattern /**< */); 7881 7882 7883 /***************************************************************************** 7884 ** 7885 ** int xcb_list_fonts_names_length 7886 ** 7887 ** @param /+const+/ xcb_list_fonts_reply_t *R 7888 ** @returns int 7889 ** 7890 *****************************************************************************/ 7891 7892 extern(C) int 7893 xcb_list_fonts_names_length (/+const+/ xcb_list_fonts_reply_t *R /**< */); 7894 7895 7896 /***************************************************************************** 7897 ** 7898 ** xcb_str_iterator_t xcb_list_fonts_names_iterator 7899 ** 7900 ** @param /+const+/ xcb_list_fonts_reply_t *R 7901 ** @returns xcb_str_iterator_t 7902 ** 7903 *****************************************************************************/ 7904 7905 extern(C) xcb_str_iterator_t 7906 xcb_list_fonts_names_iterator (/+const+/ xcb_list_fonts_reply_t *R /**< */); 7907 7908 7909 /***************************************************************************** 7910 ** 7911 ** xcb_list_fonts_reply_t * xcb_list_fonts_reply 7912 ** 7913 ** @param xcb_connection_t *c 7914 ** @param xcb_list_fonts_cookie_t cookie 7915 ** @param xcb_generic_error_t **e 7916 ** @returns xcb_list_fonts_reply_t * 7917 ** 7918 *****************************************************************************/ 7919 7920 extern(C) xcb_list_fonts_reply_t * 7921 xcb_list_fonts_reply (xcb_connection_t *c /**< */, 7922 xcb_list_fonts_cookie_t cookie /**< */, 7923 xcb_generic_error_t **e /**< */); 7924 7925 7926 /***************************************************************************** 7927 ** 7928 ** xcb_list_fonts_with_info_cookie_t xcb_list_fonts_with_info 7929 ** 7930 ** @param xcb_connection_t *c 7931 ** @param ushort max_names 7932 ** @param ushort pattern_len 7933 ** @param /+const+/ char *pattern 7934 ** @returns xcb_list_fonts_with_info_cookie_t 7935 ** 7936 *****************************************************************************/ 7937 7938 extern(C) xcb_list_fonts_with_info_cookie_t 7939 xcb_list_fonts_with_info (xcb_connection_t *c /**< */, 7940 ushort max_names /**< */, 7941 ushort pattern_len /**< */, 7942 /+const+/ char *pattern /**< */); 7943 7944 7945 /***************************************************************************** 7946 ** 7947 ** xcb_list_fonts_with_info_cookie_t xcb_list_fonts_with_info_unchecked 7948 ** 7949 ** @param xcb_connection_t *c 7950 ** @param ushort max_names 7951 ** @param ushort pattern_len 7952 ** @param /+const+/ char *pattern 7953 ** @returns xcb_list_fonts_with_info_cookie_t 7954 ** 7955 *****************************************************************************/ 7956 7957 extern(C) xcb_list_fonts_with_info_cookie_t 7958 xcb_list_fonts_with_info_unchecked (xcb_connection_t *c /**< */, 7959 ushort max_names /**< */, 7960 ushort pattern_len /**< */, 7961 /+const+/ char *pattern /**< */); 7962 7963 7964 /***************************************************************************** 7965 ** 7966 ** xcb_fontprop_t * xcb_list_fonts_with_info_properties 7967 ** 7968 ** @param /+const+/ xcb_list_fonts_with_info_reply_t *R 7969 ** @returns xcb_fontprop_t * 7970 ** 7971 *****************************************************************************/ 7972 7973 extern(C) xcb_fontprop_t * 7974 xcb_list_fonts_with_info_properties (/+const+/ xcb_list_fonts_with_info_reply_t *R /**< */); 7975 7976 7977 /***************************************************************************** 7978 ** 7979 ** int xcb_list_fonts_with_info_properties_length 7980 ** 7981 ** @param /+const+/ xcb_list_fonts_with_info_reply_t *R 7982 ** @returns int 7983 ** 7984 *****************************************************************************/ 7985 7986 extern(C) int 7987 xcb_list_fonts_with_info_properties_length (/+const+/ xcb_list_fonts_with_info_reply_t *R /**< */); 7988 7989 7990 /***************************************************************************** 7991 ** 7992 ** xcb_fontprop_iterator_t xcb_list_fonts_with_info_properties_iterator 7993 ** 7994 ** @param /+const+/ xcb_list_fonts_with_info_reply_t *R 7995 ** @returns xcb_fontprop_iterator_t 7996 ** 7997 *****************************************************************************/ 7998 7999 extern(C) xcb_fontprop_iterator_t 8000 xcb_list_fonts_with_info_properties_iterator (/+const+/ xcb_list_fonts_with_info_reply_t *R /**< */); 8001 8002 8003 /***************************************************************************** 8004 ** 8005 ** char * xcb_list_fonts_with_info_name 8006 ** 8007 ** @param /+const+/ xcb_list_fonts_with_info_reply_t *R 8008 ** @returns char * 8009 ** 8010 *****************************************************************************/ 8011 8012 extern(C) char * 8013 xcb_list_fonts_with_info_name (/+const+/ xcb_list_fonts_with_info_reply_t *R /**< */); 8014 8015 8016 /***************************************************************************** 8017 ** 8018 ** int xcb_list_fonts_with_info_name_length 8019 ** 8020 ** @param /+const+/ xcb_list_fonts_with_info_reply_t *R 8021 ** @returns int 8022 ** 8023 *****************************************************************************/ 8024 8025 extern(C) int 8026 xcb_list_fonts_with_info_name_length (/+const+/ xcb_list_fonts_with_info_reply_t *R /**< */); 8027 8028 8029 /***************************************************************************** 8030 ** 8031 ** xcb_generic_iterator_t xcb_list_fonts_with_info_name_end 8032 ** 8033 ** @param /+const+/ xcb_list_fonts_with_info_reply_t *R 8034 ** @returns xcb_generic_iterator_t 8035 ** 8036 *****************************************************************************/ 8037 8038 extern(C) xcb_generic_iterator_t 8039 xcb_list_fonts_with_info_name_end (/+const+/ xcb_list_fonts_with_info_reply_t *R /**< */); 8040 8041 8042 /***************************************************************************** 8043 ** 8044 ** xcb_list_fonts_with_info_reply_t * xcb_list_fonts_with_info_reply 8045 ** 8046 ** @param xcb_connection_t *c 8047 ** @param xcb_list_fonts_with_info_cookie_t cookie 8048 ** @param xcb_generic_error_t **e 8049 ** @returns xcb_list_fonts_with_info_reply_t * 8050 ** 8051 *****************************************************************************/ 8052 8053 extern(C) xcb_list_fonts_with_info_reply_t * 8054 xcb_list_fonts_with_info_reply (xcb_connection_t *c /**< */, 8055 xcb_list_fonts_with_info_cookie_t cookie /**< */, 8056 xcb_generic_error_t **e /**< */); 8057 8058 8059 /***************************************************************************** 8060 ** 8061 ** xcb_void_cookie_t xcb_set_font_path_checked 8062 ** 8063 ** @param xcb_connection_t *c 8064 ** @param ushort font_qty 8065 ** @param uint path_len 8066 ** @param /+const+/ char *path 8067 ** @returns xcb_void_cookie_t 8068 ** 8069 *****************************************************************************/ 8070 8071 extern(C) xcb_void_cookie_t 8072 xcb_set_font_path_checked (xcb_connection_t *c /**< */, 8073 ushort font_qty /**< */, 8074 uint path_len /**< */, 8075 /+const+/ char *path /**< */); 8076 8077 8078 /***************************************************************************** 8079 ** 8080 ** xcb_void_cookie_t xcb_set_font_path 8081 ** 8082 ** @param xcb_connection_t *c 8083 ** @param ushort font_qty 8084 ** @param uint path_len 8085 ** @param /+const+/ char *path 8086 ** @returns xcb_void_cookie_t 8087 ** 8088 *****************************************************************************/ 8089 8090 extern(C) xcb_void_cookie_t 8091 xcb_set_font_path (xcb_connection_t *c /**< */, 8092 ushort font_qty /**< */, 8093 uint path_len /**< */, 8094 /+const+/ char *path /**< */); 8095 8096 8097 /***************************************************************************** 8098 ** 8099 ** xcb_get_font_path_cookie_t xcb_get_font_path 8100 ** 8101 ** @param xcb_connection_t *c 8102 ** @returns xcb_get_font_path_cookie_t 8103 ** 8104 *****************************************************************************/ 8105 8106 extern(C) xcb_get_font_path_cookie_t 8107 xcb_get_font_path (xcb_connection_t *c /**< */); 8108 8109 8110 /***************************************************************************** 8111 ** 8112 ** xcb_get_font_path_cookie_t xcb_get_font_path_unchecked 8113 ** 8114 ** @param xcb_connection_t *c 8115 ** @returns xcb_get_font_path_cookie_t 8116 ** 8117 *****************************************************************************/ 8118 8119 extern(C) xcb_get_font_path_cookie_t 8120 xcb_get_font_path_unchecked (xcb_connection_t *c /**< */); 8121 8122 8123 /***************************************************************************** 8124 ** 8125 ** int xcb_get_font_path_path_length 8126 ** 8127 ** @param /+const+/ xcb_get_font_path_reply_t *R 8128 ** @returns int 8129 ** 8130 *****************************************************************************/ 8131 8132 extern(C) int 8133 xcb_get_font_path_path_length (/+const+/ xcb_get_font_path_reply_t *R /**< */); 8134 8135 8136 /***************************************************************************** 8137 ** 8138 ** xcb_str_iterator_t xcb_get_font_path_path_iterator 8139 ** 8140 ** @param /+const+/ xcb_get_font_path_reply_t *R 8141 ** @returns xcb_str_iterator_t 8142 ** 8143 *****************************************************************************/ 8144 8145 extern(C) xcb_str_iterator_t 8146 xcb_get_font_path_path_iterator (/+const+/ xcb_get_font_path_reply_t *R /**< */); 8147 8148 8149 /***************************************************************************** 8150 ** 8151 ** xcb_get_font_path_reply_t * xcb_get_font_path_reply 8152 ** 8153 ** @param xcb_connection_t *c 8154 ** @param xcb_get_font_path_cookie_t cookie 8155 ** @param xcb_generic_error_t **e 8156 ** @returns xcb_get_font_path_reply_t * 8157 ** 8158 *****************************************************************************/ 8159 8160 extern(C) xcb_get_font_path_reply_t * 8161 xcb_get_font_path_reply (xcb_connection_t *c /**< */, 8162 xcb_get_font_path_cookie_t cookie /**< */, 8163 xcb_generic_error_t **e /**< */); 8164 8165 8166 /***************************************************************************** 8167 ** 8168 ** xcb_void_cookie_t xcb_create_pixmap_checked 8169 ** 8170 ** @param xcb_connection_t *c 8171 ** @param ubyte depth 8172 ** @param xcb_pixmap_t pid 8173 ** @param xcb_drawable_t drawable 8174 ** @param ushort width 8175 ** @param ushort height 8176 ** @returns xcb_void_cookie_t 8177 ** 8178 *****************************************************************************/ 8179 8180 extern(C) xcb_void_cookie_t 8181 xcb_create_pixmap_checked (xcb_connection_t *c /**< */, 8182 ubyte depth /**< */, 8183 xcb_pixmap_t pid /**< */, 8184 xcb_drawable_t drawable /**< */, 8185 ushort width /**< */, 8186 ushort height /**< */); 8187 8188 8189 /***************************************************************************** 8190 ** 8191 ** xcb_void_cookie_t xcb_create_pixmap 8192 ** 8193 ** @param xcb_connection_t *c 8194 ** @param ubyte depth 8195 ** @param xcb_pixmap_t pid 8196 ** @param xcb_drawable_t drawable 8197 ** @param ushort width 8198 ** @param ushort height 8199 ** @returns xcb_void_cookie_t 8200 ** 8201 *****************************************************************************/ 8202 8203 extern(C) xcb_void_cookie_t 8204 xcb_create_pixmap (xcb_connection_t *c /**< */, 8205 ubyte depth /**< */, 8206 xcb_pixmap_t pid /**< */, 8207 xcb_drawable_t drawable /**< */, 8208 ushort width /**< */, 8209 ushort height /**< */); 8210 8211 8212 /***************************************************************************** 8213 ** 8214 ** xcb_void_cookie_t xcb_free_pixmap_checked 8215 ** 8216 ** @param xcb_connection_t *c 8217 ** @param xcb_pixmap_t pixmap 8218 ** @returns xcb_void_cookie_t 8219 ** 8220 *****************************************************************************/ 8221 8222 extern(C) xcb_void_cookie_t 8223 xcb_free_pixmap_checked (xcb_connection_t *c /**< */, 8224 xcb_pixmap_t pixmap /**< */); 8225 8226 8227 /***************************************************************************** 8228 ** 8229 ** xcb_void_cookie_t xcb_free_pixmap 8230 ** 8231 ** @param xcb_connection_t *c 8232 ** @param xcb_pixmap_t pixmap 8233 ** @returns xcb_void_cookie_t 8234 ** 8235 *****************************************************************************/ 8236 8237 extern(C) xcb_void_cookie_t 8238 xcb_free_pixmap (xcb_connection_t *c /**< */, 8239 xcb_pixmap_t pixmap /**< */); 8240 8241 8242 /***************************************************************************** 8243 ** 8244 ** xcb_void_cookie_t xcb_create_gc_checked 8245 ** 8246 ** @param xcb_connection_t *c 8247 ** @param xcb_gcontext_t cid 8248 ** @param xcb_drawable_t drawable 8249 ** @param uint value_mask 8250 ** @param /+const+/ uint *value_list 8251 ** @returns xcb_void_cookie_t 8252 ** 8253 *****************************************************************************/ 8254 8255 extern(C) xcb_void_cookie_t 8256 xcb_create_gc_checked (xcb_connection_t *c /**< */, 8257 xcb_gcontext_t cid /**< */, 8258 xcb_drawable_t drawable /**< */, 8259 uint value_mask /**< */, 8260 /+const+/ uint *value_list /**< */); 8261 8262 8263 /***************************************************************************** 8264 ** 8265 ** xcb_void_cookie_t xcb_create_gc 8266 ** 8267 ** @param xcb_connection_t *c 8268 ** @param xcb_gcontext_t cid 8269 ** @param xcb_drawable_t drawable 8270 ** @param uint value_mask 8271 ** @param /+const+/ uint *value_list 8272 ** @returns xcb_void_cookie_t 8273 ** 8274 *****************************************************************************/ 8275 8276 extern(C) xcb_void_cookie_t 8277 xcb_create_gc (xcb_connection_t *c /**< */, 8278 xcb_gcontext_t cid /**< */, 8279 xcb_drawable_t drawable /**< */, 8280 uint value_mask /**< */, 8281 /+const+/ uint *value_list /**< */); 8282 8283 8284 /***************************************************************************** 8285 ** 8286 ** xcb_void_cookie_t xcb_change_gc_checked 8287 ** 8288 ** @param xcb_connection_t *c 8289 ** @param xcb_gcontext_t gc 8290 ** @param uint value_mask 8291 ** @param /+const+/ uint *value_list 8292 ** @returns xcb_void_cookie_t 8293 ** 8294 *****************************************************************************/ 8295 8296 extern(C) xcb_void_cookie_t 8297 xcb_change_gc_checked (xcb_connection_t *c /**< */, 8298 xcb_gcontext_t gc /**< */, 8299 uint value_mask /**< */, 8300 /+const+/ uint *value_list /**< */); 8301 8302 8303 /***************************************************************************** 8304 ** 8305 ** xcb_void_cookie_t xcb_change_gc 8306 ** 8307 ** @param xcb_connection_t *c 8308 ** @param xcb_gcontext_t gc 8309 ** @param uint value_mask 8310 ** @param /+const+/ uint *value_list 8311 ** @returns xcb_void_cookie_t 8312 ** 8313 *****************************************************************************/ 8314 8315 extern(C) xcb_void_cookie_t 8316 xcb_change_gc (xcb_connection_t *c /**< */, 8317 xcb_gcontext_t gc /**< */, 8318 uint value_mask /**< */, 8319 /+const+/ uint *value_list /**< */); 8320 8321 8322 /***************************************************************************** 8323 ** 8324 ** xcb_void_cookie_t xcb_copy_gc_checked 8325 ** 8326 ** @param xcb_connection_t *c 8327 ** @param xcb_gcontext_t src_gc 8328 ** @param xcb_gcontext_t dst_gc 8329 ** @param uint value_mask 8330 ** @returns xcb_void_cookie_t 8331 ** 8332 *****************************************************************************/ 8333 8334 extern(C) xcb_void_cookie_t 8335 xcb_copy_gc_checked (xcb_connection_t *c /**< */, 8336 xcb_gcontext_t src_gc /**< */, 8337 xcb_gcontext_t dst_gc /**< */, 8338 uint value_mask /**< */); 8339 8340 8341 /***************************************************************************** 8342 ** 8343 ** xcb_void_cookie_t xcb_copy_gc 8344 ** 8345 ** @param xcb_connection_t *c 8346 ** @param xcb_gcontext_t src_gc 8347 ** @param xcb_gcontext_t dst_gc 8348 ** @param uint value_mask 8349 ** @returns xcb_void_cookie_t 8350 ** 8351 *****************************************************************************/ 8352 8353 extern(C) xcb_void_cookie_t 8354 xcb_copy_gc (xcb_connection_t *c /**< */, 8355 xcb_gcontext_t src_gc /**< */, 8356 xcb_gcontext_t dst_gc /**< */, 8357 uint value_mask /**< */); 8358 8359 8360 /***************************************************************************** 8361 ** 8362 ** xcb_void_cookie_t xcb_set_dashes_checked 8363 ** 8364 ** @param xcb_connection_t *c 8365 ** @param xcb_gcontext_t gc 8366 ** @param ushort dash_offset 8367 ** @param ushort dashes_len 8368 ** @param /+const+/ ubyte *dashes 8369 ** @returns xcb_void_cookie_t 8370 ** 8371 *****************************************************************************/ 8372 8373 extern(C) xcb_void_cookie_t 8374 xcb_set_dashes_checked (xcb_connection_t *c /**< */, 8375 xcb_gcontext_t gc /**< */, 8376 ushort dash_offset /**< */, 8377 ushort dashes_len /**< */, 8378 /+const+/ ubyte *dashes /**< */); 8379 8380 8381 /***************************************************************************** 8382 ** 8383 ** xcb_void_cookie_t xcb_set_dashes 8384 ** 8385 ** @param xcb_connection_t *c 8386 ** @param xcb_gcontext_t gc 8387 ** @param ushort dash_offset 8388 ** @param ushort dashes_len 8389 ** @param /+const+/ ubyte *dashes 8390 ** @returns xcb_void_cookie_t 8391 ** 8392 *****************************************************************************/ 8393 8394 extern(C) xcb_void_cookie_t 8395 xcb_set_dashes (xcb_connection_t *c /**< */, 8396 xcb_gcontext_t gc /**< */, 8397 ushort dash_offset /**< */, 8398 ushort dashes_len /**< */, 8399 /+const+/ ubyte *dashes /**< */); 8400 8401 8402 /***************************************************************************** 8403 ** 8404 ** xcb_void_cookie_t xcb_set_clip_rectangles_checked 8405 ** 8406 ** @param xcb_connection_t *c 8407 ** @param ubyte ordering 8408 ** @param xcb_gcontext_t gc 8409 ** @param short clip_x_origin 8410 ** @param short clip_y_origin 8411 ** @param uint rectangles_len 8412 ** @param /+const+/ xcb_rectangle_t *rectangles 8413 ** @returns xcb_void_cookie_t 8414 ** 8415 *****************************************************************************/ 8416 8417 extern(C) xcb_void_cookie_t 8418 xcb_set_clip_rectangles_checked (xcb_connection_t *c /**< */, 8419 ubyte ordering /**< */, 8420 xcb_gcontext_t gc /**< */, 8421 short clip_x_origin /**< */, 8422 short clip_y_origin /**< */, 8423 uint rectangles_len /**< */, 8424 /+const+/ xcb_rectangle_t *rectangles /**< */); 8425 8426 8427 /***************************************************************************** 8428 ** 8429 ** xcb_void_cookie_t xcb_set_clip_rectangles 8430 ** 8431 ** @param xcb_connection_t *c 8432 ** @param ubyte ordering 8433 ** @param xcb_gcontext_t gc 8434 ** @param short clip_x_origin 8435 ** @param short clip_y_origin 8436 ** @param uint rectangles_len 8437 ** @param /+const+/ xcb_rectangle_t *rectangles 8438 ** @returns xcb_void_cookie_t 8439 ** 8440 *****************************************************************************/ 8441 8442 extern(C) xcb_void_cookie_t 8443 xcb_set_clip_rectangles (xcb_connection_t *c /**< */, 8444 ubyte ordering /**< */, 8445 xcb_gcontext_t gc /**< */, 8446 short clip_x_origin /**< */, 8447 short clip_y_origin /**< */, 8448 uint rectangles_len /**< */, 8449 /+const+/ xcb_rectangle_t *rectangles /**< */); 8450 8451 8452 /***************************************************************************** 8453 ** 8454 ** xcb_void_cookie_t xcb_free_gc_checked 8455 ** 8456 ** @param xcb_connection_t *c 8457 ** @param xcb_gcontext_t gc 8458 ** @returns xcb_void_cookie_t 8459 ** 8460 *****************************************************************************/ 8461 8462 extern(C) xcb_void_cookie_t 8463 xcb_free_gc_checked (xcb_connection_t *c /**< */, 8464 xcb_gcontext_t gc /**< */); 8465 8466 8467 /***************************************************************************** 8468 ** 8469 ** xcb_void_cookie_t xcb_free_gc 8470 ** 8471 ** @param xcb_connection_t *c 8472 ** @param xcb_gcontext_t gc 8473 ** @returns xcb_void_cookie_t 8474 ** 8475 *****************************************************************************/ 8476 8477 extern(C) xcb_void_cookie_t 8478 xcb_free_gc (xcb_connection_t *c /**< */, 8479 xcb_gcontext_t gc /**< */); 8480 8481 8482 /***************************************************************************** 8483 ** 8484 ** xcb_void_cookie_t xcb_clear_area_checked 8485 ** 8486 ** @param xcb_connection_t *c 8487 ** @param bool exposures 8488 ** @param xcb_window_t window 8489 ** @param short x 8490 ** @param short y 8491 ** @param ushort width 8492 ** @param ushort height 8493 ** @returns xcb_void_cookie_t 8494 ** 8495 *****************************************************************************/ 8496 8497 extern(C) xcb_void_cookie_t 8498 xcb_clear_area_checked (xcb_connection_t *c /**< */, 8499 bool exposures /**< */, 8500 xcb_window_t window /**< */, 8501 short x /**< */, 8502 short y /**< */, 8503 ushort width /**< */, 8504 ushort height /**< */); 8505 8506 8507 /***************************************************************************** 8508 ** 8509 ** xcb_void_cookie_t xcb_clear_area 8510 ** 8511 ** @param xcb_connection_t *c 8512 ** @param bool exposures 8513 ** @param xcb_window_t window 8514 ** @param short x 8515 ** @param short y 8516 ** @param ushort width 8517 ** @param ushort height 8518 ** @returns xcb_void_cookie_t 8519 ** 8520 *****************************************************************************/ 8521 8522 extern(C) xcb_void_cookie_t 8523 xcb_clear_area (xcb_connection_t *c /**< */, 8524 bool exposures /**< */, 8525 xcb_window_t window /**< */, 8526 short x /**< */, 8527 short y /**< */, 8528 ushort width /**< */, 8529 ushort height /**< */); 8530 8531 8532 /***************************************************************************** 8533 ** 8534 ** xcb_void_cookie_t xcb_copy_area_checked 8535 ** 8536 ** @param xcb_connection_t *c 8537 ** @param xcb_drawable_t src_drawable 8538 ** @param xcb_drawable_t dst_drawable 8539 ** @param xcb_gcontext_t gc 8540 ** @param short src_x 8541 ** @param short src_y 8542 ** @param short dst_x 8543 ** @param short dst_y 8544 ** @param ushort width 8545 ** @param ushort height 8546 ** @returns xcb_void_cookie_t 8547 ** 8548 *****************************************************************************/ 8549 8550 extern(C) xcb_void_cookie_t 8551 xcb_copy_area_checked (xcb_connection_t *c /**< */, 8552 xcb_drawable_t src_drawable /**< */, 8553 xcb_drawable_t dst_drawable /**< */, 8554 xcb_gcontext_t gc /**< */, 8555 short src_x /**< */, 8556 short src_y /**< */, 8557 short dst_x /**< */, 8558 short dst_y /**< */, 8559 ushort width /**< */, 8560 ushort height /**< */); 8561 8562 8563 /***************************************************************************** 8564 ** 8565 ** xcb_void_cookie_t xcb_copy_area 8566 ** 8567 ** @param xcb_connection_t *c 8568 ** @param xcb_drawable_t src_drawable 8569 ** @param xcb_drawable_t dst_drawable 8570 ** @param xcb_gcontext_t gc 8571 ** @param short src_x 8572 ** @param short src_y 8573 ** @param short dst_x 8574 ** @param short dst_y 8575 ** @param ushort width 8576 ** @param ushort height 8577 ** @returns xcb_void_cookie_t 8578 ** 8579 *****************************************************************************/ 8580 8581 extern(C) xcb_void_cookie_t 8582 xcb_copy_area (xcb_connection_t *c /**< */, 8583 xcb_drawable_t src_drawable /**< */, 8584 xcb_drawable_t dst_drawable /**< */, 8585 xcb_gcontext_t gc /**< */, 8586 short src_x /**< */, 8587 short src_y /**< */, 8588 short dst_x /**< */, 8589 short dst_y /**< */, 8590 ushort width /**< */, 8591 ushort height /**< */); 8592 8593 8594 /***************************************************************************** 8595 ** 8596 ** xcb_void_cookie_t xcb_copy_plane_checked 8597 ** 8598 ** @param xcb_connection_t *c 8599 ** @param xcb_drawable_t src_drawable 8600 ** @param xcb_drawable_t dst_drawable 8601 ** @param xcb_gcontext_t gc 8602 ** @param short src_x 8603 ** @param short src_y 8604 ** @param short dst_x 8605 ** @param short dst_y 8606 ** @param ushort width 8607 ** @param ushort height 8608 ** @param uint bit_plane 8609 ** @returns xcb_void_cookie_t 8610 ** 8611 *****************************************************************************/ 8612 8613 extern(C) xcb_void_cookie_t 8614 xcb_copy_plane_checked (xcb_connection_t *c /**< */, 8615 xcb_drawable_t src_drawable /**< */, 8616 xcb_drawable_t dst_drawable /**< */, 8617 xcb_gcontext_t gc /**< */, 8618 short src_x /**< */, 8619 short src_y /**< */, 8620 short dst_x /**< */, 8621 short dst_y /**< */, 8622 ushort width /**< */, 8623 ushort height /**< */, 8624 uint bit_plane /**< */); 8625 8626 8627 /***************************************************************************** 8628 ** 8629 ** xcb_void_cookie_t xcb_copy_plane 8630 ** 8631 ** @param xcb_connection_t *c 8632 ** @param xcb_drawable_t src_drawable 8633 ** @param xcb_drawable_t dst_drawable 8634 ** @param xcb_gcontext_t gc 8635 ** @param short src_x 8636 ** @param short src_y 8637 ** @param short dst_x 8638 ** @param short dst_y 8639 ** @param ushort width 8640 ** @param ushort height 8641 ** @param uint bit_plane 8642 ** @returns xcb_void_cookie_t 8643 ** 8644 *****************************************************************************/ 8645 8646 extern(C) xcb_void_cookie_t 8647 xcb_copy_plane (xcb_connection_t *c /**< */, 8648 xcb_drawable_t src_drawable /**< */, 8649 xcb_drawable_t dst_drawable /**< */, 8650 xcb_gcontext_t gc /**< */, 8651 short src_x /**< */, 8652 short src_y /**< */, 8653 short dst_x /**< */, 8654 short dst_y /**< */, 8655 ushort width /**< */, 8656 ushort height /**< */, 8657 uint bit_plane /**< */); 8658 8659 8660 /***************************************************************************** 8661 ** 8662 ** xcb_void_cookie_t xcb_poly_point_checked 8663 ** 8664 ** @param xcb_connection_t *c 8665 ** @param ubyte coordinate_mode 8666 ** @param xcb_drawable_t drawable 8667 ** @param xcb_gcontext_t gc 8668 ** @param uint points_len 8669 ** @param /+const+/ xcb_point_t *points 8670 ** @returns xcb_void_cookie_t 8671 ** 8672 *****************************************************************************/ 8673 8674 extern(C) xcb_void_cookie_t 8675 xcb_poly_point_checked (xcb_connection_t *c /**< */, 8676 ubyte coordinate_mode /**< */, 8677 xcb_drawable_t drawable /**< */, 8678 xcb_gcontext_t gc /**< */, 8679 uint points_len /**< */, 8680 /+const+/ xcb_point_t *points /**< */); 8681 8682 8683 /***************************************************************************** 8684 ** 8685 ** xcb_void_cookie_t xcb_poly_point 8686 ** 8687 ** @param xcb_connection_t *c 8688 ** @param ubyte coordinate_mode 8689 ** @param xcb_drawable_t drawable 8690 ** @param xcb_gcontext_t gc 8691 ** @param uint points_len 8692 ** @param /+const+/ xcb_point_t *points 8693 ** @returns xcb_void_cookie_t 8694 ** 8695 *****************************************************************************/ 8696 8697 extern(C) xcb_void_cookie_t 8698 xcb_poly_point (xcb_connection_t *c /**< */, 8699 ubyte coordinate_mode /**< */, 8700 xcb_drawable_t drawable /**< */, 8701 xcb_gcontext_t gc /**< */, 8702 uint points_len /**< */, 8703 /+const+/ xcb_point_t *points /**< */); 8704 8705 8706 /***************************************************************************** 8707 ** 8708 ** xcb_void_cookie_t xcb_poly_line_checked 8709 ** 8710 ** @param xcb_connection_t *c 8711 ** @param ubyte coordinate_mode 8712 ** @param xcb_drawable_t drawable 8713 ** @param xcb_gcontext_t gc 8714 ** @param uint points_len 8715 ** @param /+const+/ xcb_point_t *points 8716 ** @returns xcb_void_cookie_t 8717 ** 8718 *****************************************************************************/ 8719 8720 extern(C) xcb_void_cookie_t 8721 xcb_poly_line_checked (xcb_connection_t *c /**< */, 8722 ubyte coordinate_mode /**< */, 8723 xcb_drawable_t drawable /**< */, 8724 xcb_gcontext_t gc /**< */, 8725 uint points_len /**< */, 8726 /+const+/ xcb_point_t *points /**< */); 8727 8728 8729 /***************************************************************************** 8730 ** 8731 ** xcb_void_cookie_t xcb_poly_line 8732 ** 8733 ** @param xcb_connection_t *c 8734 ** @param ubyte coordinate_mode 8735 ** @param xcb_drawable_t drawable 8736 ** @param xcb_gcontext_t gc 8737 ** @param uint points_len 8738 ** @param /+const+/ xcb_point_t *points 8739 ** @returns xcb_void_cookie_t 8740 ** 8741 *****************************************************************************/ 8742 8743 extern(C) xcb_void_cookie_t 8744 xcb_poly_line (xcb_connection_t *c /**< */, 8745 ubyte coordinate_mode /**< */, 8746 xcb_drawable_t drawable /**< */, 8747 xcb_gcontext_t gc /**< */, 8748 uint points_len /**< */, 8749 /+const+/ xcb_point_t *points /**< */); 8750 8751 8752 /***************************************************************************** 8753 ** 8754 ** void xcb_segment_next 8755 ** 8756 ** @param xcb_segment_iterator_t *i 8757 ** @returns void 8758 ** 8759 *****************************************************************************/ 8760 8761 extern(C) void 8762 xcb_segment_next (xcb_segment_iterator_t *i /**< */); 8763 8764 8765 /***************************************************************************** 8766 ** 8767 ** xcb_generic_iterator_t xcb_segment_end 8768 ** 8769 ** @param xcb_segment_iterator_t i 8770 ** @returns xcb_generic_iterator_t 8771 ** 8772 *****************************************************************************/ 8773 8774 extern(C) xcb_generic_iterator_t 8775 xcb_segment_end (xcb_segment_iterator_t i /**< */); 8776 8777 8778 /***************************************************************************** 8779 ** 8780 ** xcb_void_cookie_t xcb_poly_segment_checked 8781 ** 8782 ** @param xcb_connection_t *c 8783 ** @param xcb_drawable_t drawable 8784 ** @param xcb_gcontext_t gc 8785 ** @param uint segments_len 8786 ** @param /+const+/ xcb_segment_t *segments 8787 ** @returns xcb_void_cookie_t 8788 ** 8789 *****************************************************************************/ 8790 8791 extern(C) xcb_void_cookie_t 8792 xcb_poly_segment_checked (xcb_connection_t *c /**< */, 8793 xcb_drawable_t drawable /**< */, 8794 xcb_gcontext_t gc /**< */, 8795 uint segments_len /**< */, 8796 /+const+/ xcb_segment_t *segments /**< */); 8797 8798 8799 /***************************************************************************** 8800 ** 8801 ** xcb_void_cookie_t xcb_poly_segment 8802 ** 8803 ** @param xcb_connection_t *c 8804 ** @param xcb_drawable_t drawable 8805 ** @param xcb_gcontext_t gc 8806 ** @param uint segments_len 8807 ** @param /+const+/ xcb_segment_t *segments 8808 ** @returns xcb_void_cookie_t 8809 ** 8810 *****************************************************************************/ 8811 8812 extern(C) xcb_void_cookie_t 8813 xcb_poly_segment (xcb_connection_t *c /**< */, 8814 xcb_drawable_t drawable /**< */, 8815 xcb_gcontext_t gc /**< */, 8816 uint segments_len /**< */, 8817 /+const+/ xcb_segment_t *segments /**< */); 8818 8819 8820 /***************************************************************************** 8821 ** 8822 ** xcb_void_cookie_t xcb_poly_rectangle_checked 8823 ** 8824 ** @param xcb_connection_t *c 8825 ** @param xcb_drawable_t drawable 8826 ** @param xcb_gcontext_t gc 8827 ** @param uint rectangles_len 8828 ** @param /+const+/ xcb_rectangle_t *rectangles 8829 ** @returns xcb_void_cookie_t 8830 ** 8831 *****************************************************************************/ 8832 8833 extern(C) xcb_void_cookie_t 8834 xcb_poly_rectangle_checked (xcb_connection_t *c /**< */, 8835 xcb_drawable_t drawable /**< */, 8836 xcb_gcontext_t gc /**< */, 8837 uint rectangles_len /**< */, 8838 /+const+/ xcb_rectangle_t *rectangles /**< */); 8839 8840 8841 /***************************************************************************** 8842 ** 8843 ** xcb_void_cookie_t xcb_poly_rectangle 8844 ** 8845 ** @param xcb_connection_t *c 8846 ** @param xcb_drawable_t drawable 8847 ** @param xcb_gcontext_t gc 8848 ** @param uint rectangles_len 8849 ** @param /+const+/ xcb_rectangle_t *rectangles 8850 ** @returns xcb_void_cookie_t 8851 ** 8852 *****************************************************************************/ 8853 8854 extern(C) xcb_void_cookie_t 8855 xcb_poly_rectangle (xcb_connection_t *c /**< */, 8856 xcb_drawable_t drawable /**< */, 8857 xcb_gcontext_t gc /**< */, 8858 uint rectangles_len /**< */, 8859 /+const+/ xcb_rectangle_t *rectangles /**< */); 8860 8861 8862 /***************************************************************************** 8863 ** 8864 ** xcb_void_cookie_t xcb_poly_arc_checked 8865 ** 8866 ** @param xcb_connection_t *c 8867 ** @param xcb_drawable_t drawable 8868 ** @param xcb_gcontext_t gc 8869 ** @param uint arcs_len 8870 ** @param /+const+/ xcb_arc_t *arcs 8871 ** @returns xcb_void_cookie_t 8872 ** 8873 *****************************************************************************/ 8874 8875 extern(C) xcb_void_cookie_t 8876 xcb_poly_arc_checked (xcb_connection_t *c /**< */, 8877 xcb_drawable_t drawable /**< */, 8878 xcb_gcontext_t gc /**< */, 8879 uint arcs_len /**< */, 8880 /+const+/ xcb_arc_t *arcs /**< */); 8881 8882 8883 /***************************************************************************** 8884 ** 8885 ** xcb_void_cookie_t xcb_poly_arc 8886 ** 8887 ** @param xcb_connection_t *c 8888 ** @param xcb_drawable_t drawable 8889 ** @param xcb_gcontext_t gc 8890 ** @param uint arcs_len 8891 ** @param /+const+/ xcb_arc_t *arcs 8892 ** @returns xcb_void_cookie_t 8893 ** 8894 *****************************************************************************/ 8895 8896 extern(C) xcb_void_cookie_t 8897 xcb_poly_arc (xcb_connection_t *c /**< */, 8898 xcb_drawable_t drawable /**< */, 8899 xcb_gcontext_t gc /**< */, 8900 uint arcs_len /**< */, 8901 /+const+/ xcb_arc_t *arcs /**< */); 8902 8903 8904 /***************************************************************************** 8905 ** 8906 ** xcb_void_cookie_t xcb_fill_poly_checked 8907 ** 8908 ** @param xcb_connection_t *c 8909 ** @param xcb_drawable_t drawable 8910 ** @param xcb_gcontext_t gc 8911 ** @param ubyte shape 8912 ** @param ubyte coordinate_mode 8913 ** @param uint points_len 8914 ** @param /+const+/ xcb_point_t *points 8915 ** @returns xcb_void_cookie_t 8916 ** 8917 *****************************************************************************/ 8918 8919 extern(C) xcb_void_cookie_t 8920 xcb_fill_poly_checked (xcb_connection_t *c /**< */, 8921 xcb_drawable_t drawable /**< */, 8922 xcb_gcontext_t gc /**< */, 8923 ubyte shape /**< */, 8924 ubyte coordinate_mode /**< */, 8925 uint points_len /**< */, 8926 /+const+/ xcb_point_t *points /**< */); 8927 8928 8929 /***************************************************************************** 8930 ** 8931 ** xcb_void_cookie_t xcb_fill_poly 8932 ** 8933 ** @param xcb_connection_t *c 8934 ** @param xcb_drawable_t drawable 8935 ** @param xcb_gcontext_t gc 8936 ** @param ubyte shape 8937 ** @param ubyte coordinate_mode 8938 ** @param uint points_len 8939 ** @param /+const+/ xcb_point_t *points 8940 ** @returns xcb_void_cookie_t 8941 ** 8942 *****************************************************************************/ 8943 8944 extern(C) xcb_void_cookie_t 8945 xcb_fill_poly (xcb_connection_t *c /**< */, 8946 xcb_drawable_t drawable /**< */, 8947 xcb_gcontext_t gc /**< */, 8948 ubyte shape /**< */, 8949 ubyte coordinate_mode /**< */, 8950 uint points_len /**< */, 8951 /+const+/ xcb_point_t *points /**< */); 8952 8953 8954 /***************************************************************************** 8955 ** 8956 ** xcb_void_cookie_t xcb_poly_fill_rectangle_checked 8957 ** 8958 ** @param xcb_connection_t *c 8959 ** @param xcb_drawable_t drawable 8960 ** @param xcb_gcontext_t gc 8961 ** @param uint rectangles_len 8962 ** @param /+const+/ xcb_rectangle_t *rectangles 8963 ** @returns xcb_void_cookie_t 8964 ** 8965 *****************************************************************************/ 8966 8967 extern(C) xcb_void_cookie_t 8968 xcb_poly_fill_rectangle_checked (xcb_connection_t *c /**< */, 8969 xcb_drawable_t drawable /**< */, 8970 xcb_gcontext_t gc /**< */, 8971 uint rectangles_len /**< */, 8972 /+const+/ xcb_rectangle_t *rectangles /**< */); 8973 8974 8975 /***************************************************************************** 8976 ** 8977 ** xcb_void_cookie_t xcb_poly_fill_rectangle 8978 ** 8979 ** @param xcb_connection_t *c 8980 ** @param xcb_drawable_t drawable 8981 ** @param xcb_gcontext_t gc 8982 ** @param uint rectangles_len 8983 ** @param /+const+/ xcb_rectangle_t *rectangles 8984 ** @returns xcb_void_cookie_t 8985 ** 8986 *****************************************************************************/ 8987 8988 extern(C) xcb_void_cookie_t 8989 xcb_poly_fill_rectangle (xcb_connection_t *c /**< */, 8990 xcb_drawable_t drawable /**< */, 8991 xcb_gcontext_t gc /**< */, 8992 uint rectangles_len /**< */, 8993 /+const+/ xcb_rectangle_t *rectangles /**< */); 8994 8995 8996 /***************************************************************************** 8997 ** 8998 ** xcb_void_cookie_t xcb_poly_fill_arc_checked 8999 ** 9000 ** @param xcb_connection_t *c 9001 ** @param xcb_drawable_t drawable 9002 ** @param xcb_gcontext_t gc 9003 ** @param uint arcs_len 9004 ** @param /+const+/ xcb_arc_t *arcs 9005 ** @returns xcb_void_cookie_t 9006 ** 9007 *****************************************************************************/ 9008 9009 extern(C) xcb_void_cookie_t 9010 xcb_poly_fill_arc_checked (xcb_connection_t *c /**< */, 9011 xcb_drawable_t drawable /**< */, 9012 xcb_gcontext_t gc /**< */, 9013 uint arcs_len /**< */, 9014 /+const+/ xcb_arc_t *arcs /**< */); 9015 9016 9017 /***************************************************************************** 9018 ** 9019 ** xcb_void_cookie_t xcb_poly_fill_arc 9020 ** 9021 ** @param xcb_connection_t *c 9022 ** @param xcb_drawable_t drawable 9023 ** @param xcb_gcontext_t gc 9024 ** @param uint arcs_len 9025 ** @param /+const+/ xcb_arc_t *arcs 9026 ** @returns xcb_void_cookie_t 9027 ** 9028 *****************************************************************************/ 9029 9030 extern(C) xcb_void_cookie_t 9031 xcb_poly_fill_arc (xcb_connection_t *c /**< */, 9032 xcb_drawable_t drawable /**< */, 9033 xcb_gcontext_t gc /**< */, 9034 uint arcs_len /**< */, 9035 /+const+/ xcb_arc_t *arcs /**< */); 9036 9037 9038 /***************************************************************************** 9039 ** 9040 ** xcb_void_cookie_t xcb_put_image_checked 9041 ** 9042 ** @param xcb_connection_t *c 9043 ** @param ubyte format 9044 ** @param xcb_drawable_t drawable 9045 ** @param xcb_gcontext_t gc 9046 ** @param ushort width 9047 ** @param ushort height 9048 ** @param short dst_x 9049 ** @param short dst_y 9050 ** @param ubyte left_pad 9051 ** @param ubyte depth 9052 ** @param uint data_len 9053 ** @param /+const+/ ubyte *data 9054 ** @returns xcb_void_cookie_t 9055 ** 9056 *****************************************************************************/ 9057 9058 extern(C) xcb_void_cookie_t 9059 xcb_put_image_checked (xcb_connection_t *c /**< */, 9060 ubyte format /**< */, 9061 xcb_drawable_t drawable /**< */, 9062 xcb_gcontext_t gc /**< */, 9063 ushort width /**< */, 9064 ushort height /**< */, 9065 short dst_x /**< */, 9066 short dst_y /**< */, 9067 ubyte left_pad /**< */, 9068 ubyte depth /**< */, 9069 uint data_len /**< */, 9070 /+const+/ ubyte *data /**< */); 9071 9072 9073 /***************************************************************************** 9074 ** 9075 ** xcb_void_cookie_t xcb_put_image 9076 ** 9077 ** @param xcb_connection_t *c 9078 ** @param ubyte format 9079 ** @param xcb_drawable_t drawable 9080 ** @param xcb_gcontext_t gc 9081 ** @param ushort width 9082 ** @param ushort height 9083 ** @param short dst_x 9084 ** @param short dst_y 9085 ** @param ubyte left_pad 9086 ** @param ubyte depth 9087 ** @param uint data_len 9088 ** @param /+const+/ ubyte *data 9089 ** @returns xcb_void_cookie_t 9090 ** 9091 *****************************************************************************/ 9092 9093 extern(C) xcb_void_cookie_t 9094 xcb_put_image (xcb_connection_t *c /**< */, 9095 ubyte format /**< */, 9096 xcb_drawable_t drawable /**< */, 9097 xcb_gcontext_t gc /**< */, 9098 ushort width /**< */, 9099 ushort height /**< */, 9100 short dst_x /**< */, 9101 short dst_y /**< */, 9102 ubyte left_pad /**< */, 9103 ubyte depth /**< */, 9104 uint data_len /**< */, 9105 /+const+/ ubyte *data /**< */); 9106 9107 9108 /***************************************************************************** 9109 ** 9110 ** xcb_get_image_cookie_t xcb_get_image 9111 ** 9112 ** @param xcb_connection_t *c 9113 ** @param ubyte format 9114 ** @param xcb_drawable_t drawable 9115 ** @param short x 9116 ** @param short y 9117 ** @param ushort width 9118 ** @param ushort height 9119 ** @param uint plane_mask 9120 ** @returns xcb_get_image_cookie_t 9121 ** 9122 *****************************************************************************/ 9123 9124 extern(C) xcb_get_image_cookie_t 9125 xcb_get_image (xcb_connection_t *c /**< */, 9126 ubyte format /**< */, 9127 xcb_drawable_t drawable /**< */, 9128 short x /**< */, 9129 short y /**< */, 9130 ushort width /**< */, 9131 ushort height /**< */, 9132 uint plane_mask /**< */); 9133 9134 9135 /***************************************************************************** 9136 ** 9137 ** xcb_get_image_cookie_t xcb_get_image_unchecked 9138 ** 9139 ** @param xcb_connection_t *c 9140 ** @param ubyte format 9141 ** @param xcb_drawable_t drawable 9142 ** @param short x 9143 ** @param short y 9144 ** @param ushort width 9145 ** @param ushort height 9146 ** @param uint plane_mask 9147 ** @returns xcb_get_image_cookie_t 9148 ** 9149 *****************************************************************************/ 9150 9151 extern(C) xcb_get_image_cookie_t 9152 xcb_get_image_unchecked (xcb_connection_t *c /**< */, 9153 ubyte format /**< */, 9154 xcb_drawable_t drawable /**< */, 9155 short x /**< */, 9156 short y /**< */, 9157 ushort width /**< */, 9158 ushort height /**< */, 9159 uint plane_mask /**< */); 9160 9161 9162 /***************************************************************************** 9163 ** 9164 ** ubyte * xcb_get_image_data 9165 ** 9166 ** @param /+const+/ xcb_get_image_reply_t *R 9167 ** @returns ubyte * 9168 ** 9169 *****************************************************************************/ 9170 9171 extern(C) ubyte * 9172 xcb_get_image_data (/+const+/ xcb_get_image_reply_t *R /**< */); 9173 9174 9175 /***************************************************************************** 9176 ** 9177 ** int xcb_get_image_data_length 9178 ** 9179 ** @param /+const+/ xcb_get_image_reply_t *R 9180 ** @returns int 9181 ** 9182 *****************************************************************************/ 9183 9184 extern(C) int 9185 xcb_get_image_data_length (/+const+/ xcb_get_image_reply_t *R /**< */); 9186 9187 9188 /***************************************************************************** 9189 ** 9190 ** xcb_generic_iterator_t xcb_get_image_data_end 9191 ** 9192 ** @param /+const+/ xcb_get_image_reply_t *R 9193 ** @returns xcb_generic_iterator_t 9194 ** 9195 *****************************************************************************/ 9196 9197 extern(C) xcb_generic_iterator_t 9198 xcb_get_image_data_end (/+const+/ xcb_get_image_reply_t *R /**< */); 9199 9200 9201 /***************************************************************************** 9202 ** 9203 ** xcb_get_image_reply_t * xcb_get_image_reply 9204 ** 9205 ** @param xcb_connection_t *c 9206 ** @param xcb_get_image_cookie_t cookie 9207 ** @param xcb_generic_error_t **e 9208 ** @returns xcb_get_image_reply_t * 9209 ** 9210 *****************************************************************************/ 9211 9212 extern(C) xcb_get_image_reply_t * 9213 xcb_get_image_reply (xcb_connection_t *c /**< */, 9214 xcb_get_image_cookie_t cookie /**< */, 9215 xcb_generic_error_t **e /**< */); 9216 9217 9218 /***************************************************************************** 9219 ** 9220 ** xcb_void_cookie_t xcb_poly_text_8_checked 9221 ** 9222 ** @param xcb_connection_t *c 9223 ** @param xcb_drawable_t drawable 9224 ** @param xcb_gcontext_t gc 9225 ** @param short x 9226 ** @param short y 9227 ** @param uint items_len 9228 ** @param /+const+/ ubyte *items 9229 ** @returns xcb_void_cookie_t 9230 ** 9231 *****************************************************************************/ 9232 9233 extern(C) xcb_void_cookie_t 9234 xcb_poly_text_8_checked (xcb_connection_t *c /**< */, 9235 xcb_drawable_t drawable /**< */, 9236 xcb_gcontext_t gc /**< */, 9237 short x /**< */, 9238 short y /**< */, 9239 uint items_len /**< */, 9240 /+const+/ ubyte *items /**< */); 9241 9242 9243 /***************************************************************************** 9244 ** 9245 ** xcb_void_cookie_t xcb_poly_text_8 9246 ** 9247 ** @param xcb_connection_t *c 9248 ** @param xcb_drawable_t drawable 9249 ** @param xcb_gcontext_t gc 9250 ** @param short x 9251 ** @param short y 9252 ** @param uint items_len 9253 ** @param /+const+/ ubyte *items 9254 ** @returns xcb_void_cookie_t 9255 ** 9256 *****************************************************************************/ 9257 9258 extern(C) xcb_void_cookie_t 9259 xcb_poly_text_8 (xcb_connection_t *c /**< */, 9260 xcb_drawable_t drawable /**< */, 9261 xcb_gcontext_t gc /**< */, 9262 short x /**< */, 9263 short y /**< */, 9264 uint items_len /**< */, 9265 /+const+/ ubyte *items /**< */); 9266 9267 9268 /***************************************************************************** 9269 ** 9270 ** xcb_void_cookie_t xcb_poly_text_16_checked 9271 ** 9272 ** @param xcb_connection_t *c 9273 ** @param xcb_drawable_t drawable 9274 ** @param xcb_gcontext_t gc 9275 ** @param short x 9276 ** @param short y 9277 ** @param uint items_len 9278 ** @param /+const+/ ubyte *items 9279 ** @returns xcb_void_cookie_t 9280 ** 9281 *****************************************************************************/ 9282 9283 extern(C) xcb_void_cookie_t 9284 xcb_poly_text_16_checked (xcb_connection_t *c /**< */, 9285 xcb_drawable_t drawable /**< */, 9286 xcb_gcontext_t gc /**< */, 9287 short x /**< */, 9288 short y /**< */, 9289 uint items_len /**< */, 9290 /+const+/ ubyte *items /**< */); 9291 9292 9293 /***************************************************************************** 9294 ** 9295 ** xcb_void_cookie_t xcb_poly_text_16 9296 ** 9297 ** @param xcb_connection_t *c 9298 ** @param xcb_drawable_t drawable 9299 ** @param xcb_gcontext_t gc 9300 ** @param short x 9301 ** @param short y 9302 ** @param uint items_len 9303 ** @param /+const+/ ubyte *items 9304 ** @returns xcb_void_cookie_t 9305 ** 9306 *****************************************************************************/ 9307 9308 extern(C) xcb_void_cookie_t 9309 xcb_poly_text_16 (xcb_connection_t *c /**< */, 9310 xcb_drawable_t drawable /**< */, 9311 xcb_gcontext_t gc /**< */, 9312 short x /**< */, 9313 short y /**< */, 9314 uint items_len /**< */, 9315 /+const+/ ubyte *items /**< */); 9316 9317 9318 /***************************************************************************** 9319 ** 9320 ** xcb_void_cookie_t xcb_image_text_8_checked 9321 ** 9322 ** @param xcb_connection_t *c 9323 ** @param ubyte string_len 9324 ** @param xcb_drawable_t drawable 9325 ** @param xcb_gcontext_t gc 9326 ** @param short x 9327 ** @param short y 9328 ** @param /+const+/ char *string 9329 ** @returns xcb_void_cookie_t 9330 ** 9331 *****************************************************************************/ 9332 9333 extern(C) xcb_void_cookie_t 9334 xcb_image_text_8_checked (xcb_connection_t *c /**< */, 9335 ubyte string_len /**< */, 9336 xcb_drawable_t drawable /**< */, 9337 xcb_gcontext_t gc /**< */, 9338 short x /**< */, 9339 short y /**< */, 9340 /+const+/ char *string /**< */); 9341 9342 9343 /***************************************************************************** 9344 ** 9345 ** xcb_void_cookie_t xcb_image_text_8 9346 ** 9347 ** @param xcb_connection_t *c 9348 ** @param ubyte string_len 9349 ** @param xcb_drawable_t drawable 9350 ** @param xcb_gcontext_t gc 9351 ** @param short x 9352 ** @param short y 9353 ** @param /+const+/ char *string 9354 ** @returns xcb_void_cookie_t 9355 ** 9356 *****************************************************************************/ 9357 9358 extern(C) xcb_void_cookie_t 9359 xcb_image_text_8 (xcb_connection_t *c /**< */, 9360 ubyte string_len /**< */, 9361 xcb_drawable_t drawable /**< */, 9362 xcb_gcontext_t gc /**< */, 9363 short x /**< */, 9364 short y /**< */, 9365 /+const+/ char *string /**< */); 9366 9367 9368 /***************************************************************************** 9369 ** 9370 ** xcb_void_cookie_t xcb_image_text_16_checked 9371 ** 9372 ** @param xcb_connection_t *c 9373 ** @param ubyte string_len 9374 ** @param xcb_drawable_t drawable 9375 ** @param xcb_gcontext_t gc 9376 ** @param short x 9377 ** @param short y 9378 ** @param /+const+/ xcb_char2b_t *string 9379 ** @returns xcb_void_cookie_t 9380 ** 9381 *****************************************************************************/ 9382 9383 extern(C) xcb_void_cookie_t 9384 xcb_image_text_16_checked (xcb_connection_t *c /**< */, 9385 ubyte string_len /**< */, 9386 xcb_drawable_t drawable /**< */, 9387 xcb_gcontext_t gc /**< */, 9388 short x /**< */, 9389 short y /**< */, 9390 /+const+/ xcb_char2b_t *string /**< */); 9391 9392 9393 /***************************************************************************** 9394 ** 9395 ** xcb_void_cookie_t xcb_image_text_16 9396 ** 9397 ** @param xcb_connection_t *c 9398 ** @param ubyte string_len 9399 ** @param xcb_drawable_t drawable 9400 ** @param xcb_gcontext_t gc 9401 ** @param short x 9402 ** @param short y 9403 ** @param /+const+/ xcb_char2b_t *string 9404 ** @returns xcb_void_cookie_t 9405 ** 9406 *****************************************************************************/ 9407 9408 extern(C) xcb_void_cookie_t 9409 xcb_image_text_16 (xcb_connection_t *c /**< */, 9410 ubyte string_len /**< */, 9411 xcb_drawable_t drawable /**< */, 9412 xcb_gcontext_t gc /**< */, 9413 short x /**< */, 9414 short y /**< */, 9415 /+const+/ xcb_char2b_t *string /**< */); 9416 9417 9418 /***************************************************************************** 9419 ** 9420 ** xcb_void_cookie_t xcb_create_colormap_checked 9421 ** 9422 ** @param xcb_connection_t *c 9423 ** @param ubyte alloc 9424 ** @param xcb_colormap_t mid 9425 ** @param xcb_window_t window 9426 ** @param xcb_visualid_t visual 9427 ** @returns xcb_void_cookie_t 9428 ** 9429 *****************************************************************************/ 9430 9431 extern(C) xcb_void_cookie_t 9432 xcb_create_colormap_checked (xcb_connection_t *c /**< */, 9433 ubyte alloc /**< */, 9434 xcb_colormap_t mid /**< */, 9435 xcb_window_t window /**< */, 9436 xcb_visualid_t visual /**< */); 9437 9438 9439 /***************************************************************************** 9440 ** 9441 ** xcb_void_cookie_t xcb_create_colormap 9442 ** 9443 ** @param xcb_connection_t *c 9444 ** @param ubyte alloc 9445 ** @param xcb_colormap_t mid 9446 ** @param xcb_window_t window 9447 ** @param xcb_visualid_t visual 9448 ** @returns xcb_void_cookie_t 9449 ** 9450 *****************************************************************************/ 9451 9452 extern(C) xcb_void_cookie_t 9453 xcb_create_colormap (xcb_connection_t *c /**< */, 9454 ubyte alloc /**< */, 9455 xcb_colormap_t mid /**< */, 9456 xcb_window_t window /**< */, 9457 xcb_visualid_t visual /**< */); 9458 9459 9460 /***************************************************************************** 9461 ** 9462 ** xcb_void_cookie_t xcb_free_colormap_checked 9463 ** 9464 ** @param xcb_connection_t *c 9465 ** @param xcb_colormap_t cmap 9466 ** @returns xcb_void_cookie_t 9467 ** 9468 *****************************************************************************/ 9469 9470 extern(C) xcb_void_cookie_t 9471 xcb_free_colormap_checked (xcb_connection_t *c /**< */, 9472 xcb_colormap_t cmap /**< */); 9473 9474 9475 /***************************************************************************** 9476 ** 9477 ** xcb_void_cookie_t xcb_free_colormap 9478 ** 9479 ** @param xcb_connection_t *c 9480 ** @param xcb_colormap_t cmap 9481 ** @returns xcb_void_cookie_t 9482 ** 9483 *****************************************************************************/ 9484 9485 extern(C) xcb_void_cookie_t 9486 xcb_free_colormap (xcb_connection_t *c /**< */, 9487 xcb_colormap_t cmap /**< */); 9488 9489 9490 /***************************************************************************** 9491 ** 9492 ** xcb_void_cookie_t xcb_copy_colormap_and_free_checked 9493 ** 9494 ** @param xcb_connection_t *c 9495 ** @param xcb_colormap_t mid 9496 ** @param xcb_colormap_t src_cmap 9497 ** @returns xcb_void_cookie_t 9498 ** 9499 *****************************************************************************/ 9500 9501 extern(C) xcb_void_cookie_t 9502 xcb_copy_colormap_and_free_checked (xcb_connection_t *c /**< */, 9503 xcb_colormap_t mid /**< */, 9504 xcb_colormap_t src_cmap /**< */); 9505 9506 9507 /***************************************************************************** 9508 ** 9509 ** xcb_void_cookie_t xcb_copy_colormap_and_free 9510 ** 9511 ** @param xcb_connection_t *c 9512 ** @param xcb_colormap_t mid 9513 ** @param xcb_colormap_t src_cmap 9514 ** @returns xcb_void_cookie_t 9515 ** 9516 *****************************************************************************/ 9517 9518 extern(C) xcb_void_cookie_t 9519 xcb_copy_colormap_and_free (xcb_connection_t *c /**< */, 9520 xcb_colormap_t mid /**< */, 9521 xcb_colormap_t src_cmap /**< */); 9522 9523 9524 /***************************************************************************** 9525 ** 9526 ** xcb_void_cookie_t xcb_install_colormap_checked 9527 ** 9528 ** @param xcb_connection_t *c 9529 ** @param xcb_colormap_t cmap 9530 ** @returns xcb_void_cookie_t 9531 ** 9532 *****************************************************************************/ 9533 9534 extern(C) xcb_void_cookie_t 9535 xcb_install_colormap_checked (xcb_connection_t *c /**< */, 9536 xcb_colormap_t cmap /**< */); 9537 9538 9539 /***************************************************************************** 9540 ** 9541 ** xcb_void_cookie_t xcb_install_colormap 9542 ** 9543 ** @param xcb_connection_t *c 9544 ** @param xcb_colormap_t cmap 9545 ** @returns xcb_void_cookie_t 9546 ** 9547 *****************************************************************************/ 9548 9549 extern(C) xcb_void_cookie_t 9550 xcb_install_colormap (xcb_connection_t *c /**< */, 9551 xcb_colormap_t cmap /**< */); 9552 9553 9554 /***************************************************************************** 9555 ** 9556 ** xcb_void_cookie_t xcb_uninstall_colormap_checked 9557 ** 9558 ** @param xcb_connection_t *c 9559 ** @param xcb_colormap_t cmap 9560 ** @returns xcb_void_cookie_t 9561 ** 9562 *****************************************************************************/ 9563 9564 extern(C) xcb_void_cookie_t 9565 xcb_uninstall_colormap_checked (xcb_connection_t *c /**< */, 9566 xcb_colormap_t cmap /**< */); 9567 9568 9569 /***************************************************************************** 9570 ** 9571 ** xcb_void_cookie_t xcb_uninstall_colormap 9572 ** 9573 ** @param xcb_connection_t *c 9574 ** @param xcb_colormap_t cmap 9575 ** @returns xcb_void_cookie_t 9576 ** 9577 *****************************************************************************/ 9578 9579 extern(C) xcb_void_cookie_t 9580 xcb_uninstall_colormap (xcb_connection_t *c /**< */, 9581 xcb_colormap_t cmap /**< */); 9582 9583 9584 /***************************************************************************** 9585 ** 9586 ** xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps 9587 ** 9588 ** @param xcb_connection_t *c 9589 ** @param xcb_window_t window 9590 ** @returns xcb_list_installed_colormaps_cookie_t 9591 ** 9592 *****************************************************************************/ 9593 9594 extern(C) xcb_list_installed_colormaps_cookie_t 9595 xcb_list_installed_colormaps (xcb_connection_t *c /**< */, 9596 xcb_window_t window /**< */); 9597 9598 9599 /***************************************************************************** 9600 ** 9601 ** xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps_unchecked 9602 ** 9603 ** @param xcb_connection_t *c 9604 ** @param xcb_window_t window 9605 ** @returns xcb_list_installed_colormaps_cookie_t 9606 ** 9607 *****************************************************************************/ 9608 9609 extern(C) xcb_list_installed_colormaps_cookie_t 9610 xcb_list_installed_colormaps_unchecked (xcb_connection_t *c /**< */, 9611 xcb_window_t window /**< */); 9612 9613 9614 /***************************************************************************** 9615 ** 9616 ** xcb_colormap_t * xcb_list_installed_colormaps_cmaps 9617 ** 9618 ** @param /+const+/ xcb_list_installed_colormaps_reply_t *R 9619 ** @returns xcb_colormap_t * 9620 ** 9621 *****************************************************************************/ 9622 9623 extern(C) xcb_colormap_t * 9624 xcb_list_installed_colormaps_cmaps (/+const+/ xcb_list_installed_colormaps_reply_t *R /**< */); 9625 9626 9627 /***************************************************************************** 9628 ** 9629 ** int xcb_list_installed_colormaps_cmaps_length 9630 ** 9631 ** @param /+const+/ xcb_list_installed_colormaps_reply_t *R 9632 ** @returns int 9633 ** 9634 *****************************************************************************/ 9635 9636 extern(C) int 9637 xcb_list_installed_colormaps_cmaps_length (/+const+/ xcb_list_installed_colormaps_reply_t *R /**< */); 9638 9639 9640 /***************************************************************************** 9641 ** 9642 ** xcb_colormap_iterator_t xcb_list_installed_colormaps_cmaps_iterator 9643 ** 9644 ** @param /+const+/ xcb_list_installed_colormaps_reply_t *R 9645 ** @returns xcb_colormap_iterator_t 9646 ** 9647 *****************************************************************************/ 9648 9649 extern(C) xcb_colormap_iterator_t 9650 xcb_list_installed_colormaps_cmaps_iterator (/+const+/ xcb_list_installed_colormaps_reply_t *R /**< */); 9651 9652 9653 /***************************************************************************** 9654 ** 9655 ** xcb_list_installed_colormaps_reply_t * xcb_list_installed_colormaps_reply 9656 ** 9657 ** @param xcb_connection_t *c 9658 ** @param xcb_list_installed_colormaps_cookie_t cookie 9659 ** @param xcb_generic_error_t **e 9660 ** @returns xcb_list_installed_colormaps_reply_t * 9661 ** 9662 *****************************************************************************/ 9663 9664 extern(C) xcb_list_installed_colormaps_reply_t * 9665 xcb_list_installed_colormaps_reply (xcb_connection_t *c /**< */, 9666 xcb_list_installed_colormaps_cookie_t cookie /**< */, 9667 xcb_generic_error_t **e /**< */); 9668 9669 9670 /***************************************************************************** 9671 ** 9672 ** xcb_alloc_color_cookie_t xcb_alloc_color 9673 ** 9674 ** @param xcb_connection_t *c 9675 ** @param xcb_colormap_t cmap 9676 ** @param ushort red 9677 ** @param ushort green 9678 ** @param ushort blue 9679 ** @returns xcb_alloc_color_cookie_t 9680 ** 9681 *****************************************************************************/ 9682 9683 extern(C) xcb_alloc_color_cookie_t 9684 xcb_alloc_color (xcb_connection_t *c /**< */, 9685 xcb_colormap_t cmap /**< */, 9686 ushort red /**< */, 9687 ushort green /**< */, 9688 ushort blue /**< */); 9689 9690 9691 /***************************************************************************** 9692 ** 9693 ** xcb_alloc_color_cookie_t xcb_alloc_color_unchecked 9694 ** 9695 ** @param xcb_connection_t *c 9696 ** @param xcb_colormap_t cmap 9697 ** @param ushort red 9698 ** @param ushort green 9699 ** @param ushort blue 9700 ** @returns xcb_alloc_color_cookie_t 9701 ** 9702 *****************************************************************************/ 9703 9704 extern(C) xcb_alloc_color_cookie_t 9705 xcb_alloc_color_unchecked (xcb_connection_t *c /**< */, 9706 xcb_colormap_t cmap /**< */, 9707 ushort red /**< */, 9708 ushort green /**< */, 9709 ushort blue /**< */); 9710 9711 9712 /***************************************************************************** 9713 ** 9714 ** xcb_alloc_color_reply_t * xcb_alloc_color_reply 9715 ** 9716 ** @param xcb_connection_t *c 9717 ** @param xcb_alloc_color_cookie_t cookie 9718 ** @param xcb_generic_error_t **e 9719 ** @returns xcb_alloc_color_reply_t * 9720 ** 9721 *****************************************************************************/ 9722 9723 extern(C) xcb_alloc_color_reply_t * 9724 xcb_alloc_color_reply (xcb_connection_t *c /**< */, 9725 xcb_alloc_color_cookie_t cookie /**< */, 9726 xcb_generic_error_t **e /**< */); 9727 9728 9729 /***************************************************************************** 9730 ** 9731 ** xcb_alloc_named_color_cookie_t xcb_alloc_named_color 9732 ** 9733 ** @param xcb_connection_t *c 9734 ** @param xcb_colormap_t cmap 9735 ** @param ushort name_len 9736 ** @param /+const+/ char *name 9737 ** @returns xcb_alloc_named_color_cookie_t 9738 ** 9739 *****************************************************************************/ 9740 9741 extern(C) xcb_alloc_named_color_cookie_t 9742 xcb_alloc_named_color (xcb_connection_t *c /**< */, 9743 xcb_colormap_t cmap /**< */, 9744 ushort name_len /**< */, 9745 /+const+/ char *name /**< */); 9746 9747 9748 /***************************************************************************** 9749 ** 9750 ** xcb_alloc_named_color_cookie_t xcb_alloc_named_color_unchecked 9751 ** 9752 ** @param xcb_connection_t *c 9753 ** @param xcb_colormap_t cmap 9754 ** @param ushort name_len 9755 ** @param /+const+/ char *name 9756 ** @returns xcb_alloc_named_color_cookie_t 9757 ** 9758 *****************************************************************************/ 9759 9760 extern(C) xcb_alloc_named_color_cookie_t 9761 xcb_alloc_named_color_unchecked (xcb_connection_t *c /**< */, 9762 xcb_colormap_t cmap /**< */, 9763 ushort name_len /**< */, 9764 /+const+/ char *name /**< */); 9765 9766 9767 /***************************************************************************** 9768 ** 9769 ** xcb_alloc_named_color_reply_t * xcb_alloc_named_color_reply 9770 ** 9771 ** @param xcb_connection_t *c 9772 ** @param xcb_alloc_named_color_cookie_t cookie 9773 ** @param xcb_generic_error_t **e 9774 ** @returns xcb_alloc_named_color_reply_t * 9775 ** 9776 *****************************************************************************/ 9777 9778 extern(C) xcb_alloc_named_color_reply_t * 9779 xcb_alloc_named_color_reply (xcb_connection_t *c /**< */, 9780 xcb_alloc_named_color_cookie_t cookie /**< */, 9781 xcb_generic_error_t **e /**< */); 9782 9783 9784 /***************************************************************************** 9785 ** 9786 ** xcb_alloc_color_cells_cookie_t xcb_alloc_color_cells 9787 ** 9788 ** @param xcb_connection_t *c 9789 ** @param bool contiguous 9790 ** @param xcb_colormap_t cmap 9791 ** @param ushort colors 9792 ** @param ushort planes 9793 ** @returns xcb_alloc_color_cells_cookie_t 9794 ** 9795 *****************************************************************************/ 9796 9797 extern(C) xcb_alloc_color_cells_cookie_t 9798 xcb_alloc_color_cells (xcb_connection_t *c /**< */, 9799 bool contiguous /**< */, 9800 xcb_colormap_t cmap /**< */, 9801 ushort colors /**< */, 9802 ushort planes /**< */); 9803 9804 9805 /***************************************************************************** 9806 ** 9807 ** xcb_alloc_color_cells_cookie_t xcb_alloc_color_cells_unchecked 9808 ** 9809 ** @param xcb_connection_t *c 9810 ** @param bool contiguous 9811 ** @param xcb_colormap_t cmap 9812 ** @param ushort colors 9813 ** @param ushort planes 9814 ** @returns xcb_alloc_color_cells_cookie_t 9815 ** 9816 *****************************************************************************/ 9817 9818 extern(C) xcb_alloc_color_cells_cookie_t 9819 xcb_alloc_color_cells_unchecked (xcb_connection_t *c /**< */, 9820 bool contiguous /**< */, 9821 xcb_colormap_t cmap /**< */, 9822 ushort colors /**< */, 9823 ushort planes /**< */); 9824 9825 9826 /***************************************************************************** 9827 ** 9828 ** uint * xcb_alloc_color_cells_pixels 9829 ** 9830 ** @param /+const+/ xcb_alloc_color_cells_reply_t *R 9831 ** @returns uint * 9832 ** 9833 *****************************************************************************/ 9834 9835 extern(C) uint * 9836 xcb_alloc_color_cells_pixels (/+const+/ xcb_alloc_color_cells_reply_t *R /**< */); 9837 9838 9839 /***************************************************************************** 9840 ** 9841 ** int xcb_alloc_color_cells_pixels_length 9842 ** 9843 ** @param /+const+/ xcb_alloc_color_cells_reply_t *R 9844 ** @returns int 9845 ** 9846 *****************************************************************************/ 9847 9848 extern(C) int 9849 xcb_alloc_color_cells_pixels_length (/+const+/ xcb_alloc_color_cells_reply_t *R /**< */); 9850 9851 9852 /***************************************************************************** 9853 ** 9854 ** xcb_generic_iterator_t xcb_alloc_color_cells_pixels_end 9855 ** 9856 ** @param /+const+/ xcb_alloc_color_cells_reply_t *R 9857 ** @returns xcb_generic_iterator_t 9858 ** 9859 *****************************************************************************/ 9860 9861 extern(C) xcb_generic_iterator_t 9862 xcb_alloc_color_cells_pixels_end (/+const+/ xcb_alloc_color_cells_reply_t *R /**< */); 9863 9864 9865 /***************************************************************************** 9866 ** 9867 ** uint * xcb_alloc_color_cells_masks 9868 ** 9869 ** @param /+const+/ xcb_alloc_color_cells_reply_t *R 9870 ** @returns uint * 9871 ** 9872 *****************************************************************************/ 9873 9874 extern(C) uint * 9875 xcb_alloc_color_cells_masks (/+const+/ xcb_alloc_color_cells_reply_t *R /**< */); 9876 9877 9878 /***************************************************************************** 9879 ** 9880 ** int xcb_alloc_color_cells_masks_length 9881 ** 9882 ** @param /+const+/ xcb_alloc_color_cells_reply_t *R 9883 ** @returns int 9884 ** 9885 *****************************************************************************/ 9886 9887 extern(C) int 9888 xcb_alloc_color_cells_masks_length (/+const+/ xcb_alloc_color_cells_reply_t *R /**< */); 9889 9890 9891 /***************************************************************************** 9892 ** 9893 ** xcb_generic_iterator_t xcb_alloc_color_cells_masks_end 9894 ** 9895 ** @param /+const+/ xcb_alloc_color_cells_reply_t *R 9896 ** @returns xcb_generic_iterator_t 9897 ** 9898 *****************************************************************************/ 9899 9900 extern(C) xcb_generic_iterator_t 9901 xcb_alloc_color_cells_masks_end (/+const+/ xcb_alloc_color_cells_reply_t *R /**< */); 9902 9903 9904 /***************************************************************************** 9905 ** 9906 ** xcb_alloc_color_cells_reply_t * xcb_alloc_color_cells_reply 9907 ** 9908 ** @param xcb_connection_t *c 9909 ** @param xcb_alloc_color_cells_cookie_t cookie 9910 ** @param xcb_generic_error_t **e 9911 ** @returns xcb_alloc_color_cells_reply_t * 9912 ** 9913 *****************************************************************************/ 9914 9915 extern(C) xcb_alloc_color_cells_reply_t * 9916 xcb_alloc_color_cells_reply (xcb_connection_t *c /**< */, 9917 xcb_alloc_color_cells_cookie_t cookie /**< */, 9918 xcb_generic_error_t **e /**< */); 9919 9920 9921 /***************************************************************************** 9922 ** 9923 ** xcb_alloc_color_planes_cookie_t xcb_alloc_color_planes 9924 ** 9925 ** @param xcb_connection_t *c 9926 ** @param bool contiguous 9927 ** @param xcb_colormap_t cmap 9928 ** @param ushort colors 9929 ** @param ushort reds 9930 ** @param ushort greens 9931 ** @param ushort blues 9932 ** @returns xcb_alloc_color_planes_cookie_t 9933 ** 9934 *****************************************************************************/ 9935 9936 extern(C) xcb_alloc_color_planes_cookie_t 9937 xcb_alloc_color_planes (xcb_connection_t *c /**< */, 9938 bool contiguous /**< */, 9939 xcb_colormap_t cmap /**< */, 9940 ushort colors /**< */, 9941 ushort reds /**< */, 9942 ushort greens /**< */, 9943 ushort blues /**< */); 9944 9945 9946 /***************************************************************************** 9947 ** 9948 ** xcb_alloc_color_planes_cookie_t xcb_alloc_color_planes_unchecked 9949 ** 9950 ** @param xcb_connection_t *c 9951 ** @param bool contiguous 9952 ** @param xcb_colormap_t cmap 9953 ** @param ushort colors 9954 ** @param ushort reds 9955 ** @param ushort greens 9956 ** @param ushort blues 9957 ** @returns xcb_alloc_color_planes_cookie_t 9958 ** 9959 *****************************************************************************/ 9960 9961 extern(C) xcb_alloc_color_planes_cookie_t 9962 xcb_alloc_color_planes_unchecked (xcb_connection_t *c /**< */, 9963 bool contiguous /**< */, 9964 xcb_colormap_t cmap /**< */, 9965 ushort colors /**< */, 9966 ushort reds /**< */, 9967 ushort greens /**< */, 9968 ushort blues /**< */); 9969 9970 9971 /***************************************************************************** 9972 ** 9973 ** uint * xcb_alloc_color_planes_pixels 9974 ** 9975 ** @param /+const+/ xcb_alloc_color_planes_reply_t *R 9976 ** @returns uint * 9977 ** 9978 *****************************************************************************/ 9979 9980 extern(C) uint * 9981 xcb_alloc_color_planes_pixels (/+const+/ xcb_alloc_color_planes_reply_t *R /**< */); 9982 9983 9984 /***************************************************************************** 9985 ** 9986 ** int xcb_alloc_color_planes_pixels_length 9987 ** 9988 ** @param /+const+/ xcb_alloc_color_planes_reply_t *R 9989 ** @returns int 9990 ** 9991 *****************************************************************************/ 9992 9993 extern(C) int 9994 xcb_alloc_color_planes_pixels_length (/+const+/ xcb_alloc_color_planes_reply_t *R /**< */); 9995 9996 9997 /***************************************************************************** 9998 ** 9999 ** xcb_generic_iterator_t xcb_alloc_color_planes_pixels_end 10000 ** 10001 ** @param /+const+/ xcb_alloc_color_planes_reply_t *R 10002 ** @returns xcb_generic_iterator_t 10003 ** 10004 *****************************************************************************/ 10005 10006 extern(C) xcb_generic_iterator_t 10007 xcb_alloc_color_planes_pixels_end (/+const+/ xcb_alloc_color_planes_reply_t *R /**< */); 10008 10009 10010 /***************************************************************************** 10011 ** 10012 ** xcb_alloc_color_planes_reply_t * xcb_alloc_color_planes_reply 10013 ** 10014 ** @param xcb_connection_t *c 10015 ** @param xcb_alloc_color_planes_cookie_t cookie 10016 ** @param xcb_generic_error_t **e 10017 ** @returns xcb_alloc_color_planes_reply_t * 10018 ** 10019 *****************************************************************************/ 10020 10021 extern(C) xcb_alloc_color_planes_reply_t * 10022 xcb_alloc_color_planes_reply (xcb_connection_t *c /**< */, 10023 xcb_alloc_color_planes_cookie_t cookie /**< */, 10024 xcb_generic_error_t **e /**< */); 10025 10026 10027 /***************************************************************************** 10028 ** 10029 ** xcb_void_cookie_t xcb_free_colors_checked 10030 ** 10031 ** @param xcb_connection_t *c 10032 ** @param xcb_colormap_t cmap 10033 ** @param uint plane_mask 10034 ** @param uint pixels_len 10035 ** @param /+const+/ uint *pixels 10036 ** @returns xcb_void_cookie_t 10037 ** 10038 *****************************************************************************/ 10039 10040 extern(C) xcb_void_cookie_t 10041 xcb_free_colors_checked (xcb_connection_t *c /**< */, 10042 xcb_colormap_t cmap /**< */, 10043 uint plane_mask /**< */, 10044 uint pixels_len /**< */, 10045 /+const+/ uint *pixels /**< */); 10046 10047 10048 /***************************************************************************** 10049 ** 10050 ** xcb_void_cookie_t xcb_free_colors 10051 ** 10052 ** @param xcb_connection_t *c 10053 ** @param xcb_colormap_t cmap 10054 ** @param uint plane_mask 10055 ** @param uint pixels_len 10056 ** @param /+const+/ uint *pixels 10057 ** @returns xcb_void_cookie_t 10058 ** 10059 *****************************************************************************/ 10060 10061 extern(C) xcb_void_cookie_t 10062 xcb_free_colors (xcb_connection_t *c /**< */, 10063 xcb_colormap_t cmap /**< */, 10064 uint plane_mask /**< */, 10065 uint pixels_len /**< */, 10066 /+const+/ uint *pixels /**< */); 10067 10068 10069 /***************************************************************************** 10070 ** 10071 ** void xcb_coloritem_next 10072 ** 10073 ** @param xcb_coloritem_iterator_t *i 10074 ** @returns void 10075 ** 10076 *****************************************************************************/ 10077 10078 extern(C) void 10079 xcb_coloritem_next (xcb_coloritem_iterator_t *i /**< */); 10080 10081 10082 /***************************************************************************** 10083 ** 10084 ** xcb_generic_iterator_t xcb_coloritem_end 10085 ** 10086 ** @param xcb_coloritem_iterator_t i 10087 ** @returns xcb_generic_iterator_t 10088 ** 10089 *****************************************************************************/ 10090 10091 extern(C) xcb_generic_iterator_t 10092 xcb_coloritem_end (xcb_coloritem_iterator_t i /**< */); 10093 10094 10095 /***************************************************************************** 10096 ** 10097 ** xcb_void_cookie_t xcb_store_colors_checked 10098 ** 10099 ** @param xcb_connection_t *c 10100 ** @param xcb_colormap_t cmap 10101 ** @param uint items_len 10102 ** @param /+const+/ xcb_coloritem_t *items 10103 ** @returns xcb_void_cookie_t 10104 ** 10105 *****************************************************************************/ 10106 10107 extern(C) xcb_void_cookie_t 10108 xcb_store_colors_checked (xcb_connection_t *c /**< */, 10109 xcb_colormap_t cmap /**< */, 10110 uint items_len /**< */, 10111 /+const+/ xcb_coloritem_t *items /**< */); 10112 10113 10114 /***************************************************************************** 10115 ** 10116 ** xcb_void_cookie_t xcb_store_colors 10117 ** 10118 ** @param xcb_connection_t *c 10119 ** @param xcb_colormap_t cmap 10120 ** @param uint items_len 10121 ** @param /+const+/ xcb_coloritem_t *items 10122 ** @returns xcb_void_cookie_t 10123 ** 10124 *****************************************************************************/ 10125 10126 extern(C) xcb_void_cookie_t 10127 xcb_store_colors (xcb_connection_t *c /**< */, 10128 xcb_colormap_t cmap /**< */, 10129 uint items_len /**< */, 10130 /+const+/ xcb_coloritem_t *items /**< */); 10131 10132 10133 /***************************************************************************** 10134 ** 10135 ** xcb_void_cookie_t xcb_store_named_color_checked 10136 ** 10137 ** @param xcb_connection_t *c 10138 ** @param ubyte flags 10139 ** @param xcb_colormap_t cmap 10140 ** @param uint pixel 10141 ** @param ushort name_len 10142 ** @param /+const+/ char *name 10143 ** @returns xcb_void_cookie_t 10144 ** 10145 *****************************************************************************/ 10146 10147 extern(C) xcb_void_cookie_t 10148 xcb_store_named_color_checked (xcb_connection_t *c /**< */, 10149 ubyte flags /**< */, 10150 xcb_colormap_t cmap /**< */, 10151 uint pixel /**< */, 10152 ushort name_len /**< */, 10153 /+const+/ char *name /**< */); 10154 10155 10156 /***************************************************************************** 10157 ** 10158 ** xcb_void_cookie_t xcb_store_named_color 10159 ** 10160 ** @param xcb_connection_t *c 10161 ** @param ubyte flags 10162 ** @param xcb_colormap_t cmap 10163 ** @param uint pixel 10164 ** @param ushort name_len 10165 ** @param /+const+/ char *name 10166 ** @returns xcb_void_cookie_t 10167 ** 10168 *****************************************************************************/ 10169 10170 extern(C) xcb_void_cookie_t 10171 xcb_store_named_color (xcb_connection_t *c /**< */, 10172 ubyte flags /**< */, 10173 xcb_colormap_t cmap /**< */, 10174 uint pixel /**< */, 10175 ushort name_len /**< */, 10176 /+const+/ char *name /**< */); 10177 10178 10179 /***************************************************************************** 10180 ** 10181 ** void xcb_rgb_next 10182 ** 10183 ** @param xcb_rgb_iterator_t *i 10184 ** @returns void 10185 ** 10186 *****************************************************************************/ 10187 10188 extern(C) void 10189 xcb_rgb_next (xcb_rgb_iterator_t *i /**< */); 10190 10191 10192 /***************************************************************************** 10193 ** 10194 ** xcb_generic_iterator_t xcb_rgb_end 10195 ** 10196 ** @param xcb_rgb_iterator_t i 10197 ** @returns xcb_generic_iterator_t 10198 ** 10199 *****************************************************************************/ 10200 10201 extern(C) xcb_generic_iterator_t 10202 xcb_rgb_end (xcb_rgb_iterator_t i /**< */); 10203 10204 10205 /***************************************************************************** 10206 ** 10207 ** xcb_query_colors_cookie_t xcb_query_colors 10208 ** 10209 ** @param xcb_connection_t *c 10210 ** @param xcb_colormap_t cmap 10211 ** @param uint pixels_len 10212 ** @param /+const+/ uint *pixels 10213 ** @returns xcb_query_colors_cookie_t 10214 ** 10215 *****************************************************************************/ 10216 10217 extern(C) xcb_query_colors_cookie_t 10218 xcb_query_colors (xcb_connection_t *c /**< */, 10219 xcb_colormap_t cmap /**< */, 10220 uint pixels_len /**< */, 10221 /+const+/ uint *pixels /**< */); 10222 10223 10224 /***************************************************************************** 10225 ** 10226 ** xcb_query_colors_cookie_t xcb_query_colors_unchecked 10227 ** 10228 ** @param xcb_connection_t *c 10229 ** @param xcb_colormap_t cmap 10230 ** @param uint pixels_len 10231 ** @param /+const+/ uint *pixels 10232 ** @returns xcb_query_colors_cookie_t 10233 ** 10234 *****************************************************************************/ 10235 10236 extern(C) xcb_query_colors_cookie_t 10237 xcb_query_colors_unchecked (xcb_connection_t *c /**< */, 10238 xcb_colormap_t cmap /**< */, 10239 uint pixels_len /**< */, 10240 /+const+/ uint *pixels /**< */); 10241 10242 10243 /***************************************************************************** 10244 ** 10245 ** xcb_rgb_t * xcb_query_colors_colors 10246 ** 10247 ** @param /+const+/ xcb_query_colors_reply_t *R 10248 ** @returns xcb_rgb_t * 10249 ** 10250 *****************************************************************************/ 10251 10252 extern(C) xcb_rgb_t * 10253 xcb_query_colors_colors (/+const+/ xcb_query_colors_reply_t *R /**< */); 10254 10255 10256 /***************************************************************************** 10257 ** 10258 ** int xcb_query_colors_colors_length 10259 ** 10260 ** @param /+const+/ xcb_query_colors_reply_t *R 10261 ** @returns int 10262 ** 10263 *****************************************************************************/ 10264 10265 extern(C) int 10266 xcb_query_colors_colors_length (/+const+/ xcb_query_colors_reply_t *R /**< */); 10267 10268 10269 /***************************************************************************** 10270 ** 10271 ** xcb_rgb_iterator_t xcb_query_colors_colors_iterator 10272 ** 10273 ** @param /+const+/ xcb_query_colors_reply_t *R 10274 ** @returns xcb_rgb_iterator_t 10275 ** 10276 *****************************************************************************/ 10277 10278 extern(C) xcb_rgb_iterator_t 10279 xcb_query_colors_colors_iterator (/+const+/ xcb_query_colors_reply_t *R /**< */); 10280 10281 10282 /***************************************************************************** 10283 ** 10284 ** xcb_query_colors_reply_t * xcb_query_colors_reply 10285 ** 10286 ** @param xcb_connection_t *c 10287 ** @param xcb_query_colors_cookie_t cookie 10288 ** @param xcb_generic_error_t **e 10289 ** @returns xcb_query_colors_reply_t * 10290 ** 10291 *****************************************************************************/ 10292 10293 extern(C) xcb_query_colors_reply_t * 10294 xcb_query_colors_reply (xcb_connection_t *c /**< */, 10295 xcb_query_colors_cookie_t cookie /**< */, 10296 xcb_generic_error_t **e /**< */); 10297 10298 10299 /***************************************************************************** 10300 ** 10301 ** xcb_lookup_color_cookie_t xcb_lookup_color 10302 ** 10303 ** @param xcb_connection_t *c 10304 ** @param xcb_colormap_t cmap 10305 ** @param ushort name_len 10306 ** @param /+const+/ char *name 10307 ** @returns xcb_lookup_color_cookie_t 10308 ** 10309 *****************************************************************************/ 10310 10311 extern(C) xcb_lookup_color_cookie_t 10312 xcb_lookup_color (xcb_connection_t *c /**< */, 10313 xcb_colormap_t cmap /**< */, 10314 ushort name_len /**< */, 10315 /+const+/ char *name /**< */); 10316 10317 10318 /***************************************************************************** 10319 ** 10320 ** xcb_lookup_color_cookie_t xcb_lookup_color_unchecked 10321 ** 10322 ** @param xcb_connection_t *c 10323 ** @param xcb_colormap_t cmap 10324 ** @param ushort name_len 10325 ** @param /+const+/ char *name 10326 ** @returns xcb_lookup_color_cookie_t 10327 ** 10328 *****************************************************************************/ 10329 10330 extern(C) xcb_lookup_color_cookie_t 10331 xcb_lookup_color_unchecked (xcb_connection_t *c /**< */, 10332 xcb_colormap_t cmap /**< */, 10333 ushort name_len /**< */, 10334 /+const+/ char *name /**< */); 10335 10336 10337 /***************************************************************************** 10338 ** 10339 ** xcb_lookup_color_reply_t * xcb_lookup_color_reply 10340 ** 10341 ** @param xcb_connection_t *c 10342 ** @param xcb_lookup_color_cookie_t cookie 10343 ** @param xcb_generic_error_t **e 10344 ** @returns xcb_lookup_color_reply_t * 10345 ** 10346 *****************************************************************************/ 10347 10348 extern(C) xcb_lookup_color_reply_t * 10349 xcb_lookup_color_reply (xcb_connection_t *c /**< */, 10350 xcb_lookup_color_cookie_t cookie /**< */, 10351 xcb_generic_error_t **e /**< */); 10352 10353 10354 /***************************************************************************** 10355 ** 10356 ** xcb_void_cookie_t xcb_create_cursor_checked 10357 ** 10358 ** @param xcb_connection_t *c 10359 ** @param xcb_cursor_t cid 10360 ** @param xcb_pixmap_t source 10361 ** @param xcb_pixmap_t mask 10362 ** @param ushort fore_red 10363 ** @param ushort fore_green 10364 ** @param ushort fore_blue 10365 ** @param ushort back_red 10366 ** @param ushort back_green 10367 ** @param ushort back_blue 10368 ** @param ushort x 10369 ** @param ushort y 10370 ** @returns xcb_void_cookie_t 10371 ** 10372 *****************************************************************************/ 10373 10374 extern(C) xcb_void_cookie_t 10375 xcb_create_cursor_checked (xcb_connection_t *c /**< */, 10376 xcb_cursor_t cid /**< */, 10377 xcb_pixmap_t source /**< */, 10378 xcb_pixmap_t mask /**< */, 10379 ushort fore_red /**< */, 10380 ushort fore_green /**< */, 10381 ushort fore_blue /**< */, 10382 ushort back_red /**< */, 10383 ushort back_green /**< */, 10384 ushort back_blue /**< */, 10385 ushort x /**< */, 10386 ushort y /**< */); 10387 10388 10389 /***************************************************************************** 10390 ** 10391 ** xcb_void_cookie_t xcb_create_cursor 10392 ** 10393 ** @param xcb_connection_t *c 10394 ** @param xcb_cursor_t cid 10395 ** @param xcb_pixmap_t source 10396 ** @param xcb_pixmap_t mask 10397 ** @param ushort fore_red 10398 ** @param ushort fore_green 10399 ** @param ushort fore_blue 10400 ** @param ushort back_red 10401 ** @param ushort back_green 10402 ** @param ushort back_blue 10403 ** @param ushort x 10404 ** @param ushort y 10405 ** @returns xcb_void_cookie_t 10406 ** 10407 *****************************************************************************/ 10408 10409 extern(C) xcb_void_cookie_t 10410 xcb_create_cursor (xcb_connection_t *c /**< */, 10411 xcb_cursor_t cid /**< */, 10412 xcb_pixmap_t source /**< */, 10413 xcb_pixmap_t mask /**< */, 10414 ushort fore_red /**< */, 10415 ushort fore_green /**< */, 10416 ushort fore_blue /**< */, 10417 ushort back_red /**< */, 10418 ushort back_green /**< */, 10419 ushort back_blue /**< */, 10420 ushort x /**< */, 10421 ushort y /**< */); 10422 10423 10424 /***************************************************************************** 10425 ** 10426 ** xcb_void_cookie_t xcb_create_glyph_cursor_checked 10427 ** 10428 ** @param xcb_connection_t *c 10429 ** @param xcb_cursor_t cid 10430 ** @param xcb_font_t source_font 10431 ** @param xcb_font_t mask_font 10432 ** @param ushort source_char 10433 ** @param ushort mask_char 10434 ** @param ushort fore_red 10435 ** @param ushort fore_green 10436 ** @param ushort fore_blue 10437 ** @param ushort back_red 10438 ** @param ushort back_green 10439 ** @param ushort back_blue 10440 ** @returns xcb_void_cookie_t 10441 ** 10442 *****************************************************************************/ 10443 10444 extern(C) xcb_void_cookie_t 10445 xcb_create_glyph_cursor_checked (xcb_connection_t *c /**< */, 10446 xcb_cursor_t cid /**< */, 10447 xcb_font_t source_font /**< */, 10448 xcb_font_t mask_font /**< */, 10449 ushort source_char /**< */, 10450 ushort mask_char /**< */, 10451 ushort fore_red /**< */, 10452 ushort fore_green /**< */, 10453 ushort fore_blue /**< */, 10454 ushort back_red /**< */, 10455 ushort back_green /**< */, 10456 ushort back_blue /**< */); 10457 10458 10459 /***************************************************************************** 10460 ** 10461 ** xcb_void_cookie_t xcb_create_glyph_cursor 10462 ** 10463 ** @param xcb_connection_t *c 10464 ** @param xcb_cursor_t cid 10465 ** @param xcb_font_t source_font 10466 ** @param xcb_font_t mask_font 10467 ** @param ushort source_char 10468 ** @param ushort mask_char 10469 ** @param ushort fore_red 10470 ** @param ushort fore_green 10471 ** @param ushort fore_blue 10472 ** @param ushort back_red 10473 ** @param ushort back_green 10474 ** @param ushort back_blue 10475 ** @returns xcb_void_cookie_t 10476 ** 10477 *****************************************************************************/ 10478 10479 extern(C) xcb_void_cookie_t 10480 xcb_create_glyph_cursor (xcb_connection_t *c /**< */, 10481 xcb_cursor_t cid /**< */, 10482 xcb_font_t source_font /**< */, 10483 xcb_font_t mask_font /**< */, 10484 ushort source_char /**< */, 10485 ushort mask_char /**< */, 10486 ushort fore_red /**< */, 10487 ushort fore_green /**< */, 10488 ushort fore_blue /**< */, 10489 ushort back_red /**< */, 10490 ushort back_green /**< */, 10491 ushort back_blue /**< */); 10492 10493 10494 /***************************************************************************** 10495 ** 10496 ** xcb_void_cookie_t xcb_free_cursor_checked 10497 ** 10498 ** @param xcb_connection_t *c 10499 ** @param xcb_cursor_t cursor 10500 ** @returns xcb_void_cookie_t 10501 ** 10502 *****************************************************************************/ 10503 10504 extern(C) xcb_void_cookie_t 10505 xcb_free_cursor_checked (xcb_connection_t *c /**< */, 10506 xcb_cursor_t cursor /**< */); 10507 10508 10509 /***************************************************************************** 10510 ** 10511 ** xcb_void_cookie_t xcb_free_cursor 10512 ** 10513 ** @param xcb_connection_t *c 10514 ** @param xcb_cursor_t cursor 10515 ** @returns xcb_void_cookie_t 10516 ** 10517 *****************************************************************************/ 10518 10519 extern(C) xcb_void_cookie_t 10520 xcb_free_cursor (xcb_connection_t *c /**< */, 10521 xcb_cursor_t cursor /**< */); 10522 10523 10524 /***************************************************************************** 10525 ** 10526 ** xcb_void_cookie_t xcb_recolor_cursor_checked 10527 ** 10528 ** @param xcb_connection_t *c 10529 ** @param xcb_cursor_t cursor 10530 ** @param ushort fore_red 10531 ** @param ushort fore_green 10532 ** @param ushort fore_blue 10533 ** @param ushort back_red 10534 ** @param ushort back_green 10535 ** @param ushort back_blue 10536 ** @returns xcb_void_cookie_t 10537 ** 10538 *****************************************************************************/ 10539 10540 extern(C) xcb_void_cookie_t 10541 xcb_recolor_cursor_checked (xcb_connection_t *c /**< */, 10542 xcb_cursor_t cursor /**< */, 10543 ushort fore_red /**< */, 10544 ushort fore_green /**< */, 10545 ushort fore_blue /**< */, 10546 ushort back_red /**< */, 10547 ushort back_green /**< */, 10548 ushort back_blue /**< */); 10549 10550 10551 /***************************************************************************** 10552 ** 10553 ** xcb_void_cookie_t xcb_recolor_cursor 10554 ** 10555 ** @param xcb_connection_t *c 10556 ** @param xcb_cursor_t cursor 10557 ** @param ushort fore_red 10558 ** @param ushort fore_green 10559 ** @param ushort fore_blue 10560 ** @param ushort back_red 10561 ** @param ushort back_green 10562 ** @param ushort back_blue 10563 ** @returns xcb_void_cookie_t 10564 ** 10565 *****************************************************************************/ 10566 10567 extern(C) xcb_void_cookie_t 10568 xcb_recolor_cursor (xcb_connection_t *c /**< */, 10569 xcb_cursor_t cursor /**< */, 10570 ushort fore_red /**< */, 10571 ushort fore_green /**< */, 10572 ushort fore_blue /**< */, 10573 ushort back_red /**< */, 10574 ushort back_green /**< */, 10575 ushort back_blue /**< */); 10576 10577 10578 /***************************************************************************** 10579 ** 10580 ** xcb_query_best_size_cookie_t xcb_query_best_size 10581 ** 10582 ** @param xcb_connection_t *c 10583 ** @param ubyte _class 10584 ** @param xcb_drawable_t drawable 10585 ** @param ushort width 10586 ** @param ushort height 10587 ** @returns xcb_query_best_size_cookie_t 10588 ** 10589 *****************************************************************************/ 10590 10591 extern(C) xcb_query_best_size_cookie_t 10592 xcb_query_best_size (xcb_connection_t *c /**< */, 10593 ubyte _class /**< */, 10594 xcb_drawable_t drawable /**< */, 10595 ushort width /**< */, 10596 ushort height /**< */); 10597 10598 10599 /***************************************************************************** 10600 ** 10601 ** xcb_query_best_size_cookie_t xcb_query_best_size_unchecked 10602 ** 10603 ** @param xcb_connection_t *c 10604 ** @param ubyte _class 10605 ** @param xcb_drawable_t drawable 10606 ** @param ushort width 10607 ** @param ushort height 10608 ** @returns xcb_query_best_size_cookie_t 10609 ** 10610 *****************************************************************************/ 10611 10612 extern(C) xcb_query_best_size_cookie_t 10613 xcb_query_best_size_unchecked (xcb_connection_t *c /**< */, 10614 ubyte _class /**< */, 10615 xcb_drawable_t drawable /**< */, 10616 ushort width /**< */, 10617 ushort height /**< */); 10618 10619 10620 /***************************************************************************** 10621 ** 10622 ** xcb_query_best_size_reply_t * xcb_query_best_size_reply 10623 ** 10624 ** @param xcb_connection_t *c 10625 ** @param xcb_query_best_size_cookie_t cookie 10626 ** @param xcb_generic_error_t **e 10627 ** @returns xcb_query_best_size_reply_t * 10628 ** 10629 *****************************************************************************/ 10630 10631 extern(C) xcb_query_best_size_reply_t * 10632 xcb_query_best_size_reply (xcb_connection_t *c /**< */, 10633 xcb_query_best_size_cookie_t cookie /**< */, 10634 xcb_generic_error_t **e /**< */); 10635 10636 10637 /***************************************************************************** 10638 ** 10639 ** xcb_query_extension_cookie_t xcb_query_extension 10640 ** 10641 ** @param xcb_connection_t *c 10642 ** @param ushort name_len 10643 ** @param /+const+/ char *name 10644 ** @returns xcb_query_extension_cookie_t 10645 ** 10646 *****************************************************************************/ 10647 10648 extern(C) xcb_query_extension_cookie_t 10649 xcb_query_extension (xcb_connection_t *c /**< */, 10650 ushort name_len /**< */, 10651 /+const+/ char *name /**< */); 10652 10653 10654 /***************************************************************************** 10655 ** 10656 ** xcb_query_extension_cookie_t xcb_query_extension_unchecked 10657 ** 10658 ** @param xcb_connection_t *c 10659 ** @param ushort name_len 10660 ** @param /+const+/ char *name 10661 ** @returns xcb_query_extension_cookie_t 10662 ** 10663 *****************************************************************************/ 10664 10665 extern(C) xcb_query_extension_cookie_t 10666 xcb_query_extension_unchecked (xcb_connection_t *c /**< */, 10667 ushort name_len /**< */, 10668 /+const+/ char *name /**< */); 10669 10670 10671 /***************************************************************************** 10672 ** 10673 ** xcb_query_extension_reply_t * xcb_query_extension_reply 10674 ** 10675 ** @param xcb_connection_t *c 10676 ** @param xcb_query_extension_cookie_t cookie 10677 ** @param xcb_generic_error_t **e 10678 ** @returns xcb_query_extension_reply_t * 10679 ** 10680 *****************************************************************************/ 10681 10682 extern(C) xcb_query_extension_reply_t * 10683 xcb_query_extension_reply (xcb_connection_t *c /**< */, 10684 xcb_query_extension_cookie_t cookie /**< */, 10685 xcb_generic_error_t **e /**< */); 10686 10687 10688 /***************************************************************************** 10689 ** 10690 ** xcb_list_extensions_cookie_t xcb_list_extensions 10691 ** 10692 ** @param xcb_connection_t *c 10693 ** @returns xcb_list_extensions_cookie_t 10694 ** 10695 *****************************************************************************/ 10696 10697 extern(C) xcb_list_extensions_cookie_t 10698 xcb_list_extensions (xcb_connection_t *c /**< */); 10699 10700 10701 /***************************************************************************** 10702 ** 10703 ** xcb_list_extensions_cookie_t xcb_list_extensions_unchecked 10704 ** 10705 ** @param xcb_connection_t *c 10706 ** @returns xcb_list_extensions_cookie_t 10707 ** 10708 *****************************************************************************/ 10709 10710 extern(C) xcb_list_extensions_cookie_t 10711 xcb_list_extensions_unchecked (xcb_connection_t *c /**< */); 10712 10713 10714 /***************************************************************************** 10715 ** 10716 ** int xcb_list_extensions_names_length 10717 ** 10718 ** @param /+const+/ xcb_list_extensions_reply_t *R 10719 ** @returns int 10720 ** 10721 *****************************************************************************/ 10722 10723 extern(C) int 10724 xcb_list_extensions_names_length (/+const+/ xcb_list_extensions_reply_t *R /**< */); 10725 10726 10727 /***************************************************************************** 10728 ** 10729 ** xcb_str_iterator_t xcb_list_extensions_names_iterator 10730 ** 10731 ** @param /+const+/ xcb_list_extensions_reply_t *R 10732 ** @returns xcb_str_iterator_t 10733 ** 10734 *****************************************************************************/ 10735 10736 extern(C) xcb_str_iterator_t 10737 xcb_list_extensions_names_iterator (/+const+/ xcb_list_extensions_reply_t *R /**< */); 10738 10739 10740 /***************************************************************************** 10741 ** 10742 ** xcb_list_extensions_reply_t * xcb_list_extensions_reply 10743 ** 10744 ** @param xcb_connection_t *c 10745 ** @param xcb_list_extensions_cookie_t cookie 10746 ** @param xcb_generic_error_t **e 10747 ** @returns xcb_list_extensions_reply_t * 10748 ** 10749 *****************************************************************************/ 10750 10751 extern(C) xcb_list_extensions_reply_t * 10752 xcb_list_extensions_reply (xcb_connection_t *c /**< */, 10753 xcb_list_extensions_cookie_t cookie /**< */, 10754 xcb_generic_error_t **e /**< */); 10755 10756 10757 /***************************************************************************** 10758 ** 10759 ** xcb_void_cookie_t xcb_change_keyboard_mapping_checked 10760 ** 10761 ** @param xcb_connection_t *c 10762 ** @param ubyte keycode_count 10763 ** @param xcb_keycode_t first_keycode 10764 ** @param ubyte keysyms_per_keycode 10765 ** @param /+const+/ xcb_keysym_t *keysyms 10766 ** @returns xcb_void_cookie_t 10767 ** 10768 *****************************************************************************/ 10769 10770 extern(C) xcb_void_cookie_t 10771 xcb_change_keyboard_mapping_checked (xcb_connection_t *c /**< */, 10772 ubyte keycode_count /**< */, 10773 xcb_keycode_t first_keycode /**< */, 10774 ubyte keysyms_per_keycode /**< */, 10775 /+const+/ xcb_keysym_t *keysyms /**< */); 10776 10777 10778 /***************************************************************************** 10779 ** 10780 ** xcb_void_cookie_t xcb_change_keyboard_mapping 10781 ** 10782 ** @param xcb_connection_t *c 10783 ** @param ubyte keycode_count 10784 ** @param xcb_keycode_t first_keycode 10785 ** @param ubyte keysyms_per_keycode 10786 ** @param /+const+/ xcb_keysym_t *keysyms 10787 ** @returns xcb_void_cookie_t 10788 ** 10789 *****************************************************************************/ 10790 10791 extern(C) xcb_void_cookie_t 10792 xcb_change_keyboard_mapping (xcb_connection_t *c /**< */, 10793 ubyte keycode_count /**< */, 10794 xcb_keycode_t first_keycode /**< */, 10795 ubyte keysyms_per_keycode /**< */, 10796 /+const+/ xcb_keysym_t *keysyms /**< */); 10797 10798 10799 /***************************************************************************** 10800 ** 10801 ** xcb_get_keyboard_mapping_cookie_t xcb_get_keyboard_mapping 10802 ** 10803 ** @param xcb_connection_t *c 10804 ** @param xcb_keycode_t first_keycode 10805 ** @param ubyte count 10806 ** @returns xcb_get_keyboard_mapping_cookie_t 10807 ** 10808 *****************************************************************************/ 10809 10810 extern(C) xcb_get_keyboard_mapping_cookie_t 10811 xcb_get_keyboard_mapping (xcb_connection_t *c /**< */, 10812 xcb_keycode_t first_keycode /**< */, 10813 ubyte count /**< */); 10814 10815 10816 /***************************************************************************** 10817 ** 10818 ** xcb_get_keyboard_mapping_cookie_t xcb_get_keyboard_mapping_unchecked 10819 ** 10820 ** @param xcb_connection_t *c 10821 ** @param xcb_keycode_t first_keycode 10822 ** @param ubyte count 10823 ** @returns xcb_get_keyboard_mapping_cookie_t 10824 ** 10825 *****************************************************************************/ 10826 10827 extern(C) xcb_get_keyboard_mapping_cookie_t 10828 xcb_get_keyboard_mapping_unchecked (xcb_connection_t *c /**< */, 10829 xcb_keycode_t first_keycode /**< */, 10830 ubyte count /**< */); 10831 10832 10833 /***************************************************************************** 10834 ** 10835 ** xcb_keysym_t * xcb_get_keyboard_mapping_keysyms 10836 ** 10837 ** @param /+const+/ xcb_get_keyboard_mapping_reply_t *R 10838 ** @returns xcb_keysym_t * 10839 ** 10840 *****************************************************************************/ 10841 10842 extern(C) xcb_keysym_t * 10843 xcb_get_keyboard_mapping_keysyms (/+const+/ xcb_get_keyboard_mapping_reply_t *R /**< */); 10844 10845 10846 /***************************************************************************** 10847 ** 10848 ** int xcb_get_keyboard_mapping_keysyms_length 10849 ** 10850 ** @param /+const+/ xcb_get_keyboard_mapping_reply_t *R 10851 ** @returns int 10852 ** 10853 *****************************************************************************/ 10854 10855 extern(C) int 10856 xcb_get_keyboard_mapping_keysyms_length (/+const+/ xcb_get_keyboard_mapping_reply_t *R /**< */); 10857 10858 10859 /***************************************************************************** 10860 ** 10861 ** xcb_keysym_iterator_t xcb_get_keyboard_mapping_keysyms_iterator 10862 ** 10863 ** @param /+const+/ xcb_get_keyboard_mapping_reply_t *R 10864 ** @returns xcb_keysym_iterator_t 10865 ** 10866 *****************************************************************************/ 10867 10868 extern(C) xcb_keysym_iterator_t 10869 xcb_get_keyboard_mapping_keysyms_iterator (/+const+/ xcb_get_keyboard_mapping_reply_t *R /**< */); 10870 10871 10872 /***************************************************************************** 10873 ** 10874 ** xcb_get_keyboard_mapping_reply_t * xcb_get_keyboard_mapping_reply 10875 ** 10876 ** @param xcb_connection_t *c 10877 ** @param xcb_get_keyboard_mapping_cookie_t cookie 10878 ** @param xcb_generic_error_t **e 10879 ** @returns xcb_get_keyboard_mapping_reply_t * 10880 ** 10881 *****************************************************************************/ 10882 10883 extern(C) xcb_get_keyboard_mapping_reply_t * 10884 xcb_get_keyboard_mapping_reply (xcb_connection_t *c /**< */, 10885 xcb_get_keyboard_mapping_cookie_t cookie /**< */, 10886 xcb_generic_error_t **e /**< */); 10887 10888 10889 /***************************************************************************** 10890 ** 10891 ** xcb_void_cookie_t xcb_change_keyboard_control_checked 10892 ** 10893 ** @param xcb_connection_t *c 10894 ** @param uint value_mask 10895 ** @param /+const+/ uint *value_list 10896 ** @returns xcb_void_cookie_t 10897 ** 10898 *****************************************************************************/ 10899 10900 extern(C) xcb_void_cookie_t 10901 xcb_change_keyboard_control_checked (xcb_connection_t *c /**< */, 10902 uint value_mask /**< */, 10903 /+const+/ uint *value_list /**< */); 10904 10905 10906 /***************************************************************************** 10907 ** 10908 ** xcb_void_cookie_t xcb_change_keyboard_control 10909 ** 10910 ** @param xcb_connection_t *c 10911 ** @param uint value_mask 10912 ** @param /+const+/ uint *value_list 10913 ** @returns xcb_void_cookie_t 10914 ** 10915 *****************************************************************************/ 10916 10917 extern(C) xcb_void_cookie_t 10918 xcb_change_keyboard_control (xcb_connection_t *c /**< */, 10919 uint value_mask /**< */, 10920 /+const+/ uint *value_list /**< */); 10921 10922 10923 /***************************************************************************** 10924 ** 10925 ** xcb_get_keyboard_control_cookie_t xcb_get_keyboard_control 10926 ** 10927 ** @param xcb_connection_t *c 10928 ** @returns xcb_get_keyboard_control_cookie_t 10929 ** 10930 *****************************************************************************/ 10931 10932 extern(C) xcb_get_keyboard_control_cookie_t 10933 xcb_get_keyboard_control (xcb_connection_t *c /**< */); 10934 10935 10936 /***************************************************************************** 10937 ** 10938 ** xcb_get_keyboard_control_cookie_t xcb_get_keyboard_control_unchecked 10939 ** 10940 ** @param xcb_connection_t *c 10941 ** @returns xcb_get_keyboard_control_cookie_t 10942 ** 10943 *****************************************************************************/ 10944 10945 extern(C) xcb_get_keyboard_control_cookie_t 10946 xcb_get_keyboard_control_unchecked (xcb_connection_t *c /**< */); 10947 10948 10949 /***************************************************************************** 10950 ** 10951 ** xcb_get_keyboard_control_reply_t * xcb_get_keyboard_control_reply 10952 ** 10953 ** @param xcb_connection_t *c 10954 ** @param xcb_get_keyboard_control_cookie_t cookie 10955 ** @param xcb_generic_error_t **e 10956 ** @returns xcb_get_keyboard_control_reply_t * 10957 ** 10958 *****************************************************************************/ 10959 10960 extern(C) xcb_get_keyboard_control_reply_t * 10961 xcb_get_keyboard_control_reply (xcb_connection_t *c /**< */, 10962 xcb_get_keyboard_control_cookie_t cookie /**< */, 10963 xcb_generic_error_t **e /**< */); 10964 10965 10966 /***************************************************************************** 10967 ** 10968 ** xcb_void_cookie_t xcb_bell_checked 10969 ** 10970 ** @param xcb_connection_t *c 10971 ** @param byte percent 10972 ** @returns xcb_void_cookie_t 10973 ** 10974 *****************************************************************************/ 10975 10976 extern(C) xcb_void_cookie_t 10977 xcb_bell_checked (xcb_connection_t *c /**< */, 10978 byte percent /**< */); 10979 10980 10981 /***************************************************************************** 10982 ** 10983 ** xcb_void_cookie_t xcb_bell 10984 ** 10985 ** @param xcb_connection_t *c 10986 ** @param byte percent 10987 ** @returns xcb_void_cookie_t 10988 ** 10989 *****************************************************************************/ 10990 10991 extern(C) xcb_void_cookie_t 10992 xcb_bell (xcb_connection_t *c /**< */, 10993 byte percent /**< */); 10994 10995 10996 /***************************************************************************** 10997 ** 10998 ** xcb_void_cookie_t xcb_change_pointer_control_checked 10999 ** 11000 ** @param xcb_connection_t *c 11001 ** @param short acceleration_numerator 11002 ** @param short acceleration_denominator 11003 ** @param short threshold 11004 ** @param bool do_acceleration 11005 ** @param bool do_threshold 11006 ** @returns xcb_void_cookie_t 11007 ** 11008 *****************************************************************************/ 11009 11010 extern(C) xcb_void_cookie_t 11011 xcb_change_pointer_control_checked (xcb_connection_t *c /**< */, 11012 short acceleration_numerator /**< */, 11013 short acceleration_denominator /**< */, 11014 short threshold /**< */, 11015 bool do_acceleration /**< */, 11016 bool do_threshold /**< */); 11017 11018 11019 /***************************************************************************** 11020 ** 11021 ** xcb_void_cookie_t xcb_change_pointer_control 11022 ** 11023 ** @param xcb_connection_t *c 11024 ** @param short acceleration_numerator 11025 ** @param short acceleration_denominator 11026 ** @param short threshold 11027 ** @param bool do_acceleration 11028 ** @param bool do_threshold 11029 ** @returns xcb_void_cookie_t 11030 ** 11031 *****************************************************************************/ 11032 11033 extern(C) xcb_void_cookie_t 11034 xcb_change_pointer_control (xcb_connection_t *c /**< */, 11035 short acceleration_numerator /**< */, 11036 short acceleration_denominator /**< */, 11037 short threshold /**< */, 11038 bool do_acceleration /**< */, 11039 bool do_threshold /**< */); 11040 11041 11042 /***************************************************************************** 11043 ** 11044 ** xcb_get_pointer_control_cookie_t xcb_get_pointer_control 11045 ** 11046 ** @param xcb_connection_t *c 11047 ** @returns xcb_get_pointer_control_cookie_t 11048 ** 11049 *****************************************************************************/ 11050 11051 extern(C) xcb_get_pointer_control_cookie_t 11052 xcb_get_pointer_control (xcb_connection_t *c /**< */); 11053 11054 11055 /***************************************************************************** 11056 ** 11057 ** xcb_get_pointer_control_cookie_t xcb_get_pointer_control_unchecked 11058 ** 11059 ** @param xcb_connection_t *c 11060 ** @returns xcb_get_pointer_control_cookie_t 11061 ** 11062 *****************************************************************************/ 11063 11064 extern(C) xcb_get_pointer_control_cookie_t 11065 xcb_get_pointer_control_unchecked (xcb_connection_t *c /**< */); 11066 11067 11068 /***************************************************************************** 11069 ** 11070 ** xcb_get_pointer_control_reply_t * xcb_get_pointer_control_reply 11071 ** 11072 ** @param xcb_connection_t *c 11073 ** @param xcb_get_pointer_control_cookie_t cookie 11074 ** @param xcb_generic_error_t **e 11075 ** @returns xcb_get_pointer_control_reply_t * 11076 ** 11077 *****************************************************************************/ 11078 11079 extern(C) xcb_get_pointer_control_reply_t * 11080 xcb_get_pointer_control_reply (xcb_connection_t *c /**< */, 11081 xcb_get_pointer_control_cookie_t cookie /**< */, 11082 xcb_generic_error_t **e /**< */); 11083 11084 11085 /***************************************************************************** 11086 ** 11087 ** xcb_void_cookie_t xcb_set_screen_saver_checked 11088 ** 11089 ** @param xcb_connection_t *c 11090 ** @param short timeout 11091 ** @param short interval 11092 ** @param ubyte prefer_blanking 11093 ** @param ubyte allow_exposures 11094 ** @returns xcb_void_cookie_t 11095 ** 11096 *****************************************************************************/ 11097 11098 extern(C) xcb_void_cookie_t 11099 xcb_set_screen_saver_checked (xcb_connection_t *c /**< */, 11100 short timeout /**< */, 11101 short interval /**< */, 11102 ubyte prefer_blanking /**< */, 11103 ubyte allow_exposures /**< */); 11104 11105 11106 /***************************************************************************** 11107 ** 11108 ** xcb_void_cookie_t xcb_set_screen_saver 11109 ** 11110 ** @param xcb_connection_t *c 11111 ** @param short timeout 11112 ** @param short interval 11113 ** @param ubyte prefer_blanking 11114 ** @param ubyte allow_exposures 11115 ** @returns xcb_void_cookie_t 11116 ** 11117 *****************************************************************************/ 11118 11119 extern(C) xcb_void_cookie_t 11120 xcb_set_screen_saver (xcb_connection_t *c /**< */, 11121 short timeout /**< */, 11122 short interval /**< */, 11123 ubyte prefer_blanking /**< */, 11124 ubyte allow_exposures /**< */); 11125 11126 11127 /***************************************************************************** 11128 ** 11129 ** xcb_get_screen_saver_cookie_t xcb_get_screen_saver 11130 ** 11131 ** @param xcb_connection_t *c 11132 ** @returns xcb_get_screen_saver_cookie_t 11133 ** 11134 *****************************************************************************/ 11135 11136 extern(C) xcb_get_screen_saver_cookie_t 11137 xcb_get_screen_saver (xcb_connection_t *c /**< */); 11138 11139 11140 /***************************************************************************** 11141 ** 11142 ** xcb_get_screen_saver_cookie_t xcb_get_screen_saver_unchecked 11143 ** 11144 ** @param xcb_connection_t *c 11145 ** @returns xcb_get_screen_saver_cookie_t 11146 ** 11147 *****************************************************************************/ 11148 11149 extern(C) xcb_get_screen_saver_cookie_t 11150 xcb_get_screen_saver_unchecked (xcb_connection_t *c /**< */); 11151 11152 11153 /***************************************************************************** 11154 ** 11155 ** xcb_get_screen_saver_reply_t * xcb_get_screen_saver_reply 11156 ** 11157 ** @param xcb_connection_t *c 11158 ** @param xcb_get_screen_saver_cookie_t cookie 11159 ** @param xcb_generic_error_t **e 11160 ** @returns xcb_get_screen_saver_reply_t * 11161 ** 11162 *****************************************************************************/ 11163 11164 extern(C) xcb_get_screen_saver_reply_t * 11165 xcb_get_screen_saver_reply (xcb_connection_t *c /**< */, 11166 xcb_get_screen_saver_cookie_t cookie /**< */, 11167 xcb_generic_error_t **e /**< */); 11168 11169 11170 /***************************************************************************** 11171 ** 11172 ** xcb_void_cookie_t xcb_change_hosts_checked 11173 ** 11174 ** @param xcb_connection_t *c 11175 ** @param ubyte mode 11176 ** @param ubyte family 11177 ** @param ushort address_len 11178 ** @param /+const+/ char *address 11179 ** @returns xcb_void_cookie_t 11180 ** 11181 *****************************************************************************/ 11182 11183 extern(C) xcb_void_cookie_t 11184 xcb_change_hosts_checked (xcb_connection_t *c /**< */, 11185 ubyte mode /**< */, 11186 ubyte family /**< */, 11187 ushort address_len /**< */, 11188 /+const+/ char *address /**< */); 11189 11190 11191 /***************************************************************************** 11192 ** 11193 ** xcb_void_cookie_t xcb_change_hosts 11194 ** 11195 ** @param xcb_connection_t *c 11196 ** @param ubyte mode 11197 ** @param ubyte family 11198 ** @param ushort address_len 11199 ** @param /+const+/ char *address 11200 ** @returns xcb_void_cookie_t 11201 ** 11202 *****************************************************************************/ 11203 11204 extern(C) xcb_void_cookie_t 11205 xcb_change_hosts (xcb_connection_t *c /**< */, 11206 ubyte mode /**< */, 11207 ubyte family /**< */, 11208 ushort address_len /**< */, 11209 /+const+/ char *address /**< */); 11210 11211 11212 /***************************************************************************** 11213 ** 11214 ** ubyte * xcb_host_address 11215 ** 11216 ** @param /+const+/ xcb_host_t *R 11217 ** @returns ubyte * 11218 ** 11219 *****************************************************************************/ 11220 11221 extern(C) ubyte * 11222 xcb_host_address (/+const+/ xcb_host_t *R /**< */); 11223 11224 11225 /***************************************************************************** 11226 ** 11227 ** int xcb_host_address_length 11228 ** 11229 ** @param /+const+/ xcb_host_t *R 11230 ** @returns int 11231 ** 11232 *****************************************************************************/ 11233 11234 extern(C) int 11235 xcb_host_address_length (/+const+/ xcb_host_t *R /**< */); 11236 11237 11238 /***************************************************************************** 11239 ** 11240 ** xcb_generic_iterator_t xcb_host_address_end 11241 ** 11242 ** @param /+const+/ xcb_host_t *R 11243 ** @returns xcb_generic_iterator_t 11244 ** 11245 *****************************************************************************/ 11246 11247 extern(C) xcb_generic_iterator_t 11248 xcb_host_address_end (/+const+/ xcb_host_t *R /**< */); 11249 11250 11251 /***************************************************************************** 11252 ** 11253 ** void xcb_host_next 11254 ** 11255 ** @param xcb_host_iterator_t *i 11256 ** @returns void 11257 ** 11258 *****************************************************************************/ 11259 11260 extern(C) void 11261 xcb_host_next (xcb_host_iterator_t *i /**< */); 11262 11263 11264 /***************************************************************************** 11265 ** 11266 ** xcb_generic_iterator_t xcb_host_end 11267 ** 11268 ** @param xcb_host_iterator_t i 11269 ** @returns xcb_generic_iterator_t 11270 ** 11271 *****************************************************************************/ 11272 11273 extern(C) xcb_generic_iterator_t 11274 xcb_host_end (xcb_host_iterator_t i /**< */); 11275 11276 11277 /***************************************************************************** 11278 ** 11279 ** xcb_list_hosts_cookie_t xcb_list_hosts 11280 ** 11281 ** @param xcb_connection_t *c 11282 ** @returns xcb_list_hosts_cookie_t 11283 ** 11284 *****************************************************************************/ 11285 11286 extern(C) xcb_list_hosts_cookie_t 11287 xcb_list_hosts (xcb_connection_t *c /**< */); 11288 11289 11290 /***************************************************************************** 11291 ** 11292 ** xcb_list_hosts_cookie_t xcb_list_hosts_unchecked 11293 ** 11294 ** @param xcb_connection_t *c 11295 ** @returns xcb_list_hosts_cookie_t 11296 ** 11297 *****************************************************************************/ 11298 11299 extern(C) xcb_list_hosts_cookie_t 11300 xcb_list_hosts_unchecked (xcb_connection_t *c /**< */); 11301 11302 11303 /***************************************************************************** 11304 ** 11305 ** int xcb_list_hosts_hosts_length 11306 ** 11307 ** @param /+const+/ xcb_list_hosts_reply_t *R 11308 ** @returns int 11309 ** 11310 *****************************************************************************/ 11311 11312 extern(C) int 11313 xcb_list_hosts_hosts_length (/+const+/ xcb_list_hosts_reply_t *R /**< */); 11314 11315 11316 /***************************************************************************** 11317 ** 11318 ** xcb_host_iterator_t xcb_list_hosts_hosts_iterator 11319 ** 11320 ** @param /+const+/ xcb_list_hosts_reply_t *R 11321 ** @returns xcb_host_iterator_t 11322 ** 11323 *****************************************************************************/ 11324 11325 extern(C) xcb_host_iterator_t 11326 xcb_list_hosts_hosts_iterator (/+const+/ xcb_list_hosts_reply_t *R /**< */); 11327 11328 11329 /***************************************************************************** 11330 ** 11331 ** xcb_list_hosts_reply_t * xcb_list_hosts_reply 11332 ** 11333 ** @param xcb_connection_t *c 11334 ** @param xcb_list_hosts_cookie_t cookie 11335 ** @param xcb_generic_error_t **e 11336 ** @returns xcb_list_hosts_reply_t * 11337 ** 11338 *****************************************************************************/ 11339 11340 extern(C) xcb_list_hosts_reply_t * 11341 xcb_list_hosts_reply (xcb_connection_t *c /**< */, 11342 xcb_list_hosts_cookie_t cookie /**< */, 11343 xcb_generic_error_t **e /**< */); 11344 11345 11346 /***************************************************************************** 11347 ** 11348 ** xcb_void_cookie_t xcb_set_access_control_checked 11349 ** 11350 ** @param xcb_connection_t *c 11351 ** @param ubyte mode 11352 ** @returns xcb_void_cookie_t 11353 ** 11354 *****************************************************************************/ 11355 11356 extern(C) xcb_void_cookie_t 11357 xcb_set_access_control_checked (xcb_connection_t *c /**< */, 11358 ubyte mode /**< */); 11359 11360 11361 /***************************************************************************** 11362 ** 11363 ** xcb_void_cookie_t xcb_set_access_control 11364 ** 11365 ** @param xcb_connection_t *c 11366 ** @param ubyte mode 11367 ** @returns xcb_void_cookie_t 11368 ** 11369 *****************************************************************************/ 11370 11371 extern(C) xcb_void_cookie_t 11372 xcb_set_access_control (xcb_connection_t *c /**< */, 11373 ubyte mode /**< */); 11374 11375 11376 /***************************************************************************** 11377 ** 11378 ** xcb_void_cookie_t xcb_set_close_down_mode_checked 11379 ** 11380 ** @param xcb_connection_t *c 11381 ** @param ubyte mode 11382 ** @returns xcb_void_cookie_t 11383 ** 11384 *****************************************************************************/ 11385 11386 extern(C) xcb_void_cookie_t 11387 xcb_set_close_down_mode_checked (xcb_connection_t *c /**< */, 11388 ubyte mode /**< */); 11389 11390 11391 /***************************************************************************** 11392 ** 11393 ** xcb_void_cookie_t xcb_set_close_down_mode 11394 ** 11395 ** @param xcb_connection_t *c 11396 ** @param ubyte mode 11397 ** @returns xcb_void_cookie_t 11398 ** 11399 *****************************************************************************/ 11400 11401 extern(C) xcb_void_cookie_t 11402 xcb_set_close_down_mode (xcb_connection_t *c /**< */, 11403 ubyte mode /**< */); 11404 11405 11406 /***************************************************************************** 11407 ** 11408 ** xcb_void_cookie_t xcb_kill_client_checked 11409 ** 11410 ** @param xcb_connection_t *c 11411 ** @param uint resource 11412 ** @returns xcb_void_cookie_t 11413 ** 11414 *****************************************************************************/ 11415 11416 extern(C) xcb_void_cookie_t 11417 xcb_kill_client_checked (xcb_connection_t *c /**< */, 11418 uint resource /**< */); 11419 11420 11421 /***************************************************************************** 11422 ** 11423 ** xcb_void_cookie_t xcb_kill_client 11424 ** 11425 ** @param xcb_connection_t *c 11426 ** @param uint resource 11427 ** @returns xcb_void_cookie_t 11428 ** 11429 *****************************************************************************/ 11430 11431 extern(C) xcb_void_cookie_t 11432 xcb_kill_client (xcb_connection_t *c /**< */, 11433 uint resource /**< */); 11434 11435 11436 /***************************************************************************** 11437 ** 11438 ** xcb_void_cookie_t xcb_rotate_properties_checked 11439 ** 11440 ** @param xcb_connection_t *c 11441 ** @param xcb_window_t window 11442 ** @param ushort atoms_len 11443 ** @param short delta 11444 ** @param /+const+/ xcb_atom_t *atoms 11445 ** @returns xcb_void_cookie_t 11446 ** 11447 *****************************************************************************/ 11448 11449 extern(C) xcb_void_cookie_t 11450 xcb_rotate_properties_checked (xcb_connection_t *c /**< */, 11451 xcb_window_t window /**< */, 11452 ushort atoms_len /**< */, 11453 short delta /**< */, 11454 /+const+/ xcb_atom_t *atoms /**< */); 11455 11456 11457 /***************************************************************************** 11458 ** 11459 ** xcb_void_cookie_t xcb_rotate_properties 11460 ** 11461 ** @param xcb_connection_t *c 11462 ** @param xcb_window_t window 11463 ** @param ushort atoms_len 11464 ** @param short delta 11465 ** @param /+const+/ xcb_atom_t *atoms 11466 ** @returns xcb_void_cookie_t 11467 ** 11468 *****************************************************************************/ 11469 11470 extern(C) xcb_void_cookie_t 11471 xcb_rotate_properties (xcb_connection_t *c /**< */, 11472 xcb_window_t window /**< */, 11473 ushort atoms_len /**< */, 11474 short delta /**< */, 11475 /+const+/ xcb_atom_t *atoms /**< */); 11476 11477 11478 /***************************************************************************** 11479 ** 11480 ** xcb_void_cookie_t xcb_force_screen_saver_checked 11481 ** 11482 ** @param xcb_connection_t *c 11483 ** @param ubyte mode 11484 ** @returns xcb_void_cookie_t 11485 ** 11486 *****************************************************************************/ 11487 11488 extern(C) xcb_void_cookie_t 11489 xcb_force_screen_saver_checked (xcb_connection_t *c /**< */, 11490 ubyte mode /**< */); 11491 11492 11493 /***************************************************************************** 11494 ** 11495 ** xcb_void_cookie_t xcb_force_screen_saver 11496 ** 11497 ** @param xcb_connection_t *c 11498 ** @param ubyte mode 11499 ** @returns xcb_void_cookie_t 11500 ** 11501 *****************************************************************************/ 11502 11503 extern(C) xcb_void_cookie_t 11504 xcb_force_screen_saver (xcb_connection_t *c /**< */, 11505 ubyte mode /**< */); 11506 11507 11508 /***************************************************************************** 11509 ** 11510 ** xcb_set_pointer_mapping_cookie_t xcb_set_pointer_mapping 11511 ** 11512 ** @param xcb_connection_t *c 11513 ** @param ubyte map_len 11514 ** @param /+const+/ ubyte *map 11515 ** @returns xcb_set_pointer_mapping_cookie_t 11516 ** 11517 *****************************************************************************/ 11518 11519 extern(C) xcb_set_pointer_mapping_cookie_t 11520 xcb_set_pointer_mapping (xcb_connection_t *c /**< */, 11521 ubyte map_len /**< */, 11522 /+const+/ ubyte *map /**< */); 11523 11524 11525 /***************************************************************************** 11526 ** 11527 ** xcb_set_pointer_mapping_cookie_t xcb_set_pointer_mapping_unchecked 11528 ** 11529 ** @param xcb_connection_t *c 11530 ** @param ubyte map_len 11531 ** @param /+const+/ ubyte *map 11532 ** @returns xcb_set_pointer_mapping_cookie_t 11533 ** 11534 *****************************************************************************/ 11535 11536 extern(C) xcb_set_pointer_mapping_cookie_t 11537 xcb_set_pointer_mapping_unchecked (xcb_connection_t *c /**< */, 11538 ubyte map_len /**< */, 11539 /+const+/ ubyte *map /**< */); 11540 11541 11542 /***************************************************************************** 11543 ** 11544 ** xcb_set_pointer_mapping_reply_t * xcb_set_pointer_mapping_reply 11545 ** 11546 ** @param xcb_connection_t *c 11547 ** @param xcb_set_pointer_mapping_cookie_t cookie 11548 ** @param xcb_generic_error_t **e 11549 ** @returns xcb_set_pointer_mapping_reply_t * 11550 ** 11551 *****************************************************************************/ 11552 11553 extern(C) xcb_set_pointer_mapping_reply_t * 11554 xcb_set_pointer_mapping_reply (xcb_connection_t *c /**< */, 11555 xcb_set_pointer_mapping_cookie_t cookie /**< */, 11556 xcb_generic_error_t **e /**< */); 11557 11558 11559 /***************************************************************************** 11560 ** 11561 ** xcb_get_pointer_mapping_cookie_t xcb_get_pointer_mapping 11562 ** 11563 ** @param xcb_connection_t *c 11564 ** @returns xcb_get_pointer_mapping_cookie_t 11565 ** 11566 *****************************************************************************/ 11567 11568 extern(C) xcb_get_pointer_mapping_cookie_t 11569 xcb_get_pointer_mapping (xcb_connection_t *c /**< */); 11570 11571 11572 /***************************************************************************** 11573 ** 11574 ** xcb_get_pointer_mapping_cookie_t xcb_get_pointer_mapping_unchecked 11575 ** 11576 ** @param xcb_connection_t *c 11577 ** @returns xcb_get_pointer_mapping_cookie_t 11578 ** 11579 *****************************************************************************/ 11580 11581 extern(C) xcb_get_pointer_mapping_cookie_t 11582 xcb_get_pointer_mapping_unchecked (xcb_connection_t *c /**< */); 11583 11584 11585 /***************************************************************************** 11586 ** 11587 ** ubyte * xcb_get_pointer_mapping_map 11588 ** 11589 ** @param /+const+/ xcb_get_pointer_mapping_reply_t *R 11590 ** @returns ubyte * 11591 ** 11592 *****************************************************************************/ 11593 11594 extern(C) ubyte * 11595 xcb_get_pointer_mapping_map (/+const+/ xcb_get_pointer_mapping_reply_t *R /**< */); 11596 11597 11598 /***************************************************************************** 11599 ** 11600 ** int xcb_get_pointer_mapping_map_length 11601 ** 11602 ** @param /+const+/ xcb_get_pointer_mapping_reply_t *R 11603 ** @returns int 11604 ** 11605 *****************************************************************************/ 11606 11607 extern(C) int 11608 xcb_get_pointer_mapping_map_length (/+const+/ xcb_get_pointer_mapping_reply_t *R /**< */); 11609 11610 11611 /***************************************************************************** 11612 ** 11613 ** xcb_generic_iterator_t xcb_get_pointer_mapping_map_end 11614 ** 11615 ** @param /+const+/ xcb_get_pointer_mapping_reply_t *R 11616 ** @returns xcb_generic_iterator_t 11617 ** 11618 *****************************************************************************/ 11619 11620 extern(C) xcb_generic_iterator_t 11621 xcb_get_pointer_mapping_map_end (/+const+/ xcb_get_pointer_mapping_reply_t *R /**< */); 11622 11623 11624 /***************************************************************************** 11625 ** 11626 ** xcb_get_pointer_mapping_reply_t * xcb_get_pointer_mapping_reply 11627 ** 11628 ** @param xcb_connection_t *c 11629 ** @param xcb_get_pointer_mapping_cookie_t cookie 11630 ** @param xcb_generic_error_t **e 11631 ** @returns xcb_get_pointer_mapping_reply_t * 11632 ** 11633 *****************************************************************************/ 11634 11635 extern(C) xcb_get_pointer_mapping_reply_t * 11636 xcb_get_pointer_mapping_reply (xcb_connection_t *c /**< */, 11637 xcb_get_pointer_mapping_cookie_t cookie /**< */, 11638 xcb_generic_error_t **e /**< */); 11639 11640 11641 /***************************************************************************** 11642 ** 11643 ** xcb_set_modifier_mapping_cookie_t xcb_set_modifier_mapping 11644 ** 11645 ** @param xcb_connection_t *c 11646 ** @param ubyte keycodes_per_modifier 11647 ** @param /+const+/ xcb_keycode_t *keycodes 11648 ** @returns xcb_set_modifier_mapping_cookie_t 11649 ** 11650 *****************************************************************************/ 11651 11652 extern(C) xcb_set_modifier_mapping_cookie_t 11653 xcb_set_modifier_mapping (xcb_connection_t *c /**< */, 11654 ubyte keycodes_per_modifier /**< */, 11655 /+const+/ xcb_keycode_t *keycodes /**< */); 11656 11657 11658 /***************************************************************************** 11659 ** 11660 ** xcb_set_modifier_mapping_cookie_t xcb_set_modifier_mapping_unchecked 11661 ** 11662 ** @param xcb_connection_t *c 11663 ** @param ubyte keycodes_per_modifier 11664 ** @param /+const+/ xcb_keycode_t *keycodes 11665 ** @returns xcb_set_modifier_mapping_cookie_t 11666 ** 11667 *****************************************************************************/ 11668 11669 extern(C) xcb_set_modifier_mapping_cookie_t 11670 xcb_set_modifier_mapping_unchecked (xcb_connection_t *c /**< */, 11671 ubyte keycodes_per_modifier /**< */, 11672 /+const+/ xcb_keycode_t *keycodes /**< */); 11673 11674 11675 /***************************************************************************** 11676 ** 11677 ** xcb_set_modifier_mapping_reply_t * xcb_set_modifier_mapping_reply 11678 ** 11679 ** @param xcb_connection_t *c 11680 ** @param xcb_set_modifier_mapping_cookie_t cookie 11681 ** @param xcb_generic_error_t **e 11682 ** @returns xcb_set_modifier_mapping_reply_t * 11683 ** 11684 *****************************************************************************/ 11685 11686 extern(C) xcb_set_modifier_mapping_reply_t * 11687 xcb_set_modifier_mapping_reply (xcb_connection_t *c /**< */, 11688 xcb_set_modifier_mapping_cookie_t cookie /**< */, 11689 xcb_generic_error_t **e /**< */); 11690 11691 11692 /***************************************************************************** 11693 ** 11694 ** xcb_get_modifier_mapping_cookie_t xcb_get_modifier_mapping 11695 ** 11696 ** @param xcb_connection_t *c 11697 ** @returns xcb_get_modifier_mapping_cookie_t 11698 ** 11699 *****************************************************************************/ 11700 11701 extern(C) xcb_get_modifier_mapping_cookie_t 11702 xcb_get_modifier_mapping (xcb_connection_t *c /**< */); 11703 11704 11705 /***************************************************************************** 11706 ** 11707 ** xcb_get_modifier_mapping_cookie_t xcb_get_modifier_mapping_unchecked 11708 ** 11709 ** @param xcb_connection_t *c 11710 ** @returns xcb_get_modifier_mapping_cookie_t 11711 ** 11712 *****************************************************************************/ 11713 11714 extern(C) xcb_get_modifier_mapping_cookie_t 11715 xcb_get_modifier_mapping_unchecked (xcb_connection_t *c /**< */); 11716 11717 11718 /***************************************************************************** 11719 ** 11720 ** xcb_keycode_t * xcb_get_modifier_mapping_keycodes 11721 ** 11722 ** @param /+const+/ xcb_get_modifier_mapping_reply_t *R 11723 ** @returns xcb_keycode_t * 11724 ** 11725 *****************************************************************************/ 11726 11727 extern(C) xcb_keycode_t * 11728 xcb_get_modifier_mapping_keycodes (/+const+/ xcb_get_modifier_mapping_reply_t *R /**< */); 11729 11730 11731 /***************************************************************************** 11732 ** 11733 ** int xcb_get_modifier_mapping_keycodes_length 11734 ** 11735 ** @param /+const+/ xcb_get_modifier_mapping_reply_t *R 11736 ** @returns int 11737 ** 11738 *****************************************************************************/ 11739 11740 extern(C) int 11741 xcb_get_modifier_mapping_keycodes_length (/+const+/ xcb_get_modifier_mapping_reply_t *R /**< */); 11742 11743 11744 /***************************************************************************** 11745 ** 11746 ** xcb_keycode_iterator_t xcb_get_modifier_mapping_keycodes_iterator 11747 ** 11748 ** @param /+const+/ xcb_get_modifier_mapping_reply_t *R 11749 ** @returns xcb_keycode_iterator_t 11750 ** 11751 *****************************************************************************/ 11752 11753 extern(C) xcb_keycode_iterator_t 11754 xcb_get_modifier_mapping_keycodes_iterator (/+const+/ xcb_get_modifier_mapping_reply_t *R /**< */); 11755 11756 11757 /***************************************************************************** 11758 ** 11759 ** xcb_get_modifier_mapping_reply_t * xcb_get_modifier_mapping_reply 11760 ** 11761 ** @param xcb_connection_t *c 11762 ** @param xcb_get_modifier_mapping_cookie_t cookie 11763 ** @param xcb_generic_error_t **e 11764 ** @returns xcb_get_modifier_mapping_reply_t * 11765 ** 11766 *****************************************************************************/ 11767 11768 extern(C) xcb_get_modifier_mapping_reply_t * 11769 xcb_get_modifier_mapping_reply (xcb_connection_t *c /**< */, 11770 xcb_get_modifier_mapping_cookie_t cookie /**< */, 11771 xcb_generic_error_t **e /**< */); 11772 11773 11774 /***************************************************************************** 11775 ** 11776 ** xcb_void_cookie_t xcb_no_operation_checked 11777 ** 11778 ** @param xcb_connection_t *c 11779 ** @returns xcb_void_cookie_t 11780 ** 11781 *****************************************************************************/ 11782 11783 extern(C) xcb_void_cookie_t 11784 xcb_no_operation_checked (xcb_connection_t *c /**< */); 11785 11786 11787 /***************************************************************************** 11788 ** 11789 ** xcb_void_cookie_t xcb_no_operation 11790 ** 11791 ** @param xcb_connection_t *c 11792 ** @returns xcb_void_cookie_t 11793 ** 11794 *****************************************************************************/ 11795 11796 extern(C) xcb_void_cookie_t 11797 xcb_no_operation (xcb_connection_t *c /**< */); 11798 11799 11800 11801 /** 11802 * @} 11803 */