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 15 import std.c.linux.X11.xcb.xcb; 16 17 /** 18 * @brief xcb_char2b_t 19 **/ 20 struct xcb_char2b_t { 21 ubyte byte1; /**< */ 22 ubyte byte2; /**< */ 23 } ; 24 25 /** 26 * @brief xcb_char2b_iterator_t 27 **/ 28 struct xcb_char2b_iterator_t { 29 xcb_char2b_t *data; /**< */ 30 int rem; /**< */ 31 int index; /**< */ 32 } ; 33 34 alias uint xcb_window_t; 35 36 /** 37 * @brief xcb_window_iterator_t 38 **/ 39 struct xcb_window_iterator_t { 40 xcb_window_t *data; /**< */ 41 int rem; /**< */ 42 int index; /**< */ 43 } ; 44 45 alias uint xcb_pixmap_t; 46 47 /** 48 * @brief xcb_pixmap_iterator_t 49 **/ 50 struct xcb_pixmap_iterator_t { 51 xcb_pixmap_t *data; /**< */ 52 int rem; /**< */ 53 int index; /**< */ 54 } ; 55 56 alias uint xcb_cursor_t; 57 58 /** 59 * @brief xcb_cursor_iterator_t 60 **/ 61 struct xcb_cursor_iterator_t { 62 xcb_cursor_t *data; /**< */ 63 int rem; /**< */ 64 int index; /**< */ 65 } ; 66 67 alias uint xcb_font_t; 68 69 /** 70 * @brief xcb_font_iterator_t 71 **/ 72 struct xcb_font_iterator_t { 73 xcb_font_t *data; /**< */ 74 int rem; /**< */ 75 int index; /**< */ 76 } ; 77 78 alias uint xcb_gcontext_t; 79 80 /** 81 * @brief xcb_gcontext_iterator_t 82 **/ 83 struct xcb_gcontext_iterator_t { 84 xcb_gcontext_t *data; /**< */ 85 int rem; /**< */ 86 int index; /**< */ 87 } ; 88 89 alias uint xcb_colormap_t; 90 91 /** 92 * @brief xcb_colormap_iterator_t 93 **/ 94 struct xcb_colormap_iterator_t { 95 xcb_colormap_t *data; /**< */ 96 int rem; /**< */ 97 int index; /**< */ 98 } ; 99 100 alias uint xcb_atom_t; 101 102 enum : uint { 103 XCB_ATOM_NONE = 0, 104 XCB_ATOM_ANY = 0, 105 XCB_ATOM_PRIMARY, 106 XCB_ATOM_SECONDARY, 107 XCB_ATOM_ARC, 108 XCB_ATOM_ATOM, 109 XCB_ATOM_BITMAP, 110 XCB_ATOM_CARDINAL, 111 XCB_ATOM_COLORMAP, 112 XCB_ATOM_CURSOR, 113 XCB_ATOM_CUT_BUFFER0, 114 XCB_ATOM_CUT_BUFFER1, 115 XCB_ATOM_CUT_BUFFER2, 116 XCB_ATOM_CUT_BUFFER3, 117 XCB_ATOM_CUT_BUFFER4, 118 XCB_ATOM_CUT_BUFFER5, 119 XCB_ATOM_CUT_BUFFER6, 120 XCB_ATOM_CUT_BUFFER7, 121 XCB_ATOM_DRAWABLE, 122 XCB_ATOM_FONT, 123 XCB_ATOM_INTEGER, 124 XCB_ATOM_PIXMAP, 125 XCB_ATOM_POINT, 126 XCB_ATOM_RECTANGLE, 127 XCB_ATOM_RESOURCE_MANAGER, 128 XCB_ATOM_RGB_COLOR_MAP, 129 XCB_ATOM_RGB_BEST_MAP, 130 XCB_ATOM_RGB_BLUE_MAP, 131 XCB_ATOM_RGB_DEFAULT_MAP, 132 XCB_ATOM_RGB_GRAY_MAP, 133 XCB_ATOM_RGB_GREEN_MAP, 134 XCB_ATOM_RGB_RED_MAP, 135 XCB_ATOM_STRING, 136 XCB_ATOM_VISUALID, 137 XCB_ATOM_WINDOW, 138 XCB_ATOM_WM_COMMAND, 139 XCB_ATOM_WM_HINTS, 140 XCB_ATOM_WM_CLIENT_MACHINE, 141 XCB_ATOM_WM_ICON_NAME, 142 XCB_ATOM_WM_ICON_SIZE, 143 XCB_ATOM_WM_NAME, 144 XCB_ATOM_WM_NORMAL_HINTS, 145 XCB_ATOM_WM_SIZE_HINTS, 146 XCB_ATOM_WM_ZOOM_HINTS, 147 XCB_ATOM_MIN_SPACE, 148 XCB_ATOM_NORM_SPACE, 149 XCB_ATOM_MAX_SPACE, 150 XCB_ATOM_END_SPACE, 151 XCB_ATOM_SUPERSCRIPT_X, 152 XCB_ATOM_SUPERSCRIPT_Y, 153 XCB_ATOM_SUBSCRIPT_X, 154 XCB_ATOM_SUBSCRIPT_Y, 155 XCB_ATOM_UNDERLINE_POSITION, 156 XCB_ATOM_UNDERLINE_THICKNESS, 157 XCB_ATOM_STRIKEOUT_ASCENT, 158 XCB_ATOM_STRIKEOUT_DESCENT, 159 XCB_ATOM_ITALIC_ANGLE, 160 XCB_ATOM_X_HEIGHT, 161 XCB_ATOM_QUAD_WIDTH, 162 XCB_ATOM_WEIGHT, 163 XCB_ATOM_POINT_SIZE, 164 XCB_ATOM_RESOLUTION, 165 XCB_ATOM_COPYRIGHT, 166 XCB_ATOM_NOTICE, 167 XCB_ATOM_FONT_NAME, 168 XCB_ATOM_FAMILY_NAME, 169 XCB_ATOM_FULL_NAME, 170 XCB_ATOM_CAP_HEIGHT, 171 XCB_ATOM_WM_CLASS, 172 XCB_ATOM_WM_TRANSIENT_FOR 173 }; 174 175 /** 176 * @brief xcb_atom_iterator_t 177 **/ 178 struct xcb_atom_iterator_t { 179 xcb_atom_t *data; /**< */ 180 int rem; /**< */ 181 int index; /**< */ 182 } ; 183 184 alias uint xcb_drawable_t; 185 186 /** 187 * @brief xcb_drawable_iterator_t 188 **/ 189 struct xcb_drawable_iterator_t { 190 xcb_drawable_t *data; /**< */ 191 int rem; /**< */ 192 int index; /**< */ 193 } ; 194 195 alias uint xcb_fontable_t; 196 197 /** 198 * @brief xcb_fontable_iterator_t 199 **/ 200 struct xcb_fontable_iterator_t { 201 xcb_fontable_t *data; /**< */ 202 int rem; /**< */ 203 int index; /**< */ 204 } ; 205 206 alias uint xcb_visualid_t; 207 208 /** 209 * @brief xcb_visualid_iterator_t 210 **/ 211 struct xcb_visualid_iterator_t { 212 xcb_visualid_t *data; /**< */ 213 int rem; /**< */ 214 int index; /**< */ 215 } ; 216 217 alias uint xcb_timestamp_t; 218 219 /** 220 * @brief xcb_timestamp_iterator_t 221 **/ 222 struct xcb_timestamp_iterator_t { 223 xcb_timestamp_t *data; /**< */ 224 int rem; /**< */ 225 int index; /**< */ 226 } ; 227 228 alias uint xcb_keysym_t; 229 230 /** 231 * @brief xcb_keysym_iterator_t 232 **/ 233 struct xcb_keysym_iterator_t { 234 xcb_keysym_t *data; /**< */ 235 int rem; /**< */ 236 int index; /**< */ 237 } ; 238 239 alias ubyte xcb_keycode_t; 240 241 /** 242 * @brief xcb_keycode_iterator_t 243 **/ 244 struct xcb_keycode_iterator_t { 245 xcb_keycode_t *data; /**< */ 246 int rem; /**< */ 247 int index; /**< */ 248 } ; 249 250 alias ubyte xcb_button_t; 251 252 /** 253 * @brief xcb_button_iterator_t 254 **/ 255 struct xcb_button_iterator_t { 256 xcb_button_t *data; /**< */ 257 int rem; /**< */ 258 int index; /**< */ 259 } ; 260 261 /** 262 * @brief xcb_point_t 263 **/ 264 struct xcb_point_t { 265 short x; /**< */ 266 short y; /**< */ 267 } ; 268 269 /** 270 * @brief xcb_point_iterator_t 271 **/ 272 struct xcb_point_iterator_t { 273 xcb_point_t *data; /**< */ 274 int rem; /**< */ 275 int index; /**< */ 276 } ; 277 278 /** 279 * @brief xcb_rectangle_t 280 **/ 281 struct xcb_rectangle_t { 282 short x; /**< */ 283 short y; /**< */ 284 ushort width; /**< */ 285 ushort height; /**< */ 286 } ; 287 288 /** 289 * @brief xcb_rectangle_iterator_t 290 **/ 291 struct xcb_rectangle_iterator_t { 292 xcb_rectangle_t *data; /**< */ 293 int rem; /**< */ 294 int index; /**< */ 295 } ; 296 297 /** 298 * @brief xcb_arc_t 299 **/ 300 struct xcb_arc_t { 301 short x; /**< */ 302 short y; /**< */ 303 ushort width; /**< */ 304 ushort height; /**< */ 305 short angle1; /**< */ 306 short angle2; /**< */ 307 } ; 308 309 /** 310 * @brief xcb_arc_iterator_t 311 **/ 312 struct xcb_arc_iterator_t { 313 xcb_arc_t *data; /**< */ 314 int rem; /**< */ 315 int index; /**< */ 316 } ; 317 318 /** 319 * @brief xcb_format_t 320 **/ 321 struct xcb_format_t { 322 ubyte depth; /**< */ 323 ubyte bits_per_pixel; /**< */ 324 ubyte scanline_pad; /**< */ 325 ubyte pad0[5]; /**< */ 326 } ; 327 328 /** 329 * @brief xcb_format_iterator_t 330 **/ 331 struct xcb_format_iterator_t { 332 xcb_format_t *data; /**< */ 333 int rem; /**< */ 334 int index; /**< */ 335 } ; 336 337 enum :int{ 338 XCB_VISUAL_CLASS_STATIC_GRAY = 0, 339 XCB_VISUAL_CLASS_GRAY_SCALE = 1, 340 XCB_VISUAL_CLASS_STATIC_COLOR = 2, 341 XCB_VISUAL_CLASS_PSEUDO_COLOR = 3, 342 XCB_VISUAL_CLASS_TRUE_COLOR = 4, 343 XCB_VISUAL_CLASS_DIRECT_COLOR = 5 344 }; 345 346 /** 347 * @brief xcb_visualtype_t 348 **/ 349 struct xcb_visualtype_t { 350 xcb_visualid_t visual_id; /**< */ 351 ubyte _class; /**< */ 352 ubyte bits_per_rgb_value; /**< */ 353 ushort colormap_entries; /**< */ 354 uint red_mask; /**< */ 355 uint green_mask; /**< */ 356 uint blue_mask; /**< */ 357 ubyte pad0[4]; /**< */ 358 } ; 359 360 /** 361 * @brief xcb_visualtype_iterator_t 362 **/ 363 struct xcb_visualtype_iterator_t { 364 xcb_visualtype_t *data; /**< */ 365 int rem; /**< */ 366 int index; /**< */ 367 } ; 368 369 /** 370 * @brief xcb_depth_t 371 **/ 372 struct xcb_depth_t { 373 ubyte depth; /**< */ 374 ubyte pad0; /**< */ 375 ushort visuals_len; /**< */ 376 ubyte pad1[4]; /**< */ 377 } ; 378 379 /** 380 * @brief xcb_depth_iterator_t 381 **/ 382 struct xcb_depth_iterator_t { 383 xcb_depth_t *data; /**< */ 384 int rem; /**< */ 385 int index; /**< */ 386 } ; 387 388 /** 389 * @brief xcb_screen_t 390 **/ 391 struct xcb_screen_t { 392 xcb_window_t root; /**< */ 393 xcb_colormap_t default_colormap; /**< */ 394 uint white_pixel; /**< */ 395 uint black_pixel; /**< */ 396 uint current_input_masks; /**< */ 397 ushort width_in_pixels; /**< */ 398 ushort height_in_pixels; /**< */ 399 ushort width_in_millimeters; /**< */ 400 ushort height_in_millimeters; /**< */ 401 ushort min_installed_maps; /**< */ 402 ushort max_installed_maps; /**< */ 403 xcb_visualid_t root_visual; /**< */ 404 ubyte backing_stores; /**< */ 405 bool save_unders; /**< */ 406 ubyte root_depth; /**< */ 407 ubyte allowed_depths_len; /**< */ 408 } ; 409 410 /** 411 * @brief xcb_screen_iterator_t 412 **/ 413 struct xcb_screen_iterator_t { 414 xcb_screen_t *data; /**< */ 415 int rem; /**< */ 416 int index; /**< */ 417 } ; 418 419 /** 420 * @brief xcb_setup_request_t 421 **/ 422 struct xcb_setup_request_t { 423 ubyte byte_order; /**< */ 424 ubyte pad0; /**< */ 425 ushort protocol_major_version; /**< */ 426 ushort protocol_minor_version; /**< */ 427 ushort authorization_protocol_name_len; /**< */ 428 ushort authorization_protocol_data_len; /**< */ 429 } ; 430 431 /** 432 * @brief xcb_setup_request_iterator_t 433 **/ 434 struct xcb_setup_request_iterator_t { 435 xcb_setup_request_t *data; /**< */ 436 int rem; /**< */ 437 int index; /**< */ 438 } ; 439 440 /** 441 * @brief xcb_setup_failed_t 442 **/ 443 struct xcb_setup_failed_t { 444 ubyte status; /**< */ 445 ubyte reason_len; /**< */ 446 ushort protocol_major_version; /**< */ 447 ushort protocol_minor_version; /**< */ 448 ushort length; /**< */ 449 } ; 450 451 /** 452 * @brief xcb_setup_failed_iterator_t 453 **/ 454 struct xcb_setup_failed_iterator_t { 455 xcb_setup_failed_t *data; /**< */ 456 int rem; /**< */ 457 int index; /**< */ 458 } ; 459 460 /** 461 * @brief xcb_setup_authenticate_t 462 **/ 463 struct xcb_setup_authenticate_t { 464 ubyte status; /**< */ 465 ubyte pad0[5]; /**< */ 466 ushort length; /**< */ 467 } ; 468 469 /** 470 * @brief xcb_setup_authenticate_iterator_t 471 **/ 472 struct xcb_setup_authenticate_iterator_t { 473 xcb_setup_authenticate_t *data; /**< */ 474 int rem; /**< */ 475 int index; /**< */ 476 } ; 477 478 alias xcb_image_order_t = int; 479 enum :int{ 480 XCB_IMAGE_ORDER_LSB_FIRST = 0, 481 XCB_IMAGE_ORDER_MSB_FIRST = 1 482 }; 483 484 /** 485 * @brief xcb_setup_t 486 **/ 487 struct xcb_setup_t { 488 ubyte status; /**< */ 489 ubyte pad0; /**< */ 490 ushort protocol_major_version; /**< */ 491 ushort protocol_minor_version; /**< */ 492 ushort length; /**< */ 493 uint release_number; /**< */ 494 uint resource_id_base; /**< */ 495 uint resource_id_mask; /**< */ 496 uint motion_buffer_size; /**< */ 497 ushort vendor_len; /**< */ 498 ushort maximum_request_length; /**< */ 499 ubyte roots_len; /**< */ 500 ubyte pixmap_formats_len; /**< */ 501 ubyte image_byte_order; /**< */ 502 ubyte bitmap_format_bit_order; /**< */ 503 ubyte bitmap_format_scanline_unit; /**< */ 504 ubyte bitmap_format_scanline_pad; /**< */ 505 xcb_keycode_t min_keycode; /**< */ 506 xcb_keycode_t max_keycode; /**< */ 507 ubyte pad1[4]; /**< */ 508 } ; 509 510 /** 511 * @brief xcb_setup_iterator_t 512 **/ 513 struct xcb_setup_iterator_t { 514 xcb_setup_t *data; /**< */ 515 int rem; /**< */ 516 int index; /**< */ 517 } ; 518 519 enum :int{ 520 XCB_MOD_MASK_SHIFT = (1 << 0), 521 XCB_MOD_MASK_LOCK = (1 << 1), 522 XCB_MOD_MASK_CONTROL = (1 << 2), 523 XCB_MOD_MASK_1 = (1 << 3), 524 XCB_MOD_MASK_2 = (1 << 4), 525 XCB_MOD_MASK_3 = (1 << 5), 526 XCB_MOD_MASK_4 = (1 << 6), 527 XCB_MOD_MASK_5 = (1 << 7) 528 }; 529 530 /** Opcode for xcb_key_press. */ 531 const uint XCB_KEY_PRESS = 2; 532 533 /** 534 * @brief xcb_key_press_event_t 535 **/ 536 struct xcb_key_press_event_t { 537 ubyte response_type; /**< */ 538 xcb_keycode_t detail; /**< */ 539 ushort sequence; /**< */ 540 xcb_timestamp_t time; /**< */ 541 xcb_window_t root; /**< */ 542 xcb_window_t event; /**< */ 543 xcb_window_t child; /**< */ 544 short root_x; /**< */ 545 short root_y; /**< */ 546 short event_x; /**< */ 547 short event_y; /**< */ 548 ushort state; /**< */ 549 bool same_screen; /**< */ 550 } ; 551 552 /** Opcode for xcb_key_release. */ 553 const uint XCB_KEY_RELEASE = 3; 554 555 alias xcb_key_press_event_t xcb_key_release_event_t; 556 557 enum :int{ 558 XCB_BUTTON_MASK_1 = (1 << 8), 559 XCB_BUTTON_MASK_2 = (1 << 9), 560 XCB_BUTTON_MASK_3 = (1 << 10), 561 XCB_BUTTON_MASK_4 = (1 << 11), 562 XCB_BUTTON_MASK_5 = (1 << 12), 563 XCB_BUTTON_MASK_ANY = (1 << 15) 564 }; 565 566 /** Opcode for xcb_button_press. */ 567 const uint XCB_BUTTON_PRESS = 4; 568 569 /** 570 * @brief xcb_button_press_event_t 571 **/ 572 struct xcb_button_press_event_t { 573 ubyte response_type; /**< */ 574 xcb_button_t detail; /**< */ 575 ushort sequence; /**< */ 576 xcb_timestamp_t time; /**< */ 577 xcb_window_t root; /**< */ 578 xcb_window_t event; /**< */ 579 xcb_window_t child; /**< */ 580 short root_x; /**< */ 581 short root_y; /**< */ 582 short event_x; /**< */ 583 short event_y; /**< */ 584 ushort state; /**< */ 585 bool same_screen; /**< */ 586 } ; 587 588 /** Opcode for xcb_button_release. */ 589 const uint XCB_BUTTON_RELEASE = 5; 590 591 alias xcb_button_press_event_t xcb_button_release_event_t; 592 593 enum :int{ 594 XCB_MOTION_NORMAL = 0, 595 XCB_MOTION_HINT = 1 596 }; 597 598 /** Opcode for xcb_motion_notify. */ 599 const uint XCB_MOTION_NOTIFY = 6; 600 601 /** 602 * @brief xcb_motion_notify_event_t 603 **/ 604 struct xcb_motion_notify_event_t { 605 ubyte response_type; /**< */ 606 ubyte detail; /**< */ 607 ushort sequence; /**< */ 608 xcb_timestamp_t time; /**< */ 609 xcb_window_t root; /**< */ 610 xcb_window_t event; /**< */ 611 xcb_window_t child; /**< */ 612 short root_x; /**< */ 613 short root_y; /**< */ 614 short event_x; /**< */ 615 short event_y; /**< */ 616 ushort state; /**< */ 617 bool same_screen; /**< */ 618 } ; 619 620 enum :int{ 621 XCB_NOTIFY_DETAIL_ANCESTOR = 0, 622 XCB_NOTIFY_DETAIL_VIRTUAL = 1, 623 XCB_NOTIFY_DETAIL_INFERIOR = 2, 624 XCB_NOTIFY_DETAIL_NONLINEAR = 3, 625 XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4, 626 XCB_NOTIFY_DETAIL_POINTER = 5, 627 XCB_NOTIFY_DETAIL_POINTER_ROOT = 6, 628 XCB_NOTIFY_DETAIL_NONE = 7 629 }; 630 631 enum :int{ 632 XCB_NOTIFY_MODE_NORMAL = 0, 633 XCB_NOTIFY_MODE_GRAB = 1, 634 XCB_NOTIFY_MODE_UNGRAB = 2, 635 XCB_NOTIFY_MODE_WHILE_GRABBED = 3 636 }; 637 638 /** Opcode for xcb_enter_notify. */ 639 const uint XCB_ENTER_NOTIFY = 7; 640 641 /** 642 * @brief xcb_enter_notify_event_t 643 **/ 644 struct xcb_enter_notify_event_t { 645 ubyte response_type; /**< */ 646 ubyte detail; /**< */ 647 ushort sequence; /**< */ 648 xcb_timestamp_t time; /**< */ 649 xcb_window_t root; /**< */ 650 xcb_window_t event; /**< */ 651 xcb_window_t child; /**< */ 652 short root_x; /**< */ 653 short root_y; /**< */ 654 short event_x; /**< */ 655 short event_y; /**< */ 656 ushort state; /**< */ 657 ubyte mode; /**< */ 658 ubyte same_screen_focus; /**< */ 659 } ; 660 661 /** Opcode for xcb_leave_notify. */ 662 const uint XCB_LEAVE_NOTIFY = 8; 663 664 alias xcb_enter_notify_event_t xcb_leave_notify_event_t; 665 666 /** Opcode for xcb_focus_in. */ 667 const uint XCB_FOCUS_IN = 9; 668 669 /** 670 * @brief xcb_focus_in_event_t 671 **/ 672 struct xcb_focus_in_event_t { 673 ubyte response_type; /**< */ 674 ubyte detail; /**< */ 675 ushort sequence; /**< */ 676 xcb_window_t event; /**< */ 677 ubyte mode; /**< */ 678 } ; 679 680 /** Opcode for xcb_focus_out. */ 681 const uint XCB_FOCUS_OUT = 10; 682 683 alias xcb_focus_in_event_t xcb_focus_out_event_t; 684 685 /** Opcode for xcb_keymap_notify. */ 686 const uint XCB_KEYMAP_NOTIFY = 11; 687 688 /** 689 * @brief xcb_keymap_notify_event_t 690 **/ 691 struct xcb_keymap_notify_event_t { 692 ubyte response_type; /**< */ 693 ubyte keys[31]; /**< */ 694 } ; 695 696 /** Opcode for xcb_expose. */ 697 const uint XCB_EXPOSE = 12; 698 699 /** 700 * @brief xcb_expose_event_t 701 **/ 702 struct xcb_expose_event_t { 703 ubyte response_type; /**< */ 704 ubyte pad0; /**< */ 705 ushort sequence; /**< */ 706 xcb_window_t window; /**< */ 707 ushort x; /**< */ 708 ushort y; /**< */ 709 ushort width; /**< */ 710 ushort height; /**< */ 711 ushort count; /**< */ 712 } ; 713 714 /** Opcode for xcb_graphics_exposure. */ 715 const uint XCB_GRAPHICS_EXPOSURE = 13; 716 717 /** 718 * @brief xcb_graphics_exposure_event_t 719 **/ 720 struct xcb_graphics_exposure_event_t { 721 ubyte response_type; /**< */ 722 ubyte pad0; /**< */ 723 ushort sequence; /**< */ 724 xcb_drawable_t drawable; /**< */ 725 ushort x; /**< */ 726 ushort y; /**< */ 727 ushort width; /**< */ 728 ushort height; /**< */ 729 ushort minor_opcode; /**< */ 730 ushort count; /**< */ 731 ubyte major_opcode; /**< */ 732 } ; 733 734 /** Opcode for xcb_no_exposure. */ 735 const uint XCB_NO_EXPOSURE = 14; 736 737 /** 738 * @brief xcb_no_exposure_event_t 739 **/ 740 struct xcb_no_exposure_event_t { 741 ubyte response_type; /**< */ 742 ubyte pad0; /**< */ 743 ushort sequence; /**< */ 744 xcb_drawable_t drawable; /**< */ 745 ushort minor_opcode; /**< */ 746 ubyte major_opcode; /**< */ 747 } ; 748 749 enum :int{ 750 XCB_VISIBILITY_UNOBSCURED = 0, 751 XCB_VISIBILITY_PARTIALLY_OBSCURED = 1, 752 XCB_VISIBILITY_FULLY_OBSCURED = 2 753 }; 754 755 /** Opcode for xcb_visibility_notify. */ 756 const uint XCB_VISIBILITY_NOTIFY = 15; 757 758 /** 759 * @brief xcb_visibility_notify_event_t 760 **/ 761 struct xcb_visibility_notify_event_t { 762 ubyte response_type; /**< */ 763 ubyte pad0; /**< */ 764 ushort sequence; /**< */ 765 xcb_window_t window; /**< */ 766 ubyte state; /**< */ 767 } ; 768 769 /** Opcode for xcb_create_notify. */ 770 const uint XCB_CREATE_NOTIFY = 16; 771 772 /** 773 * @brief xcb_create_notify_event_t 774 **/ 775 struct xcb_create_notify_event_t { 776 ubyte response_type; /**< */ 777 ubyte pad0; /**< */ 778 ushort sequence; /**< */ 779 xcb_window_t parent; /**< */ 780 xcb_window_t window; /**< */ 781 short x; /**< */ 782 short y; /**< */ 783 ushort width; /**< */ 784 ushort height; /**< */ 785 ushort border_width; /**< */ 786 bool override_redirect; /**< */ 787 } ; 788 789 /** Opcode for xcb_destroy_notify. */ 790 const uint XCB_DESTROY_NOTIFY = 17; 791 792 /** 793 * @brief xcb_destroy_notify_event_t 794 **/ 795 struct xcb_destroy_notify_event_t { 796 ubyte response_type; /**< */ 797 ubyte pad0; /**< */ 798 ushort sequence; /**< */ 799 xcb_window_t event; /**< */ 800 xcb_window_t window; /**< */ 801 } ; 802 803 /** Opcode for xcb_unmap_notify. */ 804 const uint XCB_UNMAP_NOTIFY = 18; 805 806 /** 807 * @brief xcb_unmap_notify_event_t 808 **/ 809 struct xcb_unmap_notify_event_t { 810 ubyte response_type; /**< */ 811 ubyte pad0; /**< */ 812 ushort sequence; /**< */ 813 xcb_window_t event; /**< */ 814 xcb_window_t window; /**< */ 815 bool from_configure; /**< */ 816 } ; 817 818 /** Opcode for xcb_map_notify. */ 819 const uint XCB_MAP_NOTIFY = 19; 820 821 /** 822 * @brief xcb_map_notify_event_t 823 **/ 824 struct xcb_map_notify_event_t { 825 ubyte response_type; /**< */ 826 ubyte pad0; /**< */ 827 ushort sequence; /**< */ 828 xcb_window_t event; /**< */ 829 xcb_window_t window; /**< */ 830 bool override_redirect; /**< */ 831 } ; 832 833 /** Opcode for xcb_map_request. */ 834 const uint XCB_MAP_REQUEST = 20; 835 836 /** 837 * @brief xcb_map_request_event_t 838 **/ 839 struct xcb_map_request_event_t { 840 ubyte response_type; /**< */ 841 ubyte pad0; /**< */ 842 ushort sequence; /**< */ 843 xcb_window_t parent; /**< */ 844 xcb_window_t window; /**< */ 845 } ; 846 847 /** Opcode for xcb_reparent_notify. */ 848 const uint XCB_REPARENT_NOTIFY = 21; 849 850 /** 851 * @brief xcb_reparent_notify_event_t 852 **/ 853 struct xcb_reparent_notify_event_t { 854 ubyte response_type; /**< */ 855 ubyte pad0; /**< */ 856 ushort sequence; /**< */ 857 xcb_window_t event; /**< */ 858 xcb_window_t window; /**< */ 859 xcb_window_t parent; /**< */ 860 short x; /**< */ 861 short y; /**< */ 862 bool override_redirect; /**< */ 863 } ; 864 865 /** Opcode for xcb_configure_notify. */ 866 const uint XCB_CONFIGURE_NOTIFY = 22; 867 868 /** 869 * @brief xcb_configure_notify_event_t 870 **/ 871 struct xcb_configure_notify_event_t { 872 ubyte response_type; /**< */ 873 ubyte pad0; /**< */ 874 ushort sequence; /**< */ 875 xcb_window_t event; /**< */ 876 xcb_window_t window; /**< */ 877 xcb_window_t above_sibling; /**< */ 878 short x; /**< */ 879 short y; /**< */ 880 ushort width; /**< */ 881 ushort height; /**< */ 882 ushort border_width; /**< */ 883 bool override_redirect; /**< */ 884 } ; 885 886 /** Opcode for xcb_configure_request. */ 887 const uint XCB_CONFIGURE_REQUEST = 23; 888 889 /** 890 * @brief xcb_configure_request_event_t 891 **/ 892 struct xcb_configure_request_event_t { 893 ubyte response_type; /**< */ 894 ubyte stack_mode; /**< */ 895 ushort sequence; /**< */ 896 xcb_window_t parent; /**< */ 897 xcb_window_t window; /**< */ 898 xcb_window_t sibling; /**< */ 899 short x; /**< */ 900 short y; /**< */ 901 ushort width; /**< */ 902 ushort height; /**< */ 903 ushort border_width; /**< */ 904 ushort value_mask; /**< */ 905 } ; 906 907 /** Opcode for xcb_gravity_notify. */ 908 const uint XCB_GRAVITY_NOTIFY = 24; 909 910 /** 911 * @brief xcb_gravity_notify_event_t 912 **/ 913 struct xcb_gravity_notify_event_t { 914 ubyte response_type; /**< */ 915 ubyte pad0; /**< */ 916 ushort sequence; /**< */ 917 xcb_window_t event; /**< */ 918 xcb_window_t window; /**< */ 919 short x; /**< */ 920 short y; /**< */ 921 } ; 922 923 /** Opcode for xcb_resize_request. */ 924 const uint XCB_RESIZE_REQUEST = 25; 925 926 /** 927 * @brief xcb_resize_request_event_t 928 **/ 929 struct xcb_resize_request_event_t { 930 ubyte response_type; /**< */ 931 ubyte pad0; /**< */ 932 ushort sequence; /**< */ 933 xcb_window_t window; /**< */ 934 ushort width; /**< */ 935 ushort height; /**< */ 936 } ; 937 938 enum :int{ 939 XCB_PLACE_ON_TOP = 0, 940 XCB_PLACE_ON_BOTTOM = 1 941 }; 942 943 /** Opcode for xcb_circulate_notify. */ 944 const uint XCB_CIRCULATE_NOTIFY = 26; 945 946 /** 947 * @brief xcb_circulate_notify_event_t 948 **/ 949 struct xcb_circulate_notify_event_t { 950 ubyte response_type; /**< */ 951 ubyte pad0; /**< */ 952 ushort sequence; /**< */ 953 xcb_window_t event; /**< */ 954 xcb_window_t window; /**< */ 955 ubyte pad1[4]; /**< */ 956 ubyte place; /**< */ 957 } ; 958 959 /** Opcode for xcb_circulate_request. */ 960 const uint XCB_CIRCULATE_REQUEST = 27; 961 962 alias xcb_circulate_notify_event_t xcb_circulate_request_event_t; 963 964 enum :int{ 965 XCB_PROPERTY_NEW_VALUE = 0, 966 XCB_PROPERTY_DELETE = 1 967 }; 968 969 /** Opcode for xcb_property_notify. */ 970 const uint XCB_PROPERTY_NOTIFY = 28; 971 972 /** 973 * @brief xcb_property_notify_event_t 974 **/ 975 struct xcb_property_notify_event_t { 976 ubyte response_type; /**< */ 977 ubyte pad0; /**< */ 978 ushort sequence; /**< */ 979 xcb_window_t window; /**< */ 980 xcb_atom_t atom; /**< */ 981 xcb_timestamp_t time; /**< */ 982 ubyte state; /**< */ 983 } ; 984 985 /** Opcode for xcb_selection_clear. */ 986 const uint XCB_SELECTION_CLEAR = 29; 987 988 /** 989 * @brief xcb_selection_clear_event_t 990 **/ 991 struct xcb_selection_clear_event_t { 992 ubyte response_type; /**< */ 993 ubyte pad0; /**< */ 994 ushort sequence; /**< */ 995 xcb_timestamp_t time; /**< */ 996 xcb_window_t owner; /**< */ 997 xcb_atom_t selection; /**< */ 998 } ; 999 1000 /** Opcode for xcb_selection_request. */ 1001 const uint XCB_SELECTION_REQUEST = 30; 1002 1003 /** 1004 * @brief xcb_selection_request_event_t 1005 **/ 1006 struct xcb_selection_request_event_t { 1007 ubyte response_type; /**< */ 1008 ubyte pad0; /**< */ 1009 ushort sequence; /**< */ 1010 xcb_timestamp_t time; /**< */ 1011 xcb_window_t owner; /**< */ 1012 xcb_window_t requestor; /**< */ 1013 xcb_atom_t selection; /**< */ 1014 xcb_atom_t target; /**< */ 1015 xcb_atom_t property; /**< */ 1016 } ; 1017 1018 /** Opcode for xcb_selection_notify. */ 1019 const uint XCB_SELECTION_NOTIFY = 31; 1020 1021 /** 1022 * @brief xcb_selection_notify_event_t 1023 **/ 1024 struct xcb_selection_notify_event_t { 1025 ubyte response_type; /**< */ 1026 ubyte pad0; /**< */ 1027 ushort sequence; /**< */ 1028 xcb_timestamp_t time; /**< */ 1029 xcb_window_t requestor; /**< */ 1030 xcb_atom_t selection; /**< */ 1031 xcb_atom_t target; /**< */ 1032 xcb_atom_t property; /**< */ 1033 } ; 1034 1035 enum :int{ 1036 XCB_COLORMAP_STATE_UNINSTALLED = 0, 1037 XCB_COLORMAP_STATE_INSTALLED = 1 1038 }; 1039 1040 /** Opcode for xcb_colormap_notify. */ 1041 const uint XCB_COLORMAP_NOTIFY = 32; 1042 1043 /** 1044 * @brief xcb_colormap_notify_event_t 1045 **/ 1046 struct xcb_colormap_notify_event_t { 1047 ubyte response_type; /**< */ 1048 ubyte pad0; /**< */ 1049 ushort sequence; /**< */ 1050 xcb_window_t window; /**< */ 1051 xcb_colormap_t colormap; /**< */ 1052 bool _new; /**< */ 1053 ubyte state; /**< */ 1054 } ; 1055 1056 /** 1057 * @brief xcb_client_message_data_t 1058 **/ 1059 union xcb_client_message_data_t { 1060 ubyte data8[20]; /**< */ 1061 ushort data16[10]; /**< */ 1062 uint data32[5]; /**< */ 1063 } ; 1064 1065 /** 1066 * @brief xcb_client_message_data_iterator_t 1067 **/ 1068 struct xcb_client_message_data_iterator_t { 1069 xcb_client_message_data_t *data; /**< */ 1070 int rem; /**< */ 1071 int index; /**< */ 1072 } ; 1073 1074 /** Opcode for xcb_client_message. */ 1075 const uint XCB_CLIENT_MESSAGE = 33; 1076 1077 /** 1078 * @brief xcb_client_message_event_t 1079 **/ 1080 struct xcb_client_message_event_t { 1081 ubyte response_type; /**< */ 1082 ubyte format; /**< */ 1083 ushort sequence; /**< */ 1084 xcb_window_t window; /**< */ 1085 xcb_atom_t type; /**< */ 1086 xcb_client_message_data_t data; /**< */ 1087 } ; 1088 1089 enum :int{ 1090 XCB_MAPPING_MODIFIER = 0, 1091 XCB_MAPPING_KEYBOARD = 1, 1092 XCB_MAPPING_POINTER = 2 1093 }; 1094 1095 /** Opcode for xcb_mapping_notify. */ 1096 const uint XCB_MAPPING_NOTIFY = 34; 1097 1098 /** 1099 * @brief xcb_mapping_notify_event_t 1100 **/ 1101 struct xcb_mapping_notify_event_t { 1102 ubyte response_type; /**< */ 1103 ubyte pad0; /**< */ 1104 ushort sequence; /**< */ 1105 ubyte request; /**< */ 1106 xcb_keycode_t first_keycode; /**< */ 1107 ubyte count; /**< */ 1108 } ; 1109 1110 /** Opcode for xcb_request. */ 1111 const uint XCB_REQUEST = 1; 1112 1113 /** 1114 * @brief xcb_request_error_t 1115 **/ 1116 struct xcb_request_error_t { 1117 ubyte response_type; /**< */ 1118 ubyte error_code; /**< */ 1119 ushort sequence; /**< */ 1120 uint bad_value; /**< */ 1121 ushort minor_opcode; /**< */ 1122 ubyte major_opcode; /**< */ 1123 } ; 1124 1125 /** Opcode for xcb_value. */ 1126 const uint XCB_VALUE = 2; 1127 1128 /** 1129 * @brief xcb_value_error_t 1130 **/ 1131 struct xcb_value_error_t { 1132 ubyte response_type; /**< */ 1133 ubyte error_code; /**< */ 1134 ushort sequence; /**< */ 1135 uint bad_value; /**< */ 1136 ushort minor_opcode; /**< */ 1137 ubyte major_opcode; /**< */ 1138 } ; 1139 1140 /** Opcode for xcb_window. */ 1141 const uint XCB_WINDOW = 3; 1142 1143 alias xcb_value_error_t xcb_window_error_t; 1144 1145 /** Opcode for xcb_pixmap. */ 1146 const uint XCB_PIXMAP = 4; 1147 1148 alias xcb_value_error_t xcb_pixmap_error_t; 1149 1150 /** Opcode for xcb_atom. */ 1151 const uint XCB_ATOM = 5; 1152 1153 alias xcb_value_error_t xcb_atom_error_t; 1154 1155 /** Opcode for xcb_cursor. */ 1156 const uint XCB_CURSOR = 6; 1157 1158 alias xcb_value_error_t xcb_cursor_error_t; 1159 1160 /** Opcode for xcb_font. */ 1161 const uint XCB_FONT = 7; 1162 1163 alias xcb_value_error_t xcb_font_error_t; 1164 1165 /** Opcode for xcb_match. */ 1166 const uint XCB_MATCH = 8; 1167 1168 alias xcb_request_error_t xcb_match_error_t; 1169 1170 /** Opcode for xcb_drawable. */ 1171 const uint XCB_DRAWABLE = 9; 1172 1173 alias xcb_value_error_t xcb_drawable_error_t; 1174 1175 /** Opcode for xcb_access. */ 1176 const uint XCB_ACCESS = 10; 1177 1178 alias xcb_request_error_t xcb_access_error_t; 1179 1180 /** Opcode for xcb_alloc. */ 1181 const uint XCB_ALLOC = 11; 1182 1183 alias xcb_request_error_t xcb_alloc_error_t; 1184 1185 /** Opcode for xcb_colormap. */ 1186 const uint XCB_COLORMAP = 12; 1187 1188 alias xcb_value_error_t xcb_colormap_error_t; 1189 1190 /** Opcode for xcb_g_context. */ 1191 const uint XCB_G_CONTEXT = 13; 1192 1193 alias xcb_value_error_t xcb_g_context_error_t; 1194 1195 /** Opcode for xcb_id_choice. */ 1196 const uint XCB_ID_CHOICE = 14; 1197 1198 alias xcb_value_error_t xcb_id_choice_error_t; 1199 1200 /** Opcode for xcb_name. */ 1201 const uint XCB_NAME = 15; 1202 1203 alias xcb_request_error_t xcb_name_error_t; 1204 1205 /** Opcode for xcb_length. */ 1206 const uint XCB_LENGTH = 16; 1207 1208 alias xcb_request_error_t xcb_length_error_t; 1209 1210 /** Opcode for xcb_implementation. */ 1211 const uint XCB_IMPLEMENTATION = 17; 1212 1213 alias xcb_request_error_t xcb_implementation_error_t; 1214 1215 enum :int{ 1216 XCB_WINDOW_CLASS_COPY_FROM_PARENT = 0, 1217 XCB_WINDOW_CLASS_INPUT_OUTPUT = 1, 1218 XCB_WINDOW_CLASS_INPUT_ONLY = 2 1219 }; 1220 1221 enum :int{ 1222 XCB_CW_BACK_PIXMAP = (1 << 0), 1223 XCB_CW_BACK_PIXEL = (1 << 1), 1224 XCB_CW_BORDER_PIXMAP = (1 << 2), 1225 XCB_CW_BORDER_PIXEL = (1 << 3), 1226 XCB_CW_BIT_GRAVITY = (1 << 4), 1227 XCB_CW_WIN_GRAVITY = (1 << 5), 1228 XCB_CW_BACKING_STORE = (1 << 6), 1229 XCB_CW_BACKING_PLANES = (1 << 7), 1230 XCB_CW_BACKING_PIXEL = (1 << 8), 1231 XCB_CW_OVERRIDE_REDIRECT = (1 << 9), 1232 XCB_CW_SAVE_UNDER = (1 << 10), 1233 XCB_CW_EVENT_MASK = (1 << 11), 1234 XCB_CW_DONT_PROPAGATE = (1 << 12), 1235 XCB_CW_COLORMAP = (1 << 13), 1236 XCB_CW_CURSOR = (1 << 14) 1237 }; 1238 1239 enum :int{ 1240 XCB_BACK_PIXMAP_NONE = 0, 1241 XCB_BACK_PIXMAP_PARENT_RELATIVE = 1 1242 }; 1243 1244 enum :int{ 1245 XCB_GRAVITY_BIT_FORGET = 0, 1246 XCB_GRAVITY_WIN_UNMAP = 0, 1247 XCB_GRAVITY_NORTH_WEST = 1, 1248 XCB_GRAVITY_NORTH = 2, 1249 XCB_GRAVITY_NORTH_EAST = 3, 1250 XCB_GRAVITY_WEST = 4, 1251 XCB_GRAVITY_CENTER = 5, 1252 XCB_GRAVITY_EAST = 6, 1253 XCB_GRAVITY_SOUTH_WEST = 7, 1254 XCB_GRAVITY_SOUTH = 8, 1255 XCB_GRAVITY_SOUTH_EAST = 9, 1256 XCB_GRAVITY_STATIC = 10 1257 }; 1258 1259 enum :int{ 1260 XCB_BACKING_STORE_NOT_USEFUL = 0, 1261 XCB_BACKING_STORE_WHEN_MAPPED = 1, 1262 XCB_BACKING_STORE_ALWAYS = 2 1263 }; 1264 1265 enum :int{ 1266 XCB_EVENT_MASK_NO_EVENT = 0, 1267 XCB_EVENT_MASK_KEY_PRESS = (1 << 0), 1268 XCB_EVENT_MASK_KEY_RELEASE = (1 << 1), 1269 XCB_EVENT_MASK_BUTTON_PRESS = (1 << 2), 1270 XCB_EVENT_MASK_BUTTON_RELEASE = (1 << 3), 1271 XCB_EVENT_MASK_ENTER_WINDOW = (1 << 4), 1272 XCB_EVENT_MASK_LEAVE_WINDOW = (1 << 5), 1273 XCB_EVENT_MASK_POINTER_MOTION = (1 << 6), 1274 XCB_EVENT_MASK_POINTER_MOTION_HINT = (1 << 7), 1275 XCB_EVENT_MASK_BUTTON_1_MOTION = (1 << 8), 1276 XCB_EVENT_MASK_BUTTON_2_MOTION = (1 << 9), 1277 XCB_EVENT_MASK_BUTTON_3_MOTION = (1 << 10), 1278 XCB_EVENT_MASK_BUTTON_4_MOTION = (1 << 11), 1279 XCB_EVENT_MASK_BUTTON_5_MOTION = (1 << 12), 1280 XCB_EVENT_MASK_BUTTON_MOTION = (1 << 13), 1281 XCB_EVENT_MASK_KEYMAP_STATE = (1 << 14), 1282 XCB_EVENT_MASK_EXPOSURE = (1 << 15), 1283 XCB_EVENT_MASK_VISIBILITY_CHANGE = (1 << 16), 1284 XCB_EVENT_MASK_STRUCTURE_NOTIFY = (1 << 17), 1285 XCB_EVENT_MASK_RESIZE_REDIRECT = (1 << 18), 1286 XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY = (1 << 19), 1287 XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT = (1 << 20), 1288 XCB_EVENT_MASK_FOCUS_CHANGE = (1 << 21), 1289 XCB_EVENT_MASK_PROPERTY_CHANGE = (1 << 22), 1290 XCB_EVENT_MASK_COLOR_MAP_CHANGE = (1 << 23), 1291 XCB_EVENT_MASK_OWNER_GRAB_BUTTON = (1 << 24) 1292 }; 1293 1294 /** Opcode for xcb_create_window. */ 1295 const uint XCB_CREATE_WINDOW = 1; 1296 1297 /** 1298 * @brief xcb_create_window_request_t 1299 **/ 1300 struct xcb_create_window_request_t { 1301 ubyte major_opcode; /**< */ 1302 ubyte depth; /**< */ 1303 ushort length; /**< */ 1304 xcb_window_t wid; /**< */ 1305 xcb_window_t parent; /**< */ 1306 short x; /**< */ 1307 short y; /**< */ 1308 ushort width; /**< */ 1309 ushort height; /**< */ 1310 ushort border_width; /**< */ 1311 ushort _class; /**< */ 1312 xcb_visualid_t visual; /**< */ 1313 uint value_mask; /**< */ 1314 } ; 1315 1316 /** Opcode for xcb_change_window_attributes. */ 1317 const uint XCB_CHANGE_WINDOW_ATTRIBUTES = 2; 1318 1319 /** 1320 * @brief xcb_change_window_attributes_request_t 1321 **/ 1322 struct xcb_change_window_attributes_request_t { 1323 ubyte major_opcode; /**< */ 1324 ubyte pad0; /**< */ 1325 ushort length; /**< */ 1326 xcb_window_t window; /**< */ 1327 uint value_mask; /**< */ 1328 } ; 1329 1330 enum :int{ 1331 XCB_MAP_STATE_UNMAPPED = 0, 1332 XCB_MAP_STATE_UNVIEWABLE = 1, 1333 XCB_MAP_STATE_VIEWABLE = 2 1334 }; 1335 1336 /** 1337 * @brief xcb_get_window_attributes_cookie_t 1338 **/ 1339 struct xcb_get_window_attributes_cookie_t { 1340 uint sequence; /**< */ 1341 } ; 1342 1343 /** Opcode for xcb_get_window_attributes. */ 1344 const uint XCB_GET_WINDOW_ATTRIBUTES = 3; 1345 1346 /** 1347 * @brief xcb_get_window_attributes_request_t 1348 **/ 1349 struct xcb_get_window_attributes_request_t { 1350 ubyte major_opcode; /**< */ 1351 ubyte pad0; /**< */ 1352 ushort length; /**< */ 1353 xcb_window_t window; /**< */ 1354 } ; 1355 1356 /** 1357 * @brief xcb_get_window_attributes_reply_t 1358 **/ 1359 struct xcb_get_window_attributes_reply_t { 1360 ubyte response_type; /**< */ 1361 ubyte backing_store; /**< */ 1362 ushort sequence; /**< */ 1363 uint length; /**< */ 1364 xcb_visualid_t visual; /**< */ 1365 ushort _class; /**< */ 1366 ubyte bit_gravity; /**< */ 1367 ubyte win_gravity; /**< */ 1368 uint backing_planes; /**< */ 1369 uint backing_pixel; /**< */ 1370 bool save_under; /**< */ 1371 bool map_is_installed; /**< */ 1372 ubyte map_state; /**< */ 1373 bool override_redirect; /**< */ 1374 xcb_colormap_t colormap; /**< */ 1375 uint all_event_masks; /**< */ 1376 uint your_event_mask; /**< */ 1377 ushort do_not_propagate_mask; /**< */ 1378 } ; 1379 1380 /** Opcode for xcb_destroy_window. */ 1381 const uint XCB_DESTROY_WINDOW = 4; 1382 1383 /** 1384 * @brief xcb_destroy_window_request_t 1385 **/ 1386 struct xcb_destroy_window_request_t { 1387 ubyte major_opcode; /**< */ 1388 ubyte pad0; /**< */ 1389 ushort length; /**< */ 1390 xcb_window_t window; /**< */ 1391 } ; 1392 1393 /** Opcode for xcb_destroy_subwindows. */ 1394 const uint XCB_DESTROY_SUBWINDOWS = 5; 1395 1396 /** 1397 * @brief xcb_destroy_subwindows_request_t 1398 **/ 1399 struct xcb_destroy_subwindows_request_t { 1400 ubyte major_opcode; /**< */ 1401 ubyte pad0; /**< */ 1402 ushort length; /**< */ 1403 xcb_window_t window; /**< */ 1404 } ; 1405 1406 enum :int{ 1407 XCB_SET_MODE_INSERT = 0, 1408 XCB_SET_MODE_DELETE = 1 1409 }; 1410 1411 /** Opcode for xcb_change_save_set. */ 1412 const uint XCB_CHANGE_SAVE_SET = 6; 1413 1414 /** 1415 * @brief xcb_change_save_set_request_t 1416 **/ 1417 struct xcb_change_save_set_request_t { 1418 ubyte major_opcode; /**< */ 1419 ubyte mode; /**< */ 1420 ushort length; /**< */ 1421 xcb_window_t window; /**< */ 1422 } ; 1423 1424 /** Opcode for xcb_reparent_window. */ 1425 const uint XCB_REPARENT_WINDOW = 7; 1426 1427 /** 1428 * @brief xcb_reparent_window_request_t 1429 **/ 1430 struct xcb_reparent_window_request_t { 1431 ubyte major_opcode; /**< */ 1432 ubyte pad0; /**< */ 1433 ushort length; /**< */ 1434 xcb_window_t window; /**< */ 1435 xcb_window_t parent; /**< */ 1436 short x; /**< */ 1437 short y; /**< */ 1438 } ; 1439 1440 /** Opcode for xcb_map_window. */ 1441 const uint XCB_MAP_WINDOW = 8; 1442 1443 /** 1444 * @brief xcb_map_window_request_t 1445 **/ 1446 struct xcb_map_window_request_t { 1447 ubyte major_opcode; /**< */ 1448 ubyte pad0; /**< */ 1449 ushort length; /**< */ 1450 xcb_window_t window; /**< */ 1451 } ; 1452 1453 /** Opcode for xcb_map_subwindows. */ 1454 const uint XCB_MAP_SUBWINDOWS = 9; 1455 1456 /** 1457 * @brief xcb_map_subwindows_request_t 1458 **/ 1459 struct xcb_map_subwindows_request_t { 1460 ubyte major_opcode; /**< */ 1461 ubyte pad0; /**< */ 1462 ushort length; /**< */ 1463 xcb_window_t window; /**< */ 1464 } ; 1465 1466 /** Opcode for xcb_unmap_window. */ 1467 const uint XCB_UNMAP_WINDOW = 10; 1468 1469 /** 1470 * @brief xcb_unmap_window_request_t 1471 **/ 1472 struct xcb_unmap_window_request_t { 1473 ubyte major_opcode; /**< */ 1474 ubyte pad0; /**< */ 1475 ushort length; /**< */ 1476 xcb_window_t window; /**< */ 1477 } ; 1478 1479 /** Opcode for xcb_unmap_subwindows. */ 1480 const uint XCB_UNMAP_SUBWINDOWS = 11; 1481 1482 /** 1483 * @brief xcb_unmap_subwindows_request_t 1484 **/ 1485 struct xcb_unmap_subwindows_request_t { 1486 ubyte major_opcode; /**< */ 1487 ubyte pad0; /**< */ 1488 ushort length; /**< */ 1489 xcb_window_t window; /**< */ 1490 } ; 1491 1492 enum :int{ 1493 XCB_CONFIG_WINDOW_X = (1 << 0), 1494 XCB_CONFIG_WINDOW_Y = (1 << 1), 1495 XCB_CONFIG_WINDOW_WIDTH = (1 << 2), 1496 XCB_CONFIG_WINDOW_HEIGHT = (1 << 3), 1497 XCB_CONFIG_WINDOW_BORDER_WIDTH = (1 << 4), 1498 XCB_CONFIG_WINDOW_SIBLING = (1 << 5), 1499 XCB_CONFIG_WINDOW_STACK_MODE = (1 << 6) 1500 }; 1501 1502 enum :int{ 1503 XCB_STACK_MODE_ABOVE = 0, 1504 XCB_STACK_MODE_BELOW = 1, 1505 XCB_STACK_MODE_TOP_IF = 2, 1506 XCB_STACK_MODE_BOTTOM_IF = 3, 1507 XCB_STACK_MODE_OPPOSITE = 4 1508 }; 1509 1510 /** Opcode for xcb_configure_window. */ 1511 const uint XCB_CONFIGURE_WINDOW = 12; 1512 1513 /** 1514 * @brief xcb_configure_window_request_t 1515 **/ 1516 struct xcb_configure_window_request_t { 1517 ubyte major_opcode; /**< */ 1518 ubyte pad0; /**< */ 1519 ushort length; /**< */ 1520 xcb_window_t window; /**< */ 1521 ushort value_mask; /**< */ 1522 } ; 1523 1524 enum :int{ 1525 XCB_CIRCULATE_RAISE_LOWEST = 0, 1526 XCB_CIRCULATE_LOWER_HIGHEST = 1 1527 }; 1528 1529 /** Opcode for xcb_circulate_window. */ 1530 const uint XCB_CIRCULATE_WINDOW = 13; 1531 1532 /** 1533 * @brief xcb_circulate_window_request_t 1534 **/ 1535 struct xcb_circulate_window_request_t { 1536 ubyte major_opcode; /**< */ 1537 ubyte direction; /**< */ 1538 ushort length; /**< */ 1539 xcb_window_t window; /**< */ 1540 } ; 1541 1542 /** 1543 * @brief xcb_get_geometry_cookie_t 1544 **/ 1545 struct xcb_get_geometry_cookie_t { 1546 uint sequence; /**< */ 1547 } ; 1548 1549 /** Opcode for xcb_get_geometry. */ 1550 const uint XCB_GET_GEOMETRY = 14; 1551 1552 /** 1553 * @brief xcb_get_geometry_request_t 1554 **/ 1555 struct xcb_get_geometry_request_t { 1556 ubyte major_opcode; /**< */ 1557 ubyte pad0; /**< */ 1558 ushort length; /**< */ 1559 xcb_drawable_t drawable; /**< */ 1560 } ; 1561 1562 /** 1563 * @brief xcb_get_geometry_reply_t 1564 **/ 1565 struct xcb_get_geometry_reply_t { 1566 ubyte response_type; /**< */ 1567 ubyte depth; /**< */ 1568 ushort sequence; /**< */ 1569 uint length; /**< */ 1570 xcb_window_t root; /**< */ 1571 short x; /**< */ 1572 short y; /**< */ 1573 ushort width; /**< */ 1574 ushort height; /**< */ 1575 ushort border_width; /**< */ 1576 } ; 1577 1578 /** 1579 * @brief xcb_query_tree_cookie_t 1580 **/ 1581 struct xcb_query_tree_cookie_t { 1582 uint sequence; /**< */ 1583 } ; 1584 1585 /** Opcode for xcb_query_tree. */ 1586 const uint XCB_QUERY_TREE = 15; 1587 1588 /** 1589 * @brief xcb_query_tree_request_t 1590 **/ 1591 struct xcb_query_tree_request_t { 1592 ubyte major_opcode; /**< */ 1593 ubyte pad0; /**< */ 1594 ushort length; /**< */ 1595 xcb_window_t window; /**< */ 1596 } ; 1597 1598 /** 1599 * @brief xcb_query_tree_reply_t 1600 **/ 1601 struct xcb_query_tree_reply_t { 1602 ubyte response_type; /**< */ 1603 ubyte pad0; /**< */ 1604 ushort sequence; /**< */ 1605 uint length; /**< */ 1606 xcb_window_t root; /**< */ 1607 xcb_window_t parent; /**< */ 1608 ushort children_len; /**< */ 1609 ubyte pad1[14]; /**< */ 1610 } ; 1611 1612 /** 1613 * @brief xcb_intern_atom_cookie_t 1614 **/ 1615 struct xcb_intern_atom_cookie_t { 1616 uint sequence; /**< */ 1617 } ; 1618 1619 /** Opcode for xcb_intern_atom. */ 1620 const uint XCB_INTERN_ATOM = 16; 1621 1622 /** 1623 * @brief xcb_intern_atom_request_t 1624 **/ 1625 struct xcb_intern_atom_request_t { 1626 ubyte major_opcode; /**< */ 1627 bool only_if_exists; /**< */ 1628 ushort length; /**< */ 1629 ushort name_len; /**< */ 1630 ubyte pad0[2]; /**< */ 1631 } ; 1632 1633 /** 1634 * @brief xcb_intern_atom_reply_t 1635 **/ 1636 struct xcb_intern_atom_reply_t { 1637 ubyte response_type; /**< */ 1638 ubyte pad0; /**< */ 1639 ushort sequence; /**< */ 1640 uint length; /**< */ 1641 xcb_atom_t atom; /**< */ 1642 } ; 1643 1644 /** 1645 * @brief xcb_get_atom_name_cookie_t 1646 **/ 1647 struct xcb_get_atom_name_cookie_t { 1648 uint sequence; /**< */ 1649 } ; 1650 1651 /** Opcode for xcb_get_atom_name. */ 1652 const uint XCB_GET_ATOM_NAME = 17; 1653 1654 /** 1655 * @brief xcb_get_atom_name_request_t 1656 **/ 1657 struct xcb_get_atom_name_request_t { 1658 ubyte major_opcode; /**< */ 1659 ubyte pad0; /**< */ 1660 ushort length; /**< */ 1661 xcb_atom_t atom; /**< */ 1662 } ; 1663 1664 /** 1665 * @brief xcb_get_atom_name_reply_t 1666 **/ 1667 struct xcb_get_atom_name_reply_t { 1668 ubyte response_type; /**< */ 1669 ubyte pad0; /**< */ 1670 ushort sequence; /**< */ 1671 uint length; /**< */ 1672 ushort name_len; /**< */ 1673 ubyte pad1[22]; /**< */ 1674 } ; 1675 1676 enum :int{ 1677 XCB_PROP_MODE_REPLACE = 0, 1678 XCB_PROP_MODE_PREPEND = 1, 1679 XCB_PROP_MODE_APPEND = 2 1680 }; 1681 1682 /** Opcode for xcb_change_property. */ 1683 const uint XCB_CHANGE_PROPERTY = 18; 1684 1685 /** 1686 * @brief xcb_change_property_request_t 1687 **/ 1688 struct xcb_change_property_request_t { 1689 ubyte major_opcode; /**< */ 1690 ubyte mode; /**< */ 1691 ushort length; /**< */ 1692 xcb_window_t window; /**< */ 1693 xcb_atom_t property; /**< */ 1694 xcb_atom_t type; /**< */ 1695 ubyte format; /**< */ 1696 ubyte pad0[3]; /**< */ 1697 uint data_len; /**< */ 1698 } ; 1699 1700 /** Opcode for xcb_delete_property. */ 1701 const uint XCB_DELETE_PROPERTY = 19; 1702 1703 /** 1704 * @brief xcb_delete_property_request_t 1705 **/ 1706 struct xcb_delete_property_request_t { 1707 ubyte major_opcode; /**< */ 1708 ubyte pad0; /**< */ 1709 ushort length; /**< */ 1710 xcb_window_t window; /**< */ 1711 xcb_atom_t property; /**< */ 1712 } ; 1713 1714 enum :int{ 1715 XCB_GET_PROPERTY_TYPE_ANY = 0 1716 }; 1717 1718 /** 1719 * @brief xcb_get_property_cookie_t 1720 **/ 1721 struct xcb_get_property_cookie_t { 1722 uint sequence; /**< */ 1723 } ; 1724 1725 /** Opcode for xcb_get_property. */ 1726 const uint XCB_GET_PROPERTY = 20; 1727 1728 /** 1729 * @brief xcb_get_property_request_t 1730 **/ 1731 struct xcb_get_property_request_t { 1732 ubyte major_opcode; /**< */ 1733 bool _delete; /**< */ 1734 ushort length; /**< */ 1735 xcb_window_t window; /**< */ 1736 xcb_atom_t property; /**< */ 1737 xcb_atom_t type; /**< */ 1738 uint long_offset; /**< */ 1739 uint long_length; /**< */ 1740 } ; 1741 1742 /** 1743 * @brief xcb_get_property_reply_t 1744 **/ 1745 struct xcb_get_property_reply_t { 1746 ubyte response_type; /**< */ 1747 ubyte format; /**< */ 1748 ushort sequence; /**< */ 1749 uint length; /**< */ 1750 xcb_atom_t type; /**< */ 1751 uint bytes_after; /**< */ 1752 uint value_len; /**< */ 1753 ubyte pad0[12]; /**< */ 1754 } ; 1755 1756 /** 1757 * @brief xcb_list_properties_cookie_t 1758 **/ 1759 struct xcb_list_properties_cookie_t { 1760 uint sequence; /**< */ 1761 } ; 1762 1763 /** Opcode for xcb_list_properties. */ 1764 const uint XCB_LIST_PROPERTIES = 21; 1765 1766 /** 1767 * @brief xcb_list_properties_request_t 1768 **/ 1769 struct xcb_list_properties_request_t { 1770 ubyte major_opcode; /**< */ 1771 ubyte pad0; /**< */ 1772 ushort length; /**< */ 1773 xcb_window_t window; /**< */ 1774 } ; 1775 1776 /** 1777 * @brief xcb_list_properties_reply_t 1778 **/ 1779 struct xcb_list_properties_reply_t { 1780 ubyte response_type; /**< */ 1781 ubyte pad0; /**< */ 1782 ushort sequence; /**< */ 1783 uint length; /**< */ 1784 ushort atoms_len; /**< */ 1785 ubyte pad1[22]; /**< */ 1786 } ; 1787 1788 /** Opcode for xcb_set_selection_owner. */ 1789 const uint XCB_SET_SELECTION_OWNER = 22; 1790 1791 /** 1792 * @brief xcb_set_selection_owner_request_t 1793 **/ 1794 struct xcb_set_selection_owner_request_t { 1795 ubyte major_opcode; /**< */ 1796 ubyte pad0; /**< */ 1797 ushort length; /**< */ 1798 xcb_window_t owner; /**< */ 1799 xcb_atom_t selection; /**< */ 1800 xcb_timestamp_t time; /**< */ 1801 } ; 1802 1803 /** 1804 * @brief xcb_get_selection_owner_cookie_t 1805 **/ 1806 struct xcb_get_selection_owner_cookie_t { 1807 uint sequence; /**< */ 1808 } ; 1809 1810 /** Opcode for xcb_get_selection_owner. */ 1811 const uint XCB_GET_SELECTION_OWNER = 23; 1812 1813 /** 1814 * @brief xcb_get_selection_owner_request_t 1815 **/ 1816 struct xcb_get_selection_owner_request_t { 1817 ubyte major_opcode; /**< */ 1818 ubyte pad0; /**< */ 1819 ushort length; /**< */ 1820 xcb_atom_t selection; /**< */ 1821 } ; 1822 1823 /** 1824 * @brief xcb_get_selection_owner_reply_t 1825 **/ 1826 struct xcb_get_selection_owner_reply_t { 1827 ubyte response_type; /**< */ 1828 ubyte pad0; /**< */ 1829 ushort sequence; /**< */ 1830 uint length; /**< */ 1831 xcb_window_t owner; /**< */ 1832 } ; 1833 1834 /** Opcode for xcb_convert_selection. */ 1835 const uint XCB_CONVERT_SELECTION = 24; 1836 1837 /** 1838 * @brief xcb_convert_selection_request_t 1839 **/ 1840 struct xcb_convert_selection_request_t { 1841 ubyte major_opcode; /**< */ 1842 ubyte pad0; /**< */ 1843 ushort length; /**< */ 1844 xcb_window_t requestor; /**< */ 1845 xcb_atom_t selection; /**< */ 1846 xcb_atom_t target; /**< */ 1847 xcb_atom_t property; /**< */ 1848 xcb_timestamp_t time; /**< */ 1849 } ; 1850 1851 enum :int{ 1852 XCB_SEND_EVENT_DEST_POINTER_WINDOW = 0, 1853 XCB_SEND_EVENT_DEST_ITEM_FOCUS = 1 1854 }; 1855 1856 /** Opcode for xcb_send_event. */ 1857 const uint XCB_SEND_EVENT = 25; 1858 1859 /** 1860 * @brief xcb_send_event_request_t 1861 **/ 1862 struct xcb_send_event_request_t { 1863 ubyte major_opcode; /**< */ 1864 bool propagate; /**< */ 1865 ushort length; /**< */ 1866 xcb_window_t destination; /**< */ 1867 uint event_mask; /**< */ 1868 } ; 1869 1870 enum :int{ 1871 XCB_GRAB_MODE_SYNC = 0, 1872 XCB_GRAB_MODE_ASYNC = 1 1873 }; 1874 1875 enum :int{ 1876 XCB_GRAB_STATUS_SUCCESS = 0, 1877 XCB_GRAB_STATUS_ALREADY_GRABBED = 1, 1878 XCB_GRAB_STATUS_INVALID_TIME = 2, 1879 XCB_GRAB_STATUS_NOT_VIEWABLE = 3, 1880 XCB_GRAB_STATUS_FROZEN = 4 1881 }; 1882 1883 /** 1884 * @brief xcb_grab_pointer_cookie_t 1885 **/ 1886 struct xcb_grab_pointer_cookie_t { 1887 uint sequence; /**< */ 1888 } ; 1889 1890 /** Opcode for xcb_grab_pointer. */ 1891 const uint XCB_GRAB_POINTER = 26; 1892 1893 /** 1894 * @brief xcb_grab_pointer_request_t 1895 **/ 1896 struct xcb_grab_pointer_request_t { 1897 ubyte major_opcode; /**< */ 1898 bool owner_events; /**< */ 1899 ushort length; /**< */ 1900 xcb_window_t grab_window; /**< */ 1901 ushort event_mask; /**< */ 1902 ubyte pointer_mode; /**< */ 1903 ubyte keyboard_mode; /**< */ 1904 xcb_window_t confine_to; /**< */ 1905 xcb_cursor_t cursor; /**< */ 1906 xcb_timestamp_t time; /**< */ 1907 } ; 1908 1909 /** 1910 * @brief xcb_grab_pointer_reply_t 1911 **/ 1912 struct xcb_grab_pointer_reply_t { 1913 ubyte response_type; /**< */ 1914 ubyte status; /**< */ 1915 ushort sequence; /**< */ 1916 uint length; /**< */ 1917 } ; 1918 1919 /** Opcode for xcb_ungrab_pointer. */ 1920 const uint XCB_UNGRAB_POINTER = 27; 1921 1922 /** 1923 * @brief xcb_ungrab_pointer_request_t 1924 **/ 1925 struct xcb_ungrab_pointer_request_t { 1926 ubyte major_opcode; /**< */ 1927 ubyte pad0; /**< */ 1928 ushort length; /**< */ 1929 xcb_timestamp_t time; /**< */ 1930 } ; 1931 1932 enum :int{ 1933 XCB_BUTTON_INDEX_ANY = 0, 1934 XCB_BUTTON_INDEX_1 = 1, 1935 XCB_BUTTON_INDEX_2 = 2, 1936 XCB_BUTTON_INDEX_3 = 3, 1937 XCB_BUTTON_INDEX_4 = 4, 1938 XCB_BUTTON_INDEX_5 = 5 1939 }; 1940 1941 /** Opcode for xcb_grab_button. */ 1942 const uint XCB_GRAB_BUTTON = 28; 1943 1944 /** 1945 * @brief xcb_grab_button_request_t 1946 **/ 1947 struct xcb_grab_button_request_t { 1948 ubyte major_opcode; /**< */ 1949 bool owner_events; /**< */ 1950 ushort length; /**< */ 1951 xcb_window_t grab_window; /**< */ 1952 ushort event_mask; /**< */ 1953 ubyte pointer_mode; /**< */ 1954 ubyte keyboard_mode; /**< */ 1955 xcb_window_t confine_to; /**< */ 1956 xcb_cursor_t cursor; /**< */ 1957 ubyte button; /**< */ 1958 ubyte pad0; /**< */ 1959 ushort modifiers; /**< */ 1960 } ; 1961 1962 /** Opcode for xcb_ungrab_button. */ 1963 const uint XCB_UNGRAB_BUTTON = 29; 1964 1965 /** 1966 * @brief xcb_ungrab_button_request_t 1967 **/ 1968 struct xcb_ungrab_button_request_t { 1969 ubyte major_opcode; /**< */ 1970 ubyte button; /**< */ 1971 ushort length; /**< */ 1972 xcb_window_t grab_window; /**< */ 1973 ushort modifiers; /**< */ 1974 ubyte pad0[2]; /**< */ 1975 } ; 1976 1977 /** Opcode for xcb_change_active_pointer_grab. */ 1978 const uint XCB_CHANGE_ACTIVE_POINTER_GRAB = 30; 1979 1980 /** 1981 * @brief xcb_change_active_pointer_grab_request_t 1982 **/ 1983 struct xcb_change_active_pointer_grab_request_t { 1984 ubyte major_opcode; /**< */ 1985 ubyte pad0; /**< */ 1986 ushort length; /**< */ 1987 xcb_cursor_t cursor; /**< */ 1988 xcb_timestamp_t time; /**< */ 1989 ushort event_mask; /**< */ 1990 } ; 1991 1992 /** 1993 * @brief xcb_grab_keyboard_cookie_t 1994 **/ 1995 struct xcb_grab_keyboard_cookie_t { 1996 uint sequence; /**< */ 1997 } ; 1998 1999 /** Opcode for xcb_grab_keyboard. */ 2000 const uint XCB_GRAB_KEYBOARD = 31; 2001 2002 /** 2003 * @brief xcb_grab_keyboard_request_t 2004 **/ 2005 struct xcb_grab_keyboard_request_t { 2006 ubyte major_opcode; /**< */ 2007 bool owner_events; /**< */ 2008 ushort length; /**< */ 2009 xcb_window_t grab_window; /**< */ 2010 xcb_timestamp_t time; /**< */ 2011 ubyte pointer_mode; /**< */ 2012 ubyte keyboard_mode; /**< */ 2013 } ; 2014 2015 /** 2016 * @brief xcb_grab_keyboard_reply_t 2017 **/ 2018 struct xcb_grab_keyboard_reply_t { 2019 ubyte response_type; /**< */ 2020 ubyte status; /**< */ 2021 ushort sequence; /**< */ 2022 uint length; /**< */ 2023 } ; 2024 2025 /** Opcode for xcb_ungrab_keyboard. */ 2026 const uint XCB_UNGRAB_KEYBOARD = 32; 2027 2028 /** 2029 * @brief xcb_ungrab_keyboard_request_t 2030 **/ 2031 struct xcb_ungrab_keyboard_request_t { 2032 ubyte major_opcode; /**< */ 2033 ubyte pad0; /**< */ 2034 ushort length; /**< */ 2035 xcb_timestamp_t time; /**< */ 2036 } ; 2037 2038 enum :int{ 2039 XCB_GRAB_ANY = 0 2040 }; 2041 2042 /** Opcode for xcb_grab_key. */ 2043 const uint XCB_GRAB_KEY = 33; 2044 2045 /** 2046 * @brief xcb_grab_key_request_t 2047 **/ 2048 struct xcb_grab_key_request_t { 2049 ubyte major_opcode; /**< */ 2050 bool owner_events; /**< */ 2051 ushort length; /**< */ 2052 xcb_window_t grab_window; /**< */ 2053 ushort modifiers; /**< */ 2054 xcb_keycode_t key; /**< */ 2055 ubyte pointer_mode; /**< */ 2056 ubyte keyboard_mode; /**< */ 2057 } ; 2058 2059 /** Opcode for xcb_ungrab_key. */ 2060 const uint XCB_UNGRAB_KEY = 34; 2061 2062 /** 2063 * @brief xcb_ungrab_key_request_t 2064 **/ 2065 struct xcb_ungrab_key_request_t { 2066 ubyte major_opcode; /**< */ 2067 xcb_keycode_t key; /**< */ 2068 ushort length; /**< */ 2069 xcb_window_t grab_window; /**< */ 2070 ushort modifiers; /**< */ 2071 } ; 2072 2073 enum :int{ 2074 XCB_ALLOW_ASYNC_POINTER = 0, 2075 XCB_ALLOW_SYNC_POINTER = 1, 2076 XCB_ALLOW_REPLAY_POINTER = 2, 2077 XCB_ALLOW_ASYNC_KEYBOARD = 3, 2078 XCB_ALLOW_SYNC_KEYBOARD = 4, 2079 XCB_ALLOW_REPLAY_KEYBOARD = 5, 2080 XCB_ALLOW_ASYNC_BOTH = 6, 2081 XCB_ALLOW_SYNC_BOTH = 7 2082 }; 2083 2084 /** Opcode for xcb_allow_events. */ 2085 const uint XCB_ALLOW_EVENTS = 35; 2086 2087 /** 2088 * @brief xcb_allow_events_request_t 2089 **/ 2090 struct xcb_allow_events_request_t { 2091 ubyte major_opcode; /**< */ 2092 ubyte mode; /**< */ 2093 ushort length; /**< */ 2094 xcb_timestamp_t time; /**< */ 2095 } ; 2096 2097 /** Opcode for xcb_grab_server. */ 2098 const uint XCB_GRAB_SERVER = 36; 2099 2100 /** 2101 * @brief xcb_grab_server_request_t 2102 **/ 2103 struct xcb_grab_server_request_t { 2104 ubyte major_opcode; /**< */ 2105 ubyte pad0; /**< */ 2106 ushort length; /**< */ 2107 } ; 2108 2109 /** Opcode for xcb_ungrab_server. */ 2110 const uint XCB_UNGRAB_SERVER = 37; 2111 2112 /** 2113 * @brief xcb_ungrab_server_request_t 2114 **/ 2115 struct xcb_ungrab_server_request_t { 2116 ubyte major_opcode; /**< */ 2117 ubyte pad0; /**< */ 2118 ushort length; /**< */ 2119 } ; 2120 2121 /** 2122 * @brief xcb_query_pointer_cookie_t 2123 **/ 2124 struct xcb_query_pointer_cookie_t { 2125 uint sequence; /**< */ 2126 } ; 2127 2128 /** Opcode for xcb_query_pointer. */ 2129 const uint XCB_QUERY_POINTER = 38; 2130 2131 /** 2132 * @brief xcb_query_pointer_request_t 2133 **/ 2134 struct xcb_query_pointer_request_t { 2135 ubyte major_opcode; /**< */ 2136 ubyte pad0; /**< */ 2137 ushort length; /**< */ 2138 xcb_window_t window; /**< */ 2139 } ; 2140 2141 /** 2142 * @brief xcb_query_pointer_reply_t 2143 **/ 2144 struct xcb_query_pointer_reply_t { 2145 ubyte response_type; /**< */ 2146 bool same_screen; /**< */ 2147 ushort sequence; /**< */ 2148 uint length; /**< */ 2149 xcb_window_t root; /**< */ 2150 xcb_window_t child; /**< */ 2151 short root_x; /**< */ 2152 short root_y; /**< */ 2153 short win_x; /**< */ 2154 short win_y; /**< */ 2155 ushort mask; /**< */ 2156 } ; 2157 2158 /** 2159 * @brief xcb_timecoord_t 2160 **/ 2161 struct xcb_timecoord_t { 2162 xcb_timestamp_t time; /**< */ 2163 short x; /**< */ 2164 short y; /**< */ 2165 } ; 2166 2167 /** 2168 * @brief xcb_timecoord_iterator_t 2169 **/ 2170 struct xcb_timecoord_iterator_t { 2171 xcb_timecoord_t *data; /**< */ 2172 int rem; /**< */ 2173 int index; /**< */ 2174 } ; 2175 2176 /** 2177 * @brief xcb_get_motion_events_cookie_t 2178 **/ 2179 struct xcb_get_motion_events_cookie_t { 2180 uint sequence; /**< */ 2181 } ; 2182 2183 /** Opcode for xcb_get_motion_events. */ 2184 const uint XCB_GET_MOTION_EVENTS = 39; 2185 2186 /** 2187 * @brief xcb_get_motion_events_request_t 2188 **/ 2189 struct xcb_get_motion_events_request_t { 2190 ubyte major_opcode; /**< */ 2191 ubyte pad0; /**< */ 2192 ushort length; /**< */ 2193 xcb_window_t window; /**< */ 2194 xcb_timestamp_t start; /**< */ 2195 xcb_timestamp_t stop; /**< */ 2196 } ; 2197 2198 /** 2199 * @brief xcb_get_motion_events_reply_t 2200 **/ 2201 struct xcb_get_motion_events_reply_t { 2202 ubyte response_type; /**< */ 2203 ubyte pad0; /**< */ 2204 ushort sequence; /**< */ 2205 uint length; /**< */ 2206 uint events_len; /**< */ 2207 ubyte pad1[20]; /**< */ 2208 } ; 2209 2210 /** 2211 * @brief xcb_translate_coordinates_cookie_t 2212 **/ 2213 struct xcb_translate_coordinates_cookie_t { 2214 uint sequence; /**< */ 2215 } ; 2216 2217 /** Opcode for xcb_translate_coordinates. */ 2218 const uint XCB_TRANSLATE_COORDINATES = 40; 2219 2220 /** 2221 * @brief xcb_translate_coordinates_request_t 2222 **/ 2223 struct xcb_translate_coordinates_request_t { 2224 ubyte major_opcode; /**< */ 2225 ubyte pad0; /**< */ 2226 ushort length; /**< */ 2227 xcb_window_t src_window; /**< */ 2228 xcb_window_t dst_window; /**< */ 2229 short src_x; /**< */ 2230 short src_y; /**< */ 2231 } ; 2232 2233 /** 2234 * @brief xcb_translate_coordinates_reply_t 2235 **/ 2236 struct xcb_translate_coordinates_reply_t { 2237 ubyte response_type; /**< */ 2238 bool same_screen; /**< */ 2239 ushort sequence; /**< */ 2240 uint length; /**< */ 2241 xcb_window_t child; /**< */ 2242 ushort dst_x; /**< */ 2243 ushort dst_y; /**< */ 2244 } ; 2245 2246 /** Opcode for xcb_warp_pointer. */ 2247 const uint XCB_WARP_POINTER = 41; 2248 2249 /** 2250 * @brief xcb_warp_pointer_request_t 2251 **/ 2252 struct xcb_warp_pointer_request_t { 2253 ubyte major_opcode; /**< */ 2254 ubyte pad0; /**< */ 2255 ushort length; /**< */ 2256 xcb_window_t src_window; /**< */ 2257 xcb_window_t dst_window; /**< */ 2258 short src_x; /**< */ 2259 short src_y; /**< */ 2260 ushort src_width; /**< */ 2261 ushort src_height; /**< */ 2262 short dst_x; /**< */ 2263 short dst_y; /**< */ 2264 } ; 2265 2266 enum :int{ 2267 XCB_INPUT_FOCUS_NONE = 0, 2268 XCB_INPUT_FOCUS_POINTER_ROOT = 1, 2269 XCB_INPUT_FOCUS_PARENT = 2 2270 }; 2271 2272 /** Opcode for xcb_set_input_focus. */ 2273 const uint XCB_SET_INPUT_FOCUS = 42; 2274 2275 /** 2276 * @brief xcb_set_input_focus_request_t 2277 **/ 2278 struct xcb_set_input_focus_request_t { 2279 ubyte major_opcode; /**< */ 2280 ubyte revert_to; /**< */ 2281 ushort length; /**< */ 2282 xcb_window_t focus; /**< */ 2283 xcb_timestamp_t time; /**< */ 2284 } ; 2285 2286 /** 2287 * @brief xcb_get_input_focus_cookie_t 2288 **/ 2289 struct xcb_get_input_focus_cookie_t { 2290 uint sequence; /**< */ 2291 } ; 2292 2293 /** Opcode for xcb_get_input_focus. */ 2294 const uint XCB_GET_INPUT_FOCUS = 43; 2295 2296 /** 2297 * @brief xcb_get_input_focus_request_t 2298 **/ 2299 struct xcb_get_input_focus_request_t { 2300 ubyte major_opcode; /**< */ 2301 ubyte pad0; /**< */ 2302 ushort length; /**< */ 2303 } ; 2304 2305 /** 2306 * @brief xcb_get_input_focus_reply_t 2307 **/ 2308 struct xcb_get_input_focus_reply_t { 2309 ubyte response_type; /**< */ 2310 ubyte revert_to; /**< */ 2311 ushort sequence; /**< */ 2312 uint length; /**< */ 2313 xcb_window_t focus; /**< */ 2314 } ; 2315 2316 /** 2317 * @brief xcb_query_keymap_cookie_t 2318 **/ 2319 struct xcb_query_keymap_cookie_t { 2320 uint sequence; /**< */ 2321 } ; 2322 2323 /** Opcode for xcb_query_keymap. */ 2324 const uint XCB_QUERY_KEYMAP = 44; 2325 2326 /** 2327 * @brief xcb_query_keymap_request_t 2328 **/ 2329 struct xcb_query_keymap_request_t { 2330 ubyte major_opcode; /**< */ 2331 ubyte pad0; /**< */ 2332 ushort length; /**< */ 2333 } ; 2334 2335 /** 2336 * @brief xcb_query_keymap_reply_t 2337 **/ 2338 struct xcb_query_keymap_reply_t { 2339 ubyte response_type; /**< */ 2340 ubyte pad0; /**< */ 2341 ushort sequence; /**< */ 2342 uint length; /**< */ 2343 ubyte keys[32]; /**< */ 2344 } ; 2345 2346 /** Opcode for xcb_open_font. */ 2347 const uint XCB_OPEN_FONT = 45; 2348 2349 /** 2350 * @brief xcb_open_font_request_t 2351 **/ 2352 struct xcb_open_font_request_t { 2353 ubyte major_opcode; /**< */ 2354 ubyte pad0; /**< */ 2355 ushort length; /**< */ 2356 xcb_font_t fid; /**< */ 2357 ushort name_len; /**< */ 2358 } ; 2359 2360 /** Opcode for xcb_close_font. */ 2361 const uint XCB_CLOSE_FONT = 46; 2362 2363 /** 2364 * @brief xcb_close_font_request_t 2365 **/ 2366 struct xcb_close_font_request_t { 2367 ubyte major_opcode; /**< */ 2368 ubyte pad0; /**< */ 2369 ushort length; /**< */ 2370 xcb_font_t font; /**< */ 2371 } ; 2372 2373 enum :int{ 2374 XCB_FONT_DRAW_LEFT_TO_RIGHT = 0, 2375 XCB_FONT_DRAW_RIGHT_TO_LEFT = 1 2376 }; 2377 2378 /** 2379 * @brief xcb_fontprop_t 2380 **/ 2381 struct xcb_fontprop_t { 2382 xcb_atom_t name; /**< */ 2383 uint value; /**< */ 2384 } ; 2385 2386 /** 2387 * @brief xcb_fontprop_iterator_t 2388 **/ 2389 struct xcb_fontprop_iterator_t { 2390 xcb_fontprop_t *data; /**< */ 2391 int rem; /**< */ 2392 int index; /**< */ 2393 } ; 2394 2395 /** 2396 * @brief xcb_charinfo_t 2397 **/ 2398 struct xcb_charinfo_t { 2399 short left_side_bearing; /**< */ 2400 short right_side_bearing; /**< */ 2401 short character_width; /**< */ 2402 short ascent; /**< */ 2403 short descent; /**< */ 2404 ushort attributes; /**< */ 2405 } ; 2406 2407 /** 2408 * @brief xcb_charinfo_iterator_t 2409 **/ 2410 struct xcb_charinfo_iterator_t { 2411 xcb_charinfo_t *data; /**< */ 2412 int rem; /**< */ 2413 int index; /**< */ 2414 } ; 2415 2416 /** 2417 * @brief xcb_query_font_cookie_t 2418 **/ 2419 struct xcb_query_font_cookie_t { 2420 uint sequence; /**< */ 2421 } ; 2422 2423 /** Opcode for xcb_query_font. */ 2424 const uint XCB_QUERY_FONT = 47; 2425 2426 /** 2427 * @brief xcb_query_font_request_t 2428 **/ 2429 struct xcb_query_font_request_t { 2430 ubyte major_opcode; /**< */ 2431 ubyte pad0; /**< */ 2432 ushort length; /**< */ 2433 xcb_fontable_t font; /**< */ 2434 } ; 2435 2436 /** 2437 * @brief xcb_query_font_reply_t 2438 **/ 2439 struct xcb_query_font_reply_t { 2440 ubyte response_type; /**< */ 2441 ubyte pad0; /**< */ 2442 ushort sequence; /**< */ 2443 uint length; /**< */ 2444 xcb_charinfo_t min_bounds; /**< */ 2445 ubyte pad1[4]; /**< */ 2446 xcb_charinfo_t max_bounds; /**< */ 2447 ubyte pad2[4]; /**< */ 2448 ushort min_char_or_byte2; /**< */ 2449 ushort max_char_or_byte2; /**< */ 2450 ushort default_char; /**< */ 2451 ushort properties_len; /**< */ 2452 ubyte draw_direction; /**< */ 2453 ubyte min_byte1; /**< */ 2454 ubyte max_byte1; /**< */ 2455 bool all_chars_exist; /**< */ 2456 short font_ascent; /**< */ 2457 short font_descent; /**< */ 2458 uint char_infos_len; /**< */ 2459 } ; 2460 2461 /** 2462 * @brief xcb_query_text_extents_cookie_t 2463 **/ 2464 struct xcb_query_text_extents_cookie_t { 2465 uint sequence; /**< */ 2466 } ; 2467 2468 /** Opcode for xcb_query_text_extents. */ 2469 const uint XCB_QUERY_TEXT_EXTENTS = 48; 2470 2471 /** 2472 * @brief xcb_query_text_extents_request_t 2473 **/ 2474 struct xcb_query_text_extents_request_t { 2475 ubyte major_opcode; /**< */ 2476 bool odd_length; /**< */ 2477 ushort length; /**< */ 2478 xcb_fontable_t font; /**< */ 2479 } ; 2480 2481 /** 2482 * @brief xcb_query_text_extents_reply_t 2483 **/ 2484 struct xcb_query_text_extents_reply_t { 2485 ubyte response_type; /**< */ 2486 ubyte draw_direction; /**< */ 2487 ushort sequence; /**< */ 2488 uint length; /**< */ 2489 short font_ascent; /**< */ 2490 short font_descent; /**< */ 2491 short overall_ascent; /**< */ 2492 short overall_descent; /**< */ 2493 int overall_width; /**< */ 2494 int overall_left; /**< */ 2495 int overall_right; /**< */ 2496 } ; 2497 2498 /** 2499 * @brief xcb_str_t 2500 **/ 2501 struct xcb_str_t { 2502 ubyte name_len; /**< */ 2503 } ; 2504 2505 /** 2506 * @brief xcb_str_iterator_t 2507 **/ 2508 struct xcb_str_iterator_t { 2509 xcb_str_t *data; /**< */ 2510 int rem; /**< */ 2511 int index; /**< */ 2512 } ; 2513 2514 /** 2515 * @brief xcb_list_fonts_cookie_t 2516 **/ 2517 struct xcb_list_fonts_cookie_t { 2518 uint sequence; /**< */ 2519 } ; 2520 2521 /** Opcode for xcb_list_fonts. */ 2522 const uint XCB_LIST_FONTS = 49; 2523 2524 /** 2525 * @brief xcb_list_fonts_request_t 2526 **/ 2527 struct xcb_list_fonts_request_t { 2528 ubyte major_opcode; /**< */ 2529 ubyte pad0; /**< */ 2530 ushort length; /**< */ 2531 ushort max_names; /**< */ 2532 ushort pattern_len; /**< */ 2533 } ; 2534 2535 /** 2536 * @brief xcb_list_fonts_reply_t 2537 **/ 2538 struct xcb_list_fonts_reply_t { 2539 ubyte response_type; /**< */ 2540 ubyte pad0; /**< */ 2541 ushort sequence; /**< */ 2542 uint length; /**< */ 2543 ushort names_len; /**< */ 2544 ubyte pad1[22]; /**< */ 2545 } ; 2546 2547 /** 2548 * @brief xcb_list_fonts_with_info_cookie_t 2549 **/ 2550 struct xcb_list_fonts_with_info_cookie_t { 2551 uint sequence; /**< */ 2552 } ; 2553 2554 /** Opcode for xcb_list_fonts_with_info. */ 2555 const uint XCB_LIST_FONTS_WITH_INFO = 50; 2556 2557 /** 2558 * @brief xcb_list_fonts_with_info_request_t 2559 **/ 2560 struct xcb_list_fonts_with_info_request_t { 2561 ubyte major_opcode; /**< */ 2562 ubyte pad0; /**< */ 2563 ushort length; /**< */ 2564 ushort max_names; /**< */ 2565 ushort pattern_len; /**< */ 2566 } ; 2567 2568 /** 2569 * @brief xcb_list_fonts_with_info_reply_t 2570 **/ 2571 struct xcb_list_fonts_with_info_reply_t { 2572 ubyte response_type; /**< */ 2573 ubyte name_len; /**< */ 2574 ushort sequence; /**< */ 2575 uint length; /**< */ 2576 xcb_charinfo_t min_bounds; /**< */ 2577 ubyte pad0[4]; /**< */ 2578 xcb_charinfo_t max_bounds; /**< */ 2579 ubyte pad1[4]; /**< */ 2580 ushort min_char_or_byte2; /**< */ 2581 ushort max_char_or_byte2; /**< */ 2582 ushort default_char; /**< */ 2583 ushort properties_len; /**< */ 2584 ubyte draw_direction; /**< */ 2585 ubyte min_byte1; /**< */ 2586 ubyte max_byte1; /**< */ 2587 bool all_chars_exist; /**< */ 2588 short font_ascent; /**< */ 2589 short font_descent; /**< */ 2590 uint replies_hint; /**< */ 2591 } ; 2592 2593 /** Opcode for xcb_set_font_path. */ 2594 const uint XCB_SET_FONT_PATH = 51; 2595 2596 /** 2597 * @brief xcb_set_font_path_request_t 2598 **/ 2599 struct xcb_set_font_path_request_t { 2600 ubyte major_opcode; /**< */ 2601 ubyte pad0; /**< */ 2602 ushort length; /**< */ 2603 ushort font_qty; /**< */ 2604 } ; 2605 2606 /** 2607 * @brief xcb_get_font_path_cookie_t 2608 **/ 2609 struct xcb_get_font_path_cookie_t { 2610 uint sequence; /**< */ 2611 } ; 2612 2613 /** Opcode for xcb_get_font_path. */ 2614 const uint XCB_GET_FONT_PATH = 52; 2615 2616 /** 2617 * @brief xcb_get_font_path_request_t 2618 **/ 2619 struct xcb_get_font_path_request_t { 2620 ubyte major_opcode; /**< */ 2621 ubyte pad0; /**< */ 2622 ushort length; /**< */ 2623 } ; 2624 2625 /** 2626 * @brief xcb_get_font_path_reply_t 2627 **/ 2628 struct xcb_get_font_path_reply_t { 2629 ubyte response_type; /**< */ 2630 ubyte pad0; /**< */ 2631 ushort sequence; /**< */ 2632 uint length; /**< */ 2633 ushort path_len; /**< */ 2634 ubyte pad1[22]; /**< */ 2635 } ; 2636 2637 /** Opcode for xcb_create_pixmap. */ 2638 const uint XCB_CREATE_PIXMAP = 53; 2639 2640 /** 2641 * @brief xcb_create_pixmap_request_t 2642 **/ 2643 struct xcb_create_pixmap_request_t { 2644 ubyte major_opcode; /**< */ 2645 ubyte depth; /**< */ 2646 ushort length; /**< */ 2647 xcb_pixmap_t pid; /**< */ 2648 xcb_drawable_t drawable; /**< */ 2649 ushort width; /**< */ 2650 ushort height; /**< */ 2651 } ; 2652 2653 /** Opcode for xcb_free_pixmap. */ 2654 const uint XCB_FREE_PIXMAP = 54; 2655 2656 /** 2657 * @brief xcb_free_pixmap_request_t 2658 **/ 2659 struct xcb_free_pixmap_request_t { 2660 ubyte major_opcode; /**< */ 2661 ubyte pad0; /**< */ 2662 ushort length; /**< */ 2663 xcb_pixmap_t pixmap; /**< */ 2664 } ; 2665 2666 enum :int{ 2667 XCB_GC_FUNCTION = (1 << 0), 2668 XCB_GC_PLANE_MASK = (1 << 1), 2669 XCB_GC_FOREGROUND = (1 << 2), 2670 XCB_GC_BACKGROUND = (1 << 3), 2671 XCB_GC_LINE_WIDTH = (1 << 4), 2672 XCB_GC_LINE_STYLE = (1 << 5), 2673 XCB_GC_CAP_STYLE = (1 << 6), 2674 XCB_GC_JOIN_STYLE = (1 << 7), 2675 XCB_GC_FILL_STYLE = (1 << 8), 2676 XCB_GC_FILL_RULE = (1 << 9), 2677 XCB_GC_TILE = (1 << 10), 2678 XCB_GC_STIPPLE = (1 << 11), 2679 XCB_GC_TILE_STIPPLE_ORIGIN_X = (1 << 12), 2680 XCB_GC_TILE_STIPPLE_ORIGIN_Y = (1 << 13), 2681 XCB_GC_FONT = (1 << 14), 2682 XCB_GC_SUBWINDOW_MODE = (1 << 15), 2683 XCB_GC_GRAPHICS_EXPOSURES = (1 << 16), 2684 XCB_GC_CLIP_ORIGIN_X = (1 << 17), 2685 XCB_GC_CLIP_ORIGIN_Y = (1 << 18), 2686 XCB_GC_CLIP_MASK = (1 << 19), 2687 XCB_GC_DASH_OFFSET = (1 << 20), 2688 XCB_GC_DASH_LIST = (1 << 21), 2689 XCB_GC_ARC_MODE = (1 << 22) 2690 }; 2691 2692 enum :int{ 2693 XCB_GX_CLEAR = 0x0, 2694 XCB_GX_AND = 0x1, 2695 XCB_GX_AND_REVERSE = 0x2, 2696 XCB_GX_COPY = 0x3, 2697 XCB_GX_AND_INVERTED = 0x4, 2698 XCB_GX_NOOP = 0x5, 2699 XCB_GX_XOR = 0x6, 2700 XCB_GX_OR = 0x7, 2701 XCB_GX_NOR = 0x8, 2702 XCB_GX_EQUIV = 0x9, 2703 XCB_GX_INVERT = 0xa, 2704 XCB_GX_OR_REVERSE = 0xb, 2705 XCB_GX_COPY_INVERTED = 0xc, 2706 XCB_GX_OR_INVERTED = 0xd, 2707 XCB_GX_NAND = 0xe, 2708 XCB_GX_SET = 0xf 2709 }; 2710 2711 enum :int{ 2712 XCB_LINE_STYLE_SOLID = 0, 2713 XCB_LINE_STYLE_ON_OFF_DASH = 1, 2714 XCB_LINE_STYLE_DOUBLE_DASH = 2 2715 }; 2716 2717 enum :int{ 2718 XCB_CAP_STYLE_NOT_LAST = 0, 2719 XCB_CAP_STYLE_BUTT = 1, 2720 XCB_CAP_STYLE_ROUND = 2, 2721 XCB_CAP_STYLE_PROJECTING = 3 2722 }; 2723 2724 enum :int{ 2725 XCB_JOIN_STYLE_MITRE = 0, 2726 XCB_JOIN_STYLE_ROUND = 1, 2727 XCB_JOIN_STYLE_BEVEL = 2 2728 }; 2729 2730 enum :int{ 2731 XCB_FILL_STYLE_SOLID = 0, 2732 XCB_FILL_STYLE_TILED = 1, 2733 XCB_FILL_STYLE_STIPPLED = 2, 2734 XCB_FILL_STYLE_OPAQUE_STIPPLED = 3 2735 }; 2736 2737 enum :int{ 2738 XCB_FILL_RULE_EVEN_ODD = 0, 2739 XCB_FILL_RULE_WINDING = 1 2740 }; 2741 2742 enum :int{ 2743 XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN = 0, 2744 XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS = 1 2745 }; 2746 2747 enum :int{ 2748 XCB_ARC_MODE_CHORD = 0, 2749 XCB_ARC_MODE_PIE_SLICE = 1 2750 }; 2751 2752 /** Opcode for xcb_create_gc. */ 2753 const uint XCB_CREATE_GC = 55; 2754 2755 /** 2756 * @brief xcb_create_gc_request_t 2757 **/ 2758 struct xcb_create_gc_request_t { 2759 ubyte major_opcode; /**< */ 2760 ubyte pad0; /**< */ 2761 ushort length; /**< */ 2762 xcb_gcontext_t cid; /**< */ 2763 xcb_drawable_t drawable; /**< */ 2764 uint value_mask; /**< */ 2765 } ; 2766 2767 /** Opcode for xcb_change_gc. */ 2768 const uint XCB_CHANGE_GC = 56; 2769 2770 /** 2771 * @brief xcb_change_gc_request_t 2772 **/ 2773 struct xcb_change_gc_request_t { 2774 ubyte major_opcode; /**< */ 2775 ubyte pad0; /**< */ 2776 ushort length; /**< */ 2777 xcb_gcontext_t gc; /**< */ 2778 uint value_mask; /**< */ 2779 } ; 2780 2781 /** Opcode for xcb_copy_gc. */ 2782 const uint XCB_COPY_GC = 57; 2783 2784 /** 2785 * @brief xcb_copy_gc_request_t 2786 **/ 2787 struct xcb_copy_gc_request_t { 2788 ubyte major_opcode; /**< */ 2789 ubyte pad0; /**< */ 2790 ushort length; /**< */ 2791 xcb_gcontext_t src_gc; /**< */ 2792 xcb_gcontext_t dst_gc; /**< */ 2793 uint value_mask; /**< */ 2794 } ; 2795 2796 /** Opcode for xcb_set_dashes. */ 2797 const uint XCB_SET_DASHES = 58; 2798 2799 /** 2800 * @brief xcb_set_dashes_request_t 2801 **/ 2802 struct xcb_set_dashes_request_t { 2803 ubyte major_opcode; /**< */ 2804 ubyte pad0; /**< */ 2805 ushort length; /**< */ 2806 xcb_gcontext_t gc; /**< */ 2807 ushort dash_offset; /**< */ 2808 ushort dashes_len; /**< */ 2809 } ; 2810 2811 enum :int{ 2812 XCB_CLIP_ORDERING_UNSORTED = 0, 2813 XCB_CLIP_ORDERING_Y_SORTED = 1, 2814 XCB_CLIP_ORDERING_YX_SORTED = 2, 2815 XCB_CLIP_ORDERING_YX_BANDED = 3 2816 }; 2817 2818 /** Opcode for xcb_set_clip_rectangles. */ 2819 const uint XCB_SET_CLIP_RECTANGLES = 59; 2820 2821 /** 2822 * @brief xcb_set_clip_rectangles_request_t 2823 **/ 2824 struct xcb_set_clip_rectangles_request_t { 2825 ubyte major_opcode; /**< */ 2826 ubyte ordering; /**< */ 2827 ushort length; /**< */ 2828 xcb_gcontext_t gc; /**< */ 2829 short clip_x_origin; /**< */ 2830 short clip_y_origin; /**< */ 2831 } ; 2832 2833 /** Opcode for xcb_free_gc. */ 2834 const uint XCB_FREE_GC = 60; 2835 2836 /** 2837 * @brief xcb_free_gc_request_t 2838 **/ 2839 struct xcb_free_gc_request_t { 2840 ubyte major_opcode; /**< */ 2841 ubyte pad0; /**< */ 2842 ushort length; /**< */ 2843 xcb_gcontext_t gc; /**< */ 2844 } ; 2845 2846 /** Opcode for xcb_clear_area. */ 2847 const uint XCB_CLEAR_AREA = 61; 2848 2849 /** 2850 * @brief xcb_clear_area_request_t 2851 **/ 2852 struct xcb_clear_area_request_t { 2853 ubyte major_opcode; /**< */ 2854 bool exposures; /**< */ 2855 ushort length; /**< */ 2856 xcb_window_t window; /**< */ 2857 short x; /**< */ 2858 short y; /**< */ 2859 ushort width; /**< */ 2860 ushort height; /**< */ 2861 } ; 2862 2863 /** Opcode for xcb_copy_area. */ 2864 const uint XCB_COPY_AREA = 62; 2865 2866 /** 2867 * @brief xcb_copy_area_request_t 2868 **/ 2869 struct xcb_copy_area_request_t { 2870 ubyte major_opcode; /**< */ 2871 ubyte pad0; /**< */ 2872 ushort length; /**< */ 2873 xcb_drawable_t src_drawable; /**< */ 2874 xcb_drawable_t dst_drawable; /**< */ 2875 xcb_gcontext_t gc; /**< */ 2876 short src_x; /**< */ 2877 short src_y; /**< */ 2878 short dst_x; /**< */ 2879 short dst_y; /**< */ 2880 ushort width; /**< */ 2881 ushort height; /**< */ 2882 } ; 2883 2884 /** Opcode for xcb_copy_plane. */ 2885 const uint XCB_COPY_PLANE = 63; 2886 2887 /** 2888 * @brief xcb_copy_plane_request_t 2889 **/ 2890 struct xcb_copy_plane_request_t { 2891 ubyte major_opcode; /**< */ 2892 ubyte pad0; /**< */ 2893 ushort length; /**< */ 2894 xcb_drawable_t src_drawable; /**< */ 2895 xcb_drawable_t dst_drawable; /**< */ 2896 xcb_gcontext_t gc; /**< */ 2897 short src_x; /**< */ 2898 short src_y; /**< */ 2899 short dst_x; /**< */ 2900 short dst_y; /**< */ 2901 ushort width; /**< */ 2902 ushort height; /**< */ 2903 uint bit_plane; /**< */ 2904 } ; 2905 2906 enum :int{ 2907 XCB_COORD_MODE_ORIGIN = 0, 2908 XCB_COORD_MODE_PREVIOUS = 1 2909 }; 2910 2911 /** Opcode for xcb_poly_point. */ 2912 const uint XCB_POLY_POINT = 64; 2913 2914 /** 2915 * @brief xcb_poly_point_request_t 2916 **/ 2917 struct xcb_poly_point_request_t { 2918 ubyte major_opcode; /**< */ 2919 ubyte coordinate_mode; /**< */ 2920 ushort length; /**< */ 2921 xcb_drawable_t drawable; /**< */ 2922 xcb_gcontext_t gc; /**< */ 2923 } ; 2924 2925 /** Opcode for xcb_poly_line. */ 2926 const uint XCB_POLY_LINE = 65; 2927 2928 /** 2929 * @brief xcb_poly_line_request_t 2930 **/ 2931 struct xcb_poly_line_request_t { 2932 ubyte major_opcode; /**< */ 2933 ubyte coordinate_mode; /**< */ 2934 ushort length; /**< */ 2935 xcb_drawable_t drawable; /**< */ 2936 xcb_gcontext_t gc; /**< */ 2937 } ; 2938 2939 /** 2940 * @brief xcb_segment_t 2941 **/ 2942 struct xcb_segment_t { 2943 short x1; /**< */ 2944 short y1; /**< */ 2945 short x2; /**< */ 2946 short y2; /**< */ 2947 } ; 2948 2949 /** 2950 * @brief xcb_segment_iterator_t 2951 **/ 2952 struct xcb_segment_iterator_t { 2953 xcb_segment_t *data; /**< */ 2954 int rem; /**< */ 2955 int index; /**< */ 2956 } ; 2957 2958 /** Opcode for xcb_poly_segment. */ 2959 const uint XCB_POLY_SEGMENT = 66; 2960 2961 /** 2962 * @brief xcb_poly_segment_request_t 2963 **/ 2964 struct xcb_poly_segment_request_t { 2965 ubyte major_opcode; /**< */ 2966 ubyte pad0; /**< */ 2967 ushort length; /**< */ 2968 xcb_drawable_t drawable; /**< */ 2969 xcb_gcontext_t gc; /**< */ 2970 } ; 2971 2972 /** Opcode for xcb_poly_rectangle. */ 2973 const uint XCB_POLY_RECTANGLE = 67; 2974 2975 /** 2976 * @brief xcb_poly_rectangle_request_t 2977 **/ 2978 struct xcb_poly_rectangle_request_t { 2979 ubyte major_opcode; /**< */ 2980 ubyte pad0; /**< */ 2981 ushort length; /**< */ 2982 xcb_drawable_t drawable; /**< */ 2983 xcb_gcontext_t gc; /**< */ 2984 } ; 2985 2986 /** Opcode for xcb_poly_arc. */ 2987 const uint XCB_POLY_ARC = 68; 2988 2989 /** 2990 * @brief xcb_poly_arc_request_t 2991 **/ 2992 struct xcb_poly_arc_request_t { 2993 ubyte major_opcode; /**< */ 2994 ubyte pad0; /**< */ 2995 ushort length; /**< */ 2996 xcb_drawable_t drawable; /**< */ 2997 xcb_gcontext_t gc; /**< */ 2998 } ; 2999 3000 enum :int{ 3001 XCB_POLY_SHAPE_COMPLEX = 0, 3002 XCB_POLY_SHAPE_NONCONVEX = 1, 3003 XCB_POLY_SHAPE_CONVEX = 2 3004 }; 3005 3006 /** Opcode for xcb_fill_poly. */ 3007 const uint XCB_FILL_POLY = 69; 3008 3009 /** 3010 * @brief xcb_fill_poly_request_t 3011 **/ 3012 struct xcb_fill_poly_request_t { 3013 ubyte major_opcode; /**< */ 3014 ubyte pad0; /**< */ 3015 ushort length; /**< */ 3016 xcb_drawable_t drawable; /**< */ 3017 xcb_gcontext_t gc; /**< */ 3018 ubyte shape; /**< */ 3019 ubyte coordinate_mode; /**< */ 3020 } ; 3021 3022 /** Opcode for xcb_poly_fill_rectangle. */ 3023 const uint XCB_POLY_FILL_RECTANGLE = 70; 3024 3025 /** 3026 * @brief xcb_poly_fill_rectangle_request_t 3027 **/ 3028 struct xcb_poly_fill_rectangle_request_t { 3029 ubyte major_opcode; /**< */ 3030 ubyte pad0; /**< */ 3031 ushort length; /**< */ 3032 xcb_drawable_t drawable; /**< */ 3033 xcb_gcontext_t gc; /**< */ 3034 } ; 3035 3036 /** Opcode for xcb_poly_fill_arc. */ 3037 const uint XCB_POLY_FILL_ARC = 71; 3038 3039 /** 3040 * @brief xcb_poly_fill_arc_request_t 3041 **/ 3042 struct xcb_poly_fill_arc_request_t { 3043 ubyte major_opcode; /**< */ 3044 ubyte pad0; /**< */ 3045 ushort length; /**< */ 3046 xcb_drawable_t drawable; /**< */ 3047 xcb_gcontext_t gc; /**< */ 3048 } ; 3049 3050 alias xcb_image_format_t = int; 3051 enum :int{ 3052 XCB_IMAGE_FORMAT_XY_BITMAP = 0, 3053 XCB_IMAGE_FORMAT_XY_PIXMAP = 1, 3054 XCB_IMAGE_FORMAT_Z_PIXMAP = 2 3055 }; 3056 3057 /** Opcode for xcb_put_image. */ 3058 const uint XCB_PUT_IMAGE = 72; 3059 3060 /** 3061 * @brief xcb_put_image_request_t 3062 **/ 3063 struct xcb_put_image_request_t { 3064 ubyte major_opcode; /**< */ 3065 ubyte format; /**< */ 3066 ushort length; /**< */ 3067 xcb_drawable_t drawable; /**< */ 3068 xcb_gcontext_t gc; /**< */ 3069 ushort width; /**< */ 3070 ushort height; /**< */ 3071 short dst_x; /**< */ 3072 short dst_y; /**< */ 3073 ubyte left_pad; /**< */ 3074 ubyte depth; /**< */ 3075 } ; 3076 3077 /** 3078 * @brief xcb_get_image_cookie_t 3079 **/ 3080 struct xcb_get_image_cookie_t { 3081 uint sequence; /**< */ 3082 } ; 3083 3084 /** Opcode for xcb_get_image. */ 3085 const uint XCB_GET_IMAGE = 73; 3086 3087 /** 3088 * @brief xcb_get_image_request_t 3089 **/ 3090 struct xcb_get_image_request_t { 3091 ubyte major_opcode; /**< */ 3092 ubyte format; /**< */ 3093 ushort length; /**< */ 3094 xcb_drawable_t drawable; /**< */ 3095 short x; /**< */ 3096 short y; /**< */ 3097 ushort width; /**< */ 3098 ushort height; /**< */ 3099 uint plane_mask; /**< */ 3100 } ; 3101 3102 /** 3103 * @brief xcb_get_image_reply_t 3104 **/ 3105 struct xcb_get_image_reply_t { 3106 ubyte response_type; /**< */ 3107 ubyte depth; /**< */ 3108 ushort sequence; /**< */ 3109 uint length; /**< */ 3110 xcb_visualid_t visual; /**< */ 3111 ubyte pad0[20]; /**< */ 3112 } ; 3113 3114 /** Opcode for xcb_poly_text_8. */ 3115 const uint XCB_POLY_TEXT_8 = 74; 3116 3117 /** 3118 * @brief xcb_poly_text_8_request_t 3119 **/ 3120 struct xcb_poly_text_8_request_t { 3121 ubyte major_opcode; /**< */ 3122 ubyte pad0; /**< */ 3123 ushort length; /**< */ 3124 xcb_drawable_t drawable; /**< */ 3125 xcb_gcontext_t gc; /**< */ 3126 short x; /**< */ 3127 short y; /**< */ 3128 } ; 3129 3130 /** Opcode for xcb_poly_text_16. */ 3131 const uint XCB_POLY_TEXT_16 = 75; 3132 3133 /** 3134 * @brief xcb_poly_text_16_request_t 3135 **/ 3136 struct xcb_poly_text_16_request_t { 3137 ubyte major_opcode; /**< */ 3138 ubyte pad0; /**< */ 3139 ushort length; /**< */ 3140 xcb_drawable_t drawable; /**< */ 3141 xcb_gcontext_t gc; /**< */ 3142 short x; /**< */ 3143 short y; /**< */ 3144 } ; 3145 3146 /** Opcode for xcb_image_text_8. */ 3147 const uint XCB_IMAGE_TEXT_8 = 76; 3148 3149 /** 3150 * @brief xcb_image_text_8_request_t 3151 **/ 3152 struct xcb_image_text_8_request_t { 3153 ubyte major_opcode; /**< */ 3154 ubyte string_len; /**< */ 3155 ushort length; /**< */ 3156 xcb_drawable_t drawable; /**< */ 3157 xcb_gcontext_t gc; /**< */ 3158 short x; /**< */ 3159 short y; /**< */ 3160 } ; 3161 3162 /** Opcode for xcb_image_text_16. */ 3163 const uint XCB_IMAGE_TEXT_16 = 77; 3164 3165 /** 3166 * @brief xcb_image_text_16_request_t 3167 **/ 3168 struct xcb_image_text_16_request_t { 3169 ubyte major_opcode; /**< */ 3170 ubyte string_len; /**< */ 3171 ushort length; /**< */ 3172 xcb_drawable_t drawable; /**< */ 3173 xcb_gcontext_t gc; /**< */ 3174 short x; /**< */ 3175 short y; /**< */ 3176 } ; 3177 3178 enum :int{ 3179 XCB_COLORMAP_ALLOC_NONE = 0, 3180 XCB_COLORMAP_ALLOC_ALL = 1 3181 }; 3182 3183 /** Opcode for xcb_create_colormap. */ 3184 const uint XCB_CREATE_COLORMAP = 78; 3185 3186 /** 3187 * @brief xcb_create_colormap_request_t 3188 **/ 3189 struct xcb_create_colormap_request_t { 3190 ubyte major_opcode; /**< */ 3191 ubyte alloc; /**< */ 3192 ushort length; /**< */ 3193 xcb_colormap_t mid; /**< */ 3194 xcb_window_t window; /**< */ 3195 xcb_visualid_t visual; /**< */ 3196 } ; 3197 3198 /** Opcode for xcb_free_colormap. */ 3199 const uint XCB_FREE_COLORMAP = 79; 3200 3201 /** 3202 * @brief xcb_free_colormap_request_t 3203 **/ 3204 struct xcb_free_colormap_request_t { 3205 ubyte major_opcode; /**< */ 3206 ubyte pad0; /**< */ 3207 ushort length; /**< */ 3208 xcb_colormap_t cmap; /**< */ 3209 } ; 3210 3211 /** Opcode for xcb_copy_colormap_and_free. */ 3212 const uint XCB_COPY_COLORMAP_AND_FREE = 80; 3213 3214 /** 3215 * @brief xcb_copy_colormap_and_free_request_t 3216 **/ 3217 struct xcb_copy_colormap_and_free_request_t { 3218 ubyte major_opcode; /**< */ 3219 ubyte pad0; /**< */ 3220 ushort length; /**< */ 3221 xcb_colormap_t mid; /**< */ 3222 xcb_colormap_t src_cmap; /**< */ 3223 } ; 3224 3225 /** Opcode for xcb_install_colormap. */ 3226 const uint XCB_INSTALL_COLORMAP = 81; 3227 3228 /** 3229 * @brief xcb_install_colormap_request_t 3230 **/ 3231 struct xcb_install_colormap_request_t { 3232 ubyte major_opcode; /**< */ 3233 ubyte pad0; /**< */ 3234 ushort length; /**< */ 3235 xcb_colormap_t cmap; /**< */ 3236 } ; 3237 3238 /** Opcode for xcb_uninstall_colormap. */ 3239 const uint XCB_UNINSTALL_COLORMAP = 82; 3240 3241 /** 3242 * @brief xcb_uninstall_colormap_request_t 3243 **/ 3244 struct xcb_uninstall_colormap_request_t { 3245 ubyte major_opcode; /**< */ 3246 ubyte pad0; /**< */ 3247 ushort length; /**< */ 3248 xcb_colormap_t cmap; /**< */ 3249 } ; 3250 3251 /** 3252 * @brief xcb_list_installed_colormaps_cookie_t 3253 **/ 3254 struct xcb_list_installed_colormaps_cookie_t { 3255 uint sequence; /**< */ 3256 } ; 3257 3258 /** Opcode for xcb_list_installed_colormaps. */ 3259 const uint XCB_LIST_INSTALLED_COLORMAPS = 83; 3260 3261 /** 3262 * @brief xcb_list_installed_colormaps_request_t 3263 **/ 3264 struct xcb_list_installed_colormaps_request_t { 3265 ubyte major_opcode; /**< */ 3266 ubyte pad0; /**< */ 3267 ushort length; /**< */ 3268 xcb_window_t window; /**< */ 3269 } ; 3270 3271 /** 3272 * @brief xcb_list_installed_colormaps_reply_t 3273 **/ 3274 struct xcb_list_installed_colormaps_reply_t { 3275 ubyte response_type; /**< */ 3276 ubyte pad0; /**< */ 3277 ushort sequence; /**< */ 3278 uint length; /**< */ 3279 ushort cmaps_len; /**< */ 3280 ubyte pad1[22]; /**< */ 3281 } ; 3282 3283 /** 3284 * @brief xcb_alloc_color_cookie_t 3285 **/ 3286 struct xcb_alloc_color_cookie_t { 3287 uint sequence; /**< */ 3288 } ; 3289 3290 /** Opcode for xcb_alloc_color. */ 3291 const uint XCB_ALLOC_COLOR = 84; 3292 3293 /** 3294 * @brief xcb_alloc_color_request_t 3295 **/ 3296 struct xcb_alloc_color_request_t { 3297 ubyte major_opcode; /**< */ 3298 ubyte pad0; /**< */ 3299 ushort length; /**< */ 3300 xcb_colormap_t cmap; /**< */ 3301 ushort red; /**< */ 3302 ushort green; /**< */ 3303 ushort blue; /**< */ 3304 } ; 3305 3306 /** 3307 * @brief xcb_alloc_color_reply_t 3308 **/ 3309 struct xcb_alloc_color_reply_t { 3310 ubyte response_type; /**< */ 3311 ubyte pad0; /**< */ 3312 ushort sequence; /**< */ 3313 uint length; /**< */ 3314 ushort red; /**< */ 3315 ushort green; /**< */ 3316 ushort blue; /**< */ 3317 ubyte pad1[2]; /**< */ 3318 uint pixel; /**< */ 3319 } ; 3320 3321 /** 3322 * @brief xcb_alloc_named_color_cookie_t 3323 **/ 3324 struct xcb_alloc_named_color_cookie_t { 3325 uint sequence; /**< */ 3326 } ; 3327 3328 /** Opcode for xcb_alloc_named_color. */ 3329 const uint XCB_ALLOC_NAMED_COLOR = 85; 3330 3331 /** 3332 * @brief xcb_alloc_named_color_request_t 3333 **/ 3334 struct xcb_alloc_named_color_request_t { 3335 ubyte major_opcode; /**< */ 3336 ubyte pad0; /**< */ 3337 ushort length; /**< */ 3338 xcb_colormap_t cmap; /**< */ 3339 ushort name_len; /**< */ 3340 } ; 3341 3342 /** 3343 * @brief xcb_alloc_named_color_reply_t 3344 **/ 3345 struct xcb_alloc_named_color_reply_t { 3346 ubyte response_type; /**< */ 3347 ubyte pad0; /**< */ 3348 ushort sequence; /**< */ 3349 uint length; /**< */ 3350 uint pixel; /**< */ 3351 ushort exact_red; /**< */ 3352 ushort exact_green; /**< */ 3353 ushort exact_blue; /**< */ 3354 ushort visual_red; /**< */ 3355 ushort visual_green; /**< */ 3356 ushort visual_blue; /**< */ 3357 } ; 3358 3359 /** 3360 * @brief xcb_alloc_color_cells_cookie_t 3361 **/ 3362 struct xcb_alloc_color_cells_cookie_t { 3363 uint sequence; /**< */ 3364 } ; 3365 3366 /** Opcode for xcb_alloc_color_cells. */ 3367 const uint XCB_ALLOC_COLOR_CELLS = 86; 3368 3369 /** 3370 * @brief xcb_alloc_color_cells_request_t 3371 **/ 3372 struct xcb_alloc_color_cells_request_t { 3373 ubyte major_opcode; /**< */ 3374 bool contiguous; /**< */ 3375 ushort length; /**< */ 3376 xcb_colormap_t cmap; /**< */ 3377 ushort colors; /**< */ 3378 ushort planes; /**< */ 3379 } ; 3380 3381 /** 3382 * @brief xcb_alloc_color_cells_reply_t 3383 **/ 3384 struct xcb_alloc_color_cells_reply_t { 3385 ubyte response_type; /**< */ 3386 ubyte pad0; /**< */ 3387 ushort sequence; /**< */ 3388 uint length; /**< */ 3389 ushort pixels_len; /**< */ 3390 ushort masks_len; /**< */ 3391 ubyte pad1[20]; /**< */ 3392 } ; 3393 3394 /** 3395 * @brief xcb_alloc_color_planes_cookie_t 3396 **/ 3397 struct xcb_alloc_color_planes_cookie_t { 3398 uint sequence; /**< */ 3399 } ; 3400 3401 /** Opcode for xcb_alloc_color_planes. */ 3402 const uint XCB_ALLOC_COLOR_PLANES = 87; 3403 3404 /** 3405 * @brief xcb_alloc_color_planes_request_t 3406 **/ 3407 struct xcb_alloc_color_planes_request_t { 3408 ubyte major_opcode; /**< */ 3409 bool contiguous; /**< */ 3410 ushort length; /**< */ 3411 xcb_colormap_t cmap; /**< */ 3412 ushort colors; /**< */ 3413 ushort reds; /**< */ 3414 ushort greens; /**< */ 3415 ushort blues; /**< */ 3416 } ; 3417 3418 /** 3419 * @brief xcb_alloc_color_planes_reply_t 3420 **/ 3421 struct xcb_alloc_color_planes_reply_t { 3422 ubyte response_type; /**< */ 3423 ubyte pad0; /**< */ 3424 ushort sequence; /**< */ 3425 uint length; /**< */ 3426 ushort pixels_len; /**< */ 3427 ubyte pad1[2]; /**< */ 3428 uint red_mask; /**< */ 3429 uint green_mask; /**< */ 3430 uint blue_mask; /**< */ 3431 ubyte pad2[8]; /**< */ 3432 } ; 3433 3434 /** Opcode for xcb_free_colors. */ 3435 const uint XCB_FREE_COLORS = 88; 3436 3437 /** 3438 * @brief xcb_free_colors_request_t 3439 **/ 3440 struct xcb_free_colors_request_t { 3441 ubyte major_opcode; /**< */ 3442 ubyte pad0; /**< */ 3443 ushort length; /**< */ 3444 xcb_colormap_t cmap; /**< */ 3445 uint plane_mask; /**< */ 3446 } ; 3447 3448 enum :int{ 3449 XCB_COLOR_FLAG_RED = (1 << 0), 3450 XCB_COLOR_FLAG_GREEN = (1 << 1), 3451 XCB_COLOR_FLAG_BLUE = (1 << 2) 3452 }; 3453 3454 /** 3455 * @brief xcb_coloritem_t 3456 **/ 3457 struct xcb_coloritem_t { 3458 uint pixel; /**< */ 3459 ushort red; /**< */ 3460 ushort green; /**< */ 3461 ushort blue; /**< */ 3462 ubyte flags; /**< */ 3463 ubyte pad0; /**< */ 3464 } ; 3465 3466 /** 3467 * @brief xcb_coloritem_iterator_t 3468 **/ 3469 struct xcb_coloritem_iterator_t { 3470 xcb_coloritem_t *data; /**< */ 3471 int rem; /**< */ 3472 int index; /**< */ 3473 } ; 3474 3475 /** Opcode for xcb_store_colors. */ 3476 const uint XCB_STORE_COLORS = 89; 3477 3478 /** 3479 * @brief xcb_store_colors_request_t 3480 **/ 3481 struct xcb_store_colors_request_t { 3482 ubyte major_opcode; /**< */ 3483 ubyte pad0; /**< */ 3484 ushort length; /**< */ 3485 xcb_colormap_t cmap; /**< */ 3486 } ; 3487 3488 /** Opcode for xcb_store_named_color. */ 3489 const uint XCB_STORE_NAMED_COLOR = 90; 3490 3491 /** 3492 * @brief xcb_store_named_color_request_t 3493 **/ 3494 struct xcb_store_named_color_request_t { 3495 ubyte major_opcode; /**< */ 3496 ubyte flags; /**< */ 3497 ushort length; /**< */ 3498 xcb_colormap_t cmap; /**< */ 3499 uint pixel; /**< */ 3500 ushort name_len; /**< */ 3501 } ; 3502 3503 /** 3504 * @brief xcb_rgb_t 3505 **/ 3506 struct xcb_rgb_t { 3507 ushort red; /**< */ 3508 ushort green; /**< */ 3509 ushort blue; /**< */ 3510 ubyte pad0[2]; /**< */ 3511 } ; 3512 3513 /** 3514 * @brief xcb_rgb_iterator_t 3515 **/ 3516 struct xcb_rgb_iterator_t { 3517 xcb_rgb_t *data; /**< */ 3518 int rem; /**< */ 3519 int index; /**< */ 3520 } ; 3521 3522 /** 3523 * @brief xcb_query_colors_cookie_t 3524 **/ 3525 struct xcb_query_colors_cookie_t { 3526 uint sequence; /**< */ 3527 } ; 3528 3529 /** Opcode for xcb_query_colors. */ 3530 const uint XCB_QUERY_COLORS = 91; 3531 3532 /** 3533 * @brief xcb_query_colors_request_t 3534 **/ 3535 struct xcb_query_colors_request_t { 3536 ubyte major_opcode; /**< */ 3537 ubyte pad0; /**< */ 3538 ushort length; /**< */ 3539 xcb_colormap_t cmap; /**< */ 3540 } ; 3541 3542 /** 3543 * @brief xcb_query_colors_reply_t 3544 **/ 3545 struct xcb_query_colors_reply_t { 3546 ubyte response_type; /**< */ 3547 ubyte pad0; /**< */ 3548 ushort sequence; /**< */ 3549 uint length; /**< */ 3550 ushort colors_len; /**< */ 3551 ubyte pad1[22]; /**< */ 3552 } ; 3553 3554 /** 3555 * @brief xcb_lookup_color_cookie_t 3556 **/ 3557 struct xcb_lookup_color_cookie_t { 3558 uint sequence; /**< */ 3559 } ; 3560 3561 /** Opcode for xcb_lookup_color. */ 3562 const uint XCB_LOOKUP_COLOR = 92; 3563 3564 /** 3565 * @brief xcb_lookup_color_request_t 3566 **/ 3567 struct xcb_lookup_color_request_t { 3568 ubyte major_opcode; /**< */ 3569 ubyte pad0; /**< */ 3570 ushort length; /**< */ 3571 xcb_colormap_t cmap; /**< */ 3572 ushort name_len; /**< */ 3573 } ; 3574 3575 /** 3576 * @brief xcb_lookup_color_reply_t 3577 **/ 3578 struct xcb_lookup_color_reply_t { 3579 ubyte response_type; /**< */ 3580 ubyte pad0; /**< */ 3581 ushort sequence; /**< */ 3582 uint length; /**< */ 3583 ushort exact_red; /**< */ 3584 ushort exact_green; /**< */ 3585 ushort exact_blue; /**< */ 3586 ushort visual_red; /**< */ 3587 ushort visual_green; /**< */ 3588 ushort visual_blue; /**< */ 3589 } ; 3590 3591 /** Opcode for xcb_create_cursor. */ 3592 const uint XCB_CREATE_CURSOR = 93; 3593 3594 /** 3595 * @brief xcb_create_cursor_request_t 3596 **/ 3597 struct xcb_create_cursor_request_t { 3598 ubyte major_opcode; /**< */ 3599 ubyte pad0; /**< */ 3600 ushort length; /**< */ 3601 xcb_cursor_t cid; /**< */ 3602 xcb_pixmap_t source; /**< */ 3603 xcb_pixmap_t mask; /**< */ 3604 ushort fore_red; /**< */ 3605 ushort fore_green; /**< */ 3606 ushort fore_blue; /**< */ 3607 ushort back_red; /**< */ 3608 ushort back_green; /**< */ 3609 ushort back_blue; /**< */ 3610 ushort x; /**< */ 3611 ushort y; /**< */ 3612 } ; 3613 3614 /** Opcode for xcb_create_glyph_cursor. */ 3615 const uint XCB_CREATE_GLYPH_CURSOR = 94; 3616 3617 /** 3618 * @brief xcb_create_glyph_cursor_request_t 3619 **/ 3620 struct xcb_create_glyph_cursor_request_t { 3621 ubyte major_opcode; /**< */ 3622 ubyte pad0; /**< */ 3623 ushort length; /**< */ 3624 xcb_cursor_t cid; /**< */ 3625 xcb_font_t source_font; /**< */ 3626 xcb_font_t mask_font; /**< */ 3627 ushort source_char; /**< */ 3628 ushort mask_char; /**< */ 3629 ushort fore_red; /**< */ 3630 ushort fore_green; /**< */ 3631 ushort fore_blue; /**< */ 3632 ushort back_red; /**< */ 3633 ushort back_green; /**< */ 3634 ushort back_blue; /**< */ 3635 } ; 3636 3637 /** Opcode for xcb_free_cursor. */ 3638 const uint XCB_FREE_CURSOR = 95; 3639 3640 /** 3641 * @brief xcb_free_cursor_request_t 3642 **/ 3643 struct xcb_free_cursor_request_t { 3644 ubyte major_opcode; /**< */ 3645 ubyte pad0; /**< */ 3646 ushort length; /**< */ 3647 xcb_cursor_t cursor; /**< */ 3648 } ; 3649 3650 /** Opcode for xcb_recolor_cursor. */ 3651 const uint XCB_RECOLOR_CURSOR = 96; 3652 3653 /** 3654 * @brief xcb_recolor_cursor_request_t 3655 **/ 3656 struct xcb_recolor_cursor_request_t { 3657 ubyte major_opcode; /**< */ 3658 ubyte pad0; /**< */ 3659 ushort length; /**< */ 3660 xcb_cursor_t cursor; /**< */ 3661 ushort fore_red; /**< */ 3662 ushort fore_green; /**< */ 3663 ushort fore_blue; /**< */ 3664 ushort back_red; /**< */ 3665 ushort back_green; /**< */ 3666 ushort back_blue; /**< */ 3667 } ; 3668 3669 enum :int{ 3670 XCB_QUERY_SHAPE_OF_LARGEST_CURSOR = 0, 3671 XCB_QUERY_SHAPE_OF_FASTEST_TILE = 1, 3672 XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE = 2 3673 }; 3674 3675 /** 3676 * @brief xcb_query_best_size_cookie_t 3677 **/ 3678 struct xcb_query_best_size_cookie_t { 3679 uint sequence; /**< */ 3680 } ; 3681 3682 /** Opcode for xcb_query_best_size. */ 3683 const uint XCB_QUERY_BEST_SIZE = 97; 3684 3685 /** 3686 * @brief xcb_query_best_size_request_t 3687 **/ 3688 struct xcb_query_best_size_request_t { 3689 ubyte major_opcode; /**< */ 3690 ubyte _class; /**< */ 3691 ushort length; /**< */ 3692 xcb_drawable_t drawable; /**< */ 3693 ushort width; /**< */ 3694 ushort height; /**< */ 3695 } ; 3696 3697 /** 3698 * @brief xcb_query_best_size_reply_t 3699 **/ 3700 struct xcb_query_best_size_reply_t { 3701 ubyte response_type; /**< */ 3702 ubyte pad0; /**< */ 3703 ushort sequence; /**< */ 3704 uint length; /**< */ 3705 ushort width; /**< */ 3706 ushort height; /**< */ 3707 } ; 3708 3709 /** 3710 * @brief xcb_query_extension_cookie_t 3711 **/ 3712 struct xcb_query_extension_cookie_t { 3713 uint sequence; /**< */ 3714 } ; 3715 3716 /** Opcode for xcb_query_extension. */ 3717 const uint XCB_QUERY_EXTENSION = 98; 3718 3719 /** 3720 * @brief xcb_query_extension_request_t 3721 **/ 3722 struct xcb_query_extension_request_t { 3723 ubyte major_opcode; /**< */ 3724 ubyte pad0; /**< */ 3725 ushort length; /**< */ 3726 ushort name_len; /**< */ 3727 } ; 3728 3729 /** 3730 * @brief xcb_query_extension_reply_t 3731 **/ 3732 struct xcb_query_extension_reply_t { 3733 ubyte response_type; /**< */ 3734 ubyte pad0; /**< */ 3735 ushort sequence; /**< */ 3736 uint length; /**< */ 3737 bool present; /**< */ 3738 ubyte major_opcode; /**< */ 3739 ubyte first_event; /**< */ 3740 ubyte first_error; /**< */ 3741 } ; 3742 3743 /** 3744 * @brief xcb_list_extensions_cookie_t 3745 **/ 3746 struct xcb_list_extensions_cookie_t { 3747 uint sequence; /**< */ 3748 } ; 3749 3750 /** Opcode for xcb_list_extensions. */ 3751 const uint XCB_LIST_EXTENSIONS = 99; 3752 3753 /** 3754 * @brief xcb_list_extensions_request_t 3755 **/ 3756 struct xcb_list_extensions_request_t { 3757 ubyte major_opcode; /**< */ 3758 ubyte pad0; /**< */ 3759 ushort length; /**< */ 3760 } ; 3761 3762 /** 3763 * @brief xcb_list_extensions_reply_t 3764 **/ 3765 struct xcb_list_extensions_reply_t { 3766 ubyte response_type; /**< */ 3767 ubyte names_len; /**< */ 3768 ushort sequence; /**< */ 3769 uint length; /**< */ 3770 ubyte pad0[24]; /**< */ 3771 } ; 3772 3773 /** Opcode for xcb_change_keyboard_mapping. */ 3774 const uint XCB_CHANGE_KEYBOARD_MAPPING = 100; 3775 3776 /** 3777 * @brief xcb_change_keyboard_mapping_request_t 3778 **/ 3779 struct xcb_change_keyboard_mapping_request_t { 3780 ubyte major_opcode; /**< */ 3781 ubyte keycode_count; /**< */ 3782 ushort length; /**< */ 3783 xcb_keycode_t first_keycode; /**< */ 3784 ubyte keysyms_per_keycode; /**< */ 3785 } ; 3786 3787 /** 3788 * @brief xcb_get_keyboard_mapping_cookie_t 3789 **/ 3790 struct xcb_get_keyboard_mapping_cookie_t { 3791 uint sequence; /**< */ 3792 } ; 3793 3794 /** Opcode for xcb_get_keyboard_mapping. */ 3795 const uint XCB_GET_KEYBOARD_MAPPING = 101; 3796 3797 /** 3798 * @brief xcb_get_keyboard_mapping_request_t 3799 **/ 3800 struct xcb_get_keyboard_mapping_request_t { 3801 ubyte major_opcode; /**< */ 3802 ubyte pad0; /**< */ 3803 ushort length; /**< */ 3804 xcb_keycode_t first_keycode; /**< */ 3805 ubyte count; /**< */ 3806 } ; 3807 3808 /** 3809 * @brief xcb_get_keyboard_mapping_reply_t 3810 **/ 3811 struct xcb_get_keyboard_mapping_reply_t { 3812 ubyte response_type; /**< */ 3813 ubyte keysyms_per_keycode; /**< */ 3814 ushort sequence; /**< */ 3815 uint length; /**< */ 3816 ubyte pad0[24]; /**< */ 3817 } ; 3818 3819 enum :int{ 3820 XCB_KB_KEY_CLICK_PERCENT = (1 << 0), 3821 XCB_KB_BELL_PERCENT = (1 << 1), 3822 XCB_KB_BELL_PITCH = (1 << 2), 3823 XCB_KB_BELL_DURATION = (1 << 3), 3824 XCB_KB_LED = (1 << 4), 3825 XCB_KB_LED_MODE = (1 << 5), 3826 XCB_KB_KEY = (1 << 6), 3827 XCB_KB_AUTO_REPEAT_MODE = (1 << 7) 3828 }; 3829 3830 enum :int{ 3831 XCB_LED_MODE_OFF = 0, 3832 XCB_LED_MODE_ON = 1 3833 }; 3834 3835 enum :int{ 3836 XCB_AUTO_REPEAT_MODE_OFF = 0, 3837 XCB_AUTO_REPEAT_MODE_ON = 1, 3838 XCB_AUTO_REPEAT_MODE_DEFAULT = 2 3839 }; 3840 3841 /** Opcode for xcb_change_keyboard_control. */ 3842 const uint XCB_CHANGE_KEYBOARD_CONTROL = 102; 3843 3844 /** 3845 * @brief xcb_change_keyboard_control_request_t 3846 **/ 3847 struct xcb_change_keyboard_control_request_t { 3848 ubyte major_opcode; /**< */ 3849 ubyte pad0; /**< */ 3850 ushort length; /**< */ 3851 uint value_mask; /**< */ 3852 } ; 3853 3854 /** 3855 * @brief xcb_get_keyboard_control_cookie_t 3856 **/ 3857 struct xcb_get_keyboard_control_cookie_t { 3858 uint sequence; /**< */ 3859 } ; 3860 3861 /** Opcode for xcb_get_keyboard_control. */ 3862 const uint XCB_GET_KEYBOARD_CONTROL = 103; 3863 3864 /** 3865 * @brief xcb_get_keyboard_control_request_t 3866 **/ 3867 struct xcb_get_keyboard_control_request_t { 3868 ubyte major_opcode; /**< */ 3869 ubyte pad0; /**< */ 3870 ushort length; /**< */ 3871 } ; 3872 3873 /** 3874 * @brief xcb_get_keyboard_control_reply_t 3875 **/ 3876 struct xcb_get_keyboard_control_reply_t { 3877 ubyte response_type; /**< */ 3878 ubyte global_auto_repeat; /**< */ 3879 ushort sequence; /**< */ 3880 uint length; /**< */ 3881 uint led_mask; /**< */ 3882 ubyte key_click_percent; /**< */ 3883 ubyte bell_percent; /**< */ 3884 ushort bell_pitch; /**< */ 3885 ushort bell_duration; /**< */ 3886 ubyte pad0[2]; /**< */ 3887 ubyte auto_repeats[32]; /**< */ 3888 } ; 3889 3890 /** Opcode for xcb_bell. */ 3891 const uint XCB_BELL = 104; 3892 3893 /** 3894 * @brief xcb_bell_request_t 3895 **/ 3896 struct xcb_bell_request_t { 3897 ubyte major_opcode; /**< */ 3898 byte percent; /**< */ 3899 ushort length; /**< */ 3900 } ; 3901 3902 /** Opcode for xcb_change_pointer_control. */ 3903 const uint XCB_CHANGE_POINTER_CONTROL = 105; 3904 3905 /** 3906 * @brief xcb_change_pointer_control_request_t 3907 **/ 3908 struct xcb_change_pointer_control_request_t { 3909 ubyte major_opcode; /**< */ 3910 ubyte pad0; /**< */ 3911 ushort length; /**< */ 3912 short acceleration_numerator; /**< */ 3913 short acceleration_denominator; /**< */ 3914 short threshold; /**< */ 3915 bool do_acceleration; /**< */ 3916 bool do_threshold; /**< */ 3917 } ; 3918 3919 /** 3920 * @brief xcb_get_pointer_control_cookie_t 3921 **/ 3922 struct xcb_get_pointer_control_cookie_t { 3923 uint sequence; /**< */ 3924 } ; 3925 3926 /** Opcode for xcb_get_pointer_control. */ 3927 const uint XCB_GET_POINTER_CONTROL = 106; 3928 3929 /** 3930 * @brief xcb_get_pointer_control_request_t 3931 **/ 3932 struct xcb_get_pointer_control_request_t { 3933 ubyte major_opcode; /**< */ 3934 ubyte pad0; /**< */ 3935 ushort length; /**< */ 3936 } ; 3937 3938 /** 3939 * @brief xcb_get_pointer_control_reply_t 3940 **/ 3941 struct xcb_get_pointer_control_reply_t { 3942 ubyte response_type; /**< */ 3943 ubyte pad0; /**< */ 3944 ushort sequence; /**< */ 3945 uint length; /**< */ 3946 ushort acceleration_numerator; /**< */ 3947 ushort acceleration_denominator; /**< */ 3948 ushort threshold; /**< */ 3949 } ; 3950 3951 enum :int{ 3952 XCB_BLANKING_NOT_PREFERRED = 0, 3953 XCB_BLANKING_PREFERRED = 1, 3954 XCB_BLANKING_DEFAULT = 2 3955 }; 3956 3957 enum :int{ 3958 XCB_EXPOSURES_NOT_ALLOWED = 0, 3959 XCB_EXPOSURES_ALLOWED = 1, 3960 XCB_EXPOSURES_DEFAULT = 2 3961 }; 3962 3963 /** Opcode for xcb_set_screen_saver. */ 3964 const uint XCB_SET_SCREEN_SAVER = 107; 3965 3966 /** 3967 * @brief xcb_set_screen_saver_request_t 3968 **/ 3969 struct xcb_set_screen_saver_request_t { 3970 ubyte major_opcode; /**< */ 3971 ubyte pad0; /**< */ 3972 ushort length; /**< */ 3973 short timeout; /**< */ 3974 short interval; /**< */ 3975 ubyte prefer_blanking; /**< */ 3976 ubyte allow_exposures; /**< */ 3977 } ; 3978 3979 /** 3980 * @brief xcb_get_screen_saver_cookie_t 3981 **/ 3982 struct xcb_get_screen_saver_cookie_t { 3983 uint sequence; /**< */ 3984 } ; 3985 3986 /** Opcode for xcb_get_screen_saver. */ 3987 const uint XCB_GET_SCREEN_SAVER = 108; 3988 3989 /** 3990 * @brief xcb_get_screen_saver_request_t 3991 **/ 3992 struct xcb_get_screen_saver_request_t { 3993 ubyte major_opcode; /**< */ 3994 ubyte pad0; /**< */ 3995 ushort length; /**< */ 3996 } ; 3997 3998 /** 3999 * @brief xcb_get_screen_saver_reply_t 4000 **/ 4001 struct xcb_get_screen_saver_reply_t { 4002 ubyte response_type; /**< */ 4003 ubyte pad0; /**< */ 4004 ushort sequence; /**< */ 4005 uint length; /**< */ 4006 ushort timeout; /**< */ 4007 ushort interval; /**< */ 4008 ubyte prefer_blanking; /**< */ 4009 ubyte allow_exposures; /**< */ 4010 } ; 4011 4012 enum :int{ 4013 XCB_HOST_MODE_INSERT = 0, 4014 XCB_HOST_MODE_DELETE = 1 4015 }; 4016 4017 enum :int{ 4018 XCB_FAMILY_INTERNET = 0, 4019 XCB_FAMILY_DECNET = 1, 4020 XCB_FAMILY_CHAOS = 2, 4021 XCB_FAMILY_SERVER_INTERPRETED = 5, 4022 XCB_FAMILY_INTERNET_6 = 6 4023 }; 4024 4025 /** Opcode for xcb_change_hosts. */ 4026 const uint XCB_CHANGE_HOSTS = 109; 4027 4028 /** 4029 * @brief xcb_change_hosts_request_t 4030 **/ 4031 struct xcb_change_hosts_request_t { 4032 ubyte major_opcode; /**< */ 4033 ubyte mode; /**< */ 4034 ushort length; /**< */ 4035 ubyte family; /**< */ 4036 ubyte pad0; /**< */ 4037 ushort address_len; /**< */ 4038 } ; 4039 4040 /** 4041 * @brief xcb_host_t 4042 **/ 4043 struct xcb_host_t { 4044 ubyte family; /**< */ 4045 ubyte pad0; /**< */ 4046 ushort address_len; /**< */ 4047 } ; 4048 4049 /** 4050 * @brief xcb_host_iterator_t 4051 **/ 4052 struct xcb_host_iterator_t { 4053 xcb_host_t *data; /**< */ 4054 int rem; /**< */ 4055 int index; /**< */ 4056 } ; 4057 4058 /** 4059 * @brief xcb_list_hosts_cookie_t 4060 **/ 4061 struct xcb_list_hosts_cookie_t { 4062 uint sequence; /**< */ 4063 } ; 4064 4065 /** Opcode for xcb_list_hosts. */ 4066 const uint XCB_LIST_HOSTS = 110; 4067 4068 /** 4069 * @brief xcb_list_hosts_request_t 4070 **/ 4071 struct xcb_list_hosts_request_t { 4072 ubyte major_opcode; /**< */ 4073 ubyte pad0; /**< */ 4074 ushort length; /**< */ 4075 } ; 4076 4077 /** 4078 * @brief xcb_list_hosts_reply_t 4079 **/ 4080 struct xcb_list_hosts_reply_t { 4081 ubyte response_type; /**< */ 4082 ubyte mode; /**< */ 4083 ushort sequence; /**< */ 4084 uint length; /**< */ 4085 ushort hosts_len; /**< */ 4086 ubyte pad0[22]; /**< */ 4087 } ; 4088 4089 enum :int{ 4090 XCB_ACCESS_CONTROL_DISABLE = 0, 4091 XCB_ACCESS_CONTROL_ENABLE = 1 4092 }; 4093 4094 /** Opcode for xcb_set_access_control. */ 4095 const uint XCB_SET_ACCESS_CONTROL = 111; 4096 4097 /** 4098 * @brief xcb_set_access_control_request_t 4099 **/ 4100 struct xcb_set_access_control_request_t { 4101 ubyte major_opcode; /**< */ 4102 ubyte mode; /**< */ 4103 ushort length; /**< */ 4104 } ; 4105 4106 enum :int{ 4107 XCB_CLOSE_DOWN_DESTROY_ALL = 0, 4108 XCB_CLOSE_DOWN_RETAIN_PERMANENT = 1, 4109 XCB_CLOSE_DOWN_RETAIN_TEMPORARY = 2 4110 }; 4111 4112 /** Opcode for xcb_set_close_down_mode. */ 4113 const uint XCB_SET_CLOSE_DOWN_MODE = 112; 4114 4115 /** 4116 * @brief xcb_set_close_down_mode_request_t 4117 **/ 4118 struct xcb_set_close_down_mode_request_t { 4119 ubyte major_opcode; /**< */ 4120 ubyte mode; /**< */ 4121 ushort length; /**< */ 4122 } ; 4123 4124 enum :int{ 4125 XCB_KILL_ALL_TEMPORARY = 0 4126 }; 4127 4128 /** Opcode for xcb_kill_client. */ 4129 const uint XCB_KILL_CLIENT = 113; 4130 4131 /** 4132 * @brief xcb_kill_client_request_t 4133 **/ 4134 struct xcb_kill_client_request_t { 4135 ubyte major_opcode; /**< */ 4136 ubyte pad0; /**< */ 4137 ushort length; /**< */ 4138 uint resource; /**< */ 4139 } ; 4140 4141 /** Opcode for xcb_rotate_properties. */ 4142 const uint XCB_ROTATE_PROPERTIES = 114; 4143 4144 /** 4145 * @brief xcb_rotate_properties_request_t 4146 **/ 4147 struct xcb_rotate_properties_request_t { 4148 ubyte major_opcode; /**< */ 4149 xcb_window_t window; /**< */ 4150 ushort length; /**< */ 4151 ushort atoms_len; /**< */ 4152 short delta; /**< */ 4153 } ; 4154 4155 enum :int{ 4156 XCB_SCREEN_SAVER_RESET = 0, 4157 XCB_SCREEN_SAVER_ACTIVE = 1 4158 }; 4159 4160 /** Opcode for xcb_force_screen_saver. */ 4161 const uint XCB_FORCE_SCREEN_SAVER = 115; 4162 4163 /** 4164 * @brief xcb_force_screen_saver_request_t 4165 **/ 4166 struct xcb_force_screen_saver_request_t { 4167 ubyte major_opcode; /**< */ 4168 ubyte mode; /**< */ 4169 ushort length; /**< */ 4170 } ; 4171 4172 enum :int{ 4173 XCB_MAPPING_STATUS_SUCCESS = 0, 4174 XCB_MAPPING_STATUS_BUSY = 1, 4175 XCB_MAPPING_STATUS_FAILURE = 2 4176 }; 4177 4178 /** 4179 * @brief xcb_set_pointer_mapping_cookie_t 4180 **/ 4181 struct xcb_set_pointer_mapping_cookie_t { 4182 uint sequence; /**< */ 4183 } ; 4184 4185 /** Opcode for xcb_set_pointer_mapping. */ 4186 const uint XCB_SET_POINTER_MAPPING = 116; 4187 4188 /** 4189 * @brief xcb_set_pointer_mapping_request_t 4190 **/ 4191 struct xcb_set_pointer_mapping_request_t { 4192 ubyte major_opcode; /**< */ 4193 ubyte map_len; /**< */ 4194 ushort length; /**< */ 4195 } ; 4196 4197 /** 4198 * @brief xcb_set_pointer_mapping_reply_t 4199 **/ 4200 struct xcb_set_pointer_mapping_reply_t { 4201 ubyte response_type; /**< */ 4202 ubyte status; /**< */ 4203 ushort sequence; /**< */ 4204 uint length; /**< */ 4205 } ; 4206 4207 /** 4208 * @brief xcb_get_pointer_mapping_cookie_t 4209 **/ 4210 struct xcb_get_pointer_mapping_cookie_t { 4211 uint sequence; /**< */ 4212 } ; 4213 4214 /** Opcode for xcb_get_pointer_mapping. */ 4215 const uint XCB_GET_POINTER_MAPPING = 117; 4216 4217 /** 4218 * @brief xcb_get_pointer_mapping_request_t 4219 **/ 4220 struct xcb_get_pointer_mapping_request_t { 4221 ubyte major_opcode; /**< */ 4222 ubyte pad0; /**< */ 4223 ushort length; /**< */ 4224 } ; 4225 4226 /** 4227 * @brief xcb_get_pointer_mapping_reply_t 4228 **/ 4229 struct xcb_get_pointer_mapping_reply_t { 4230 ubyte response_type; /**< */ 4231 ubyte map_len; /**< */ 4232 ushort sequence; /**< */ 4233 uint length; /**< */ 4234 ubyte pad0[24]; /**< */ 4235 } ; 4236 4237 enum :int{ 4238 XCB_MAP_INDEX_SHIFT = 0, 4239 XCB_MAP_INDEX_LOCK = 1, 4240 XCB_MAP_INDEX_CONTROL = 2, 4241 XCB_MAP_INDEX_1 = 3, 4242 XCB_MAP_INDEX_2 = 4, 4243 XCB_MAP_INDEX_3 = 5, 4244 XCB_MAP_INDEX_4 = 6, 4245 XCB_MAP_INDEX_5 = 7 4246 }; 4247 4248 /** 4249 * @brief xcb_set_modifier_mapping_cookie_t 4250 **/ 4251 struct xcb_set_modifier_mapping_cookie_t { 4252 uint sequence; /**< */ 4253 } ; 4254 4255 /** Opcode for xcb_set_modifier_mapping. */ 4256 const uint XCB_SET_MODIFIER_MAPPING = 118; 4257 4258 /** 4259 * @brief xcb_set_modifier_mapping_request_t 4260 **/ 4261 struct xcb_set_modifier_mapping_request_t { 4262 ubyte major_opcode; /**< */ 4263 ubyte keycodes_per_modifier; /**< */ 4264 ushort length; /**< */ 4265 } ; 4266 4267 /** 4268 * @brief xcb_set_modifier_mapping_reply_t 4269 **/ 4270 struct xcb_set_modifier_mapping_reply_t { 4271 ubyte response_type; /**< */ 4272 ubyte status; /**< */ 4273 ushort sequence; /**< */ 4274 uint length; /**< */ 4275 } ; 4276 4277 /** 4278 * @brief xcb_get_modifier_mapping_cookie_t 4279 **/ 4280 struct xcb_get_modifier_mapping_cookie_t { 4281 uint sequence; /**< */ 4282 } ; 4283 4284 /** Opcode for xcb_get_modifier_mapping. */ 4285 const uint XCB_GET_MODIFIER_MAPPING = 119; 4286 4287 /** 4288 * @brief xcb_get_modifier_mapping_request_t 4289 **/ 4290 struct xcb_get_modifier_mapping_request_t { 4291 ubyte major_opcode; /**< */ 4292 ubyte pad0; /**< */ 4293 ushort length; /**< */ 4294 } ; 4295 4296 /** 4297 * @brief xcb_get_modifier_mapping_reply_t 4298 **/ 4299 struct xcb_get_modifier_mapping_reply_t { 4300 ubyte response_type; /**< */ 4301 ubyte keycodes_per_modifier; /**< */ 4302 ushort sequence; /**< */ 4303 uint length; /**< */ 4304 ubyte pad0[24]; /**< */ 4305 } ; 4306 4307 /** Opcode for xcb_no_operation. */ 4308 const uint XCB_NO_OPERATION = 127; 4309 4310 /** 4311 * @brief xcb_no_operation_request_t 4312 **/ 4313 struct xcb_no_operation_request_t { 4314 ubyte major_opcode; /**< */ 4315 ubyte pad0; /**< */ 4316 ushort length; /**< */ 4317 } ; 4318 4319 4320 /***************************************************************************** 4321 ** 4322 ** void xcb_char2b_next 4323 ** 4324 ** @param xcb_char2b_iterator_t *i 4325 ** @returns void 4326 ** 4327 *****************************************************************************/ 4328 4329 extern(C) void 4330 xcb_char2b_next (xcb_char2b_iterator_t *i /**< */); 4331 4332 4333 /***************************************************************************** 4334 ** 4335 ** xcb_generic_iterator_t xcb_char2b_end 4336 ** 4337 ** @param xcb_char2b_iterator_t i 4338 ** @returns xcb_generic_iterator_t 4339 ** 4340 *****************************************************************************/ 4341 4342 extern(C) xcb_generic_iterator_t 4343 xcb_char2b_end (xcb_char2b_iterator_t i /**< */); 4344 4345 4346 /***************************************************************************** 4347 ** 4348 ** void xcb_window_next 4349 ** 4350 ** @param xcb_window_iterator_t *i 4351 ** @returns void 4352 ** 4353 *****************************************************************************/ 4354 4355 extern(C) void 4356 xcb_window_next (xcb_window_iterator_t *i /**< */); 4357 4358 4359 /***************************************************************************** 4360 ** 4361 ** xcb_generic_iterator_t xcb_window_end 4362 ** 4363 ** @param xcb_window_iterator_t i 4364 ** @returns xcb_generic_iterator_t 4365 ** 4366 *****************************************************************************/ 4367 4368 extern(C) xcb_generic_iterator_t 4369 xcb_window_end (xcb_window_iterator_t i /**< */); 4370 4371 4372 /***************************************************************************** 4373 ** 4374 ** void xcb_pixmap_next 4375 ** 4376 ** @param xcb_pixmap_iterator_t *i 4377 ** @returns void 4378 ** 4379 *****************************************************************************/ 4380 4381 extern(C) void 4382 xcb_pixmap_next (xcb_pixmap_iterator_t *i /**< */); 4383 4384 4385 /***************************************************************************** 4386 ** 4387 ** xcb_generic_iterator_t xcb_pixmap_end 4388 ** 4389 ** @param xcb_pixmap_iterator_t i 4390 ** @returns xcb_generic_iterator_t 4391 ** 4392 *****************************************************************************/ 4393 4394 extern(C) xcb_generic_iterator_t 4395 xcb_pixmap_end (xcb_pixmap_iterator_t i /**< */); 4396 4397 4398 /***************************************************************************** 4399 ** 4400 ** void xcb_cursor_next 4401 ** 4402 ** @param xcb_cursor_iterator_t *i 4403 ** @returns void 4404 ** 4405 *****************************************************************************/ 4406 4407 extern(C) void 4408 xcb_cursor_next (xcb_cursor_iterator_t *i /**< */); 4409 4410 4411 /***************************************************************************** 4412 ** 4413 ** xcb_generic_iterator_t xcb_cursor_end 4414 ** 4415 ** @param xcb_cursor_iterator_t i 4416 ** @returns xcb_generic_iterator_t 4417 ** 4418 *****************************************************************************/ 4419 4420 extern(C) xcb_generic_iterator_t 4421 xcb_cursor_end (xcb_cursor_iterator_t i /**< */); 4422 4423 4424 /***************************************************************************** 4425 ** 4426 ** void xcb_font_next 4427 ** 4428 ** @param xcb_font_iterator_t *i 4429 ** @returns void 4430 ** 4431 *****************************************************************************/ 4432 4433 extern(C) void 4434 xcb_font_next (xcb_font_iterator_t *i /**< */); 4435 4436 4437 /***************************************************************************** 4438 ** 4439 ** xcb_generic_iterator_t xcb_font_end 4440 ** 4441 ** @param xcb_font_iterator_t i 4442 ** @returns xcb_generic_iterator_t 4443 ** 4444 *****************************************************************************/ 4445 4446 extern(C) xcb_generic_iterator_t 4447 xcb_font_end (xcb_font_iterator_t i /**< */); 4448 4449 4450 /***************************************************************************** 4451 ** 4452 ** void xcb_gcontext_next 4453 ** 4454 ** @param xcb_gcontext_iterator_t *i 4455 ** @returns void 4456 ** 4457 *****************************************************************************/ 4458 4459 extern(C) void 4460 xcb_gcontext_next (xcb_gcontext_iterator_t *i /**< */); 4461 4462 4463 /***************************************************************************** 4464 ** 4465 ** xcb_generic_iterator_t xcb_gcontext_end 4466 ** 4467 ** @param xcb_gcontext_iterator_t i 4468 ** @returns xcb_generic_iterator_t 4469 ** 4470 *****************************************************************************/ 4471 4472 extern(C) xcb_generic_iterator_t 4473 xcb_gcontext_end (xcb_gcontext_iterator_t i /**< */); 4474 4475 4476 /***************************************************************************** 4477 ** 4478 ** void xcb_colormap_next 4479 ** 4480 ** @param xcb_colormap_iterator_t *i 4481 ** @returns void 4482 ** 4483 *****************************************************************************/ 4484 4485 extern(C) void 4486 xcb_colormap_next (xcb_colormap_iterator_t *i /**< */); 4487 4488 4489 /***************************************************************************** 4490 ** 4491 ** xcb_generic_iterator_t xcb_colormap_end 4492 ** 4493 ** @param xcb_colormap_iterator_t i 4494 ** @returns xcb_generic_iterator_t 4495 ** 4496 *****************************************************************************/ 4497 4498 extern(C) xcb_generic_iterator_t 4499 xcb_colormap_end (xcb_colormap_iterator_t i /**< */); 4500 4501 4502 /***************************************************************************** 4503 ** 4504 ** void xcb_atom_next 4505 ** 4506 ** @param xcb_atom_iterator_t *i 4507 ** @returns void 4508 ** 4509 *****************************************************************************/ 4510 4511 extern(C) void 4512 xcb_atom_next (xcb_atom_iterator_t *i /**< */); 4513 4514 4515 /***************************************************************************** 4516 ** 4517 ** xcb_generic_iterator_t xcb_atom_end 4518 ** 4519 ** @param xcb_atom_iterator_t i 4520 ** @returns xcb_generic_iterator_t 4521 ** 4522 *****************************************************************************/ 4523 4524 extern(C) xcb_generic_iterator_t 4525 xcb_atom_end (xcb_atom_iterator_t i /**< */); 4526 4527 4528 /***************************************************************************** 4529 ** 4530 ** void xcb_drawable_next 4531 ** 4532 ** @param xcb_drawable_iterator_t *i 4533 ** @returns void 4534 ** 4535 *****************************************************************************/ 4536 4537 extern(C) void 4538 xcb_drawable_next (xcb_drawable_iterator_t *i /**< */); 4539 4540 4541 /***************************************************************************** 4542 ** 4543 ** xcb_generic_iterator_t xcb_drawable_end 4544 ** 4545 ** @param xcb_drawable_iterator_t i 4546 ** @returns xcb_generic_iterator_t 4547 ** 4548 *****************************************************************************/ 4549 4550 extern(C) xcb_generic_iterator_t 4551 xcb_drawable_end (xcb_drawable_iterator_t i /**< */); 4552 4553 4554 /***************************************************************************** 4555 ** 4556 ** void xcb_fontable_next 4557 ** 4558 ** @param xcb_fontable_iterator_t *i 4559 ** @returns void 4560 ** 4561 *****************************************************************************/ 4562 4563 extern(C) void 4564 xcb_fontable_next (xcb_fontable_iterator_t *i /**< */); 4565 4566 4567 /***************************************************************************** 4568 ** 4569 ** xcb_generic_iterator_t xcb_fontable_end 4570 ** 4571 ** @param xcb_fontable_iterator_t i 4572 ** @returns xcb_generic_iterator_t 4573 ** 4574 *****************************************************************************/ 4575 4576 extern(C) xcb_generic_iterator_t 4577 xcb_fontable_end (xcb_fontable_iterator_t i /**< */); 4578 4579 4580 /***************************************************************************** 4581 ** 4582 ** void xcb_visualid_next 4583 ** 4584 ** @param xcb_visualid_iterator_t *i 4585 ** @returns void 4586 ** 4587 *****************************************************************************/ 4588 4589 extern(C) void 4590 xcb_visualid_next (xcb_visualid_iterator_t *i /**< */); 4591 4592 4593 /***************************************************************************** 4594 ** 4595 ** xcb_generic_iterator_t xcb_visualid_end 4596 ** 4597 ** @param xcb_visualid_iterator_t i 4598 ** @returns xcb_generic_iterator_t 4599 ** 4600 *****************************************************************************/ 4601 4602 extern(C) xcb_generic_iterator_t 4603 xcb_visualid_end (xcb_visualid_iterator_t i /**< */); 4604 4605 4606 /***************************************************************************** 4607 ** 4608 ** void xcb_timestamp_next 4609 ** 4610 ** @param xcb_timestamp_iterator_t *i 4611 ** @returns void 4612 ** 4613 *****************************************************************************/ 4614 4615 extern(C) void 4616 xcb_timestamp_next (xcb_timestamp_iterator_t *i /**< */); 4617 4618 4619 /***************************************************************************** 4620 ** 4621 ** xcb_generic_iterator_t xcb_timestamp_end 4622 ** 4623 ** @param xcb_timestamp_iterator_t i 4624 ** @returns xcb_generic_iterator_t 4625 ** 4626 *****************************************************************************/ 4627 4628 extern(C) xcb_generic_iterator_t 4629 xcb_timestamp_end (xcb_timestamp_iterator_t i /**< */); 4630 4631 4632 /***************************************************************************** 4633 ** 4634 ** void xcb_keysym_next 4635 ** 4636 ** @param xcb_keysym_iterator_t *i 4637 ** @returns void 4638 ** 4639 *****************************************************************************/ 4640 4641 extern(C) void 4642 xcb_keysym_next (xcb_keysym_iterator_t *i /**< */); 4643 4644 4645 /***************************************************************************** 4646 ** 4647 ** xcb_generic_iterator_t xcb_keysym_end 4648 ** 4649 ** @param xcb_keysym_iterator_t i 4650 ** @returns xcb_generic_iterator_t 4651 ** 4652 *****************************************************************************/ 4653 4654 extern(C) xcb_generic_iterator_t 4655 xcb_keysym_end (xcb_keysym_iterator_t i /**< */); 4656 4657 4658 /***************************************************************************** 4659 ** 4660 ** void xcb_keycode_next 4661 ** 4662 ** @param xcb_keycode_iterator_t *i 4663 ** @returns void 4664 ** 4665 *****************************************************************************/ 4666 4667 extern(C) void 4668 xcb_keycode_next (xcb_keycode_iterator_t *i /**< */); 4669 4670 4671 /***************************************************************************** 4672 ** 4673 ** xcb_generic_iterator_t xcb_keycode_end 4674 ** 4675 ** @param xcb_keycode_iterator_t i 4676 ** @returns xcb_generic_iterator_t 4677 ** 4678 *****************************************************************************/ 4679 4680 extern(C) xcb_generic_iterator_t 4681 xcb_keycode_end (xcb_keycode_iterator_t i /**< */); 4682 4683 4684 /***************************************************************************** 4685 ** 4686 ** void xcb_button_next 4687 ** 4688 ** @param xcb_button_iterator_t *i 4689 ** @returns void 4690 ** 4691 *****************************************************************************/ 4692 4693 extern(C) void 4694 xcb_button_next (xcb_button_iterator_t *i /**< */); 4695 4696 4697 /***************************************************************************** 4698 ** 4699 ** xcb_generic_iterator_t xcb_button_end 4700 ** 4701 ** @param xcb_button_iterator_t i 4702 ** @returns xcb_generic_iterator_t 4703 ** 4704 *****************************************************************************/ 4705 4706 extern(C) xcb_generic_iterator_t 4707 xcb_button_end (xcb_button_iterator_t i /**< */); 4708 4709 4710 /***************************************************************************** 4711 ** 4712 ** void xcb_point_next 4713 ** 4714 ** @param xcb_point_iterator_t *i 4715 ** @returns void 4716 ** 4717 *****************************************************************************/ 4718 4719 extern(C) void 4720 xcb_point_next (xcb_point_iterator_t *i /**< */); 4721 4722 4723 /***************************************************************************** 4724 ** 4725 ** xcb_generic_iterator_t xcb_point_end 4726 ** 4727 ** @param xcb_point_iterator_t i 4728 ** @returns xcb_generic_iterator_t 4729 ** 4730 *****************************************************************************/ 4731 4732 extern(C) xcb_generic_iterator_t 4733 xcb_point_end (xcb_point_iterator_t i /**< */); 4734 4735 4736 /***************************************************************************** 4737 ** 4738 ** void xcb_rectangle_next 4739 ** 4740 ** @param xcb_rectangle_iterator_t *i 4741 ** @returns void 4742 ** 4743 *****************************************************************************/ 4744 4745 extern(C) void 4746 xcb_rectangle_next (xcb_rectangle_iterator_t *i /**< */); 4747 4748 4749 /***************************************************************************** 4750 ** 4751 ** xcb_generic_iterator_t xcb_rectangle_end 4752 ** 4753 ** @param xcb_rectangle_iterator_t i 4754 ** @returns xcb_generic_iterator_t 4755 ** 4756 *****************************************************************************/ 4757 4758 extern(C) xcb_generic_iterator_t 4759 xcb_rectangle_end (xcb_rectangle_iterator_t i /**< */); 4760 4761 4762 /***************************************************************************** 4763 ** 4764 ** void xcb_arc_next 4765 ** 4766 ** @param xcb_arc_iterator_t *i 4767 ** @returns void 4768 ** 4769 *****************************************************************************/ 4770 4771 extern(C) void 4772 xcb_arc_next (xcb_arc_iterator_t *i /**< */); 4773 4774 4775 /***************************************************************************** 4776 ** 4777 ** xcb_generic_iterator_t xcb_arc_end 4778 ** 4779 ** @param xcb_arc_iterator_t i 4780 ** @returns xcb_generic_iterator_t 4781 ** 4782 *****************************************************************************/ 4783 4784 extern(C) xcb_generic_iterator_t 4785 xcb_arc_end (xcb_arc_iterator_t i /**< */); 4786 4787 4788 /***************************************************************************** 4789 ** 4790 ** void xcb_format_next 4791 ** 4792 ** @param xcb_format_iterator_t *i 4793 ** @returns void 4794 ** 4795 *****************************************************************************/ 4796 4797 extern(C) void 4798 xcb_format_next (xcb_format_iterator_t *i /**< */); 4799 4800 4801 /***************************************************************************** 4802 ** 4803 ** xcb_generic_iterator_t xcb_format_end 4804 ** 4805 ** @param xcb_format_iterator_t i 4806 ** @returns xcb_generic_iterator_t 4807 ** 4808 *****************************************************************************/ 4809 4810 extern(C) xcb_generic_iterator_t 4811 xcb_format_end (xcb_format_iterator_t i /**< */); 4812 4813 4814 /***************************************************************************** 4815 ** 4816 ** void xcb_visualtype_next 4817 ** 4818 ** @param xcb_visualtype_iterator_t *i 4819 ** @returns void 4820 ** 4821 *****************************************************************************/ 4822 4823 extern(C) void 4824 xcb_visualtype_next (xcb_visualtype_iterator_t *i /**< */); 4825 4826 4827 /***************************************************************************** 4828 ** 4829 ** xcb_generic_iterator_t xcb_visualtype_end 4830 ** 4831 ** @param xcb_visualtype_iterator_t i 4832 ** @returns xcb_generic_iterator_t 4833 ** 4834 *****************************************************************************/ 4835 4836 extern(C) xcb_generic_iterator_t 4837 xcb_visualtype_end (xcb_visualtype_iterator_t i /**< */); 4838 4839 4840 /***************************************************************************** 4841 ** 4842 ** xcb_visualtype_t * xcb_depth_visuals 4843 ** 4844 ** @param /+const+/ xcb_depth_t *R 4845 ** @returns xcb_visualtype_t * 4846 ** 4847 *****************************************************************************/ 4848 4849 extern(C) xcb_visualtype_t * 4850 xcb_depth_visuals (/+const+/ xcb_depth_t *R /**< */); 4851 4852 4853 /***************************************************************************** 4854 ** 4855 ** int xcb_depth_visuals_length 4856 ** 4857 ** @param /+const+/ xcb_depth_t *R 4858 ** @returns int 4859 ** 4860 *****************************************************************************/ 4861 4862 extern(C) int 4863 xcb_depth_visuals_length (/+const+/ xcb_depth_t *R /**< */); 4864 4865 4866 /***************************************************************************** 4867 ** 4868 ** xcb_visualtype_iterator_t xcb_depth_visuals_iterator 4869 ** 4870 ** @param /+const+/ xcb_depth_t *R 4871 ** @returns xcb_visualtype_iterator_t 4872 ** 4873 *****************************************************************************/ 4874 4875 extern(C) xcb_visualtype_iterator_t 4876 xcb_depth_visuals_iterator (/+const+/ xcb_depth_t *R /**< */); 4877 4878 4879 /***************************************************************************** 4880 ** 4881 ** void xcb_depth_next 4882 ** 4883 ** @param xcb_depth_iterator_t *i 4884 ** @returns void 4885 ** 4886 *****************************************************************************/ 4887 4888 extern(C) void 4889 xcb_depth_next (xcb_depth_iterator_t *i /**< */); 4890 4891 4892 /***************************************************************************** 4893 ** 4894 ** xcb_generic_iterator_t xcb_depth_end 4895 ** 4896 ** @param xcb_depth_iterator_t i 4897 ** @returns xcb_generic_iterator_t 4898 ** 4899 *****************************************************************************/ 4900 4901 extern(C) xcb_generic_iterator_t 4902 xcb_depth_end (xcb_depth_iterator_t i /**< */); 4903 4904 4905 /***************************************************************************** 4906 ** 4907 ** int xcb_screen_allowed_depths_length 4908 ** 4909 ** @param /+const+/ xcb_screen_t *R 4910 ** @returns int 4911 ** 4912 *****************************************************************************/ 4913 4914 extern(C) int 4915 xcb_screen_allowed_depths_length (/+const+/ xcb_screen_t *R /**< */); 4916 4917 4918 /***************************************************************************** 4919 ** 4920 ** xcb_depth_iterator_t xcb_screen_allowed_depths_iterator 4921 ** 4922 ** @param /+const+/ xcb_screen_t *R 4923 ** @returns xcb_depth_iterator_t 4924 ** 4925 *****************************************************************************/ 4926 4927 extern(C) xcb_depth_iterator_t 4928 xcb_screen_allowed_depths_iterator (/+const+/ xcb_screen_t *R /**< */); 4929 4930 4931 /***************************************************************************** 4932 ** 4933 ** void xcb_screen_next 4934 ** 4935 ** @param xcb_screen_iterator_t *i 4936 ** @returns void 4937 ** 4938 *****************************************************************************/ 4939 4940 extern(C) void 4941 xcb_screen_next (xcb_screen_iterator_t *i /**< */); 4942 4943 4944 /***************************************************************************** 4945 ** 4946 ** xcb_generic_iterator_t xcb_screen_end 4947 ** 4948 ** @param xcb_screen_iterator_t i 4949 ** @returns xcb_generic_iterator_t 4950 ** 4951 *****************************************************************************/ 4952 4953 extern(C) xcb_generic_iterator_t 4954 xcb_screen_end (xcb_screen_iterator_t i /**< */); 4955 4956 4957 /***************************************************************************** 4958 ** 4959 ** char * xcb_setup_request_authorization_protocol_name 4960 ** 4961 ** @param /+const+/ xcb_setup_request_t *R 4962 ** @returns char * 4963 ** 4964 *****************************************************************************/ 4965 4966 extern(C) char * 4967 xcb_setup_request_authorization_protocol_name (/+const+/ xcb_setup_request_t *R /**< */); 4968 4969 4970 /***************************************************************************** 4971 ** 4972 ** int xcb_setup_request_authorization_protocol_name_length 4973 ** 4974 ** @param /+const+/ xcb_setup_request_t *R 4975 ** @returns int 4976 ** 4977 *****************************************************************************/ 4978 4979 extern(C) int 4980 xcb_setup_request_authorization_protocol_name_length (/+const+/ xcb_setup_request_t *R /**< */); 4981 4982 4983 /***************************************************************************** 4984 ** 4985 ** xcb_generic_iterator_t xcb_setup_request_authorization_protocol_name_end 4986 ** 4987 ** @param /+const+/ xcb_setup_request_t *R 4988 ** @returns xcb_generic_iterator_t 4989 ** 4990 *****************************************************************************/ 4991 4992 extern(C) xcb_generic_iterator_t 4993 xcb_setup_request_authorization_protocol_name_end (/+const+/ xcb_setup_request_t *R /**< */); 4994 4995 4996 /***************************************************************************** 4997 ** 4998 ** char * xcb_setup_request_authorization_protocol_data 4999 ** 5000 ** @param /+const+/ xcb_setup_request_t *R 5001 ** @returns char * 5002 ** 5003 *****************************************************************************/ 5004 5005 extern(C) char * 5006 xcb_setup_request_authorization_protocol_data (/+const+/ xcb_setup_request_t *R /**< */); 5007 5008 5009 /***************************************************************************** 5010 ** 5011 ** int xcb_setup_request_authorization_protocol_data_length 5012 ** 5013 ** @param /+const+/ xcb_setup_request_t *R 5014 ** @returns int 5015 ** 5016 *****************************************************************************/ 5017 5018 extern(C) int 5019 xcb_setup_request_authorization_protocol_data_length (/+const+/ xcb_setup_request_t *R /**< */); 5020 5021 5022 /***************************************************************************** 5023 ** 5024 ** xcb_generic_iterator_t xcb_setup_request_authorization_protocol_data_end 5025 ** 5026 ** @param /+const+/ xcb_setup_request_t *R 5027 ** @returns xcb_generic_iterator_t 5028 ** 5029 *****************************************************************************/ 5030 5031 extern(C) xcb_generic_iterator_t 5032 xcb_setup_request_authorization_protocol_data_end (/+const+/ xcb_setup_request_t *R /**< */); 5033 5034 5035 /***************************************************************************** 5036 ** 5037 ** void xcb_setup_request_next 5038 ** 5039 ** @param xcb_setup_request_iterator_t *i 5040 ** @returns void 5041 ** 5042 *****************************************************************************/ 5043 5044 extern(C) void 5045 xcb_setup_request_next (xcb_setup_request_iterator_t *i /**< */); 5046 5047 5048 /***************************************************************************** 5049 ** 5050 ** xcb_generic_iterator_t xcb_setup_request_end 5051 ** 5052 ** @param xcb_setup_request_iterator_t i 5053 ** @returns xcb_generic_iterator_t 5054 ** 5055 *****************************************************************************/ 5056 5057 extern(C) xcb_generic_iterator_t 5058 xcb_setup_request_end (xcb_setup_request_iterator_t i /**< */); 5059 5060 5061 /***************************************************************************** 5062 ** 5063 ** char * xcb_setup_failed_reason 5064 ** 5065 ** @param /+const+/ xcb_setup_failed_t *R 5066 ** @returns char * 5067 ** 5068 *****************************************************************************/ 5069 5070 extern(C) char * 5071 xcb_setup_failed_reason (/+const+/ xcb_setup_failed_t *R /**< */); 5072 5073 5074 /***************************************************************************** 5075 ** 5076 ** int xcb_setup_failed_reason_length 5077 ** 5078 ** @param /+const+/ xcb_setup_failed_t *R 5079 ** @returns int 5080 ** 5081 *****************************************************************************/ 5082 5083 extern(C) int 5084 xcb_setup_failed_reason_length (/+const+/ xcb_setup_failed_t *R /**< */); 5085 5086 5087 /***************************************************************************** 5088 ** 5089 ** xcb_generic_iterator_t xcb_setup_failed_reason_end 5090 ** 5091 ** @param /+const+/ xcb_setup_failed_t *R 5092 ** @returns xcb_generic_iterator_t 5093 ** 5094 *****************************************************************************/ 5095 5096 extern(C) xcb_generic_iterator_t 5097 xcb_setup_failed_reason_end (/+const+/ xcb_setup_failed_t *R /**< */); 5098 5099 5100 /***************************************************************************** 5101 ** 5102 ** void xcb_setup_failed_next 5103 ** 5104 ** @param xcb_setup_failed_iterator_t *i 5105 ** @returns void 5106 ** 5107 *****************************************************************************/ 5108 5109 extern(C) void 5110 xcb_setup_failed_next (xcb_setup_failed_iterator_t *i /**< */); 5111 5112 5113 /***************************************************************************** 5114 ** 5115 ** xcb_generic_iterator_t xcb_setup_failed_end 5116 ** 5117 ** @param xcb_setup_failed_iterator_t i 5118 ** @returns xcb_generic_iterator_t 5119 ** 5120 *****************************************************************************/ 5121 5122 extern(C) xcb_generic_iterator_t 5123 xcb_setup_failed_end (xcb_setup_failed_iterator_t i /**< */); 5124 5125 5126 /***************************************************************************** 5127 ** 5128 ** char * xcb_setup_authenticate_reason 5129 ** 5130 ** @param /+const+/ xcb_setup_authenticate_t *R 5131 ** @returns char * 5132 ** 5133 *****************************************************************************/ 5134 5135 extern(C) char * 5136 xcb_setup_authenticate_reason (/+const+/ xcb_setup_authenticate_t *R /**< */); 5137 5138 5139 /***************************************************************************** 5140 ** 5141 ** int xcb_setup_authenticate_reason_length 5142 ** 5143 ** @param /+const+/ xcb_setup_authenticate_t *R 5144 ** @returns int 5145 ** 5146 *****************************************************************************/ 5147 5148 extern(C) int 5149 xcb_setup_authenticate_reason_length (/+const+/ xcb_setup_authenticate_t *R /**< */); 5150 5151 5152 /***************************************************************************** 5153 ** 5154 ** xcb_generic_iterator_t xcb_setup_authenticate_reason_end 5155 ** 5156 ** @param /+const+/ xcb_setup_authenticate_t *R 5157 ** @returns xcb_generic_iterator_t 5158 ** 5159 *****************************************************************************/ 5160 5161 extern(C) xcb_generic_iterator_t 5162 xcb_setup_authenticate_reason_end (/+const+/ xcb_setup_authenticate_t *R /**< */); 5163 5164 5165 /***************************************************************************** 5166 ** 5167 ** void xcb_setup_authenticate_next 5168 ** 5169 ** @param xcb_setup_authenticate_iterator_t *i 5170 ** @returns void 5171 ** 5172 *****************************************************************************/ 5173 5174 extern(C) void 5175 xcb_setup_authenticate_next (xcb_setup_authenticate_iterator_t *i /**< */); 5176 5177 5178 /***************************************************************************** 5179 ** 5180 ** xcb_generic_iterator_t xcb_setup_authenticate_end 5181 ** 5182 ** @param xcb_setup_authenticate_iterator_t i 5183 ** @returns xcb_generic_iterator_t 5184 ** 5185 *****************************************************************************/ 5186 5187 extern(C) xcb_generic_iterator_t 5188 xcb_setup_authenticate_end (xcb_setup_authenticate_iterator_t i /**< */); 5189 5190 5191 /***************************************************************************** 5192 ** 5193 ** char * xcb_setup_vendor 5194 ** 5195 ** @param /+const+/ xcb_setup_t *R 5196 ** @returns char * 5197 ** 5198 *****************************************************************************/ 5199 5200 extern(C) char * 5201 xcb_setup_vendor (/+const+/ xcb_setup_t *R /**< */); 5202 5203 5204 /***************************************************************************** 5205 ** 5206 ** int xcb_setup_vendor_length 5207 ** 5208 ** @param /+const+/ xcb_setup_t *R 5209 ** @returns int 5210 ** 5211 *****************************************************************************/ 5212 5213 extern(C) int 5214 xcb_setup_vendor_length (/+const+/ xcb_setup_t *R /**< */); 5215 5216 5217 /***************************************************************************** 5218 ** 5219 ** xcb_generic_iterator_t xcb_setup_vendor_end 5220 ** 5221 ** @param /+const+/ xcb_setup_t *R 5222 ** @returns xcb_generic_iterator_t 5223 ** 5224 *****************************************************************************/ 5225 5226 extern(C) xcb_generic_iterator_t 5227 xcb_setup_vendor_end (/+const+/ xcb_setup_t *R /**< */); 5228 5229 5230 /***************************************************************************** 5231 ** 5232 ** xcb_format_t * xcb_setup_pixmap_formats 5233 ** 5234 ** @param /+const+/ xcb_setup_t *R 5235 ** @returns xcb_format_t * 5236 ** 5237 *****************************************************************************/ 5238 5239 extern(C) xcb_format_t * 5240 xcb_setup_pixmap_formats (/+const+/ xcb_setup_t *R /**< */); 5241 5242 5243 /***************************************************************************** 5244 ** 5245 ** int xcb_setup_pixmap_formats_length 5246 ** 5247 ** @param /+const+/ xcb_setup_t *R 5248 ** @returns int 5249 ** 5250 *****************************************************************************/ 5251 5252 extern(C) int 5253 xcb_setup_pixmap_formats_length (/+const+/ xcb_setup_t *R /**< */); 5254 5255 5256 /***************************************************************************** 5257 ** 5258 ** xcb_format_iterator_t xcb_setup_pixmap_formats_iterator 5259 ** 5260 ** @param /+const+/ xcb_setup_t *R 5261 ** @returns xcb_format_iterator_t 5262 ** 5263 *****************************************************************************/ 5264 5265 extern(C) xcb_format_iterator_t 5266 xcb_setup_pixmap_formats_iterator (/+const+/ xcb_setup_t *R /**< */); 5267 5268 5269 /***************************************************************************** 5270 ** 5271 ** int xcb_setup_roots_length 5272 ** 5273 ** @param /+const+/ xcb_setup_t *R 5274 ** @returns int 5275 ** 5276 *****************************************************************************/ 5277 5278 extern(C) int 5279 xcb_setup_roots_length (/+const+/ xcb_setup_t *R /**< */); 5280 5281 5282 /***************************************************************************** 5283 ** 5284 ** xcb_screen_iterator_t xcb_setup_roots_iterator 5285 ** 5286 ** @param /+const+/ xcb_setup_t *R 5287 ** @returns xcb_screen_iterator_t 5288 ** 5289 *****************************************************************************/ 5290 5291 extern(C) xcb_screen_iterator_t 5292 xcb_setup_roots_iterator (/+const+/ xcb_setup_t *R /**< */); 5293 5294 5295 /***************************************************************************** 5296 ** 5297 ** void xcb_setup_next 5298 ** 5299 ** @param xcb_setup_iterator_t *i 5300 ** @returns void 5301 ** 5302 *****************************************************************************/ 5303 5304 extern(C) void 5305 xcb_setup_next (xcb_setup_iterator_t *i /**< */); 5306 5307 5308 /***************************************************************************** 5309 ** 5310 ** xcb_generic_iterator_t xcb_setup_end 5311 ** 5312 ** @param xcb_setup_iterator_t i 5313 ** @returns xcb_generic_iterator_t 5314 ** 5315 *****************************************************************************/ 5316 5317 extern(C) xcb_generic_iterator_t 5318 xcb_setup_end (xcb_setup_iterator_t i /**< */); 5319 5320 5321 /***************************************************************************** 5322 ** 5323 ** void xcb_client_message_data_next 5324 ** 5325 ** @param xcb_client_message_data_iterator_t *i 5326 ** @returns void 5327 ** 5328 *****************************************************************************/ 5329 5330 extern(C) void 5331 xcb_client_message_data_next (xcb_client_message_data_iterator_t *i /**< */); 5332 5333 5334 /***************************************************************************** 5335 ** 5336 ** xcb_generic_iterator_t xcb_client_message_data_end 5337 ** 5338 ** @param xcb_client_message_data_iterator_t i 5339 ** @returns xcb_generic_iterator_t 5340 ** 5341 *****************************************************************************/ 5342 5343 extern(C) xcb_generic_iterator_t 5344 xcb_client_message_data_end (xcb_client_message_data_iterator_t i /**< */); 5345 5346 5347 /***************************************************************************** 5348 ** 5349 ** xcb_void_cookie_t xcb_create_window_checked 5350 ** 5351 ** @param xcb_connection_t *c 5352 ** @param ubyte depth 5353 ** @param xcb_window_t wid 5354 ** @param xcb_window_t parent 5355 ** @param short x 5356 ** @param short y 5357 ** @param ushort width 5358 ** @param ushort height 5359 ** @param ushort border_width 5360 ** @param ushort _class 5361 ** @param xcb_visualid_t visual 5362 ** @param uint value_mask 5363 ** @param /+const+/ uint *value_list 5364 ** @returns xcb_void_cookie_t 5365 ** 5366 *****************************************************************************/ 5367 5368 extern(C) xcb_void_cookie_t 5369 xcb_create_window_checked (xcb_connection_t *c /**< */, 5370 ubyte depth /**< */, 5371 xcb_window_t wid /**< */, 5372 xcb_window_t parent /**< */, 5373 short x /**< */, 5374 short y /**< */, 5375 ushort width /**< */, 5376 ushort height /**< */, 5377 ushort border_width /**< */, 5378 ushort _class /**< */, 5379 xcb_visualid_t visual /**< */, 5380 uint value_mask /**< */, 5381 /+const+/ uint *value_list /**< */); 5382 5383 5384 /***************************************************************************** 5385 ** 5386 ** xcb_void_cookie_t xcb_create_window 5387 ** 5388 ** @param xcb_connection_t *c 5389 ** @param ubyte depth 5390 ** @param xcb_window_t wid 5391 ** @param xcb_window_t parent 5392 ** @param short x 5393 ** @param short y 5394 ** @param ushort width 5395 ** @param ushort height 5396 ** @param ushort border_width 5397 ** @param ushort _class 5398 ** @param xcb_visualid_t visual 5399 ** @param uint value_mask 5400 ** @param /+const+/ uint *value_list 5401 ** @returns xcb_void_cookie_t 5402 ** 5403 *****************************************************************************/ 5404 5405 extern(C) xcb_void_cookie_t 5406 xcb_create_window (xcb_connection_t *c /**< */, 5407 ubyte depth /**< */, 5408 xcb_window_t wid /**< */, 5409 xcb_window_t parent /**< */, 5410 short x /**< */, 5411 short y /**< */, 5412 ushort width /**< */, 5413 ushort height /**< */, 5414 ushort border_width /**< */, 5415 ushort _class /**< */, 5416 xcb_visualid_t visual /**< */, 5417 uint value_mask /**< */, 5418 /+const+/ uint *value_list /**< */); 5419 5420 5421 /***************************************************************************** 5422 ** 5423 ** xcb_void_cookie_t xcb_change_window_attributes_checked 5424 ** 5425 ** @param xcb_connection_t *c 5426 ** @param xcb_window_t window 5427 ** @param uint value_mask 5428 ** @param /+const+/ uint *value_list 5429 ** @returns xcb_void_cookie_t 5430 ** 5431 *****************************************************************************/ 5432 5433 extern(C) xcb_void_cookie_t 5434 xcb_change_window_attributes_checked (xcb_connection_t *c /**< */, 5435 xcb_window_t window /**< */, 5436 uint value_mask /**< */, 5437 /+const+/ uint *value_list /**< */); 5438 5439 5440 /***************************************************************************** 5441 ** 5442 ** xcb_void_cookie_t xcb_change_window_attributes 5443 ** 5444 ** @param xcb_connection_t *c 5445 ** @param xcb_window_t window 5446 ** @param uint value_mask 5447 ** @param /+const+/ uint *value_list 5448 ** @returns xcb_void_cookie_t 5449 ** 5450 *****************************************************************************/ 5451 5452 extern(C) xcb_void_cookie_t 5453 xcb_change_window_attributes (xcb_connection_t *c /**< */, 5454 xcb_window_t window /**< */, 5455 uint value_mask /**< */, 5456 /+const+/ uint *value_list /**< */); 5457 5458 5459 /***************************************************************************** 5460 ** 5461 ** xcb_get_window_attributes_cookie_t xcb_get_window_attributes 5462 ** 5463 ** @param xcb_connection_t *c 5464 ** @param xcb_window_t window 5465 ** @returns xcb_get_window_attributes_cookie_t 5466 ** 5467 *****************************************************************************/ 5468 5469 extern(C) xcb_get_window_attributes_cookie_t 5470 xcb_get_window_attributes (xcb_connection_t *c /**< */, 5471 xcb_window_t window /**< */); 5472 5473 5474 /***************************************************************************** 5475 ** 5476 ** xcb_get_window_attributes_cookie_t xcb_get_window_attributes_unchecked 5477 ** 5478 ** @param xcb_connection_t *c 5479 ** @param xcb_window_t window 5480 ** @returns xcb_get_window_attributes_cookie_t 5481 ** 5482 *****************************************************************************/ 5483 5484 extern(C) xcb_get_window_attributes_cookie_t 5485 xcb_get_window_attributes_unchecked (xcb_connection_t *c /**< */, 5486 xcb_window_t window /**< */); 5487 5488 5489 /***************************************************************************** 5490 ** 5491 ** xcb_get_window_attributes_reply_t * xcb_get_window_attributes_reply 5492 ** 5493 ** @param xcb_connection_t *c 5494 ** @param xcb_get_window_attributes_cookie_t cookie 5495 ** @param xcb_generic_error_t **e 5496 ** @returns xcb_get_window_attributes_reply_t * 5497 ** 5498 *****************************************************************************/ 5499 5500 extern(C) xcb_get_window_attributes_reply_t * 5501 xcb_get_window_attributes_reply (xcb_connection_t *c /**< */, 5502 xcb_get_window_attributes_cookie_t cookie /**< */, 5503 xcb_generic_error_t **e /**< */); 5504 5505 5506 /***************************************************************************** 5507 ** 5508 ** xcb_void_cookie_t xcb_destroy_window_checked 5509 ** 5510 ** @param xcb_connection_t *c 5511 ** @param xcb_window_t window 5512 ** @returns xcb_void_cookie_t 5513 ** 5514 *****************************************************************************/ 5515 5516 extern(C) xcb_void_cookie_t 5517 xcb_destroy_window_checked (xcb_connection_t *c /**< */, 5518 xcb_window_t window /**< */); 5519 5520 5521 /***************************************************************************** 5522 ** 5523 ** xcb_void_cookie_t xcb_destroy_window 5524 ** 5525 ** @param xcb_connection_t *c 5526 ** @param xcb_window_t window 5527 ** @returns xcb_void_cookie_t 5528 ** 5529 *****************************************************************************/ 5530 5531 extern(C) xcb_void_cookie_t 5532 xcb_destroy_window (xcb_connection_t *c /**< */, 5533 xcb_window_t window /**< */); 5534 5535 5536 /***************************************************************************** 5537 ** 5538 ** xcb_void_cookie_t xcb_destroy_subwindows_checked 5539 ** 5540 ** @param xcb_connection_t *c 5541 ** @param xcb_window_t window 5542 ** @returns xcb_void_cookie_t 5543 ** 5544 *****************************************************************************/ 5545 5546 extern(C) xcb_void_cookie_t 5547 xcb_destroy_subwindows_checked (xcb_connection_t *c /**< */, 5548 xcb_window_t window /**< */); 5549 5550 5551 /***************************************************************************** 5552 ** 5553 ** xcb_void_cookie_t xcb_destroy_subwindows 5554 ** 5555 ** @param xcb_connection_t *c 5556 ** @param xcb_window_t window 5557 ** @returns xcb_void_cookie_t 5558 ** 5559 *****************************************************************************/ 5560 5561 extern(C) xcb_void_cookie_t 5562 xcb_destroy_subwindows (xcb_connection_t *c /**< */, 5563 xcb_window_t window /**< */); 5564 5565 5566 /***************************************************************************** 5567 ** 5568 ** xcb_void_cookie_t xcb_change_save_set_checked 5569 ** 5570 ** @param xcb_connection_t *c 5571 ** @param ubyte mode 5572 ** @param xcb_window_t window 5573 ** @returns xcb_void_cookie_t 5574 ** 5575 *****************************************************************************/ 5576 5577 extern(C) xcb_void_cookie_t 5578 xcb_change_save_set_checked (xcb_connection_t *c /**< */, 5579 ubyte mode /**< */, 5580 xcb_window_t window /**< */); 5581 5582 5583 /***************************************************************************** 5584 ** 5585 ** xcb_void_cookie_t xcb_change_save_set 5586 ** 5587 ** @param xcb_connection_t *c 5588 ** @param ubyte mode 5589 ** @param xcb_window_t window 5590 ** @returns xcb_void_cookie_t 5591 ** 5592 *****************************************************************************/ 5593 5594 extern(C) xcb_void_cookie_t 5595 xcb_change_save_set (xcb_connection_t *c /**< */, 5596 ubyte mode /**< */, 5597 xcb_window_t window /**< */); 5598 5599 5600 /***************************************************************************** 5601 ** 5602 ** xcb_void_cookie_t xcb_reparent_window_checked 5603 ** 5604 ** @param xcb_connection_t *c 5605 ** @param xcb_window_t window 5606 ** @param xcb_window_t parent 5607 ** @param short x 5608 ** @param short y 5609 ** @returns xcb_void_cookie_t 5610 ** 5611 *****************************************************************************/ 5612 5613 extern(C) xcb_void_cookie_t 5614 xcb_reparent_window_checked (xcb_connection_t *c /**< */, 5615 xcb_window_t window /**< */, 5616 xcb_window_t parent /**< */, 5617 short x /**< */, 5618 short y /**< */); 5619 5620 5621 /***************************************************************************** 5622 ** 5623 ** xcb_void_cookie_t xcb_reparent_window 5624 ** 5625 ** @param xcb_connection_t *c 5626 ** @param xcb_window_t window 5627 ** @param xcb_window_t parent 5628 ** @param short x 5629 ** @param short y 5630 ** @returns xcb_void_cookie_t 5631 ** 5632 *****************************************************************************/ 5633 5634 extern(C) xcb_void_cookie_t 5635 xcb_reparent_window (xcb_connection_t *c /**< */, 5636 xcb_window_t window /**< */, 5637 xcb_window_t parent /**< */, 5638 short x /**< */, 5639 short y /**< */); 5640 5641 5642 /***************************************************************************** 5643 ** 5644 ** xcb_void_cookie_t xcb_map_window_checked 5645 ** 5646 ** @param xcb_connection_t *c 5647 ** @param xcb_window_t window 5648 ** @returns xcb_void_cookie_t 5649 ** 5650 *****************************************************************************/ 5651 5652 extern(C) xcb_void_cookie_t 5653 xcb_map_window_checked (xcb_connection_t *c /**< */, 5654 xcb_window_t window /**< */); 5655 5656 5657 /***************************************************************************** 5658 ** 5659 ** xcb_void_cookie_t xcb_map_window 5660 ** 5661 ** @param xcb_connection_t *c 5662 ** @param xcb_window_t window 5663 ** @returns xcb_void_cookie_t 5664 ** 5665 *****************************************************************************/ 5666 5667 extern(C) xcb_void_cookie_t 5668 xcb_map_window (xcb_connection_t *c /**< */, 5669 xcb_window_t window /**< */); 5670 5671 5672 /***************************************************************************** 5673 ** 5674 ** xcb_void_cookie_t xcb_map_subwindows_checked 5675 ** 5676 ** @param xcb_connection_t *c 5677 ** @param xcb_window_t window 5678 ** @returns xcb_void_cookie_t 5679 ** 5680 *****************************************************************************/ 5681 5682 extern(C) xcb_void_cookie_t 5683 xcb_map_subwindows_checked (xcb_connection_t *c /**< */, 5684 xcb_window_t window /**< */); 5685 5686 5687 /***************************************************************************** 5688 ** 5689 ** xcb_void_cookie_t xcb_map_subwindows 5690 ** 5691 ** @param xcb_connection_t *c 5692 ** @param xcb_window_t window 5693 ** @returns xcb_void_cookie_t 5694 ** 5695 *****************************************************************************/ 5696 5697 extern(C) xcb_void_cookie_t 5698 xcb_map_subwindows (xcb_connection_t *c /**< */, 5699 xcb_window_t window /**< */); 5700 5701 5702 /***************************************************************************** 5703 ** 5704 ** xcb_void_cookie_t xcb_unmap_window_checked 5705 ** 5706 ** @param xcb_connection_t *c 5707 ** @param xcb_window_t window 5708 ** @returns xcb_void_cookie_t 5709 ** 5710 *****************************************************************************/ 5711 5712 extern(C) xcb_void_cookie_t 5713 xcb_unmap_window_checked (xcb_connection_t *c /**< */, 5714 xcb_window_t window /**< */); 5715 5716 5717 /***************************************************************************** 5718 ** 5719 ** xcb_void_cookie_t xcb_unmap_window 5720 ** 5721 ** @param xcb_connection_t *c 5722 ** @param xcb_window_t window 5723 ** @returns xcb_void_cookie_t 5724 ** 5725 *****************************************************************************/ 5726 5727 extern(C) xcb_void_cookie_t 5728 xcb_unmap_window (xcb_connection_t *c /**< */, 5729 xcb_window_t window /**< */); 5730 5731 5732 /***************************************************************************** 5733 ** 5734 ** xcb_void_cookie_t xcb_unmap_subwindows_checked 5735 ** 5736 ** @param xcb_connection_t *c 5737 ** @param xcb_window_t window 5738 ** @returns xcb_void_cookie_t 5739 ** 5740 *****************************************************************************/ 5741 5742 extern(C) xcb_void_cookie_t 5743 xcb_unmap_subwindows_checked (xcb_connection_t *c /**< */, 5744 xcb_window_t window /**< */); 5745 5746 5747 /***************************************************************************** 5748 ** 5749 ** xcb_void_cookie_t xcb_unmap_subwindows 5750 ** 5751 ** @param xcb_connection_t *c 5752 ** @param xcb_window_t window 5753 ** @returns xcb_void_cookie_t 5754 ** 5755 *****************************************************************************/ 5756 5757 extern(C) xcb_void_cookie_t 5758 xcb_unmap_subwindows (xcb_connection_t *c /**< */, 5759 xcb_window_t window /**< */); 5760 5761 5762 /***************************************************************************** 5763 ** 5764 ** xcb_void_cookie_t xcb_configure_window_checked 5765 ** 5766 ** @param xcb_connection_t *c 5767 ** @param xcb_window_t window 5768 ** @param ushort value_mask 5769 ** @param /+const+/ uint *value_list 5770 ** @returns xcb_void_cookie_t 5771 ** 5772 *****************************************************************************/ 5773 5774 extern(C) xcb_void_cookie_t 5775 xcb_configure_window_checked (xcb_connection_t *c /**< */, 5776 xcb_window_t window /**< */, 5777 ushort value_mask /**< */, 5778 /+const+/ uint *value_list /**< */); 5779 5780 5781 /***************************************************************************** 5782 ** 5783 ** xcb_void_cookie_t xcb_configure_window 5784 ** 5785 ** @param xcb_connection_t *c 5786 ** @param xcb_window_t window 5787 ** @param ushort value_mask 5788 ** @param /+const+/ uint *value_list 5789 ** @returns xcb_void_cookie_t 5790 ** 5791 *****************************************************************************/ 5792 5793 extern(C) xcb_void_cookie_t 5794 xcb_configure_window (xcb_connection_t *c /**< */, 5795 xcb_window_t window /**< */, 5796 ushort value_mask /**< */, 5797 /+const+/ uint *value_list /**< */); 5798 5799 5800 /***************************************************************************** 5801 ** 5802 ** xcb_void_cookie_t xcb_circulate_window_checked 5803 ** 5804 ** @param xcb_connection_t *c 5805 ** @param ubyte direction 5806 ** @param xcb_window_t window 5807 ** @returns xcb_void_cookie_t 5808 ** 5809 *****************************************************************************/ 5810 5811 extern(C) xcb_void_cookie_t 5812 xcb_circulate_window_checked (xcb_connection_t *c /**< */, 5813 ubyte direction /**< */, 5814 xcb_window_t window /**< */); 5815 5816 5817 /***************************************************************************** 5818 ** 5819 ** xcb_void_cookie_t xcb_circulate_window 5820 ** 5821 ** @param xcb_connection_t *c 5822 ** @param ubyte direction 5823 ** @param xcb_window_t window 5824 ** @returns xcb_void_cookie_t 5825 ** 5826 *****************************************************************************/ 5827 5828 extern(C) xcb_void_cookie_t 5829 xcb_circulate_window (xcb_connection_t *c /**< */, 5830 ubyte direction /**< */, 5831 xcb_window_t window /**< */); 5832 5833 5834 /***************************************************************************** 5835 ** 5836 ** xcb_get_geometry_cookie_t xcb_get_geometry 5837 ** 5838 ** @param xcb_connection_t *c 5839 ** @param xcb_drawable_t drawable 5840 ** @returns xcb_get_geometry_cookie_t 5841 ** 5842 *****************************************************************************/ 5843 5844 extern(C) xcb_get_geometry_cookie_t 5845 xcb_get_geometry (xcb_connection_t *c /**< */, 5846 xcb_drawable_t drawable /**< */); 5847 5848 5849 /***************************************************************************** 5850 ** 5851 ** xcb_get_geometry_cookie_t xcb_get_geometry_unchecked 5852 ** 5853 ** @param xcb_connection_t *c 5854 ** @param xcb_drawable_t drawable 5855 ** @returns xcb_get_geometry_cookie_t 5856 ** 5857 *****************************************************************************/ 5858 5859 extern(C) xcb_get_geometry_cookie_t 5860 xcb_get_geometry_unchecked (xcb_connection_t *c /**< */, 5861 xcb_drawable_t drawable /**< */); 5862 5863 5864 /***************************************************************************** 5865 ** 5866 ** xcb_get_geometry_reply_t * xcb_get_geometry_reply 5867 ** 5868 ** @param xcb_connection_t *c 5869 ** @param xcb_get_geometry_cookie_t cookie 5870 ** @param xcb_generic_error_t **e 5871 ** @returns xcb_get_geometry_reply_t * 5872 ** 5873 *****************************************************************************/ 5874 5875 extern(C) xcb_get_geometry_reply_t * 5876 xcb_get_geometry_reply (xcb_connection_t *c /**< */, 5877 xcb_get_geometry_cookie_t cookie /**< */, 5878 xcb_generic_error_t **e /**< */); 5879 5880 5881 /***************************************************************************** 5882 ** 5883 ** xcb_query_tree_cookie_t xcb_query_tree 5884 ** 5885 ** @param xcb_connection_t *c 5886 ** @param xcb_window_t window 5887 ** @returns xcb_query_tree_cookie_t 5888 ** 5889 *****************************************************************************/ 5890 5891 extern(C) xcb_query_tree_cookie_t 5892 xcb_query_tree (xcb_connection_t *c /**< */, 5893 xcb_window_t window /**< */); 5894 5895 5896 /***************************************************************************** 5897 ** 5898 ** xcb_query_tree_cookie_t xcb_query_tree_unchecked 5899 ** 5900 ** @param xcb_connection_t *c 5901 ** @param xcb_window_t window 5902 ** @returns xcb_query_tree_cookie_t 5903 ** 5904 *****************************************************************************/ 5905 5906 extern(C) xcb_query_tree_cookie_t 5907 xcb_query_tree_unchecked (xcb_connection_t *c /**< */, 5908 xcb_window_t window /**< */); 5909 5910 5911 /***************************************************************************** 5912 ** 5913 ** xcb_window_t * xcb_query_tree_children 5914 ** 5915 ** @param /+const+/ xcb_query_tree_reply_t *R 5916 ** @returns xcb_window_t * 5917 ** 5918 *****************************************************************************/ 5919 5920 extern(C) xcb_window_t * 5921 xcb_query_tree_children (/+const+/ xcb_query_tree_reply_t *R /**< */); 5922 5923 5924 /***************************************************************************** 5925 ** 5926 ** int xcb_query_tree_children_length 5927 ** 5928 ** @param /+const+/ xcb_query_tree_reply_t *R 5929 ** @returns int 5930 ** 5931 *****************************************************************************/ 5932 5933 extern(C) int 5934 xcb_query_tree_children_length (/+const+/ xcb_query_tree_reply_t *R /**< */); 5935 5936 5937 /***************************************************************************** 5938 ** 5939 ** xcb_window_iterator_t xcb_query_tree_children_iterator 5940 ** 5941 ** @param /+const+/ xcb_query_tree_reply_t *R 5942 ** @returns xcb_window_iterator_t 5943 ** 5944 *****************************************************************************/ 5945 5946 extern(C) xcb_window_iterator_t 5947 xcb_query_tree_children_iterator (/+const+/ xcb_query_tree_reply_t *R /**< */); 5948 5949 5950 /***************************************************************************** 5951 ** 5952 ** xcb_query_tree_reply_t * xcb_query_tree_reply 5953 ** 5954 ** @param xcb_connection_t *c 5955 ** @param xcb_query_tree_cookie_t cookie 5956 ** @param xcb_generic_error_t **e 5957 ** @returns xcb_query_tree_reply_t * 5958 ** 5959 *****************************************************************************/ 5960 5961 extern(C) xcb_query_tree_reply_t * 5962 xcb_query_tree_reply (xcb_connection_t *c /**< */, 5963 xcb_query_tree_cookie_t cookie /**< */, 5964 xcb_generic_error_t **e /**< */); 5965 5966 5967 /***************************************************************************** 5968 ** 5969 ** xcb_intern_atom_cookie_t xcb_intern_atom 5970 ** 5971 ** @param xcb_connection_t *c 5972 ** @param bool only_if_exists 5973 ** @param ushort name_len 5974 ** @param /+const+/ char *name 5975 ** @returns xcb_intern_atom_cookie_t 5976 ** 5977 *****************************************************************************/ 5978 5979 extern(C) xcb_intern_atom_cookie_t 5980 xcb_intern_atom (xcb_connection_t *c /**< */, 5981 bool only_if_exists /**< */, 5982 ushort name_len /**< */, 5983 /+const+/ char *name /**< */); 5984 5985 5986 /***************************************************************************** 5987 ** 5988 ** xcb_intern_atom_cookie_t xcb_intern_atom_unchecked 5989 ** 5990 ** @param xcb_connection_t *c 5991 ** @param bool only_if_exists 5992 ** @param ushort name_len 5993 ** @param /+const+/ char *name 5994 ** @returns xcb_intern_atom_cookie_t 5995 ** 5996 *****************************************************************************/ 5997 5998 extern(C) xcb_intern_atom_cookie_t 5999 xcb_intern_atom_unchecked (xcb_connection_t *c /**< */, 6000 bool only_if_exists /**< */, 6001 ushort name_len /**< */, 6002 /+const+/ char *name /**< */); 6003 6004 6005 /***************************************************************************** 6006 ** 6007 ** xcb_intern_atom_reply_t * xcb_intern_atom_reply 6008 ** 6009 ** @param xcb_connection_t *c 6010 ** @param xcb_intern_atom_cookie_t cookie 6011 ** @param xcb_generic_error_t **e 6012 ** @returns xcb_intern_atom_reply_t * 6013 ** 6014 *****************************************************************************/ 6015 6016 extern(C) xcb_intern_atom_reply_t * 6017 xcb_intern_atom_reply (xcb_connection_t *c /**< */, 6018 xcb_intern_atom_cookie_t cookie /**< */, 6019 xcb_generic_error_t **e /**< */); 6020 6021 6022 /***************************************************************************** 6023 ** 6024 ** xcb_get_atom_name_cookie_t xcb_get_atom_name 6025 ** 6026 ** @param xcb_connection_t *c 6027 ** @param xcb_atom_t atom 6028 ** @returns xcb_get_atom_name_cookie_t 6029 ** 6030 *****************************************************************************/ 6031 6032 extern(C) xcb_get_atom_name_cookie_t 6033 xcb_get_atom_name (xcb_connection_t *c /**< */, 6034 xcb_atom_t atom /**< */); 6035 6036 6037 /***************************************************************************** 6038 ** 6039 ** xcb_get_atom_name_cookie_t xcb_get_atom_name_unchecked 6040 ** 6041 ** @param xcb_connection_t *c 6042 ** @param xcb_atom_t atom 6043 ** @returns xcb_get_atom_name_cookie_t 6044 ** 6045 *****************************************************************************/ 6046 6047 extern(C) xcb_get_atom_name_cookie_t 6048 xcb_get_atom_name_unchecked (xcb_connection_t *c /**< */, 6049 xcb_atom_t atom /**< */); 6050 6051 6052 /***************************************************************************** 6053 ** 6054 ** ubyte * xcb_get_atom_name_name 6055 ** 6056 ** @param /+const+/ xcb_get_atom_name_reply_t *R 6057 ** @returns ubyte * 6058 ** 6059 *****************************************************************************/ 6060 6061 extern(C) ubyte * 6062 xcb_get_atom_name_name (/+const+/ xcb_get_atom_name_reply_t *R /**< */); 6063 6064 6065 /***************************************************************************** 6066 ** 6067 ** int xcb_get_atom_name_name_length 6068 ** 6069 ** @param /+const+/ xcb_get_atom_name_reply_t *R 6070 ** @returns int 6071 ** 6072 *****************************************************************************/ 6073 6074 extern(C) int 6075 xcb_get_atom_name_name_length (/+const+/ xcb_get_atom_name_reply_t *R /**< */); 6076 6077 6078 /***************************************************************************** 6079 ** 6080 ** xcb_generic_iterator_t xcb_get_atom_name_name_end 6081 ** 6082 ** @param /+const+/ xcb_get_atom_name_reply_t *R 6083 ** @returns xcb_generic_iterator_t 6084 ** 6085 *****************************************************************************/ 6086 6087 extern(C) xcb_generic_iterator_t 6088 xcb_get_atom_name_name_end (/+const+/ xcb_get_atom_name_reply_t *R /**< */); 6089 6090 6091 /***************************************************************************** 6092 ** 6093 ** xcb_get_atom_name_reply_t * xcb_get_atom_name_reply 6094 ** 6095 ** @param xcb_connection_t *c 6096 ** @param xcb_get_atom_name_cookie_t cookie 6097 ** @param xcb_generic_error_t **e 6098 ** @returns xcb_get_atom_name_reply_t * 6099 ** 6100 *****************************************************************************/ 6101 6102 extern(C) xcb_get_atom_name_reply_t * 6103 xcb_get_atom_name_reply (xcb_connection_t *c /**< */, 6104 xcb_get_atom_name_cookie_t cookie /**< */, 6105 xcb_generic_error_t **e /**< */); 6106 6107 6108 /***************************************************************************** 6109 ** 6110 ** xcb_void_cookie_t xcb_change_property_checked 6111 ** 6112 ** @param xcb_connection_t *c 6113 ** @param ubyte mode 6114 ** @param xcb_window_t window 6115 ** @param xcb_atom_t property 6116 ** @param xcb_atom_t type 6117 ** @param ubyte format 6118 ** @param uint data_len 6119 ** @param /+const+/ void *data 6120 ** @returns xcb_void_cookie_t 6121 ** 6122 *****************************************************************************/ 6123 6124 extern(C) xcb_void_cookie_t 6125 xcb_change_property_checked (xcb_connection_t *c /**< */, 6126 ubyte mode /**< */, 6127 xcb_window_t window /**< */, 6128 xcb_atom_t property /**< */, 6129 xcb_atom_t type /**< */, 6130 ubyte format /**< */, 6131 uint data_len /**< */, 6132 /+const+/ void *data /**< */); 6133 6134 6135 /***************************************************************************** 6136 ** 6137 ** xcb_void_cookie_t xcb_change_property 6138 ** 6139 ** @param xcb_connection_t *c 6140 ** @param ubyte mode 6141 ** @param xcb_window_t window 6142 ** @param xcb_atom_t property 6143 ** @param xcb_atom_t type 6144 ** @param ubyte format 6145 ** @param uint data_len 6146 ** @param /+const+/ void *data 6147 ** @returns xcb_void_cookie_t 6148 ** 6149 *****************************************************************************/ 6150 6151 extern(C) xcb_void_cookie_t 6152 xcb_change_property (xcb_connection_t *c /**< */, 6153 ubyte mode /**< */, 6154 xcb_window_t window /**< */, 6155 xcb_atom_t property /**< */, 6156 xcb_atom_t type /**< */, 6157 ubyte format /**< */, 6158 uint data_len /**< */, 6159 /+const+/ void *data /**< */); 6160 6161 6162 /***************************************************************************** 6163 ** 6164 ** xcb_void_cookie_t xcb_delete_property_checked 6165 ** 6166 ** @param xcb_connection_t *c 6167 ** @param xcb_window_t window 6168 ** @param xcb_atom_t property 6169 ** @returns xcb_void_cookie_t 6170 ** 6171 *****************************************************************************/ 6172 6173 extern(C) xcb_void_cookie_t 6174 xcb_delete_property_checked (xcb_connection_t *c /**< */, 6175 xcb_window_t window /**< */, 6176 xcb_atom_t property /**< */); 6177 6178 6179 /***************************************************************************** 6180 ** 6181 ** xcb_void_cookie_t xcb_delete_property 6182 ** 6183 ** @param xcb_connection_t *c 6184 ** @param xcb_window_t window 6185 ** @param xcb_atom_t property 6186 ** @returns xcb_void_cookie_t 6187 ** 6188 *****************************************************************************/ 6189 6190 extern(C) xcb_void_cookie_t 6191 xcb_delete_property (xcb_connection_t *c /**< */, 6192 xcb_window_t window /**< */, 6193 xcb_atom_t property /**< */); 6194 6195 6196 /***************************************************************************** 6197 ** 6198 ** xcb_get_property_cookie_t xcb_get_property 6199 ** 6200 ** @param xcb_connection_t *c 6201 ** @param bool _delete 6202 ** @param xcb_window_t window 6203 ** @param xcb_atom_t property 6204 ** @param xcb_atom_t type 6205 ** @param uint long_offset 6206 ** @param uint long_length 6207 ** @returns xcb_get_property_cookie_t 6208 ** 6209 *****************************************************************************/ 6210 6211 extern(C) xcb_get_property_cookie_t 6212 xcb_get_property (xcb_connection_t *c /**< */, 6213 bool _delete /**< */, 6214 xcb_window_t window /**< */, 6215 xcb_atom_t property /**< */, 6216 xcb_atom_t type /**< */, 6217 uint long_offset /**< */, 6218 uint long_length /**< */); 6219 6220 6221 /***************************************************************************** 6222 ** 6223 ** xcb_get_property_cookie_t xcb_get_property_unchecked 6224 ** 6225 ** @param xcb_connection_t *c 6226 ** @param bool _delete 6227 ** @param xcb_window_t window 6228 ** @param xcb_atom_t property 6229 ** @param xcb_atom_t type 6230 ** @param uint long_offset 6231 ** @param uint long_length 6232 ** @returns xcb_get_property_cookie_t 6233 ** 6234 *****************************************************************************/ 6235 6236 extern(C) xcb_get_property_cookie_t 6237 xcb_get_property_unchecked (xcb_connection_t *c /**< */, 6238 bool _delete /**< */, 6239 xcb_window_t window /**< */, 6240 xcb_atom_t property /**< */, 6241 xcb_atom_t type /**< */, 6242 uint long_offset /**< */, 6243 uint long_length /**< */); 6244 6245 6246 /***************************************************************************** 6247 ** 6248 ** void * xcb_get_property_value 6249 ** 6250 ** @param /+const+/ xcb_get_property_reply_t *R 6251 ** @returns void * 6252 ** 6253 *****************************************************************************/ 6254 6255 extern(C) void * 6256 xcb_get_property_value (/+const+/ xcb_get_property_reply_t *R /**< */); 6257 6258 6259 /***************************************************************************** 6260 ** 6261 ** int xcb_get_property_value_length 6262 ** 6263 ** @param /+const+/ xcb_get_property_reply_t *R 6264 ** @returns int 6265 ** 6266 *****************************************************************************/ 6267 6268 extern(C) int 6269 xcb_get_property_value_length (/+const+/ xcb_get_property_reply_t *R /**< */); 6270 6271 6272 /***************************************************************************** 6273 ** 6274 ** xcb_generic_iterator_t xcb_get_property_value_end 6275 ** 6276 ** @param /+const+/ xcb_get_property_reply_t *R 6277 ** @returns xcb_generic_iterator_t 6278 ** 6279 *****************************************************************************/ 6280 6281 extern(C) xcb_generic_iterator_t 6282 xcb_get_property_value_end (/+const+/ xcb_get_property_reply_t *R /**< */); 6283 6284 6285 /***************************************************************************** 6286 ** 6287 ** xcb_get_property_reply_t * xcb_get_property_reply 6288 ** 6289 ** @param xcb_connection_t *c 6290 ** @param xcb_get_property_cookie_t cookie 6291 ** @param xcb_generic_error_t **e 6292 ** @returns xcb_get_property_reply_t * 6293 ** 6294 *****************************************************************************/ 6295 6296 extern(C) xcb_get_property_reply_t * 6297 xcb_get_property_reply (xcb_connection_t *c /**< */, 6298 xcb_get_property_cookie_t cookie /**< */, 6299 xcb_generic_error_t **e /**< */); 6300 6301 6302 /***************************************************************************** 6303 ** 6304 ** xcb_list_properties_cookie_t xcb_list_properties 6305 ** 6306 ** @param xcb_connection_t *c 6307 ** @param xcb_window_t window 6308 ** @returns xcb_list_properties_cookie_t 6309 ** 6310 *****************************************************************************/ 6311 6312 extern(C) xcb_list_properties_cookie_t 6313 xcb_list_properties (xcb_connection_t *c /**< */, 6314 xcb_window_t window /**< */); 6315 6316 6317 /***************************************************************************** 6318 ** 6319 ** xcb_list_properties_cookie_t xcb_list_properties_unchecked 6320 ** 6321 ** @param xcb_connection_t *c 6322 ** @param xcb_window_t window 6323 ** @returns xcb_list_properties_cookie_t 6324 ** 6325 *****************************************************************************/ 6326 6327 extern(C) xcb_list_properties_cookie_t 6328 xcb_list_properties_unchecked (xcb_connection_t *c /**< */, 6329 xcb_window_t window /**< */); 6330 6331 6332 /***************************************************************************** 6333 ** 6334 ** xcb_atom_t * xcb_list_properties_atoms 6335 ** 6336 ** @param /+const+/ xcb_list_properties_reply_t *R 6337 ** @returns xcb_atom_t * 6338 ** 6339 *****************************************************************************/ 6340 6341 extern(C) xcb_atom_t * 6342 xcb_list_properties_atoms (/+const+/ xcb_list_properties_reply_t *R /**< */); 6343 6344 6345 /***************************************************************************** 6346 ** 6347 ** int xcb_list_properties_atoms_length 6348 ** 6349 ** @param /+const+/ xcb_list_properties_reply_t *R 6350 ** @returns int 6351 ** 6352 *****************************************************************************/ 6353 6354 extern(C) int 6355 xcb_list_properties_atoms_length (/+const+/ xcb_list_properties_reply_t *R /**< */); 6356 6357 6358 /***************************************************************************** 6359 ** 6360 ** xcb_atom_iterator_t xcb_list_properties_atoms_iterator 6361 ** 6362 ** @param /+const+/ xcb_list_properties_reply_t *R 6363 ** @returns xcb_atom_iterator_t 6364 ** 6365 *****************************************************************************/ 6366 6367 extern(C) xcb_atom_iterator_t 6368 xcb_list_properties_atoms_iterator (/+const+/ xcb_list_properties_reply_t *R /**< */); 6369 6370 6371 /***************************************************************************** 6372 ** 6373 ** xcb_list_properties_reply_t * xcb_list_properties_reply 6374 ** 6375 ** @param xcb_connection_t *c 6376 ** @param xcb_list_properties_cookie_t cookie 6377 ** @param xcb_generic_error_t **e 6378 ** @returns xcb_list_properties_reply_t * 6379 ** 6380 *****************************************************************************/ 6381 6382 extern(C) xcb_list_properties_reply_t * 6383 xcb_list_properties_reply (xcb_connection_t *c /**< */, 6384 xcb_list_properties_cookie_t cookie /**< */, 6385 xcb_generic_error_t **e /**< */); 6386 6387 6388 /***************************************************************************** 6389 ** 6390 ** xcb_void_cookie_t xcb_set_selection_owner_checked 6391 ** 6392 ** @param xcb_connection_t *c 6393 ** @param xcb_window_t owner 6394 ** @param xcb_atom_t selection 6395 ** @param xcb_timestamp_t time 6396 ** @returns xcb_void_cookie_t 6397 ** 6398 *****************************************************************************/ 6399 6400 extern(C) xcb_void_cookie_t 6401 xcb_set_selection_owner_checked (xcb_connection_t *c /**< */, 6402 xcb_window_t owner /**< */, 6403 xcb_atom_t selection /**< */, 6404 xcb_timestamp_t time /**< */); 6405 6406 6407 /***************************************************************************** 6408 ** 6409 ** xcb_void_cookie_t xcb_set_selection_owner 6410 ** 6411 ** @param xcb_connection_t *c 6412 ** @param xcb_window_t owner 6413 ** @param xcb_atom_t selection 6414 ** @param xcb_timestamp_t time 6415 ** @returns xcb_void_cookie_t 6416 ** 6417 *****************************************************************************/ 6418 6419 extern(C) xcb_void_cookie_t 6420 xcb_set_selection_owner (xcb_connection_t *c /**< */, 6421 xcb_window_t owner /**< */, 6422 xcb_atom_t selection /**< */, 6423 xcb_timestamp_t time /**< */); 6424 6425 6426 /***************************************************************************** 6427 ** 6428 ** xcb_get_selection_owner_cookie_t xcb_get_selection_owner 6429 ** 6430 ** @param xcb_connection_t *c 6431 ** @param xcb_atom_t selection 6432 ** @returns xcb_get_selection_owner_cookie_t 6433 ** 6434 *****************************************************************************/ 6435 6436 extern(C) xcb_get_selection_owner_cookie_t 6437 xcb_get_selection_owner (xcb_connection_t *c /**< */, 6438 xcb_atom_t selection /**< */); 6439 6440 6441 /***************************************************************************** 6442 ** 6443 ** xcb_get_selection_owner_cookie_t xcb_get_selection_owner_unchecked 6444 ** 6445 ** @param xcb_connection_t *c 6446 ** @param xcb_atom_t selection 6447 ** @returns xcb_get_selection_owner_cookie_t 6448 ** 6449 *****************************************************************************/ 6450 6451 extern(C) xcb_get_selection_owner_cookie_t 6452 xcb_get_selection_owner_unchecked (xcb_connection_t *c /**< */, 6453 xcb_atom_t selection /**< */); 6454 6455 6456 /***************************************************************************** 6457 ** 6458 ** xcb_get_selection_owner_reply_t * xcb_get_selection_owner_reply 6459 ** 6460 ** @param xcb_connection_t *c 6461 ** @param xcb_get_selection_owner_cookie_t cookie 6462 ** @param xcb_generic_error_t **e 6463 ** @returns xcb_get_selection_owner_reply_t * 6464 ** 6465 *****************************************************************************/ 6466 6467 extern(C) xcb_get_selection_owner_reply_t * 6468 xcb_get_selection_owner_reply (xcb_connection_t *c /**< */, 6469 xcb_get_selection_owner_cookie_t cookie /**< */, 6470 xcb_generic_error_t **e /**< */); 6471 6472 6473 /***************************************************************************** 6474 ** 6475 ** xcb_void_cookie_t xcb_convert_selection_checked 6476 ** 6477 ** @param xcb_connection_t *c 6478 ** @param xcb_window_t requestor 6479 ** @param xcb_atom_t selection 6480 ** @param xcb_atom_t target 6481 ** @param xcb_atom_t property 6482 ** @param xcb_timestamp_t time 6483 ** @returns xcb_void_cookie_t 6484 ** 6485 *****************************************************************************/ 6486 6487 extern(C) xcb_void_cookie_t 6488 xcb_convert_selection_checked (xcb_connection_t *c /**< */, 6489 xcb_window_t requestor /**< */, 6490 xcb_atom_t selection /**< */, 6491 xcb_atom_t target /**< */, 6492 xcb_atom_t property /**< */, 6493 xcb_timestamp_t time /**< */); 6494 6495 6496 /***************************************************************************** 6497 ** 6498 ** xcb_void_cookie_t xcb_convert_selection 6499 ** 6500 ** @param xcb_connection_t *c 6501 ** @param xcb_window_t requestor 6502 ** @param xcb_atom_t selection 6503 ** @param xcb_atom_t target 6504 ** @param xcb_atom_t property 6505 ** @param xcb_timestamp_t time 6506 ** @returns xcb_void_cookie_t 6507 ** 6508 *****************************************************************************/ 6509 6510 extern(C) xcb_void_cookie_t 6511 xcb_convert_selection (xcb_connection_t *c /**< */, 6512 xcb_window_t requestor /**< */, 6513 xcb_atom_t selection /**< */, 6514 xcb_atom_t target /**< */, 6515 xcb_atom_t property /**< */, 6516 xcb_timestamp_t time /**< */); 6517 6518 6519 /***************************************************************************** 6520 ** 6521 ** xcb_void_cookie_t xcb_send_event_checked 6522 ** 6523 ** @param xcb_connection_t *c 6524 ** @param bool propagate 6525 ** @param xcb_window_t destination 6526 ** @param uint event_mask 6527 ** @param /+const+/ char *event 6528 ** @returns xcb_void_cookie_t 6529 ** 6530 *****************************************************************************/ 6531 6532 extern(C) xcb_void_cookie_t 6533 xcb_send_event_checked (xcb_connection_t *c /**< */, 6534 bool propagate /**< */, 6535 xcb_window_t destination /**< */, 6536 uint event_mask /**< */, 6537 /+const+/ char *event /**< */); 6538 6539 6540 /***************************************************************************** 6541 ** 6542 ** xcb_void_cookie_t xcb_send_event 6543 ** 6544 ** @param xcb_connection_t *c 6545 ** @param bool propagate 6546 ** @param xcb_window_t destination 6547 ** @param uint event_mask 6548 ** @param /+const+/ char *event 6549 ** @returns xcb_void_cookie_t 6550 ** 6551 *****************************************************************************/ 6552 6553 extern(C) xcb_void_cookie_t 6554 xcb_send_event (xcb_connection_t *c /**< */, 6555 bool propagate /**< */, 6556 xcb_window_t destination /**< */, 6557 uint event_mask /**< */, 6558 /+const+/ char *event /**< */); 6559 6560 6561 /***************************************************************************** 6562 ** 6563 ** xcb_grab_pointer_cookie_t xcb_grab_pointer 6564 ** 6565 ** @param xcb_connection_t *c 6566 ** @param bool owner_events 6567 ** @param xcb_window_t grab_window 6568 ** @param ushort event_mask 6569 ** @param ubyte pointer_mode 6570 ** @param ubyte keyboard_mode 6571 ** @param xcb_window_t confine_to 6572 ** @param xcb_cursor_t cursor 6573 ** @param xcb_timestamp_t time 6574 ** @returns xcb_grab_pointer_cookie_t 6575 ** 6576 *****************************************************************************/ 6577 6578 extern(C) xcb_grab_pointer_cookie_t 6579 xcb_grab_pointer (xcb_connection_t *c /**< */, 6580 bool owner_events /**< */, 6581 xcb_window_t grab_window /**< */, 6582 ushort event_mask /**< */, 6583 ubyte pointer_mode /**< */, 6584 ubyte keyboard_mode /**< */, 6585 xcb_window_t confine_to /**< */, 6586 xcb_cursor_t cursor /**< */, 6587 xcb_timestamp_t time /**< */); 6588 6589 6590 /***************************************************************************** 6591 ** 6592 ** xcb_grab_pointer_cookie_t xcb_grab_pointer_unchecked 6593 ** 6594 ** @param xcb_connection_t *c 6595 ** @param bool owner_events 6596 ** @param xcb_window_t grab_window 6597 ** @param ushort event_mask 6598 ** @param ubyte pointer_mode 6599 ** @param ubyte keyboard_mode 6600 ** @param xcb_window_t confine_to 6601 ** @param xcb_cursor_t cursor 6602 ** @param xcb_timestamp_t time 6603 ** @returns xcb_grab_pointer_cookie_t 6604 ** 6605 *****************************************************************************/ 6606 6607 extern(C) xcb_grab_pointer_cookie_t 6608 xcb_grab_pointer_unchecked (xcb_connection_t *c /**< */, 6609 bool owner_events /**< */, 6610 xcb_window_t grab_window /**< */, 6611 ushort event_mask /**< */, 6612 ubyte pointer_mode /**< */, 6613 ubyte keyboard_mode /**< */, 6614 xcb_window_t confine_to /**< */, 6615 xcb_cursor_t cursor /**< */, 6616 xcb_timestamp_t time /**< */); 6617 6618 6619 /***************************************************************************** 6620 ** 6621 ** xcb_grab_pointer_reply_t * xcb_grab_pointer_reply 6622 ** 6623 ** @param xcb_connection_t *c 6624 ** @param xcb_grab_pointer_cookie_t cookie 6625 ** @param xcb_generic_error_t **e 6626 ** @returns xcb_grab_pointer_reply_t * 6627 ** 6628 *****************************************************************************/ 6629 6630 extern(C) xcb_grab_pointer_reply_t * 6631 xcb_grab_pointer_reply (xcb_connection_t *c /**< */, 6632 xcb_grab_pointer_cookie_t cookie /**< */, 6633 xcb_generic_error_t **e /**< */); 6634 6635 6636 /***************************************************************************** 6637 ** 6638 ** xcb_void_cookie_t xcb_ungrab_pointer_checked 6639 ** 6640 ** @param xcb_connection_t *c 6641 ** @param xcb_timestamp_t time 6642 ** @returns xcb_void_cookie_t 6643 ** 6644 *****************************************************************************/ 6645 6646 extern(C) xcb_void_cookie_t 6647 xcb_ungrab_pointer_checked (xcb_connection_t *c /**< */, 6648 xcb_timestamp_t time /**< */); 6649 6650 6651 /***************************************************************************** 6652 ** 6653 ** xcb_void_cookie_t xcb_ungrab_pointer 6654 ** 6655 ** @param xcb_connection_t *c 6656 ** @param xcb_timestamp_t time 6657 ** @returns xcb_void_cookie_t 6658 ** 6659 *****************************************************************************/ 6660 6661 extern(C) xcb_void_cookie_t 6662 xcb_ungrab_pointer (xcb_connection_t *c /**< */, 6663 xcb_timestamp_t time /**< */); 6664 6665 6666 /***************************************************************************** 6667 ** 6668 ** xcb_void_cookie_t xcb_grab_button_checked 6669 ** 6670 ** @param xcb_connection_t *c 6671 ** @param bool owner_events 6672 ** @param xcb_window_t grab_window 6673 ** @param ushort event_mask 6674 ** @param ubyte pointer_mode 6675 ** @param ubyte keyboard_mode 6676 ** @param xcb_window_t confine_to 6677 ** @param xcb_cursor_t cursor 6678 ** @param ubyte button 6679 ** @param ushort modifiers 6680 ** @returns xcb_void_cookie_t 6681 ** 6682 *****************************************************************************/ 6683 6684 extern(C) xcb_void_cookie_t 6685 xcb_grab_button_checked (xcb_connection_t *c /**< */, 6686 bool owner_events /**< */, 6687 xcb_window_t grab_window /**< */, 6688 ushort event_mask /**< */, 6689 ubyte pointer_mode /**< */, 6690 ubyte keyboard_mode /**< */, 6691 xcb_window_t confine_to /**< */, 6692 xcb_cursor_t cursor /**< */, 6693 ubyte button /**< */, 6694 ushort modifiers /**< */); 6695 6696 6697 /***************************************************************************** 6698 ** 6699 ** xcb_void_cookie_t xcb_grab_button 6700 ** 6701 ** @param xcb_connection_t *c 6702 ** @param bool owner_events 6703 ** @param xcb_window_t grab_window 6704 ** @param ushort event_mask 6705 ** @param ubyte pointer_mode 6706 ** @param ubyte keyboard_mode 6707 ** @param xcb_window_t confine_to 6708 ** @param xcb_cursor_t cursor 6709 ** @param ubyte button 6710 ** @param ushort modifiers 6711 ** @returns xcb_void_cookie_t 6712 ** 6713 *****************************************************************************/ 6714 6715 extern(C) xcb_void_cookie_t 6716 xcb_grab_button (xcb_connection_t *c /**< */, 6717 bool owner_events /**< */, 6718 xcb_window_t grab_window /**< */, 6719 ushort event_mask /**< */, 6720 ubyte pointer_mode /**< */, 6721 ubyte keyboard_mode /**< */, 6722 xcb_window_t confine_to /**< */, 6723 xcb_cursor_t cursor /**< */, 6724 ubyte button /**< */, 6725 ushort modifiers /**< */); 6726 6727 6728 /***************************************************************************** 6729 ** 6730 ** xcb_void_cookie_t xcb_ungrab_button_checked 6731 ** 6732 ** @param xcb_connection_t *c 6733 ** @param ubyte button 6734 ** @param xcb_window_t grab_window 6735 ** @param ushort modifiers 6736 ** @returns xcb_void_cookie_t 6737 ** 6738 *****************************************************************************/ 6739 6740 extern(C) xcb_void_cookie_t 6741 xcb_ungrab_button_checked (xcb_connection_t *c /**< */, 6742 ubyte button /**< */, 6743 xcb_window_t grab_window /**< */, 6744 ushort modifiers /**< */); 6745 6746 6747 /***************************************************************************** 6748 ** 6749 ** xcb_void_cookie_t xcb_ungrab_button 6750 ** 6751 ** @param xcb_connection_t *c 6752 ** @param ubyte button 6753 ** @param xcb_window_t grab_window 6754 ** @param ushort modifiers 6755 ** @returns xcb_void_cookie_t 6756 ** 6757 *****************************************************************************/ 6758 6759 extern(C) xcb_void_cookie_t 6760 xcb_ungrab_button (xcb_connection_t *c /**< */, 6761 ubyte button /**< */, 6762 xcb_window_t grab_window /**< */, 6763 ushort modifiers /**< */); 6764 6765 6766 /***************************************************************************** 6767 ** 6768 ** xcb_void_cookie_t xcb_change_active_pointer_grab_checked 6769 ** 6770 ** @param xcb_connection_t *c 6771 ** @param xcb_cursor_t cursor 6772 ** @param xcb_timestamp_t time 6773 ** @param ushort event_mask 6774 ** @returns xcb_void_cookie_t 6775 ** 6776 *****************************************************************************/ 6777 6778 extern(C) xcb_void_cookie_t 6779 xcb_change_active_pointer_grab_checked (xcb_connection_t *c /**< */, 6780 xcb_cursor_t cursor /**< */, 6781 xcb_timestamp_t time /**< */, 6782 ushort event_mask /**< */); 6783 6784 6785 /***************************************************************************** 6786 ** 6787 ** xcb_void_cookie_t xcb_change_active_pointer_grab 6788 ** 6789 ** @param xcb_connection_t *c 6790 ** @param xcb_cursor_t cursor 6791 ** @param xcb_timestamp_t time 6792 ** @param ushort event_mask 6793 ** @returns xcb_void_cookie_t 6794 ** 6795 *****************************************************************************/ 6796 6797 extern(C) xcb_void_cookie_t 6798 xcb_change_active_pointer_grab (xcb_connection_t *c /**< */, 6799 xcb_cursor_t cursor /**< */, 6800 xcb_timestamp_t time /**< */, 6801 ushort event_mask /**< */); 6802 6803 6804 /***************************************************************************** 6805 ** 6806 ** xcb_grab_keyboard_cookie_t xcb_grab_keyboard 6807 ** 6808 ** @param xcb_connection_t *c 6809 ** @param bool owner_events 6810 ** @param xcb_window_t grab_window 6811 ** @param xcb_timestamp_t time 6812 ** @param ubyte pointer_mode 6813 ** @param ubyte keyboard_mode 6814 ** @returns xcb_grab_keyboard_cookie_t 6815 ** 6816 *****************************************************************************/ 6817 6818 extern(C) xcb_grab_keyboard_cookie_t 6819 xcb_grab_keyboard (xcb_connection_t *c /**< */, 6820 bool owner_events /**< */, 6821 xcb_window_t grab_window /**< */, 6822 xcb_timestamp_t time /**< */, 6823 ubyte pointer_mode /**< */, 6824 ubyte keyboard_mode /**< */); 6825 6826 6827 /***************************************************************************** 6828 ** 6829 ** xcb_grab_keyboard_cookie_t xcb_grab_keyboard_unchecked 6830 ** 6831 ** @param xcb_connection_t *c 6832 ** @param bool owner_events 6833 ** @param xcb_window_t grab_window 6834 ** @param xcb_timestamp_t time 6835 ** @param ubyte pointer_mode 6836 ** @param ubyte keyboard_mode 6837 ** @returns xcb_grab_keyboard_cookie_t 6838 ** 6839 *****************************************************************************/ 6840 6841 extern(C) xcb_grab_keyboard_cookie_t 6842 xcb_grab_keyboard_unchecked (xcb_connection_t *c /**< */, 6843 bool owner_events /**< */, 6844 xcb_window_t grab_window /**< */, 6845 xcb_timestamp_t time /**< */, 6846 ubyte pointer_mode /**< */, 6847 ubyte keyboard_mode /**< */); 6848 6849 6850 /***************************************************************************** 6851 ** 6852 ** xcb_grab_keyboard_reply_t * xcb_grab_keyboard_reply 6853 ** 6854 ** @param xcb_connection_t *c 6855 ** @param xcb_grab_keyboard_cookie_t cookie 6856 ** @param xcb_generic_error_t **e 6857 ** @returns xcb_grab_keyboard_reply_t * 6858 ** 6859 *****************************************************************************/ 6860 6861 extern(C) xcb_grab_keyboard_reply_t * 6862 xcb_grab_keyboard_reply (xcb_connection_t *c /**< */, 6863 xcb_grab_keyboard_cookie_t cookie /**< */, 6864 xcb_generic_error_t **e /**< */); 6865 6866 6867 /***************************************************************************** 6868 ** 6869 ** xcb_void_cookie_t xcb_ungrab_keyboard_checked 6870 ** 6871 ** @param xcb_connection_t *c 6872 ** @param xcb_timestamp_t time 6873 ** @returns xcb_void_cookie_t 6874 ** 6875 *****************************************************************************/ 6876 6877 extern(C) xcb_void_cookie_t 6878 xcb_ungrab_keyboard_checked (xcb_connection_t *c /**< */, 6879 xcb_timestamp_t time /**< */); 6880 6881 6882 /***************************************************************************** 6883 ** 6884 ** xcb_void_cookie_t xcb_ungrab_keyboard 6885 ** 6886 ** @param xcb_connection_t *c 6887 ** @param xcb_timestamp_t time 6888 ** @returns xcb_void_cookie_t 6889 ** 6890 *****************************************************************************/ 6891 6892 extern(C) xcb_void_cookie_t 6893 xcb_ungrab_keyboard (xcb_connection_t *c /**< */, 6894 xcb_timestamp_t time /**< */); 6895 6896 6897 /***************************************************************************** 6898 ** 6899 ** xcb_void_cookie_t xcb_grab_key_checked 6900 ** 6901 ** @param xcb_connection_t *c 6902 ** @param bool owner_events 6903 ** @param xcb_window_t grab_window 6904 ** @param ushort modifiers 6905 ** @param xcb_keycode_t key 6906 ** @param ubyte pointer_mode 6907 ** @param ubyte keyboard_mode 6908 ** @returns xcb_void_cookie_t 6909 ** 6910 *****************************************************************************/ 6911 6912 extern(C) xcb_void_cookie_t 6913 xcb_grab_key_checked (xcb_connection_t *c /**< */, 6914 bool owner_events /**< */, 6915 xcb_window_t grab_window /**< */, 6916 ushort modifiers /**< */, 6917 xcb_keycode_t key /**< */, 6918 ubyte pointer_mode /**< */, 6919 ubyte keyboard_mode /**< */); 6920 6921 6922 /***************************************************************************** 6923 ** 6924 ** xcb_void_cookie_t xcb_grab_key 6925 ** 6926 ** @param xcb_connection_t *c 6927 ** @param bool owner_events 6928 ** @param xcb_window_t grab_window 6929 ** @param ushort modifiers 6930 ** @param xcb_keycode_t key 6931 ** @param ubyte pointer_mode 6932 ** @param ubyte keyboard_mode 6933 ** @returns xcb_void_cookie_t 6934 ** 6935 *****************************************************************************/ 6936 6937 extern(C) xcb_void_cookie_t 6938 xcb_grab_key (xcb_connection_t *c /**< */, 6939 bool owner_events /**< */, 6940 xcb_window_t grab_window /**< */, 6941 ushort modifiers /**< */, 6942 xcb_keycode_t key /**< */, 6943 ubyte pointer_mode /**< */, 6944 ubyte keyboard_mode /**< */); 6945 6946 6947 /***************************************************************************** 6948 ** 6949 ** xcb_void_cookie_t xcb_ungrab_key_checked 6950 ** 6951 ** @param xcb_connection_t *c 6952 ** @param xcb_keycode_t key 6953 ** @param xcb_window_t grab_window 6954 ** @param ushort modifiers 6955 ** @returns xcb_void_cookie_t 6956 ** 6957 *****************************************************************************/ 6958 6959 extern(C) xcb_void_cookie_t 6960 xcb_ungrab_key_checked (xcb_connection_t *c /**< */, 6961 xcb_keycode_t key /**< */, 6962 xcb_window_t grab_window /**< */, 6963 ushort modifiers /**< */); 6964 6965 6966 /***************************************************************************** 6967 ** 6968 ** xcb_void_cookie_t xcb_ungrab_key 6969 ** 6970 ** @param xcb_connection_t *c 6971 ** @param xcb_keycode_t key 6972 ** @param xcb_window_t grab_window 6973 ** @param ushort modifiers 6974 ** @returns xcb_void_cookie_t 6975 ** 6976 *****************************************************************************/ 6977 6978 extern(C) xcb_void_cookie_t 6979 xcb_ungrab_key (xcb_connection_t *c /**< */, 6980 xcb_keycode_t key /**< */, 6981 xcb_window_t grab_window /**< */, 6982 ushort modifiers /**< */); 6983 6984 6985 /***************************************************************************** 6986 ** 6987 ** xcb_void_cookie_t xcb_allow_events_checked 6988 ** 6989 ** @param xcb_connection_t *c 6990 ** @param ubyte mode 6991 ** @param xcb_timestamp_t time 6992 ** @returns xcb_void_cookie_t 6993 ** 6994 *****************************************************************************/ 6995 6996 extern(C) xcb_void_cookie_t 6997 xcb_allow_events_checked (xcb_connection_t *c /**< */, 6998 ubyte mode /**< */, 6999 xcb_timestamp_t time /**< */); 7000 7001 7002 /***************************************************************************** 7003 ** 7004 ** xcb_void_cookie_t xcb_allow_events 7005 ** 7006 ** @param xcb_connection_t *c 7007 ** @param ubyte mode 7008 ** @param xcb_timestamp_t time 7009 ** @returns xcb_void_cookie_t 7010 ** 7011 *****************************************************************************/ 7012 7013 extern(C) xcb_void_cookie_t 7014 xcb_allow_events (xcb_connection_t *c /**< */, 7015 ubyte mode /**< */, 7016 xcb_timestamp_t time /**< */); 7017 7018 7019 /***************************************************************************** 7020 ** 7021 ** xcb_void_cookie_t xcb_grab_server_checked 7022 ** 7023 ** @param xcb_connection_t *c 7024 ** @returns xcb_void_cookie_t 7025 ** 7026 *****************************************************************************/ 7027 7028 extern(C) xcb_void_cookie_t 7029 xcb_grab_server_checked (xcb_connection_t *c /**< */); 7030 7031 7032 /***************************************************************************** 7033 ** 7034 ** xcb_void_cookie_t xcb_grab_server 7035 ** 7036 ** @param xcb_connection_t *c 7037 ** @returns xcb_void_cookie_t 7038 ** 7039 *****************************************************************************/ 7040 7041 extern(C) xcb_void_cookie_t 7042 xcb_grab_server (xcb_connection_t *c /**< */); 7043 7044 7045 /***************************************************************************** 7046 ** 7047 ** xcb_void_cookie_t xcb_ungrab_server_checked 7048 ** 7049 ** @param xcb_connection_t *c 7050 ** @returns xcb_void_cookie_t 7051 ** 7052 *****************************************************************************/ 7053 7054 extern(C) xcb_void_cookie_t 7055 xcb_ungrab_server_checked (xcb_connection_t *c /**< */); 7056 7057 7058 /***************************************************************************** 7059 ** 7060 ** xcb_void_cookie_t xcb_ungrab_server 7061 ** 7062 ** @param xcb_connection_t *c 7063 ** @returns xcb_void_cookie_t 7064 ** 7065 *****************************************************************************/ 7066 7067 extern(C) xcb_void_cookie_t 7068 xcb_ungrab_server (xcb_connection_t *c /**< */); 7069 7070 7071 /***************************************************************************** 7072 ** 7073 ** xcb_query_pointer_cookie_t xcb_query_pointer 7074 ** 7075 ** @param xcb_connection_t *c 7076 ** @param xcb_window_t window 7077 ** @returns xcb_query_pointer_cookie_t 7078 ** 7079 *****************************************************************************/ 7080 7081 extern(C) xcb_query_pointer_cookie_t 7082 xcb_query_pointer (xcb_connection_t *c /**< */, 7083 xcb_window_t window /**< */); 7084 7085 7086 /***************************************************************************** 7087 ** 7088 ** xcb_query_pointer_cookie_t xcb_query_pointer_unchecked 7089 ** 7090 ** @param xcb_connection_t *c 7091 ** @param xcb_window_t window 7092 ** @returns xcb_query_pointer_cookie_t 7093 ** 7094 *****************************************************************************/ 7095 7096 extern(C) xcb_query_pointer_cookie_t 7097 xcb_query_pointer_unchecked (xcb_connection_t *c /**< */, 7098 xcb_window_t window /**< */); 7099 7100 7101 /***************************************************************************** 7102 ** 7103 ** xcb_query_pointer_reply_t * xcb_query_pointer_reply 7104 ** 7105 ** @param xcb_connection_t *c 7106 ** @param xcb_query_pointer_cookie_t cookie 7107 ** @param xcb_generic_error_t **e 7108 ** @returns xcb_query_pointer_reply_t * 7109 ** 7110 *****************************************************************************/ 7111 7112 extern(C) xcb_query_pointer_reply_t * 7113 xcb_query_pointer_reply (xcb_connection_t *c /**< */, 7114 xcb_query_pointer_cookie_t cookie /**< */, 7115 xcb_generic_error_t **e /**< */); 7116 7117 7118 /***************************************************************************** 7119 ** 7120 ** void xcb_timecoord_next 7121 ** 7122 ** @param xcb_timecoord_iterator_t *i 7123 ** @returns void 7124 ** 7125 *****************************************************************************/ 7126 7127 extern(C) void 7128 xcb_timecoord_next (xcb_timecoord_iterator_t *i /**< */); 7129 7130 7131 /***************************************************************************** 7132 ** 7133 ** xcb_generic_iterator_t xcb_timecoord_end 7134 ** 7135 ** @param xcb_timecoord_iterator_t i 7136 ** @returns xcb_generic_iterator_t 7137 ** 7138 *****************************************************************************/ 7139 7140 extern(C) xcb_generic_iterator_t 7141 xcb_timecoord_end (xcb_timecoord_iterator_t i /**< */); 7142 7143 7144 /***************************************************************************** 7145 ** 7146 ** xcb_get_motion_events_cookie_t xcb_get_motion_events 7147 ** 7148 ** @param xcb_connection_t *c 7149 ** @param xcb_window_t window 7150 ** @param xcb_timestamp_t start 7151 ** @param xcb_timestamp_t stop 7152 ** @returns xcb_get_motion_events_cookie_t 7153 ** 7154 *****************************************************************************/ 7155 7156 extern(C) xcb_get_motion_events_cookie_t 7157 xcb_get_motion_events (xcb_connection_t *c /**< */, 7158 xcb_window_t window /**< */, 7159 xcb_timestamp_t start /**< */, 7160 xcb_timestamp_t stop /**< */); 7161 7162 7163 /***************************************************************************** 7164 ** 7165 ** xcb_get_motion_events_cookie_t xcb_get_motion_events_unchecked 7166 ** 7167 ** @param xcb_connection_t *c 7168 ** @param xcb_window_t window 7169 ** @param xcb_timestamp_t start 7170 ** @param xcb_timestamp_t stop 7171 ** @returns xcb_get_motion_events_cookie_t 7172 ** 7173 *****************************************************************************/ 7174 7175 extern(C) xcb_get_motion_events_cookie_t 7176 xcb_get_motion_events_unchecked (xcb_connection_t *c /**< */, 7177 xcb_window_t window /**< */, 7178 xcb_timestamp_t start /**< */, 7179 xcb_timestamp_t stop /**< */); 7180 7181 7182 /***************************************************************************** 7183 ** 7184 ** xcb_timecoord_t * xcb_get_motion_events_events 7185 ** 7186 ** @param /+const+/ xcb_get_motion_events_reply_t *R 7187 ** @returns xcb_timecoord_t * 7188 ** 7189 *****************************************************************************/ 7190 7191 extern(C) xcb_timecoord_t * 7192 xcb_get_motion_events_events (/+const+/ xcb_get_motion_events_reply_t *R /**< */); 7193 7194 7195 /***************************************************************************** 7196 ** 7197 ** int xcb_get_motion_events_events_length 7198 ** 7199 ** @param /+const+/ xcb_get_motion_events_reply_t *R 7200 ** @returns int 7201 ** 7202 *****************************************************************************/ 7203 7204 extern(C) int 7205 xcb_get_motion_events_events_length (/+const+/ xcb_get_motion_events_reply_t *R /**< */); 7206 7207 7208 /***************************************************************************** 7209 ** 7210 ** xcb_timecoord_iterator_t xcb_get_motion_events_events_iterator 7211 ** 7212 ** @param /+const+/ xcb_get_motion_events_reply_t *R 7213 ** @returns xcb_timecoord_iterator_t 7214 ** 7215 *****************************************************************************/ 7216 7217 extern(C) xcb_timecoord_iterator_t 7218 xcb_get_motion_events_events_iterator (/+const+/ xcb_get_motion_events_reply_t *R /**< */); 7219 7220 7221 /***************************************************************************** 7222 ** 7223 ** xcb_get_motion_events_reply_t * xcb_get_motion_events_reply 7224 ** 7225 ** @param xcb_connection_t *c 7226 ** @param xcb_get_motion_events_cookie_t cookie 7227 ** @param xcb_generic_error_t **e 7228 ** @returns xcb_get_motion_events_reply_t * 7229 ** 7230 *****************************************************************************/ 7231 7232 extern(C) xcb_get_motion_events_reply_t * 7233 xcb_get_motion_events_reply (xcb_connection_t *c /**< */, 7234 xcb_get_motion_events_cookie_t cookie /**< */, 7235 xcb_generic_error_t **e /**< */); 7236 7237 7238 /***************************************************************************** 7239 ** 7240 ** xcb_translate_coordinates_cookie_t xcb_translate_coordinates 7241 ** 7242 ** @param xcb_connection_t *c 7243 ** @param xcb_window_t src_window 7244 ** @param xcb_window_t dst_window 7245 ** @param short src_x 7246 ** @param short src_y 7247 ** @returns xcb_translate_coordinates_cookie_t 7248 ** 7249 *****************************************************************************/ 7250 7251 extern(C) xcb_translate_coordinates_cookie_t 7252 xcb_translate_coordinates (xcb_connection_t *c /**< */, 7253 xcb_window_t src_window /**< */, 7254 xcb_window_t dst_window /**< */, 7255 short src_x /**< */, 7256 short src_y /**< */); 7257 7258 7259 /***************************************************************************** 7260 ** 7261 ** xcb_translate_coordinates_cookie_t xcb_translate_coordinates_unchecked 7262 ** 7263 ** @param xcb_connection_t *c 7264 ** @param xcb_window_t src_window 7265 ** @param xcb_window_t dst_window 7266 ** @param short src_x 7267 ** @param short src_y 7268 ** @returns xcb_translate_coordinates_cookie_t 7269 ** 7270 *****************************************************************************/ 7271 7272 extern(C) xcb_translate_coordinates_cookie_t 7273 xcb_translate_coordinates_unchecked (xcb_connection_t *c /**< */, 7274 xcb_window_t src_window /**< */, 7275 xcb_window_t dst_window /**< */, 7276 short src_x /**< */, 7277 short src_y /**< */); 7278 7279 7280 /***************************************************************************** 7281 ** 7282 ** xcb_translate_coordinates_reply_t * xcb_translate_coordinates_reply 7283 ** 7284 ** @param xcb_connection_t *c 7285 ** @param xcb_translate_coordinates_cookie_t cookie 7286 ** @param xcb_generic_error_t **e 7287 ** @returns xcb_translate_coordinates_reply_t * 7288 ** 7289 *****************************************************************************/ 7290 7291 extern(C) xcb_translate_coordinates_reply_t * 7292 xcb_translate_coordinates_reply (xcb_connection_t *c /**< */, 7293 xcb_translate_coordinates_cookie_t cookie /**< */, 7294 xcb_generic_error_t **e /**< */); 7295 7296 7297 /***************************************************************************** 7298 ** 7299 ** xcb_void_cookie_t xcb_warp_pointer_checked 7300 ** 7301 ** @param xcb_connection_t *c 7302 ** @param xcb_window_t src_window 7303 ** @param xcb_window_t dst_window 7304 ** @param short src_x 7305 ** @param short src_y 7306 ** @param ushort src_width 7307 ** @param ushort src_height 7308 ** @param short dst_x 7309 ** @param short dst_y 7310 ** @returns xcb_void_cookie_t 7311 ** 7312 *****************************************************************************/ 7313 7314 extern(C) xcb_void_cookie_t 7315 xcb_warp_pointer_checked (xcb_connection_t *c /**< */, 7316 xcb_window_t src_window /**< */, 7317 xcb_window_t dst_window /**< */, 7318 short src_x /**< */, 7319 short src_y /**< */, 7320 ushort src_width /**< */, 7321 ushort src_height /**< */, 7322 short dst_x /**< */, 7323 short dst_y /**< */); 7324 7325 7326 /***************************************************************************** 7327 ** 7328 ** xcb_void_cookie_t xcb_warp_pointer 7329 ** 7330 ** @param xcb_connection_t *c 7331 ** @param xcb_window_t src_window 7332 ** @param xcb_window_t dst_window 7333 ** @param short src_x 7334 ** @param short src_y 7335 ** @param ushort src_width 7336 ** @param ushort src_height 7337 ** @param short dst_x 7338 ** @param short dst_y 7339 ** @returns xcb_void_cookie_t 7340 ** 7341 *****************************************************************************/ 7342 7343 extern(C) xcb_void_cookie_t 7344 xcb_warp_pointer (xcb_connection_t *c /**< */, 7345 xcb_window_t src_window /**< */, 7346 xcb_window_t dst_window /**< */, 7347 short src_x /**< */, 7348 short src_y /**< */, 7349 ushort src_width /**< */, 7350 ushort src_height /**< */, 7351 short dst_x /**< */, 7352 short dst_y /**< */); 7353 7354 7355 /***************************************************************************** 7356 ** 7357 ** xcb_void_cookie_t xcb_set_input_focus_checked 7358 ** 7359 ** @param xcb_connection_t *c 7360 ** @param ubyte revert_to 7361 ** @param xcb_window_t focus 7362 ** @param xcb_timestamp_t time 7363 ** @returns xcb_void_cookie_t 7364 ** 7365 *****************************************************************************/ 7366 7367 extern(C) xcb_void_cookie_t 7368 xcb_set_input_focus_checked (xcb_connection_t *c /**< */, 7369 ubyte revert_to /**< */, 7370 xcb_window_t focus /**< */, 7371 xcb_timestamp_t time /**< */); 7372 7373 7374 /***************************************************************************** 7375 ** 7376 ** xcb_void_cookie_t xcb_set_input_focus 7377 ** 7378 ** @param xcb_connection_t *c 7379 ** @param ubyte revert_to 7380 ** @param xcb_window_t focus 7381 ** @param xcb_timestamp_t time 7382 ** @returns xcb_void_cookie_t 7383 ** 7384 *****************************************************************************/ 7385 7386 extern(C) xcb_void_cookie_t 7387 xcb_set_input_focus (xcb_connection_t *c /**< */, 7388 ubyte revert_to /**< */, 7389 xcb_window_t focus /**< */, 7390 xcb_timestamp_t time /**< */); 7391 7392 7393 /***************************************************************************** 7394 ** 7395 ** xcb_get_input_focus_cookie_t xcb_get_input_focus 7396 ** 7397 ** @param xcb_connection_t *c 7398 ** @returns xcb_get_input_focus_cookie_t 7399 ** 7400 *****************************************************************************/ 7401 7402 extern(C) xcb_get_input_focus_cookie_t 7403 xcb_get_input_focus (xcb_connection_t *c /**< */); 7404 7405 7406 /***************************************************************************** 7407 ** 7408 ** xcb_get_input_focus_cookie_t xcb_get_input_focus_unchecked 7409 ** 7410 ** @param xcb_connection_t *c 7411 ** @returns xcb_get_input_focus_cookie_t 7412 ** 7413 *****************************************************************************/ 7414 7415 extern(C) xcb_get_input_focus_cookie_t 7416 xcb_get_input_focus_unchecked (xcb_connection_t *c /**< */); 7417 7418 7419 /***************************************************************************** 7420 ** 7421 ** xcb_get_input_focus_reply_t * xcb_get_input_focus_reply 7422 ** 7423 ** @param xcb_connection_t *c 7424 ** @param xcb_get_input_focus_cookie_t cookie 7425 ** @param xcb_generic_error_t **e 7426 ** @returns xcb_get_input_focus_reply_t * 7427 ** 7428 *****************************************************************************/ 7429 7430 extern(C) xcb_get_input_focus_reply_t * 7431 xcb_get_input_focus_reply (xcb_connection_t *c /**< */, 7432 xcb_get_input_focus_cookie_t cookie /**< */, 7433 xcb_generic_error_t **e /**< */); 7434 7435 7436 /***************************************************************************** 7437 ** 7438 ** xcb_query_keymap_cookie_t xcb_query_keymap 7439 ** 7440 ** @param xcb_connection_t *c 7441 ** @returns xcb_query_keymap_cookie_t 7442 ** 7443 *****************************************************************************/ 7444 7445 extern(C) xcb_query_keymap_cookie_t 7446 xcb_query_keymap (xcb_connection_t *c /**< */); 7447 7448 7449 /***************************************************************************** 7450 ** 7451 ** xcb_query_keymap_cookie_t xcb_query_keymap_unchecked 7452 ** 7453 ** @param xcb_connection_t *c 7454 ** @returns xcb_query_keymap_cookie_t 7455 ** 7456 *****************************************************************************/ 7457 7458 extern(C) xcb_query_keymap_cookie_t 7459 xcb_query_keymap_unchecked (xcb_connection_t *c /**< */); 7460 7461 7462 /***************************************************************************** 7463 ** 7464 ** xcb_query_keymap_reply_t * xcb_query_keymap_reply 7465 ** 7466 ** @param xcb_connection_t *c 7467 ** @param xcb_query_keymap_cookie_t cookie 7468 ** @param xcb_generic_error_t **e 7469 ** @returns xcb_query_keymap_reply_t * 7470 ** 7471 *****************************************************************************/ 7472 7473 extern(C) xcb_query_keymap_reply_t * 7474 xcb_query_keymap_reply (xcb_connection_t *c /**< */, 7475 xcb_query_keymap_cookie_t cookie /**< */, 7476 xcb_generic_error_t **e /**< */); 7477 7478 7479 /***************************************************************************** 7480 ** 7481 ** xcb_void_cookie_t xcb_open_font_checked 7482 ** 7483 ** @param xcb_connection_t *c 7484 ** @param xcb_font_t fid 7485 ** @param ushort name_len 7486 ** @param /+const+/ char *name 7487 ** @returns xcb_void_cookie_t 7488 ** 7489 *****************************************************************************/ 7490 7491 extern(C) xcb_void_cookie_t 7492 xcb_open_font_checked (xcb_connection_t *c /**< */, 7493 xcb_font_t fid /**< */, 7494 ushort name_len /**< */, 7495 /+const+/ char *name /**< */); 7496 7497 7498 /***************************************************************************** 7499 ** 7500 ** xcb_void_cookie_t xcb_open_font 7501 ** 7502 ** @param xcb_connection_t *c 7503 ** @param xcb_font_t fid 7504 ** @param ushort name_len 7505 ** @param /+const+/ char *name 7506 ** @returns xcb_void_cookie_t 7507 ** 7508 *****************************************************************************/ 7509 7510 extern(C) xcb_void_cookie_t 7511 xcb_open_font (xcb_connection_t *c /**< */, 7512 xcb_font_t fid /**< */, 7513 ushort name_len /**< */, 7514 /+const+/ char *name /**< */); 7515 7516 7517 /***************************************************************************** 7518 ** 7519 ** xcb_void_cookie_t xcb_close_font_checked 7520 ** 7521 ** @param xcb_connection_t *c 7522 ** @param xcb_font_t font 7523 ** @returns xcb_void_cookie_t 7524 ** 7525 *****************************************************************************/ 7526 7527 extern(C) xcb_void_cookie_t 7528 xcb_close_font_checked (xcb_connection_t *c /**< */, 7529 xcb_font_t font /**< */); 7530 7531 7532 /***************************************************************************** 7533 ** 7534 ** xcb_void_cookie_t xcb_close_font 7535 ** 7536 ** @param xcb_connection_t *c 7537 ** @param xcb_font_t font 7538 ** @returns xcb_void_cookie_t 7539 ** 7540 *****************************************************************************/ 7541 7542 extern(C) xcb_void_cookie_t 7543 xcb_close_font (xcb_connection_t *c /**< */, 7544 xcb_font_t font /**< */); 7545 7546 7547 /***************************************************************************** 7548 ** 7549 ** void xcb_fontprop_next 7550 ** 7551 ** @param xcb_fontprop_iterator_t *i 7552 ** @returns void 7553 ** 7554 *****************************************************************************/ 7555 7556 extern(C) void 7557 xcb_fontprop_next (xcb_fontprop_iterator_t *i /**< */); 7558 7559 7560 /***************************************************************************** 7561 ** 7562 ** xcb_generic_iterator_t xcb_fontprop_end 7563 ** 7564 ** @param xcb_fontprop_iterator_t i 7565 ** @returns xcb_generic_iterator_t 7566 ** 7567 *****************************************************************************/ 7568 7569 extern(C) xcb_generic_iterator_t 7570 xcb_fontprop_end (xcb_fontprop_iterator_t i /**< */); 7571 7572 7573 /***************************************************************************** 7574 ** 7575 ** void xcb_charinfo_next 7576 ** 7577 ** @param xcb_charinfo_iterator_t *i 7578 ** @returns void 7579 ** 7580 *****************************************************************************/ 7581 7582 extern(C) void 7583 xcb_charinfo_next (xcb_charinfo_iterator_t *i /**< */); 7584 7585 7586 /***************************************************************************** 7587 ** 7588 ** xcb_generic_iterator_t xcb_charinfo_end 7589 ** 7590 ** @param xcb_charinfo_iterator_t i 7591 ** @returns xcb_generic_iterator_t 7592 ** 7593 *****************************************************************************/ 7594 7595 extern(C) xcb_generic_iterator_t 7596 xcb_charinfo_end (xcb_charinfo_iterator_t i /**< */); 7597 7598 7599 /***************************************************************************** 7600 ** 7601 ** xcb_query_font_cookie_t xcb_query_font 7602 ** 7603 ** @param xcb_connection_t *c 7604 ** @param xcb_fontable_t font 7605 ** @returns xcb_query_font_cookie_t 7606 ** 7607 *****************************************************************************/ 7608 7609 extern(C) xcb_query_font_cookie_t 7610 xcb_query_font (xcb_connection_t *c /**< */, 7611 xcb_fontable_t font /**< */); 7612 7613 7614 /***************************************************************************** 7615 ** 7616 ** xcb_query_font_cookie_t xcb_query_font_unchecked 7617 ** 7618 ** @param xcb_connection_t *c 7619 ** @param xcb_fontable_t font 7620 ** @returns xcb_query_font_cookie_t 7621 ** 7622 *****************************************************************************/ 7623 7624 extern(C) xcb_query_font_cookie_t 7625 xcb_query_font_unchecked (xcb_connection_t *c /**< */, 7626 xcb_fontable_t font /**< */); 7627 7628 7629 /***************************************************************************** 7630 ** 7631 ** xcb_fontprop_t * xcb_query_font_properties 7632 ** 7633 ** @param /+const+/ xcb_query_font_reply_t *R 7634 ** @returns xcb_fontprop_t * 7635 ** 7636 *****************************************************************************/ 7637 7638 extern(C) xcb_fontprop_t * 7639 xcb_query_font_properties (/+const+/ xcb_query_font_reply_t *R /**< */); 7640 7641 7642 /***************************************************************************** 7643 ** 7644 ** int xcb_query_font_properties_length 7645 ** 7646 ** @param /+const+/ xcb_query_font_reply_t *R 7647 ** @returns int 7648 ** 7649 *****************************************************************************/ 7650 7651 extern(C) int 7652 xcb_query_font_properties_length (/+const+/ xcb_query_font_reply_t *R /**< */); 7653 7654 7655 /***************************************************************************** 7656 ** 7657 ** xcb_fontprop_iterator_t xcb_query_font_properties_iterator 7658 ** 7659 ** @param /+const+/ xcb_query_font_reply_t *R 7660 ** @returns xcb_fontprop_iterator_t 7661 ** 7662 *****************************************************************************/ 7663 7664 extern(C) xcb_fontprop_iterator_t 7665 xcb_query_font_properties_iterator (/+const+/ xcb_query_font_reply_t *R /**< */); 7666 7667 7668 /***************************************************************************** 7669 ** 7670 ** xcb_charinfo_t * xcb_query_font_char_infos 7671 ** 7672 ** @param /+const+/ xcb_query_font_reply_t *R 7673 ** @returns xcb_charinfo_t * 7674 ** 7675 *****************************************************************************/ 7676 7677 extern(C) xcb_charinfo_t * 7678 xcb_query_font_char_infos (/+const+/ xcb_query_font_reply_t *R /**< */); 7679 7680 7681 /***************************************************************************** 7682 ** 7683 ** int xcb_query_font_char_infos_length 7684 ** 7685 ** @param /+const+/ xcb_query_font_reply_t *R 7686 ** @returns int 7687 ** 7688 *****************************************************************************/ 7689 7690 extern(C) int 7691 xcb_query_font_char_infos_length (/+const+/ xcb_query_font_reply_t *R /**< */); 7692 7693 7694 /***************************************************************************** 7695 ** 7696 ** xcb_charinfo_iterator_t xcb_query_font_char_infos_iterator 7697 ** 7698 ** @param /+const+/ xcb_query_font_reply_t *R 7699 ** @returns xcb_charinfo_iterator_t 7700 ** 7701 *****************************************************************************/ 7702 7703 extern(C) xcb_charinfo_iterator_t 7704 xcb_query_font_char_infos_iterator (/+const+/ xcb_query_font_reply_t *R /**< */); 7705 7706 7707 /***************************************************************************** 7708 ** 7709 ** xcb_query_font_reply_t * xcb_query_font_reply 7710 ** 7711 ** @param xcb_connection_t *c 7712 ** @param xcb_query_font_cookie_t cookie 7713 ** @param xcb_generic_error_t **e 7714 ** @returns xcb_query_font_reply_t * 7715 ** 7716 *****************************************************************************/ 7717 7718 extern(C) xcb_query_font_reply_t * 7719 xcb_query_font_reply (xcb_connection_t *c /**< */, 7720 xcb_query_font_cookie_t cookie /**< */, 7721 xcb_generic_error_t **e /**< */); 7722 7723 7724 /***************************************************************************** 7725 ** 7726 ** xcb_query_text_extents_cookie_t xcb_query_text_extents 7727 ** 7728 ** @param xcb_connection_t *c 7729 ** @param xcb_fontable_t font 7730 ** @param uint string_len 7731 ** @param /+const+/ xcb_char2b_t *string 7732 ** @returns xcb_query_text_extents_cookie_t 7733 ** 7734 *****************************************************************************/ 7735 7736 extern(C) xcb_query_text_extents_cookie_t 7737 xcb_query_text_extents (xcb_connection_t *c /**< */, 7738 xcb_fontable_t font /**< */, 7739 uint string_len /**< */, 7740 /+const+/ xcb_char2b_t *string /**< */); 7741 7742 7743 /***************************************************************************** 7744 ** 7745 ** xcb_query_text_extents_cookie_t xcb_query_text_extents_unchecked 7746 ** 7747 ** @param xcb_connection_t *c 7748 ** @param xcb_fontable_t font 7749 ** @param uint string_len 7750 ** @param /+const+/ xcb_char2b_t *string 7751 ** @returns xcb_query_text_extents_cookie_t 7752 ** 7753 *****************************************************************************/ 7754 7755 extern(C) xcb_query_text_extents_cookie_t 7756 xcb_query_text_extents_unchecked (xcb_connection_t *c /**< */, 7757 xcb_fontable_t font /**< */, 7758 uint string_len /**< */, 7759 /+const+/ xcb_char2b_t *string /**< */); 7760 7761 7762 /***************************************************************************** 7763 ** 7764 ** xcb_query_text_extents_reply_t * xcb_query_text_extents_reply 7765 ** 7766 ** @param xcb_connection_t *c 7767 ** @param xcb_query_text_extents_cookie_t cookie 7768 ** @param xcb_generic_error_t **e 7769 ** @returns xcb_query_text_extents_reply_t * 7770 ** 7771 *****************************************************************************/ 7772 7773 extern(C) xcb_query_text_extents_reply_t * 7774 xcb_query_text_extents_reply (xcb_connection_t *c /**< */, 7775 xcb_query_text_extents_cookie_t cookie /**< */, 7776 xcb_generic_error_t **e /**< */); 7777 7778 7779 /***************************************************************************** 7780 ** 7781 ** char * xcb_str_name 7782 ** 7783 ** @param /+const+/ xcb_str_t *R 7784 ** @returns char * 7785 ** 7786 *****************************************************************************/ 7787 7788 extern(C) char * 7789 xcb_str_name (/+const+/ xcb_str_t *R /**< */); 7790 7791 7792 /***************************************************************************** 7793 ** 7794 ** int xcb_str_name_length 7795 ** 7796 ** @param /+const+/ xcb_str_t *R 7797 ** @returns int 7798 ** 7799 *****************************************************************************/ 7800 7801 extern(C) int 7802 xcb_str_name_length (/+const+/ xcb_str_t *R /**< */); 7803 7804 7805 /***************************************************************************** 7806 ** 7807 ** xcb_generic_iterator_t xcb_str_name_end 7808 ** 7809 ** @param /+const+/ xcb_str_t *R 7810 ** @returns xcb_generic_iterator_t 7811 ** 7812 *****************************************************************************/ 7813 7814 extern(C) xcb_generic_iterator_t 7815 xcb_str_name_end (/+const+/ xcb_str_t *R /**< */); 7816 7817 7818 /***************************************************************************** 7819 ** 7820 ** void xcb_str_next 7821 ** 7822 ** @param xcb_str_iterator_t *i 7823 ** @returns void 7824 ** 7825 *****************************************************************************/ 7826 7827 extern(C) void 7828 xcb_str_next (xcb_str_iterator_t *i /**< */); 7829 7830 7831 /***************************************************************************** 7832 ** 7833 ** xcb_generic_iterator_t xcb_str_end 7834 ** 7835 ** @param xcb_str_iterator_t i 7836 ** @returns xcb_generic_iterator_t 7837 ** 7838 *****************************************************************************/ 7839 7840 extern(C) xcb_generic_iterator_t 7841 xcb_str_end (xcb_str_iterator_t i /**< */); 7842 7843 7844 /***************************************************************************** 7845 ** 7846 ** xcb_list_fonts_cookie_t xcb_list_fonts 7847 ** 7848 ** @param xcb_connection_t *c 7849 ** @param ushort max_names 7850 ** @param ushort pattern_len 7851 ** @param /+const+/ char *pattern 7852 ** @returns xcb_list_fonts_cookie_t 7853 ** 7854 *****************************************************************************/ 7855 7856 extern(C) xcb_list_fonts_cookie_t 7857 xcb_list_fonts (xcb_connection_t *c /**< */, 7858 ushort max_names /**< */, 7859 ushort pattern_len /**< */, 7860 /+const+/ char *pattern /**< */); 7861 7862 7863 /***************************************************************************** 7864 ** 7865 ** xcb_list_fonts_cookie_t xcb_list_fonts_unchecked 7866 ** 7867 ** @param xcb_connection_t *c 7868 ** @param ushort max_names 7869 ** @param ushort pattern_len 7870 ** @param /+const+/ char *pattern 7871 ** @returns xcb_list_fonts_cookie_t 7872 ** 7873 *****************************************************************************/ 7874 7875 extern(C) xcb_list_fonts_cookie_t 7876 xcb_list_fonts_unchecked (xcb_connection_t *c /**< */, 7877 ushort max_names /**< */, 7878 ushort pattern_len /**< */, 7879 /+const+/ char *pattern /**< */); 7880 7881 7882 /***************************************************************************** 7883 ** 7884 ** int xcb_list_fonts_names_length 7885 ** 7886 ** @param /+const+/ xcb_list_fonts_reply_t *R 7887 ** @returns int 7888 ** 7889 *****************************************************************************/ 7890 7891 extern(C) int 7892 xcb_list_fonts_names_length (/+const+/ xcb_list_fonts_reply_t *R /**< */); 7893 7894 7895 /***************************************************************************** 7896 ** 7897 ** xcb_str_iterator_t xcb_list_fonts_names_iterator 7898 ** 7899 ** @param /+const+/ xcb_list_fonts_reply_t *R 7900 ** @returns xcb_str_iterator_t 7901 ** 7902 *****************************************************************************/ 7903 7904 extern(C) xcb_str_iterator_t 7905 xcb_list_fonts_names_iterator (/+const+/ xcb_list_fonts_reply_t *R /**< */); 7906 7907 7908 /***************************************************************************** 7909 ** 7910 ** xcb_list_fonts_reply_t * xcb_list_fonts_reply 7911 ** 7912 ** @param xcb_connection_t *c 7913 ** @param xcb_list_fonts_cookie_t cookie 7914 ** @param xcb_generic_error_t **e 7915 ** @returns xcb_list_fonts_reply_t * 7916 ** 7917 *****************************************************************************/ 7918 7919 extern(C) xcb_list_fonts_reply_t * 7920 xcb_list_fonts_reply (xcb_connection_t *c /**< */, 7921 xcb_list_fonts_cookie_t cookie /**< */, 7922 xcb_generic_error_t **e /**< */); 7923 7924 7925 /***************************************************************************** 7926 ** 7927 ** xcb_list_fonts_with_info_cookie_t xcb_list_fonts_with_info 7928 ** 7929 ** @param xcb_connection_t *c 7930 ** @param ushort max_names 7931 ** @param ushort pattern_len 7932 ** @param /+const+/ char *pattern 7933 ** @returns xcb_list_fonts_with_info_cookie_t 7934 ** 7935 *****************************************************************************/ 7936 7937 extern(C) xcb_list_fonts_with_info_cookie_t 7938 xcb_list_fonts_with_info (xcb_connection_t *c /**< */, 7939 ushort max_names /**< */, 7940 ushort pattern_len /**< */, 7941 /+const+/ char *pattern /**< */); 7942 7943 7944 /***************************************************************************** 7945 ** 7946 ** xcb_list_fonts_with_info_cookie_t xcb_list_fonts_with_info_unchecked 7947 ** 7948 ** @param xcb_connection_t *c 7949 ** @param ushort max_names 7950 ** @param ushort pattern_len 7951 ** @param /+const+/ char *pattern 7952 ** @returns xcb_list_fonts_with_info_cookie_t 7953 ** 7954 *****************************************************************************/ 7955 7956 extern(C) xcb_list_fonts_with_info_cookie_t 7957 xcb_list_fonts_with_info_unchecked (xcb_connection_t *c /**< */, 7958 ushort max_names /**< */, 7959 ushort pattern_len /**< */, 7960 /+const+/ char *pattern /**< */); 7961 7962 7963 /***************************************************************************** 7964 ** 7965 ** xcb_fontprop_t * xcb_list_fonts_with_info_properties 7966 ** 7967 ** @param /+const+/ xcb_list_fonts_with_info_reply_t *R 7968 ** @returns xcb_fontprop_t * 7969 ** 7970 *****************************************************************************/ 7971 7972 extern(C) xcb_fontprop_t * 7973 xcb_list_fonts_with_info_properties (/+const+/ xcb_list_fonts_with_info_reply_t *R /**< */); 7974 7975 7976 /***************************************************************************** 7977 ** 7978 ** int xcb_list_fonts_with_info_properties_length 7979 ** 7980 ** @param /+const+/ xcb_list_fonts_with_info_reply_t *R 7981 ** @returns int 7982 ** 7983 *****************************************************************************/ 7984 7985 extern(C) int 7986 xcb_list_fonts_with_info_properties_length (/+const+/ xcb_list_fonts_with_info_reply_t *R /**< */); 7987 7988 7989 /***************************************************************************** 7990 ** 7991 ** xcb_fontprop_iterator_t xcb_list_fonts_with_info_properties_iterator 7992 ** 7993 ** @param /+const+/ xcb_list_fonts_with_info_reply_t *R 7994 ** @returns xcb_fontprop_iterator_t 7995 ** 7996 *****************************************************************************/ 7997 7998 extern(C) xcb_fontprop_iterator_t 7999 xcb_list_fonts_with_info_properties_iterator (/+const+/ xcb_list_fonts_with_info_reply_t *R /**< */); 8000 8001 8002 /***************************************************************************** 8003 ** 8004 ** char * xcb_list_fonts_with_info_name 8005 ** 8006 ** @param /+const+/ xcb_list_fonts_with_info_reply_t *R 8007 ** @returns char * 8008 ** 8009 *****************************************************************************/ 8010 8011 extern(C) char * 8012 xcb_list_fonts_with_info_name (/+const+/ xcb_list_fonts_with_info_reply_t *R /**< */); 8013 8014 8015 /***************************************************************************** 8016 ** 8017 ** int xcb_list_fonts_with_info_name_length 8018 ** 8019 ** @param /+const+/ xcb_list_fonts_with_info_reply_t *R 8020 ** @returns int 8021 ** 8022 *****************************************************************************/ 8023 8024 extern(C) int 8025 xcb_list_fonts_with_info_name_length (/+const+/ xcb_list_fonts_with_info_reply_t *R /**< */); 8026 8027 8028 /***************************************************************************** 8029 ** 8030 ** xcb_generic_iterator_t xcb_list_fonts_with_info_name_end 8031 ** 8032 ** @param /+const+/ xcb_list_fonts_with_info_reply_t *R 8033 ** @returns xcb_generic_iterator_t 8034 ** 8035 *****************************************************************************/ 8036 8037 extern(C) xcb_generic_iterator_t 8038 xcb_list_fonts_with_info_name_end (/+const+/ xcb_list_fonts_with_info_reply_t *R /**< */); 8039 8040 8041 /***************************************************************************** 8042 ** 8043 ** xcb_list_fonts_with_info_reply_t * xcb_list_fonts_with_info_reply 8044 ** 8045 ** @param xcb_connection_t *c 8046 ** @param xcb_list_fonts_with_info_cookie_t cookie 8047 ** @param xcb_generic_error_t **e 8048 ** @returns xcb_list_fonts_with_info_reply_t * 8049 ** 8050 *****************************************************************************/ 8051 8052 extern(C) xcb_list_fonts_with_info_reply_t * 8053 xcb_list_fonts_with_info_reply (xcb_connection_t *c /**< */, 8054 xcb_list_fonts_with_info_cookie_t cookie /**< */, 8055 xcb_generic_error_t **e /**< */); 8056 8057 8058 /***************************************************************************** 8059 ** 8060 ** xcb_void_cookie_t xcb_set_font_path_checked 8061 ** 8062 ** @param xcb_connection_t *c 8063 ** @param ushort font_qty 8064 ** @param uint path_len 8065 ** @param /+const+/ char *path 8066 ** @returns xcb_void_cookie_t 8067 ** 8068 *****************************************************************************/ 8069 8070 extern(C) xcb_void_cookie_t 8071 xcb_set_font_path_checked (xcb_connection_t *c /**< */, 8072 ushort font_qty /**< */, 8073 uint path_len /**< */, 8074 /+const+/ char *path /**< */); 8075 8076 8077 /***************************************************************************** 8078 ** 8079 ** xcb_void_cookie_t xcb_set_font_path 8080 ** 8081 ** @param xcb_connection_t *c 8082 ** @param ushort font_qty 8083 ** @param uint path_len 8084 ** @param /+const+/ char *path 8085 ** @returns xcb_void_cookie_t 8086 ** 8087 *****************************************************************************/ 8088 8089 extern(C) xcb_void_cookie_t 8090 xcb_set_font_path (xcb_connection_t *c /**< */, 8091 ushort font_qty /**< */, 8092 uint path_len /**< */, 8093 /+const+/ char *path /**< */); 8094 8095 8096 /***************************************************************************** 8097 ** 8098 ** xcb_get_font_path_cookie_t xcb_get_font_path 8099 ** 8100 ** @param xcb_connection_t *c 8101 ** @returns xcb_get_font_path_cookie_t 8102 ** 8103 *****************************************************************************/ 8104 8105 extern(C) xcb_get_font_path_cookie_t 8106 xcb_get_font_path (xcb_connection_t *c /**< */); 8107 8108 8109 /***************************************************************************** 8110 ** 8111 ** xcb_get_font_path_cookie_t xcb_get_font_path_unchecked 8112 ** 8113 ** @param xcb_connection_t *c 8114 ** @returns xcb_get_font_path_cookie_t 8115 ** 8116 *****************************************************************************/ 8117 8118 extern(C) xcb_get_font_path_cookie_t 8119 xcb_get_font_path_unchecked (xcb_connection_t *c /**< */); 8120 8121 8122 /***************************************************************************** 8123 ** 8124 ** int xcb_get_font_path_path_length 8125 ** 8126 ** @param /+const+/ xcb_get_font_path_reply_t *R 8127 ** @returns int 8128 ** 8129 *****************************************************************************/ 8130 8131 extern(C) int 8132 xcb_get_font_path_path_length (/+const+/ xcb_get_font_path_reply_t *R /**< */); 8133 8134 8135 /***************************************************************************** 8136 ** 8137 ** xcb_str_iterator_t xcb_get_font_path_path_iterator 8138 ** 8139 ** @param /+const+/ xcb_get_font_path_reply_t *R 8140 ** @returns xcb_str_iterator_t 8141 ** 8142 *****************************************************************************/ 8143 8144 extern(C) xcb_str_iterator_t 8145 xcb_get_font_path_path_iterator (/+const+/ xcb_get_font_path_reply_t *R /**< */); 8146 8147 8148 /***************************************************************************** 8149 ** 8150 ** xcb_get_font_path_reply_t * xcb_get_font_path_reply 8151 ** 8152 ** @param xcb_connection_t *c 8153 ** @param xcb_get_font_path_cookie_t cookie 8154 ** @param xcb_generic_error_t **e 8155 ** @returns xcb_get_font_path_reply_t * 8156 ** 8157 *****************************************************************************/ 8158 8159 extern(C) xcb_get_font_path_reply_t * 8160 xcb_get_font_path_reply (xcb_connection_t *c /**< */, 8161 xcb_get_font_path_cookie_t cookie /**< */, 8162 xcb_generic_error_t **e /**< */); 8163 8164 8165 /***************************************************************************** 8166 ** 8167 ** xcb_void_cookie_t xcb_create_pixmap_checked 8168 ** 8169 ** @param xcb_connection_t *c 8170 ** @param ubyte depth 8171 ** @param xcb_pixmap_t pid 8172 ** @param xcb_drawable_t drawable 8173 ** @param ushort width 8174 ** @param ushort height 8175 ** @returns xcb_void_cookie_t 8176 ** 8177 *****************************************************************************/ 8178 8179 extern(C) xcb_void_cookie_t 8180 xcb_create_pixmap_checked (xcb_connection_t *c /**< */, 8181 ubyte depth /**< */, 8182 xcb_pixmap_t pid /**< */, 8183 xcb_drawable_t drawable /**< */, 8184 ushort width /**< */, 8185 ushort height /**< */); 8186 8187 8188 /***************************************************************************** 8189 ** 8190 ** xcb_void_cookie_t xcb_create_pixmap 8191 ** 8192 ** @param xcb_connection_t *c 8193 ** @param ubyte depth 8194 ** @param xcb_pixmap_t pid 8195 ** @param xcb_drawable_t drawable 8196 ** @param ushort width 8197 ** @param ushort height 8198 ** @returns xcb_void_cookie_t 8199 ** 8200 *****************************************************************************/ 8201 8202 extern(C) xcb_void_cookie_t 8203 xcb_create_pixmap (xcb_connection_t *c /**< */, 8204 ubyte depth /**< */, 8205 xcb_pixmap_t pid /**< */, 8206 xcb_drawable_t drawable /**< */, 8207 ushort width /**< */, 8208 ushort height /**< */); 8209 8210 8211 /***************************************************************************** 8212 ** 8213 ** xcb_void_cookie_t xcb_free_pixmap_checked 8214 ** 8215 ** @param xcb_connection_t *c 8216 ** @param xcb_pixmap_t pixmap 8217 ** @returns xcb_void_cookie_t 8218 ** 8219 *****************************************************************************/ 8220 8221 extern(C) xcb_void_cookie_t 8222 xcb_free_pixmap_checked (xcb_connection_t *c /**< */, 8223 xcb_pixmap_t pixmap /**< */); 8224 8225 8226 /***************************************************************************** 8227 ** 8228 ** xcb_void_cookie_t xcb_free_pixmap 8229 ** 8230 ** @param xcb_connection_t *c 8231 ** @param xcb_pixmap_t pixmap 8232 ** @returns xcb_void_cookie_t 8233 ** 8234 *****************************************************************************/ 8235 8236 extern(C) xcb_void_cookie_t 8237 xcb_free_pixmap (xcb_connection_t *c /**< */, 8238 xcb_pixmap_t pixmap /**< */); 8239 8240 8241 /***************************************************************************** 8242 ** 8243 ** xcb_void_cookie_t xcb_create_gc_checked 8244 ** 8245 ** @param xcb_connection_t *c 8246 ** @param xcb_gcontext_t cid 8247 ** @param xcb_drawable_t drawable 8248 ** @param uint value_mask 8249 ** @param /+const+/ uint *value_list 8250 ** @returns xcb_void_cookie_t 8251 ** 8252 *****************************************************************************/ 8253 8254 extern(C) xcb_void_cookie_t 8255 xcb_create_gc_checked (xcb_connection_t *c /**< */, 8256 xcb_gcontext_t cid /**< */, 8257 xcb_drawable_t drawable /**< */, 8258 uint value_mask /**< */, 8259 /+const+/ uint *value_list /**< */); 8260 8261 8262 /***************************************************************************** 8263 ** 8264 ** xcb_void_cookie_t xcb_create_gc 8265 ** 8266 ** @param xcb_connection_t *c 8267 ** @param xcb_gcontext_t cid 8268 ** @param xcb_drawable_t drawable 8269 ** @param uint value_mask 8270 ** @param /+const+/ uint *value_list 8271 ** @returns xcb_void_cookie_t 8272 ** 8273 *****************************************************************************/ 8274 8275 extern(C) xcb_void_cookie_t 8276 xcb_create_gc (xcb_connection_t *c /**< */, 8277 xcb_gcontext_t cid /**< */, 8278 xcb_drawable_t drawable /**< */, 8279 uint value_mask /**< */, 8280 /+const+/ uint *value_list /**< */); 8281 8282 8283 /***************************************************************************** 8284 ** 8285 ** xcb_void_cookie_t xcb_change_gc_checked 8286 ** 8287 ** @param xcb_connection_t *c 8288 ** @param xcb_gcontext_t gc 8289 ** @param uint value_mask 8290 ** @param /+const+/ uint *value_list 8291 ** @returns xcb_void_cookie_t 8292 ** 8293 *****************************************************************************/ 8294 8295 extern(C) xcb_void_cookie_t 8296 xcb_change_gc_checked (xcb_connection_t *c /**< */, 8297 xcb_gcontext_t gc /**< */, 8298 uint value_mask /**< */, 8299 /+const+/ uint *value_list /**< */); 8300 8301 8302 /***************************************************************************** 8303 ** 8304 ** xcb_void_cookie_t xcb_change_gc 8305 ** 8306 ** @param xcb_connection_t *c 8307 ** @param xcb_gcontext_t gc 8308 ** @param uint value_mask 8309 ** @param /+const+/ uint *value_list 8310 ** @returns xcb_void_cookie_t 8311 ** 8312 *****************************************************************************/ 8313 8314 extern(C) xcb_void_cookie_t 8315 xcb_change_gc (xcb_connection_t *c /**< */, 8316 xcb_gcontext_t gc /**< */, 8317 uint value_mask /**< */, 8318 /+const+/ uint *value_list /**< */); 8319 8320 8321 /***************************************************************************** 8322 ** 8323 ** xcb_void_cookie_t xcb_copy_gc_checked 8324 ** 8325 ** @param xcb_connection_t *c 8326 ** @param xcb_gcontext_t src_gc 8327 ** @param xcb_gcontext_t dst_gc 8328 ** @param uint value_mask 8329 ** @returns xcb_void_cookie_t 8330 ** 8331 *****************************************************************************/ 8332 8333 extern(C) xcb_void_cookie_t 8334 xcb_copy_gc_checked (xcb_connection_t *c /**< */, 8335 xcb_gcontext_t src_gc /**< */, 8336 xcb_gcontext_t dst_gc /**< */, 8337 uint value_mask /**< */); 8338 8339 8340 /***************************************************************************** 8341 ** 8342 ** xcb_void_cookie_t xcb_copy_gc 8343 ** 8344 ** @param xcb_connection_t *c 8345 ** @param xcb_gcontext_t src_gc 8346 ** @param xcb_gcontext_t dst_gc 8347 ** @param uint value_mask 8348 ** @returns xcb_void_cookie_t 8349 ** 8350 *****************************************************************************/ 8351 8352 extern(C) xcb_void_cookie_t 8353 xcb_copy_gc (xcb_connection_t *c /**< */, 8354 xcb_gcontext_t src_gc /**< */, 8355 xcb_gcontext_t dst_gc /**< */, 8356 uint value_mask /**< */); 8357 8358 8359 /***************************************************************************** 8360 ** 8361 ** xcb_void_cookie_t xcb_set_dashes_checked 8362 ** 8363 ** @param xcb_connection_t *c 8364 ** @param xcb_gcontext_t gc 8365 ** @param ushort dash_offset 8366 ** @param ushort dashes_len 8367 ** @param /+const+/ ubyte *dashes 8368 ** @returns xcb_void_cookie_t 8369 ** 8370 *****************************************************************************/ 8371 8372 extern(C) xcb_void_cookie_t 8373 xcb_set_dashes_checked (xcb_connection_t *c /**< */, 8374 xcb_gcontext_t gc /**< */, 8375 ushort dash_offset /**< */, 8376 ushort dashes_len /**< */, 8377 /+const+/ ubyte *dashes /**< */); 8378 8379 8380 /***************************************************************************** 8381 ** 8382 ** xcb_void_cookie_t xcb_set_dashes 8383 ** 8384 ** @param xcb_connection_t *c 8385 ** @param xcb_gcontext_t gc 8386 ** @param ushort dash_offset 8387 ** @param ushort dashes_len 8388 ** @param /+const+/ ubyte *dashes 8389 ** @returns xcb_void_cookie_t 8390 ** 8391 *****************************************************************************/ 8392 8393 extern(C) xcb_void_cookie_t 8394 xcb_set_dashes (xcb_connection_t *c /**< */, 8395 xcb_gcontext_t gc /**< */, 8396 ushort dash_offset /**< */, 8397 ushort dashes_len /**< */, 8398 /+const+/ ubyte *dashes /**< */); 8399 8400 8401 /***************************************************************************** 8402 ** 8403 ** xcb_void_cookie_t xcb_set_clip_rectangles_checked 8404 ** 8405 ** @param xcb_connection_t *c 8406 ** @param ubyte ordering 8407 ** @param xcb_gcontext_t gc 8408 ** @param short clip_x_origin 8409 ** @param short clip_y_origin 8410 ** @param uint rectangles_len 8411 ** @param /+const+/ xcb_rectangle_t *rectangles 8412 ** @returns xcb_void_cookie_t 8413 ** 8414 *****************************************************************************/ 8415 8416 extern(C) xcb_void_cookie_t 8417 xcb_set_clip_rectangles_checked (xcb_connection_t *c /**< */, 8418 ubyte ordering /**< */, 8419 xcb_gcontext_t gc /**< */, 8420 short clip_x_origin /**< */, 8421 short clip_y_origin /**< */, 8422 uint rectangles_len /**< */, 8423 /+const+/ xcb_rectangle_t *rectangles /**< */); 8424 8425 8426 /***************************************************************************** 8427 ** 8428 ** xcb_void_cookie_t xcb_set_clip_rectangles 8429 ** 8430 ** @param xcb_connection_t *c 8431 ** @param ubyte ordering 8432 ** @param xcb_gcontext_t gc 8433 ** @param short clip_x_origin 8434 ** @param short clip_y_origin 8435 ** @param uint rectangles_len 8436 ** @param /+const+/ xcb_rectangle_t *rectangles 8437 ** @returns xcb_void_cookie_t 8438 ** 8439 *****************************************************************************/ 8440 8441 extern(C) xcb_void_cookie_t 8442 xcb_set_clip_rectangles (xcb_connection_t *c /**< */, 8443 ubyte ordering /**< */, 8444 xcb_gcontext_t gc /**< */, 8445 short clip_x_origin /**< */, 8446 short clip_y_origin /**< */, 8447 uint rectangles_len /**< */, 8448 /+const+/ xcb_rectangle_t *rectangles /**< */); 8449 8450 8451 /***************************************************************************** 8452 ** 8453 ** xcb_void_cookie_t xcb_free_gc_checked 8454 ** 8455 ** @param xcb_connection_t *c 8456 ** @param xcb_gcontext_t gc 8457 ** @returns xcb_void_cookie_t 8458 ** 8459 *****************************************************************************/ 8460 8461 extern(C) xcb_void_cookie_t 8462 xcb_free_gc_checked (xcb_connection_t *c /**< */, 8463 xcb_gcontext_t gc /**< */); 8464 8465 8466 /***************************************************************************** 8467 ** 8468 ** xcb_void_cookie_t xcb_free_gc 8469 ** 8470 ** @param xcb_connection_t *c 8471 ** @param xcb_gcontext_t gc 8472 ** @returns xcb_void_cookie_t 8473 ** 8474 *****************************************************************************/ 8475 8476 extern(C) xcb_void_cookie_t 8477 xcb_free_gc (xcb_connection_t *c /**< */, 8478 xcb_gcontext_t gc /**< */); 8479 8480 8481 /***************************************************************************** 8482 ** 8483 ** xcb_void_cookie_t xcb_clear_area_checked 8484 ** 8485 ** @param xcb_connection_t *c 8486 ** @param bool exposures 8487 ** @param xcb_window_t window 8488 ** @param short x 8489 ** @param short y 8490 ** @param ushort width 8491 ** @param ushort height 8492 ** @returns xcb_void_cookie_t 8493 ** 8494 *****************************************************************************/ 8495 8496 extern(C) xcb_void_cookie_t 8497 xcb_clear_area_checked (xcb_connection_t *c /**< */, 8498 bool exposures /**< */, 8499 xcb_window_t window /**< */, 8500 short x /**< */, 8501 short y /**< */, 8502 ushort width /**< */, 8503 ushort height /**< */); 8504 8505 8506 /***************************************************************************** 8507 ** 8508 ** xcb_void_cookie_t xcb_clear_area 8509 ** 8510 ** @param xcb_connection_t *c 8511 ** @param bool exposures 8512 ** @param xcb_window_t window 8513 ** @param short x 8514 ** @param short y 8515 ** @param ushort width 8516 ** @param ushort height 8517 ** @returns xcb_void_cookie_t 8518 ** 8519 *****************************************************************************/ 8520 8521 extern(C) xcb_void_cookie_t 8522 xcb_clear_area (xcb_connection_t *c /**< */, 8523 bool exposures /**< */, 8524 xcb_window_t window /**< */, 8525 short x /**< */, 8526 short y /**< */, 8527 ushort width /**< */, 8528 ushort height /**< */); 8529 8530 8531 /***************************************************************************** 8532 ** 8533 ** xcb_void_cookie_t xcb_copy_area_checked 8534 ** 8535 ** @param xcb_connection_t *c 8536 ** @param xcb_drawable_t src_drawable 8537 ** @param xcb_drawable_t dst_drawable 8538 ** @param xcb_gcontext_t gc 8539 ** @param short src_x 8540 ** @param short src_y 8541 ** @param short dst_x 8542 ** @param short dst_y 8543 ** @param ushort width 8544 ** @param ushort height 8545 ** @returns xcb_void_cookie_t 8546 ** 8547 *****************************************************************************/ 8548 8549 extern(C) xcb_void_cookie_t 8550 xcb_copy_area_checked (xcb_connection_t *c /**< */, 8551 xcb_drawable_t src_drawable /**< */, 8552 xcb_drawable_t dst_drawable /**< */, 8553 xcb_gcontext_t gc /**< */, 8554 short src_x /**< */, 8555 short src_y /**< */, 8556 short dst_x /**< */, 8557 short dst_y /**< */, 8558 ushort width /**< */, 8559 ushort height /**< */); 8560 8561 8562 /***************************************************************************** 8563 ** 8564 ** xcb_void_cookie_t xcb_copy_area 8565 ** 8566 ** @param xcb_connection_t *c 8567 ** @param xcb_drawable_t src_drawable 8568 ** @param xcb_drawable_t dst_drawable 8569 ** @param xcb_gcontext_t gc 8570 ** @param short src_x 8571 ** @param short src_y 8572 ** @param short dst_x 8573 ** @param short dst_y 8574 ** @param ushort width 8575 ** @param ushort height 8576 ** @returns xcb_void_cookie_t 8577 ** 8578 *****************************************************************************/ 8579 8580 extern(C) xcb_void_cookie_t 8581 xcb_copy_area (xcb_connection_t *c /**< */, 8582 xcb_drawable_t src_drawable /**< */, 8583 xcb_drawable_t dst_drawable /**< */, 8584 xcb_gcontext_t gc /**< */, 8585 short src_x /**< */, 8586 short src_y /**< */, 8587 short dst_x /**< */, 8588 short dst_y /**< */, 8589 ushort width /**< */, 8590 ushort height /**< */); 8591 8592 8593 /***************************************************************************** 8594 ** 8595 ** xcb_void_cookie_t xcb_copy_plane_checked 8596 ** 8597 ** @param xcb_connection_t *c 8598 ** @param xcb_drawable_t src_drawable 8599 ** @param xcb_drawable_t dst_drawable 8600 ** @param xcb_gcontext_t gc 8601 ** @param short src_x 8602 ** @param short src_y 8603 ** @param short dst_x 8604 ** @param short dst_y 8605 ** @param ushort width 8606 ** @param ushort height 8607 ** @param uint bit_plane 8608 ** @returns xcb_void_cookie_t 8609 ** 8610 *****************************************************************************/ 8611 8612 extern(C) xcb_void_cookie_t 8613 xcb_copy_plane_checked (xcb_connection_t *c /**< */, 8614 xcb_drawable_t src_drawable /**< */, 8615 xcb_drawable_t dst_drawable /**< */, 8616 xcb_gcontext_t gc /**< */, 8617 short src_x /**< */, 8618 short src_y /**< */, 8619 short dst_x /**< */, 8620 short dst_y /**< */, 8621 ushort width /**< */, 8622 ushort height /**< */, 8623 uint bit_plane /**< */); 8624 8625 8626 /***************************************************************************** 8627 ** 8628 ** xcb_void_cookie_t xcb_copy_plane 8629 ** 8630 ** @param xcb_connection_t *c 8631 ** @param xcb_drawable_t src_drawable 8632 ** @param xcb_drawable_t dst_drawable 8633 ** @param xcb_gcontext_t gc 8634 ** @param short src_x 8635 ** @param short src_y 8636 ** @param short dst_x 8637 ** @param short dst_y 8638 ** @param ushort width 8639 ** @param ushort height 8640 ** @param uint bit_plane 8641 ** @returns xcb_void_cookie_t 8642 ** 8643 *****************************************************************************/ 8644 8645 extern(C) xcb_void_cookie_t 8646 xcb_copy_plane (xcb_connection_t *c /**< */, 8647 xcb_drawable_t src_drawable /**< */, 8648 xcb_drawable_t dst_drawable /**< */, 8649 xcb_gcontext_t gc /**< */, 8650 short src_x /**< */, 8651 short src_y /**< */, 8652 short dst_x /**< */, 8653 short dst_y /**< */, 8654 ushort width /**< */, 8655 ushort height /**< */, 8656 uint bit_plane /**< */); 8657 8658 8659 /***************************************************************************** 8660 ** 8661 ** xcb_void_cookie_t xcb_poly_point_checked 8662 ** 8663 ** @param xcb_connection_t *c 8664 ** @param ubyte coordinate_mode 8665 ** @param xcb_drawable_t drawable 8666 ** @param xcb_gcontext_t gc 8667 ** @param uint points_len 8668 ** @param /+const+/ xcb_point_t *points 8669 ** @returns xcb_void_cookie_t 8670 ** 8671 *****************************************************************************/ 8672 8673 extern(C) xcb_void_cookie_t 8674 xcb_poly_point_checked (xcb_connection_t *c /**< */, 8675 ubyte coordinate_mode /**< */, 8676 xcb_drawable_t drawable /**< */, 8677 xcb_gcontext_t gc /**< */, 8678 uint points_len /**< */, 8679 /+const+/ xcb_point_t *points /**< */); 8680 8681 8682 /***************************************************************************** 8683 ** 8684 ** xcb_void_cookie_t xcb_poly_point 8685 ** 8686 ** @param xcb_connection_t *c 8687 ** @param ubyte coordinate_mode 8688 ** @param xcb_drawable_t drawable 8689 ** @param xcb_gcontext_t gc 8690 ** @param uint points_len 8691 ** @param /+const+/ xcb_point_t *points 8692 ** @returns xcb_void_cookie_t 8693 ** 8694 *****************************************************************************/ 8695 8696 extern(C) xcb_void_cookie_t 8697 xcb_poly_point (xcb_connection_t *c /**< */, 8698 ubyte coordinate_mode /**< */, 8699 xcb_drawable_t drawable /**< */, 8700 xcb_gcontext_t gc /**< */, 8701 uint points_len /**< */, 8702 /+const+/ xcb_point_t *points /**< */); 8703 8704 8705 /***************************************************************************** 8706 ** 8707 ** xcb_void_cookie_t xcb_poly_line_checked 8708 ** 8709 ** @param xcb_connection_t *c 8710 ** @param ubyte coordinate_mode 8711 ** @param xcb_drawable_t drawable 8712 ** @param xcb_gcontext_t gc 8713 ** @param uint points_len 8714 ** @param /+const+/ xcb_point_t *points 8715 ** @returns xcb_void_cookie_t 8716 ** 8717 *****************************************************************************/ 8718 8719 extern(C) xcb_void_cookie_t 8720 xcb_poly_line_checked (xcb_connection_t *c /**< */, 8721 ubyte coordinate_mode /**< */, 8722 xcb_drawable_t drawable /**< */, 8723 xcb_gcontext_t gc /**< */, 8724 uint points_len /**< */, 8725 /+const+/ xcb_point_t *points /**< */); 8726 8727 8728 /***************************************************************************** 8729 ** 8730 ** xcb_void_cookie_t xcb_poly_line 8731 ** 8732 ** @param xcb_connection_t *c 8733 ** @param ubyte coordinate_mode 8734 ** @param xcb_drawable_t drawable 8735 ** @param xcb_gcontext_t gc 8736 ** @param uint points_len 8737 ** @param /+const+/ xcb_point_t *points 8738 ** @returns xcb_void_cookie_t 8739 ** 8740 *****************************************************************************/ 8741 8742 extern(C) xcb_void_cookie_t 8743 xcb_poly_line (xcb_connection_t *c /**< */, 8744 ubyte coordinate_mode /**< */, 8745 xcb_drawable_t drawable /**< */, 8746 xcb_gcontext_t gc /**< */, 8747 uint points_len /**< */, 8748 /+const+/ xcb_point_t *points /**< */); 8749 8750 8751 /***************************************************************************** 8752 ** 8753 ** void xcb_segment_next 8754 ** 8755 ** @param xcb_segment_iterator_t *i 8756 ** @returns void 8757 ** 8758 *****************************************************************************/ 8759 8760 extern(C) void 8761 xcb_segment_next (xcb_segment_iterator_t *i /**< */); 8762 8763 8764 /***************************************************************************** 8765 ** 8766 ** xcb_generic_iterator_t xcb_segment_end 8767 ** 8768 ** @param xcb_segment_iterator_t i 8769 ** @returns xcb_generic_iterator_t 8770 ** 8771 *****************************************************************************/ 8772 8773 extern(C) xcb_generic_iterator_t 8774 xcb_segment_end (xcb_segment_iterator_t i /**< */); 8775 8776 8777 /***************************************************************************** 8778 ** 8779 ** xcb_void_cookie_t xcb_poly_segment_checked 8780 ** 8781 ** @param xcb_connection_t *c 8782 ** @param xcb_drawable_t drawable 8783 ** @param xcb_gcontext_t gc 8784 ** @param uint segments_len 8785 ** @param /+const+/ xcb_segment_t *segments 8786 ** @returns xcb_void_cookie_t 8787 ** 8788 *****************************************************************************/ 8789 8790 extern(C) xcb_void_cookie_t 8791 xcb_poly_segment_checked (xcb_connection_t *c /**< */, 8792 xcb_drawable_t drawable /**< */, 8793 xcb_gcontext_t gc /**< */, 8794 uint segments_len /**< */, 8795 /+const+/ xcb_segment_t *segments /**< */); 8796 8797 8798 /***************************************************************************** 8799 ** 8800 ** xcb_void_cookie_t xcb_poly_segment 8801 ** 8802 ** @param xcb_connection_t *c 8803 ** @param xcb_drawable_t drawable 8804 ** @param xcb_gcontext_t gc 8805 ** @param uint segments_len 8806 ** @param /+const+/ xcb_segment_t *segments 8807 ** @returns xcb_void_cookie_t 8808 ** 8809 *****************************************************************************/ 8810 8811 extern(C) xcb_void_cookie_t 8812 xcb_poly_segment (xcb_connection_t *c /**< */, 8813 xcb_drawable_t drawable /**< */, 8814 xcb_gcontext_t gc /**< */, 8815 uint segments_len /**< */, 8816 /+const+/ xcb_segment_t *segments /**< */); 8817 8818 8819 /***************************************************************************** 8820 ** 8821 ** xcb_void_cookie_t xcb_poly_rectangle_checked 8822 ** 8823 ** @param xcb_connection_t *c 8824 ** @param xcb_drawable_t drawable 8825 ** @param xcb_gcontext_t gc 8826 ** @param uint rectangles_len 8827 ** @param /+const+/ xcb_rectangle_t *rectangles 8828 ** @returns xcb_void_cookie_t 8829 ** 8830 *****************************************************************************/ 8831 8832 extern(C) xcb_void_cookie_t 8833 xcb_poly_rectangle_checked (xcb_connection_t *c /**< */, 8834 xcb_drawable_t drawable /**< */, 8835 xcb_gcontext_t gc /**< */, 8836 uint rectangles_len /**< */, 8837 /+const+/ xcb_rectangle_t *rectangles /**< */); 8838 8839 8840 /***************************************************************************** 8841 ** 8842 ** xcb_void_cookie_t xcb_poly_rectangle 8843 ** 8844 ** @param xcb_connection_t *c 8845 ** @param xcb_drawable_t drawable 8846 ** @param xcb_gcontext_t gc 8847 ** @param uint rectangles_len 8848 ** @param /+const+/ xcb_rectangle_t *rectangles 8849 ** @returns xcb_void_cookie_t 8850 ** 8851 *****************************************************************************/ 8852 8853 extern(C) xcb_void_cookie_t 8854 xcb_poly_rectangle (xcb_connection_t *c /**< */, 8855 xcb_drawable_t drawable /**< */, 8856 xcb_gcontext_t gc /**< */, 8857 uint rectangles_len /**< */, 8858 /+const+/ xcb_rectangle_t *rectangles /**< */); 8859 8860 8861 /***************************************************************************** 8862 ** 8863 ** xcb_void_cookie_t xcb_poly_arc_checked 8864 ** 8865 ** @param xcb_connection_t *c 8866 ** @param xcb_drawable_t drawable 8867 ** @param xcb_gcontext_t gc 8868 ** @param uint arcs_len 8869 ** @param /+const+/ xcb_arc_t *arcs 8870 ** @returns xcb_void_cookie_t 8871 ** 8872 *****************************************************************************/ 8873 8874 extern(C) xcb_void_cookie_t 8875 xcb_poly_arc_checked (xcb_connection_t *c /**< */, 8876 xcb_drawable_t drawable /**< */, 8877 xcb_gcontext_t gc /**< */, 8878 uint arcs_len /**< */, 8879 /+const+/ xcb_arc_t *arcs /**< */); 8880 8881 8882 /***************************************************************************** 8883 ** 8884 ** xcb_void_cookie_t xcb_poly_arc 8885 ** 8886 ** @param xcb_connection_t *c 8887 ** @param xcb_drawable_t drawable 8888 ** @param xcb_gcontext_t gc 8889 ** @param uint arcs_len 8890 ** @param /+const+/ xcb_arc_t *arcs 8891 ** @returns xcb_void_cookie_t 8892 ** 8893 *****************************************************************************/ 8894 8895 extern(C) xcb_void_cookie_t 8896 xcb_poly_arc (xcb_connection_t *c /**< */, 8897 xcb_drawable_t drawable /**< */, 8898 xcb_gcontext_t gc /**< */, 8899 uint arcs_len /**< */, 8900 /+const+/ xcb_arc_t *arcs /**< */); 8901 8902 8903 /***************************************************************************** 8904 ** 8905 ** xcb_void_cookie_t xcb_fill_poly_checked 8906 ** 8907 ** @param xcb_connection_t *c 8908 ** @param xcb_drawable_t drawable 8909 ** @param xcb_gcontext_t gc 8910 ** @param ubyte shape 8911 ** @param ubyte coordinate_mode 8912 ** @param uint points_len 8913 ** @param /+const+/ xcb_point_t *points 8914 ** @returns xcb_void_cookie_t 8915 ** 8916 *****************************************************************************/ 8917 8918 extern(C) xcb_void_cookie_t 8919 xcb_fill_poly_checked (xcb_connection_t *c /**< */, 8920 xcb_drawable_t drawable /**< */, 8921 xcb_gcontext_t gc /**< */, 8922 ubyte shape /**< */, 8923 ubyte coordinate_mode /**< */, 8924 uint points_len /**< */, 8925 /+const+/ xcb_point_t *points /**< */); 8926 8927 8928 /***************************************************************************** 8929 ** 8930 ** xcb_void_cookie_t xcb_fill_poly 8931 ** 8932 ** @param xcb_connection_t *c 8933 ** @param xcb_drawable_t drawable 8934 ** @param xcb_gcontext_t gc 8935 ** @param ubyte shape 8936 ** @param ubyte coordinate_mode 8937 ** @param uint points_len 8938 ** @param /+const+/ xcb_point_t *points 8939 ** @returns xcb_void_cookie_t 8940 ** 8941 *****************************************************************************/ 8942 8943 extern(C) xcb_void_cookie_t 8944 xcb_fill_poly (xcb_connection_t *c /**< */, 8945 xcb_drawable_t drawable /**< */, 8946 xcb_gcontext_t gc /**< */, 8947 ubyte shape /**< */, 8948 ubyte coordinate_mode /**< */, 8949 uint points_len /**< */, 8950 /+const+/ xcb_point_t *points /**< */); 8951 8952 8953 /***************************************************************************** 8954 ** 8955 ** xcb_void_cookie_t xcb_poly_fill_rectangle_checked 8956 ** 8957 ** @param xcb_connection_t *c 8958 ** @param xcb_drawable_t drawable 8959 ** @param xcb_gcontext_t gc 8960 ** @param uint rectangles_len 8961 ** @param /+const+/ xcb_rectangle_t *rectangles 8962 ** @returns xcb_void_cookie_t 8963 ** 8964 *****************************************************************************/ 8965 8966 extern(C) xcb_void_cookie_t 8967 xcb_poly_fill_rectangle_checked (xcb_connection_t *c /**< */, 8968 xcb_drawable_t drawable /**< */, 8969 xcb_gcontext_t gc /**< */, 8970 uint rectangles_len /**< */, 8971 /+const+/ xcb_rectangle_t *rectangles /**< */); 8972 8973 8974 /***************************************************************************** 8975 ** 8976 ** xcb_void_cookie_t xcb_poly_fill_rectangle 8977 ** 8978 ** @param xcb_connection_t *c 8979 ** @param xcb_drawable_t drawable 8980 ** @param xcb_gcontext_t gc 8981 ** @param uint rectangles_len 8982 ** @param /+const+/ xcb_rectangle_t *rectangles 8983 ** @returns xcb_void_cookie_t 8984 ** 8985 *****************************************************************************/ 8986 8987 extern(C) xcb_void_cookie_t 8988 xcb_poly_fill_rectangle (xcb_connection_t *c /**< */, 8989 xcb_drawable_t drawable /**< */, 8990 xcb_gcontext_t gc /**< */, 8991 uint rectangles_len /**< */, 8992 /+const+/ xcb_rectangle_t *rectangles /**< */); 8993 8994 8995 /***************************************************************************** 8996 ** 8997 ** xcb_void_cookie_t xcb_poly_fill_arc_checked 8998 ** 8999 ** @param xcb_connection_t *c 9000 ** @param xcb_drawable_t drawable 9001 ** @param xcb_gcontext_t gc 9002 ** @param uint arcs_len 9003 ** @param /+const+/ xcb_arc_t *arcs 9004 ** @returns xcb_void_cookie_t 9005 ** 9006 *****************************************************************************/ 9007 9008 extern(C) xcb_void_cookie_t 9009 xcb_poly_fill_arc_checked (xcb_connection_t *c /**< */, 9010 xcb_drawable_t drawable /**< */, 9011 xcb_gcontext_t gc /**< */, 9012 uint arcs_len /**< */, 9013 /+const+/ xcb_arc_t *arcs /**< */); 9014 9015 9016 /***************************************************************************** 9017 ** 9018 ** xcb_void_cookie_t xcb_poly_fill_arc 9019 ** 9020 ** @param xcb_connection_t *c 9021 ** @param xcb_drawable_t drawable 9022 ** @param xcb_gcontext_t gc 9023 ** @param uint arcs_len 9024 ** @param /+const+/ xcb_arc_t *arcs 9025 ** @returns xcb_void_cookie_t 9026 ** 9027 *****************************************************************************/ 9028 9029 extern(C) xcb_void_cookie_t 9030 xcb_poly_fill_arc (xcb_connection_t *c /**< */, 9031 xcb_drawable_t drawable /**< */, 9032 xcb_gcontext_t gc /**< */, 9033 uint arcs_len /**< */, 9034 /+const+/ xcb_arc_t *arcs /**< */); 9035 9036 9037 /***************************************************************************** 9038 ** 9039 ** xcb_void_cookie_t xcb_put_image_checked 9040 ** 9041 ** @param xcb_connection_t *c 9042 ** @param ubyte format 9043 ** @param xcb_drawable_t drawable 9044 ** @param xcb_gcontext_t gc 9045 ** @param ushort width 9046 ** @param ushort height 9047 ** @param short dst_x 9048 ** @param short dst_y 9049 ** @param ubyte left_pad 9050 ** @param ubyte depth 9051 ** @param uint data_len 9052 ** @param /+const+/ ubyte *data 9053 ** @returns xcb_void_cookie_t 9054 ** 9055 *****************************************************************************/ 9056 9057 extern(C) xcb_void_cookie_t 9058 xcb_put_image_checked (xcb_connection_t *c /**< */, 9059 ubyte format /**< */, 9060 xcb_drawable_t drawable /**< */, 9061 xcb_gcontext_t gc /**< */, 9062 ushort width /**< */, 9063 ushort height /**< */, 9064 short dst_x /**< */, 9065 short dst_y /**< */, 9066 ubyte left_pad /**< */, 9067 ubyte depth /**< */, 9068 uint data_len /**< */, 9069 /+const+/ ubyte *data /**< */); 9070 9071 9072 /***************************************************************************** 9073 ** 9074 ** xcb_void_cookie_t xcb_put_image 9075 ** 9076 ** @param xcb_connection_t *c 9077 ** @param ubyte format 9078 ** @param xcb_drawable_t drawable 9079 ** @param xcb_gcontext_t gc 9080 ** @param ushort width 9081 ** @param ushort height 9082 ** @param short dst_x 9083 ** @param short dst_y 9084 ** @param ubyte left_pad 9085 ** @param ubyte depth 9086 ** @param uint data_len 9087 ** @param /+const+/ ubyte *data 9088 ** @returns xcb_void_cookie_t 9089 ** 9090 *****************************************************************************/ 9091 9092 extern(C) xcb_void_cookie_t 9093 xcb_put_image (xcb_connection_t *c /**< */, 9094 ubyte format /**< */, 9095 xcb_drawable_t drawable /**< */, 9096 xcb_gcontext_t gc /**< */, 9097 ushort width /**< */, 9098 ushort height /**< */, 9099 short dst_x /**< */, 9100 short dst_y /**< */, 9101 ubyte left_pad /**< */, 9102 ubyte depth /**< */, 9103 uint data_len /**< */, 9104 /+const+/ ubyte *data /**< */); 9105 9106 9107 /***************************************************************************** 9108 ** 9109 ** xcb_get_image_cookie_t xcb_get_image 9110 ** 9111 ** @param xcb_connection_t *c 9112 ** @param ubyte format 9113 ** @param xcb_drawable_t drawable 9114 ** @param short x 9115 ** @param short y 9116 ** @param ushort width 9117 ** @param ushort height 9118 ** @param uint plane_mask 9119 ** @returns xcb_get_image_cookie_t 9120 ** 9121 *****************************************************************************/ 9122 9123 extern(C) xcb_get_image_cookie_t 9124 xcb_get_image (xcb_connection_t *c /**< */, 9125 ubyte format /**< */, 9126 xcb_drawable_t drawable /**< */, 9127 short x /**< */, 9128 short y /**< */, 9129 ushort width /**< */, 9130 ushort height /**< */, 9131 uint plane_mask /**< */); 9132 9133 9134 /***************************************************************************** 9135 ** 9136 ** xcb_get_image_cookie_t xcb_get_image_unchecked 9137 ** 9138 ** @param xcb_connection_t *c 9139 ** @param ubyte format 9140 ** @param xcb_drawable_t drawable 9141 ** @param short x 9142 ** @param short y 9143 ** @param ushort width 9144 ** @param ushort height 9145 ** @param uint plane_mask 9146 ** @returns xcb_get_image_cookie_t 9147 ** 9148 *****************************************************************************/ 9149 9150 extern(C) xcb_get_image_cookie_t 9151 xcb_get_image_unchecked (xcb_connection_t *c /**< */, 9152 ubyte format /**< */, 9153 xcb_drawable_t drawable /**< */, 9154 short x /**< */, 9155 short y /**< */, 9156 ushort width /**< */, 9157 ushort height /**< */, 9158 uint plane_mask /**< */); 9159 9160 9161 /***************************************************************************** 9162 ** 9163 ** ubyte * xcb_get_image_data 9164 ** 9165 ** @param /+const+/ xcb_get_image_reply_t *R 9166 ** @returns ubyte * 9167 ** 9168 *****************************************************************************/ 9169 9170 extern(C) ubyte * 9171 xcb_get_image_data (/+const+/ xcb_get_image_reply_t *R /**< */); 9172 9173 9174 /***************************************************************************** 9175 ** 9176 ** int xcb_get_image_data_length 9177 ** 9178 ** @param /+const+/ xcb_get_image_reply_t *R 9179 ** @returns int 9180 ** 9181 *****************************************************************************/ 9182 9183 extern(C) int 9184 xcb_get_image_data_length (/+const+/ xcb_get_image_reply_t *R /**< */); 9185 9186 9187 /***************************************************************************** 9188 ** 9189 ** xcb_generic_iterator_t xcb_get_image_data_end 9190 ** 9191 ** @param /+const+/ xcb_get_image_reply_t *R 9192 ** @returns xcb_generic_iterator_t 9193 ** 9194 *****************************************************************************/ 9195 9196 extern(C) xcb_generic_iterator_t 9197 xcb_get_image_data_end (/+const+/ xcb_get_image_reply_t *R /**< */); 9198 9199 9200 /***************************************************************************** 9201 ** 9202 ** xcb_get_image_reply_t * xcb_get_image_reply 9203 ** 9204 ** @param xcb_connection_t *c 9205 ** @param xcb_get_image_cookie_t cookie 9206 ** @param xcb_generic_error_t **e 9207 ** @returns xcb_get_image_reply_t * 9208 ** 9209 *****************************************************************************/ 9210 9211 extern(C) xcb_get_image_reply_t * 9212 xcb_get_image_reply (xcb_connection_t *c /**< */, 9213 xcb_get_image_cookie_t cookie /**< */, 9214 xcb_generic_error_t **e /**< */); 9215 9216 9217 /***************************************************************************** 9218 ** 9219 ** xcb_void_cookie_t xcb_poly_text_8_checked 9220 ** 9221 ** @param xcb_connection_t *c 9222 ** @param xcb_drawable_t drawable 9223 ** @param xcb_gcontext_t gc 9224 ** @param short x 9225 ** @param short y 9226 ** @param uint items_len 9227 ** @param /+const+/ ubyte *items 9228 ** @returns xcb_void_cookie_t 9229 ** 9230 *****************************************************************************/ 9231 9232 extern(C) xcb_void_cookie_t 9233 xcb_poly_text_8_checked (xcb_connection_t *c /**< */, 9234 xcb_drawable_t drawable /**< */, 9235 xcb_gcontext_t gc /**< */, 9236 short x /**< */, 9237 short y /**< */, 9238 uint items_len /**< */, 9239 /+const+/ ubyte *items /**< */); 9240 9241 9242 /***************************************************************************** 9243 ** 9244 ** xcb_void_cookie_t xcb_poly_text_8 9245 ** 9246 ** @param xcb_connection_t *c 9247 ** @param xcb_drawable_t drawable 9248 ** @param xcb_gcontext_t gc 9249 ** @param short x 9250 ** @param short y 9251 ** @param uint items_len 9252 ** @param /+const+/ ubyte *items 9253 ** @returns xcb_void_cookie_t 9254 ** 9255 *****************************************************************************/ 9256 9257 extern(C) xcb_void_cookie_t 9258 xcb_poly_text_8 (xcb_connection_t *c /**< */, 9259 xcb_drawable_t drawable /**< */, 9260 xcb_gcontext_t gc /**< */, 9261 short x /**< */, 9262 short y /**< */, 9263 uint items_len /**< */, 9264 /+const+/ ubyte *items /**< */); 9265 9266 9267 /***************************************************************************** 9268 ** 9269 ** xcb_void_cookie_t xcb_poly_text_16_checked 9270 ** 9271 ** @param xcb_connection_t *c 9272 ** @param xcb_drawable_t drawable 9273 ** @param xcb_gcontext_t gc 9274 ** @param short x 9275 ** @param short y 9276 ** @param uint items_len 9277 ** @param /+const+/ ubyte *items 9278 ** @returns xcb_void_cookie_t 9279 ** 9280 *****************************************************************************/ 9281 9282 extern(C) xcb_void_cookie_t 9283 xcb_poly_text_16_checked (xcb_connection_t *c /**< */, 9284 xcb_drawable_t drawable /**< */, 9285 xcb_gcontext_t gc /**< */, 9286 short x /**< */, 9287 short y /**< */, 9288 uint items_len /**< */, 9289 /+const+/ ubyte *items /**< */); 9290 9291 9292 /***************************************************************************** 9293 ** 9294 ** xcb_void_cookie_t xcb_poly_text_16 9295 ** 9296 ** @param xcb_connection_t *c 9297 ** @param xcb_drawable_t drawable 9298 ** @param xcb_gcontext_t gc 9299 ** @param short x 9300 ** @param short y 9301 ** @param uint items_len 9302 ** @param /+const+/ ubyte *items 9303 ** @returns xcb_void_cookie_t 9304 ** 9305 *****************************************************************************/ 9306 9307 extern(C) xcb_void_cookie_t 9308 xcb_poly_text_16 (xcb_connection_t *c /**< */, 9309 xcb_drawable_t drawable /**< */, 9310 xcb_gcontext_t gc /**< */, 9311 short x /**< */, 9312 short y /**< */, 9313 uint items_len /**< */, 9314 /+const+/ ubyte *items /**< */); 9315 9316 9317 /***************************************************************************** 9318 ** 9319 ** xcb_void_cookie_t xcb_image_text_8_checked 9320 ** 9321 ** @param xcb_connection_t *c 9322 ** @param ubyte string_len 9323 ** @param xcb_drawable_t drawable 9324 ** @param xcb_gcontext_t gc 9325 ** @param short x 9326 ** @param short y 9327 ** @param /+const+/ char *string 9328 ** @returns xcb_void_cookie_t 9329 ** 9330 *****************************************************************************/ 9331 9332 extern(C) xcb_void_cookie_t 9333 xcb_image_text_8_checked (xcb_connection_t *c /**< */, 9334 ubyte string_len /**< */, 9335 xcb_drawable_t drawable /**< */, 9336 xcb_gcontext_t gc /**< */, 9337 short x /**< */, 9338 short y /**< */, 9339 /+const+/ char *string /**< */); 9340 9341 9342 /***************************************************************************** 9343 ** 9344 ** xcb_void_cookie_t xcb_image_text_8 9345 ** 9346 ** @param xcb_connection_t *c 9347 ** @param ubyte string_len 9348 ** @param xcb_drawable_t drawable 9349 ** @param xcb_gcontext_t gc 9350 ** @param short x 9351 ** @param short y 9352 ** @param /+const+/ char *string 9353 ** @returns xcb_void_cookie_t 9354 ** 9355 *****************************************************************************/ 9356 9357 extern(C) xcb_void_cookie_t 9358 xcb_image_text_8 (xcb_connection_t *c /**< */, 9359 ubyte string_len /**< */, 9360 xcb_drawable_t drawable /**< */, 9361 xcb_gcontext_t gc /**< */, 9362 short x /**< */, 9363 short y /**< */, 9364 /+const+/ char *string /**< */); 9365 9366 9367 /***************************************************************************** 9368 ** 9369 ** xcb_void_cookie_t xcb_image_text_16_checked 9370 ** 9371 ** @param xcb_connection_t *c 9372 ** @param ubyte string_len 9373 ** @param xcb_drawable_t drawable 9374 ** @param xcb_gcontext_t gc 9375 ** @param short x 9376 ** @param short y 9377 ** @param /+const+/ xcb_char2b_t *string 9378 ** @returns xcb_void_cookie_t 9379 ** 9380 *****************************************************************************/ 9381 9382 extern(C) xcb_void_cookie_t 9383 xcb_image_text_16_checked (xcb_connection_t *c /**< */, 9384 ubyte string_len /**< */, 9385 xcb_drawable_t drawable /**< */, 9386 xcb_gcontext_t gc /**< */, 9387 short x /**< */, 9388 short y /**< */, 9389 /+const+/ xcb_char2b_t *string /**< */); 9390 9391 9392 /***************************************************************************** 9393 ** 9394 ** xcb_void_cookie_t xcb_image_text_16 9395 ** 9396 ** @param xcb_connection_t *c 9397 ** @param ubyte string_len 9398 ** @param xcb_drawable_t drawable 9399 ** @param xcb_gcontext_t gc 9400 ** @param short x 9401 ** @param short y 9402 ** @param /+const+/ xcb_char2b_t *string 9403 ** @returns xcb_void_cookie_t 9404 ** 9405 *****************************************************************************/ 9406 9407 extern(C) xcb_void_cookie_t 9408 xcb_image_text_16 (xcb_connection_t *c /**< */, 9409 ubyte string_len /**< */, 9410 xcb_drawable_t drawable /**< */, 9411 xcb_gcontext_t gc /**< */, 9412 short x /**< */, 9413 short y /**< */, 9414 /+const+/ xcb_char2b_t *string /**< */); 9415 9416 9417 /***************************************************************************** 9418 ** 9419 ** xcb_void_cookie_t xcb_create_colormap_checked 9420 ** 9421 ** @param xcb_connection_t *c 9422 ** @param ubyte alloc 9423 ** @param xcb_colormap_t mid 9424 ** @param xcb_window_t window 9425 ** @param xcb_visualid_t visual 9426 ** @returns xcb_void_cookie_t 9427 ** 9428 *****************************************************************************/ 9429 9430 extern(C) xcb_void_cookie_t 9431 xcb_create_colormap_checked (xcb_connection_t *c /**< */, 9432 ubyte alloc /**< */, 9433 xcb_colormap_t mid /**< */, 9434 xcb_window_t window /**< */, 9435 xcb_visualid_t visual /**< */); 9436 9437 9438 /***************************************************************************** 9439 ** 9440 ** xcb_void_cookie_t xcb_create_colormap 9441 ** 9442 ** @param xcb_connection_t *c 9443 ** @param ubyte alloc 9444 ** @param xcb_colormap_t mid 9445 ** @param xcb_window_t window 9446 ** @param xcb_visualid_t visual 9447 ** @returns xcb_void_cookie_t 9448 ** 9449 *****************************************************************************/ 9450 9451 extern(C) xcb_void_cookie_t 9452 xcb_create_colormap (xcb_connection_t *c /**< */, 9453 ubyte alloc /**< */, 9454 xcb_colormap_t mid /**< */, 9455 xcb_window_t window /**< */, 9456 xcb_visualid_t visual /**< */); 9457 9458 9459 /***************************************************************************** 9460 ** 9461 ** xcb_void_cookie_t xcb_free_colormap_checked 9462 ** 9463 ** @param xcb_connection_t *c 9464 ** @param xcb_colormap_t cmap 9465 ** @returns xcb_void_cookie_t 9466 ** 9467 *****************************************************************************/ 9468 9469 extern(C) xcb_void_cookie_t 9470 xcb_free_colormap_checked (xcb_connection_t *c /**< */, 9471 xcb_colormap_t cmap /**< */); 9472 9473 9474 /***************************************************************************** 9475 ** 9476 ** xcb_void_cookie_t xcb_free_colormap 9477 ** 9478 ** @param xcb_connection_t *c 9479 ** @param xcb_colormap_t cmap 9480 ** @returns xcb_void_cookie_t 9481 ** 9482 *****************************************************************************/ 9483 9484 extern(C) xcb_void_cookie_t 9485 xcb_free_colormap (xcb_connection_t *c /**< */, 9486 xcb_colormap_t cmap /**< */); 9487 9488 9489 /***************************************************************************** 9490 ** 9491 ** xcb_void_cookie_t xcb_copy_colormap_and_free_checked 9492 ** 9493 ** @param xcb_connection_t *c 9494 ** @param xcb_colormap_t mid 9495 ** @param xcb_colormap_t src_cmap 9496 ** @returns xcb_void_cookie_t 9497 ** 9498 *****************************************************************************/ 9499 9500 extern(C) xcb_void_cookie_t 9501 xcb_copy_colormap_and_free_checked (xcb_connection_t *c /**< */, 9502 xcb_colormap_t mid /**< */, 9503 xcb_colormap_t src_cmap /**< */); 9504 9505 9506 /***************************************************************************** 9507 ** 9508 ** xcb_void_cookie_t xcb_copy_colormap_and_free 9509 ** 9510 ** @param xcb_connection_t *c 9511 ** @param xcb_colormap_t mid 9512 ** @param xcb_colormap_t src_cmap 9513 ** @returns xcb_void_cookie_t 9514 ** 9515 *****************************************************************************/ 9516 9517 extern(C) xcb_void_cookie_t 9518 xcb_copy_colormap_and_free (xcb_connection_t *c /**< */, 9519 xcb_colormap_t mid /**< */, 9520 xcb_colormap_t src_cmap /**< */); 9521 9522 9523 /***************************************************************************** 9524 ** 9525 ** xcb_void_cookie_t xcb_install_colormap_checked 9526 ** 9527 ** @param xcb_connection_t *c 9528 ** @param xcb_colormap_t cmap 9529 ** @returns xcb_void_cookie_t 9530 ** 9531 *****************************************************************************/ 9532 9533 extern(C) xcb_void_cookie_t 9534 xcb_install_colormap_checked (xcb_connection_t *c /**< */, 9535 xcb_colormap_t cmap /**< */); 9536 9537 9538 /***************************************************************************** 9539 ** 9540 ** xcb_void_cookie_t xcb_install_colormap 9541 ** 9542 ** @param xcb_connection_t *c 9543 ** @param xcb_colormap_t cmap 9544 ** @returns xcb_void_cookie_t 9545 ** 9546 *****************************************************************************/ 9547 9548 extern(C) xcb_void_cookie_t 9549 xcb_install_colormap (xcb_connection_t *c /**< */, 9550 xcb_colormap_t cmap /**< */); 9551 9552 9553 /***************************************************************************** 9554 ** 9555 ** xcb_void_cookie_t xcb_uninstall_colormap_checked 9556 ** 9557 ** @param xcb_connection_t *c 9558 ** @param xcb_colormap_t cmap 9559 ** @returns xcb_void_cookie_t 9560 ** 9561 *****************************************************************************/ 9562 9563 extern(C) xcb_void_cookie_t 9564 xcb_uninstall_colormap_checked (xcb_connection_t *c /**< */, 9565 xcb_colormap_t cmap /**< */); 9566 9567 9568 /***************************************************************************** 9569 ** 9570 ** xcb_void_cookie_t xcb_uninstall_colormap 9571 ** 9572 ** @param xcb_connection_t *c 9573 ** @param xcb_colormap_t cmap 9574 ** @returns xcb_void_cookie_t 9575 ** 9576 *****************************************************************************/ 9577 9578 extern(C) xcb_void_cookie_t 9579 xcb_uninstall_colormap (xcb_connection_t *c /**< */, 9580 xcb_colormap_t cmap /**< */); 9581 9582 9583 /***************************************************************************** 9584 ** 9585 ** xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps 9586 ** 9587 ** @param xcb_connection_t *c 9588 ** @param xcb_window_t window 9589 ** @returns xcb_list_installed_colormaps_cookie_t 9590 ** 9591 *****************************************************************************/ 9592 9593 extern(C) xcb_list_installed_colormaps_cookie_t 9594 xcb_list_installed_colormaps (xcb_connection_t *c /**< */, 9595 xcb_window_t window /**< */); 9596 9597 9598 /***************************************************************************** 9599 ** 9600 ** xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps_unchecked 9601 ** 9602 ** @param xcb_connection_t *c 9603 ** @param xcb_window_t window 9604 ** @returns xcb_list_installed_colormaps_cookie_t 9605 ** 9606 *****************************************************************************/ 9607 9608 extern(C) xcb_list_installed_colormaps_cookie_t 9609 xcb_list_installed_colormaps_unchecked (xcb_connection_t *c /**< */, 9610 xcb_window_t window /**< */); 9611 9612 9613 /***************************************************************************** 9614 ** 9615 ** xcb_colormap_t * xcb_list_installed_colormaps_cmaps 9616 ** 9617 ** @param /+const+/ xcb_list_installed_colormaps_reply_t *R 9618 ** @returns xcb_colormap_t * 9619 ** 9620 *****************************************************************************/ 9621 9622 extern(C) xcb_colormap_t * 9623 xcb_list_installed_colormaps_cmaps (/+const+/ xcb_list_installed_colormaps_reply_t *R /**< */); 9624 9625 9626 /***************************************************************************** 9627 ** 9628 ** int xcb_list_installed_colormaps_cmaps_length 9629 ** 9630 ** @param /+const+/ xcb_list_installed_colormaps_reply_t *R 9631 ** @returns int 9632 ** 9633 *****************************************************************************/ 9634 9635 extern(C) int 9636 xcb_list_installed_colormaps_cmaps_length (/+const+/ xcb_list_installed_colormaps_reply_t *R /**< */); 9637 9638 9639 /***************************************************************************** 9640 ** 9641 ** xcb_colormap_iterator_t xcb_list_installed_colormaps_cmaps_iterator 9642 ** 9643 ** @param /+const+/ xcb_list_installed_colormaps_reply_t *R 9644 ** @returns xcb_colormap_iterator_t 9645 ** 9646 *****************************************************************************/ 9647 9648 extern(C) xcb_colormap_iterator_t 9649 xcb_list_installed_colormaps_cmaps_iterator (/+const+/ xcb_list_installed_colormaps_reply_t *R /**< */); 9650 9651 9652 /***************************************************************************** 9653 ** 9654 ** xcb_list_installed_colormaps_reply_t * xcb_list_installed_colormaps_reply 9655 ** 9656 ** @param xcb_connection_t *c 9657 ** @param xcb_list_installed_colormaps_cookie_t cookie 9658 ** @param xcb_generic_error_t **e 9659 ** @returns xcb_list_installed_colormaps_reply_t * 9660 ** 9661 *****************************************************************************/ 9662 9663 extern(C) xcb_list_installed_colormaps_reply_t * 9664 xcb_list_installed_colormaps_reply (xcb_connection_t *c /**< */, 9665 xcb_list_installed_colormaps_cookie_t cookie /**< */, 9666 xcb_generic_error_t **e /**< */); 9667 9668 9669 /***************************************************************************** 9670 ** 9671 ** xcb_alloc_color_cookie_t xcb_alloc_color 9672 ** 9673 ** @param xcb_connection_t *c 9674 ** @param xcb_colormap_t cmap 9675 ** @param ushort red 9676 ** @param ushort green 9677 ** @param ushort blue 9678 ** @returns xcb_alloc_color_cookie_t 9679 ** 9680 *****************************************************************************/ 9681 9682 extern(C) xcb_alloc_color_cookie_t 9683 xcb_alloc_color (xcb_connection_t *c /**< */, 9684 xcb_colormap_t cmap /**< */, 9685 ushort red /**< */, 9686 ushort green /**< */, 9687 ushort blue /**< */); 9688 9689 9690 /***************************************************************************** 9691 ** 9692 ** xcb_alloc_color_cookie_t xcb_alloc_color_unchecked 9693 ** 9694 ** @param xcb_connection_t *c 9695 ** @param xcb_colormap_t cmap 9696 ** @param ushort red 9697 ** @param ushort green 9698 ** @param ushort blue 9699 ** @returns xcb_alloc_color_cookie_t 9700 ** 9701 *****************************************************************************/ 9702 9703 extern(C) xcb_alloc_color_cookie_t 9704 xcb_alloc_color_unchecked (xcb_connection_t *c /**< */, 9705 xcb_colormap_t cmap /**< */, 9706 ushort red /**< */, 9707 ushort green /**< */, 9708 ushort blue /**< */); 9709 9710 9711 /***************************************************************************** 9712 ** 9713 ** xcb_alloc_color_reply_t * xcb_alloc_color_reply 9714 ** 9715 ** @param xcb_connection_t *c 9716 ** @param xcb_alloc_color_cookie_t cookie 9717 ** @param xcb_generic_error_t **e 9718 ** @returns xcb_alloc_color_reply_t * 9719 ** 9720 *****************************************************************************/ 9721 9722 extern(C) xcb_alloc_color_reply_t * 9723 xcb_alloc_color_reply (xcb_connection_t *c /**< */, 9724 xcb_alloc_color_cookie_t cookie /**< */, 9725 xcb_generic_error_t **e /**< */); 9726 9727 9728 /***************************************************************************** 9729 ** 9730 ** xcb_alloc_named_color_cookie_t xcb_alloc_named_color 9731 ** 9732 ** @param xcb_connection_t *c 9733 ** @param xcb_colormap_t cmap 9734 ** @param ushort name_len 9735 ** @param /+const+/ char *name 9736 ** @returns xcb_alloc_named_color_cookie_t 9737 ** 9738 *****************************************************************************/ 9739 9740 extern(C) xcb_alloc_named_color_cookie_t 9741 xcb_alloc_named_color (xcb_connection_t *c /**< */, 9742 xcb_colormap_t cmap /**< */, 9743 ushort name_len /**< */, 9744 /+const+/ char *name /**< */); 9745 9746 9747 /***************************************************************************** 9748 ** 9749 ** xcb_alloc_named_color_cookie_t xcb_alloc_named_color_unchecked 9750 ** 9751 ** @param xcb_connection_t *c 9752 ** @param xcb_colormap_t cmap 9753 ** @param ushort name_len 9754 ** @param /+const+/ char *name 9755 ** @returns xcb_alloc_named_color_cookie_t 9756 ** 9757 *****************************************************************************/ 9758 9759 extern(C) xcb_alloc_named_color_cookie_t 9760 xcb_alloc_named_color_unchecked (xcb_connection_t *c /**< */, 9761 xcb_colormap_t cmap /**< */, 9762 ushort name_len /**< */, 9763 /+const+/ char *name /**< */); 9764 9765 9766 /***************************************************************************** 9767 ** 9768 ** xcb_alloc_named_color_reply_t * xcb_alloc_named_color_reply 9769 ** 9770 ** @param xcb_connection_t *c 9771 ** @param xcb_alloc_named_color_cookie_t cookie 9772 ** @param xcb_generic_error_t **e 9773 ** @returns xcb_alloc_named_color_reply_t * 9774 ** 9775 *****************************************************************************/ 9776 9777 extern(C) xcb_alloc_named_color_reply_t * 9778 xcb_alloc_named_color_reply (xcb_connection_t *c /**< */, 9779 xcb_alloc_named_color_cookie_t cookie /**< */, 9780 xcb_generic_error_t **e /**< */); 9781 9782 9783 /***************************************************************************** 9784 ** 9785 ** xcb_alloc_color_cells_cookie_t xcb_alloc_color_cells 9786 ** 9787 ** @param xcb_connection_t *c 9788 ** @param bool contiguous 9789 ** @param xcb_colormap_t cmap 9790 ** @param ushort colors 9791 ** @param ushort planes 9792 ** @returns xcb_alloc_color_cells_cookie_t 9793 ** 9794 *****************************************************************************/ 9795 9796 extern(C) xcb_alloc_color_cells_cookie_t 9797 xcb_alloc_color_cells (xcb_connection_t *c /**< */, 9798 bool contiguous /**< */, 9799 xcb_colormap_t cmap /**< */, 9800 ushort colors /**< */, 9801 ushort planes /**< */); 9802 9803 9804 /***************************************************************************** 9805 ** 9806 ** xcb_alloc_color_cells_cookie_t xcb_alloc_color_cells_unchecked 9807 ** 9808 ** @param xcb_connection_t *c 9809 ** @param bool contiguous 9810 ** @param xcb_colormap_t cmap 9811 ** @param ushort colors 9812 ** @param ushort planes 9813 ** @returns xcb_alloc_color_cells_cookie_t 9814 ** 9815 *****************************************************************************/ 9816 9817 extern(C) xcb_alloc_color_cells_cookie_t 9818 xcb_alloc_color_cells_unchecked (xcb_connection_t *c /**< */, 9819 bool contiguous /**< */, 9820 xcb_colormap_t cmap /**< */, 9821 ushort colors /**< */, 9822 ushort planes /**< */); 9823 9824 9825 /***************************************************************************** 9826 ** 9827 ** uint * xcb_alloc_color_cells_pixels 9828 ** 9829 ** @param /+const+/ xcb_alloc_color_cells_reply_t *R 9830 ** @returns uint * 9831 ** 9832 *****************************************************************************/ 9833 9834 extern(C) uint * 9835 xcb_alloc_color_cells_pixels (/+const+/ xcb_alloc_color_cells_reply_t *R /**< */); 9836 9837 9838 /***************************************************************************** 9839 ** 9840 ** int xcb_alloc_color_cells_pixels_length 9841 ** 9842 ** @param /+const+/ xcb_alloc_color_cells_reply_t *R 9843 ** @returns int 9844 ** 9845 *****************************************************************************/ 9846 9847 extern(C) int 9848 xcb_alloc_color_cells_pixels_length (/+const+/ xcb_alloc_color_cells_reply_t *R /**< */); 9849 9850 9851 /***************************************************************************** 9852 ** 9853 ** xcb_generic_iterator_t xcb_alloc_color_cells_pixels_end 9854 ** 9855 ** @param /+const+/ xcb_alloc_color_cells_reply_t *R 9856 ** @returns xcb_generic_iterator_t 9857 ** 9858 *****************************************************************************/ 9859 9860 extern(C) xcb_generic_iterator_t 9861 xcb_alloc_color_cells_pixels_end (/+const+/ xcb_alloc_color_cells_reply_t *R /**< */); 9862 9863 9864 /***************************************************************************** 9865 ** 9866 ** uint * xcb_alloc_color_cells_masks 9867 ** 9868 ** @param /+const+/ xcb_alloc_color_cells_reply_t *R 9869 ** @returns uint * 9870 ** 9871 *****************************************************************************/ 9872 9873 extern(C) uint * 9874 xcb_alloc_color_cells_masks (/+const+/ xcb_alloc_color_cells_reply_t *R /**< */); 9875 9876 9877 /***************************************************************************** 9878 ** 9879 ** int xcb_alloc_color_cells_masks_length 9880 ** 9881 ** @param /+const+/ xcb_alloc_color_cells_reply_t *R 9882 ** @returns int 9883 ** 9884 *****************************************************************************/ 9885 9886 extern(C) int 9887 xcb_alloc_color_cells_masks_length (/+const+/ xcb_alloc_color_cells_reply_t *R /**< */); 9888 9889 9890 /***************************************************************************** 9891 ** 9892 ** xcb_generic_iterator_t xcb_alloc_color_cells_masks_end 9893 ** 9894 ** @param /+const+/ xcb_alloc_color_cells_reply_t *R 9895 ** @returns xcb_generic_iterator_t 9896 ** 9897 *****************************************************************************/ 9898 9899 extern(C) xcb_generic_iterator_t 9900 xcb_alloc_color_cells_masks_end (/+const+/ xcb_alloc_color_cells_reply_t *R /**< */); 9901 9902 9903 /***************************************************************************** 9904 ** 9905 ** xcb_alloc_color_cells_reply_t * xcb_alloc_color_cells_reply 9906 ** 9907 ** @param xcb_connection_t *c 9908 ** @param xcb_alloc_color_cells_cookie_t cookie 9909 ** @param xcb_generic_error_t **e 9910 ** @returns xcb_alloc_color_cells_reply_t * 9911 ** 9912 *****************************************************************************/ 9913 9914 extern(C) xcb_alloc_color_cells_reply_t * 9915 xcb_alloc_color_cells_reply (xcb_connection_t *c /**< */, 9916 xcb_alloc_color_cells_cookie_t cookie /**< */, 9917 xcb_generic_error_t **e /**< */); 9918 9919 9920 /***************************************************************************** 9921 ** 9922 ** xcb_alloc_color_planes_cookie_t xcb_alloc_color_planes 9923 ** 9924 ** @param xcb_connection_t *c 9925 ** @param bool contiguous 9926 ** @param xcb_colormap_t cmap 9927 ** @param ushort colors 9928 ** @param ushort reds 9929 ** @param ushort greens 9930 ** @param ushort blues 9931 ** @returns xcb_alloc_color_planes_cookie_t 9932 ** 9933 *****************************************************************************/ 9934 9935 extern(C) xcb_alloc_color_planes_cookie_t 9936 xcb_alloc_color_planes (xcb_connection_t *c /**< */, 9937 bool contiguous /**< */, 9938 xcb_colormap_t cmap /**< */, 9939 ushort colors /**< */, 9940 ushort reds /**< */, 9941 ushort greens /**< */, 9942 ushort blues /**< */); 9943 9944 9945 /***************************************************************************** 9946 ** 9947 ** xcb_alloc_color_planes_cookie_t xcb_alloc_color_planes_unchecked 9948 ** 9949 ** @param xcb_connection_t *c 9950 ** @param bool contiguous 9951 ** @param xcb_colormap_t cmap 9952 ** @param ushort colors 9953 ** @param ushort reds 9954 ** @param ushort greens 9955 ** @param ushort blues 9956 ** @returns xcb_alloc_color_planes_cookie_t 9957 ** 9958 *****************************************************************************/ 9959 9960 extern(C) xcb_alloc_color_planes_cookie_t 9961 xcb_alloc_color_planes_unchecked (xcb_connection_t *c /**< */, 9962 bool contiguous /**< */, 9963 xcb_colormap_t cmap /**< */, 9964 ushort colors /**< */, 9965 ushort reds /**< */, 9966 ushort greens /**< */, 9967 ushort blues /**< */); 9968 9969 9970 /***************************************************************************** 9971 ** 9972 ** uint * xcb_alloc_color_planes_pixels 9973 ** 9974 ** @param /+const+/ xcb_alloc_color_planes_reply_t *R 9975 ** @returns uint * 9976 ** 9977 *****************************************************************************/ 9978 9979 extern(C) uint * 9980 xcb_alloc_color_planes_pixels (/+const+/ xcb_alloc_color_planes_reply_t *R /**< */); 9981 9982 9983 /***************************************************************************** 9984 ** 9985 ** int xcb_alloc_color_planes_pixels_length 9986 ** 9987 ** @param /+const+/ xcb_alloc_color_planes_reply_t *R 9988 ** @returns int 9989 ** 9990 *****************************************************************************/ 9991 9992 extern(C) int 9993 xcb_alloc_color_planes_pixels_length (/+const+/ xcb_alloc_color_planes_reply_t *R /**< */); 9994 9995 9996 /***************************************************************************** 9997 ** 9998 ** xcb_generic_iterator_t xcb_alloc_color_planes_pixels_end 9999 ** 10000 ** @param /+const+/ xcb_alloc_color_planes_reply_t *R 10001 ** @returns xcb_generic_iterator_t 10002 ** 10003 *****************************************************************************/ 10004 10005 extern(C) xcb_generic_iterator_t 10006 xcb_alloc_color_planes_pixels_end (/+const+/ xcb_alloc_color_planes_reply_t *R /**< */); 10007 10008 10009 /***************************************************************************** 10010 ** 10011 ** xcb_alloc_color_planes_reply_t * xcb_alloc_color_planes_reply 10012 ** 10013 ** @param xcb_connection_t *c 10014 ** @param xcb_alloc_color_planes_cookie_t cookie 10015 ** @param xcb_generic_error_t **e 10016 ** @returns xcb_alloc_color_planes_reply_t * 10017 ** 10018 *****************************************************************************/ 10019 10020 extern(C) xcb_alloc_color_planes_reply_t * 10021 xcb_alloc_color_planes_reply (xcb_connection_t *c /**< */, 10022 xcb_alloc_color_planes_cookie_t cookie /**< */, 10023 xcb_generic_error_t **e /**< */); 10024 10025 10026 /***************************************************************************** 10027 ** 10028 ** xcb_void_cookie_t xcb_free_colors_checked 10029 ** 10030 ** @param xcb_connection_t *c 10031 ** @param xcb_colormap_t cmap 10032 ** @param uint plane_mask 10033 ** @param uint pixels_len 10034 ** @param /+const+/ uint *pixels 10035 ** @returns xcb_void_cookie_t 10036 ** 10037 *****************************************************************************/ 10038 10039 extern(C) xcb_void_cookie_t 10040 xcb_free_colors_checked (xcb_connection_t *c /**< */, 10041 xcb_colormap_t cmap /**< */, 10042 uint plane_mask /**< */, 10043 uint pixels_len /**< */, 10044 /+const+/ uint *pixels /**< */); 10045 10046 10047 /***************************************************************************** 10048 ** 10049 ** xcb_void_cookie_t xcb_free_colors 10050 ** 10051 ** @param xcb_connection_t *c 10052 ** @param xcb_colormap_t cmap 10053 ** @param uint plane_mask 10054 ** @param uint pixels_len 10055 ** @param /+const+/ uint *pixels 10056 ** @returns xcb_void_cookie_t 10057 ** 10058 *****************************************************************************/ 10059 10060 extern(C) xcb_void_cookie_t 10061 xcb_free_colors (xcb_connection_t *c /**< */, 10062 xcb_colormap_t cmap /**< */, 10063 uint plane_mask /**< */, 10064 uint pixels_len /**< */, 10065 /+const+/ uint *pixels /**< */); 10066 10067 10068 /***************************************************************************** 10069 ** 10070 ** void xcb_coloritem_next 10071 ** 10072 ** @param xcb_coloritem_iterator_t *i 10073 ** @returns void 10074 ** 10075 *****************************************************************************/ 10076 10077 extern(C) void 10078 xcb_coloritem_next (xcb_coloritem_iterator_t *i /**< */); 10079 10080 10081 /***************************************************************************** 10082 ** 10083 ** xcb_generic_iterator_t xcb_coloritem_end 10084 ** 10085 ** @param xcb_coloritem_iterator_t i 10086 ** @returns xcb_generic_iterator_t 10087 ** 10088 *****************************************************************************/ 10089 10090 extern(C) xcb_generic_iterator_t 10091 xcb_coloritem_end (xcb_coloritem_iterator_t i /**< */); 10092 10093 10094 /***************************************************************************** 10095 ** 10096 ** xcb_void_cookie_t xcb_store_colors_checked 10097 ** 10098 ** @param xcb_connection_t *c 10099 ** @param xcb_colormap_t cmap 10100 ** @param uint items_len 10101 ** @param /+const+/ xcb_coloritem_t *items 10102 ** @returns xcb_void_cookie_t 10103 ** 10104 *****************************************************************************/ 10105 10106 extern(C) xcb_void_cookie_t 10107 xcb_store_colors_checked (xcb_connection_t *c /**< */, 10108 xcb_colormap_t cmap /**< */, 10109 uint items_len /**< */, 10110 /+const+/ xcb_coloritem_t *items /**< */); 10111 10112 10113 /***************************************************************************** 10114 ** 10115 ** xcb_void_cookie_t xcb_store_colors 10116 ** 10117 ** @param xcb_connection_t *c 10118 ** @param xcb_colormap_t cmap 10119 ** @param uint items_len 10120 ** @param /+const+/ xcb_coloritem_t *items 10121 ** @returns xcb_void_cookie_t 10122 ** 10123 *****************************************************************************/ 10124 10125 extern(C) xcb_void_cookie_t 10126 xcb_store_colors (xcb_connection_t *c /**< */, 10127 xcb_colormap_t cmap /**< */, 10128 uint items_len /**< */, 10129 /+const+/ xcb_coloritem_t *items /**< */); 10130 10131 10132 /***************************************************************************** 10133 ** 10134 ** xcb_void_cookie_t xcb_store_named_color_checked 10135 ** 10136 ** @param xcb_connection_t *c 10137 ** @param ubyte flags 10138 ** @param xcb_colormap_t cmap 10139 ** @param uint pixel 10140 ** @param ushort name_len 10141 ** @param /+const+/ char *name 10142 ** @returns xcb_void_cookie_t 10143 ** 10144 *****************************************************************************/ 10145 10146 extern(C) xcb_void_cookie_t 10147 xcb_store_named_color_checked (xcb_connection_t *c /**< */, 10148 ubyte flags /**< */, 10149 xcb_colormap_t cmap /**< */, 10150 uint pixel /**< */, 10151 ushort name_len /**< */, 10152 /+const+/ char *name /**< */); 10153 10154 10155 /***************************************************************************** 10156 ** 10157 ** xcb_void_cookie_t xcb_store_named_color 10158 ** 10159 ** @param xcb_connection_t *c 10160 ** @param ubyte flags 10161 ** @param xcb_colormap_t cmap 10162 ** @param uint pixel 10163 ** @param ushort name_len 10164 ** @param /+const+/ char *name 10165 ** @returns xcb_void_cookie_t 10166 ** 10167 *****************************************************************************/ 10168 10169 extern(C) xcb_void_cookie_t 10170 xcb_store_named_color (xcb_connection_t *c /**< */, 10171 ubyte flags /**< */, 10172 xcb_colormap_t cmap /**< */, 10173 uint pixel /**< */, 10174 ushort name_len /**< */, 10175 /+const+/ char *name /**< */); 10176 10177 10178 /***************************************************************************** 10179 ** 10180 ** void xcb_rgb_next 10181 ** 10182 ** @param xcb_rgb_iterator_t *i 10183 ** @returns void 10184 ** 10185 *****************************************************************************/ 10186 10187 extern(C) void 10188 xcb_rgb_next (xcb_rgb_iterator_t *i /**< */); 10189 10190 10191 /***************************************************************************** 10192 ** 10193 ** xcb_generic_iterator_t xcb_rgb_end 10194 ** 10195 ** @param xcb_rgb_iterator_t i 10196 ** @returns xcb_generic_iterator_t 10197 ** 10198 *****************************************************************************/ 10199 10200 extern(C) xcb_generic_iterator_t 10201 xcb_rgb_end (xcb_rgb_iterator_t i /**< */); 10202 10203 10204 /***************************************************************************** 10205 ** 10206 ** xcb_query_colors_cookie_t xcb_query_colors 10207 ** 10208 ** @param xcb_connection_t *c 10209 ** @param xcb_colormap_t cmap 10210 ** @param uint pixels_len 10211 ** @param /+const+/ uint *pixels 10212 ** @returns xcb_query_colors_cookie_t 10213 ** 10214 *****************************************************************************/ 10215 10216 extern(C) xcb_query_colors_cookie_t 10217 xcb_query_colors (xcb_connection_t *c /**< */, 10218 xcb_colormap_t cmap /**< */, 10219 uint pixels_len /**< */, 10220 /+const+/ uint *pixels /**< */); 10221 10222 10223 /***************************************************************************** 10224 ** 10225 ** xcb_query_colors_cookie_t xcb_query_colors_unchecked 10226 ** 10227 ** @param xcb_connection_t *c 10228 ** @param xcb_colormap_t cmap 10229 ** @param uint pixels_len 10230 ** @param /+const+/ uint *pixels 10231 ** @returns xcb_query_colors_cookie_t 10232 ** 10233 *****************************************************************************/ 10234 10235 extern(C) xcb_query_colors_cookie_t 10236 xcb_query_colors_unchecked (xcb_connection_t *c /**< */, 10237 xcb_colormap_t cmap /**< */, 10238 uint pixels_len /**< */, 10239 /+const+/ uint *pixels /**< */); 10240 10241 10242 /***************************************************************************** 10243 ** 10244 ** xcb_rgb_t * xcb_query_colors_colors 10245 ** 10246 ** @param /+const+/ xcb_query_colors_reply_t *R 10247 ** @returns xcb_rgb_t * 10248 ** 10249 *****************************************************************************/ 10250 10251 extern(C) xcb_rgb_t * 10252 xcb_query_colors_colors (/+const+/ xcb_query_colors_reply_t *R /**< */); 10253 10254 10255 /***************************************************************************** 10256 ** 10257 ** int xcb_query_colors_colors_length 10258 ** 10259 ** @param /+const+/ xcb_query_colors_reply_t *R 10260 ** @returns int 10261 ** 10262 *****************************************************************************/ 10263 10264 extern(C) int 10265 xcb_query_colors_colors_length (/+const+/ xcb_query_colors_reply_t *R /**< */); 10266 10267 10268 /***************************************************************************** 10269 ** 10270 ** xcb_rgb_iterator_t xcb_query_colors_colors_iterator 10271 ** 10272 ** @param /+const+/ xcb_query_colors_reply_t *R 10273 ** @returns xcb_rgb_iterator_t 10274 ** 10275 *****************************************************************************/ 10276 10277 extern(C) xcb_rgb_iterator_t 10278 xcb_query_colors_colors_iterator (/+const+/ xcb_query_colors_reply_t *R /**< */); 10279 10280 10281 /***************************************************************************** 10282 ** 10283 ** xcb_query_colors_reply_t * xcb_query_colors_reply 10284 ** 10285 ** @param xcb_connection_t *c 10286 ** @param xcb_query_colors_cookie_t cookie 10287 ** @param xcb_generic_error_t **e 10288 ** @returns xcb_query_colors_reply_t * 10289 ** 10290 *****************************************************************************/ 10291 10292 extern(C) xcb_query_colors_reply_t * 10293 xcb_query_colors_reply (xcb_connection_t *c /**< */, 10294 xcb_query_colors_cookie_t cookie /**< */, 10295 xcb_generic_error_t **e /**< */); 10296 10297 10298 /***************************************************************************** 10299 ** 10300 ** xcb_lookup_color_cookie_t xcb_lookup_color 10301 ** 10302 ** @param xcb_connection_t *c 10303 ** @param xcb_colormap_t cmap 10304 ** @param ushort name_len 10305 ** @param /+const+/ char *name 10306 ** @returns xcb_lookup_color_cookie_t 10307 ** 10308 *****************************************************************************/ 10309 10310 extern(C) xcb_lookup_color_cookie_t 10311 xcb_lookup_color (xcb_connection_t *c /**< */, 10312 xcb_colormap_t cmap /**< */, 10313 ushort name_len /**< */, 10314 /+const+/ char *name /**< */); 10315 10316 10317 /***************************************************************************** 10318 ** 10319 ** xcb_lookup_color_cookie_t xcb_lookup_color_unchecked 10320 ** 10321 ** @param xcb_connection_t *c 10322 ** @param xcb_colormap_t cmap 10323 ** @param ushort name_len 10324 ** @param /+const+/ char *name 10325 ** @returns xcb_lookup_color_cookie_t 10326 ** 10327 *****************************************************************************/ 10328 10329 extern(C) xcb_lookup_color_cookie_t 10330 xcb_lookup_color_unchecked (xcb_connection_t *c /**< */, 10331 xcb_colormap_t cmap /**< */, 10332 ushort name_len /**< */, 10333 /+const+/ char *name /**< */); 10334 10335 10336 /***************************************************************************** 10337 ** 10338 ** xcb_lookup_color_reply_t * xcb_lookup_color_reply 10339 ** 10340 ** @param xcb_connection_t *c 10341 ** @param xcb_lookup_color_cookie_t cookie 10342 ** @param xcb_generic_error_t **e 10343 ** @returns xcb_lookup_color_reply_t * 10344 ** 10345 *****************************************************************************/ 10346 10347 extern(C) xcb_lookup_color_reply_t * 10348 xcb_lookup_color_reply (xcb_connection_t *c /**< */, 10349 xcb_lookup_color_cookie_t cookie /**< */, 10350 xcb_generic_error_t **e /**< */); 10351 10352 10353 /***************************************************************************** 10354 ** 10355 ** xcb_void_cookie_t xcb_create_cursor_checked 10356 ** 10357 ** @param xcb_connection_t *c 10358 ** @param xcb_cursor_t cid 10359 ** @param xcb_pixmap_t source 10360 ** @param xcb_pixmap_t mask 10361 ** @param ushort fore_red 10362 ** @param ushort fore_green 10363 ** @param ushort fore_blue 10364 ** @param ushort back_red 10365 ** @param ushort back_green 10366 ** @param ushort back_blue 10367 ** @param ushort x 10368 ** @param ushort y 10369 ** @returns xcb_void_cookie_t 10370 ** 10371 *****************************************************************************/ 10372 10373 extern(C) xcb_void_cookie_t 10374 xcb_create_cursor_checked (xcb_connection_t *c /**< */, 10375 xcb_cursor_t cid /**< */, 10376 xcb_pixmap_t source /**< */, 10377 xcb_pixmap_t mask /**< */, 10378 ushort fore_red /**< */, 10379 ushort fore_green /**< */, 10380 ushort fore_blue /**< */, 10381 ushort back_red /**< */, 10382 ushort back_green /**< */, 10383 ushort back_blue /**< */, 10384 ushort x /**< */, 10385 ushort y /**< */); 10386 10387 10388 /***************************************************************************** 10389 ** 10390 ** xcb_void_cookie_t xcb_create_cursor 10391 ** 10392 ** @param xcb_connection_t *c 10393 ** @param xcb_cursor_t cid 10394 ** @param xcb_pixmap_t source 10395 ** @param xcb_pixmap_t mask 10396 ** @param ushort fore_red 10397 ** @param ushort fore_green 10398 ** @param ushort fore_blue 10399 ** @param ushort back_red 10400 ** @param ushort back_green 10401 ** @param ushort back_blue 10402 ** @param ushort x 10403 ** @param ushort y 10404 ** @returns xcb_void_cookie_t 10405 ** 10406 *****************************************************************************/ 10407 10408 extern(C) xcb_void_cookie_t 10409 xcb_create_cursor (xcb_connection_t *c /**< */, 10410 xcb_cursor_t cid /**< */, 10411 xcb_pixmap_t source /**< */, 10412 xcb_pixmap_t mask /**< */, 10413 ushort fore_red /**< */, 10414 ushort fore_green /**< */, 10415 ushort fore_blue /**< */, 10416 ushort back_red /**< */, 10417 ushort back_green /**< */, 10418 ushort back_blue /**< */, 10419 ushort x /**< */, 10420 ushort y /**< */); 10421 10422 10423 /***************************************************************************** 10424 ** 10425 ** xcb_void_cookie_t xcb_create_glyph_cursor_checked 10426 ** 10427 ** @param xcb_connection_t *c 10428 ** @param xcb_cursor_t cid 10429 ** @param xcb_font_t source_font 10430 ** @param xcb_font_t mask_font 10431 ** @param ushort source_char 10432 ** @param ushort mask_char 10433 ** @param ushort fore_red 10434 ** @param ushort fore_green 10435 ** @param ushort fore_blue 10436 ** @param ushort back_red 10437 ** @param ushort back_green 10438 ** @param ushort back_blue 10439 ** @returns xcb_void_cookie_t 10440 ** 10441 *****************************************************************************/ 10442 10443 extern(C) xcb_void_cookie_t 10444 xcb_create_glyph_cursor_checked (xcb_connection_t *c /**< */, 10445 xcb_cursor_t cid /**< */, 10446 xcb_font_t source_font /**< */, 10447 xcb_font_t mask_font /**< */, 10448 ushort source_char /**< */, 10449 ushort mask_char /**< */, 10450 ushort fore_red /**< */, 10451 ushort fore_green /**< */, 10452 ushort fore_blue /**< */, 10453 ushort back_red /**< */, 10454 ushort back_green /**< */, 10455 ushort back_blue /**< */); 10456 10457 10458 /***************************************************************************** 10459 ** 10460 ** xcb_void_cookie_t xcb_create_glyph_cursor 10461 ** 10462 ** @param xcb_connection_t *c 10463 ** @param xcb_cursor_t cid 10464 ** @param xcb_font_t source_font 10465 ** @param xcb_font_t mask_font 10466 ** @param ushort source_char 10467 ** @param ushort mask_char 10468 ** @param ushort fore_red 10469 ** @param ushort fore_green 10470 ** @param ushort fore_blue 10471 ** @param ushort back_red 10472 ** @param ushort back_green 10473 ** @param ushort back_blue 10474 ** @returns xcb_void_cookie_t 10475 ** 10476 *****************************************************************************/ 10477 10478 extern(C) xcb_void_cookie_t 10479 xcb_create_glyph_cursor (xcb_connection_t *c /**< */, 10480 xcb_cursor_t cid /**< */, 10481 xcb_font_t source_font /**< */, 10482 xcb_font_t mask_font /**< */, 10483 ushort source_char /**< */, 10484 ushort mask_char /**< */, 10485 ushort fore_red /**< */, 10486 ushort fore_green /**< */, 10487 ushort fore_blue /**< */, 10488 ushort back_red /**< */, 10489 ushort back_green /**< */, 10490 ushort back_blue /**< */); 10491 10492 10493 /***************************************************************************** 10494 ** 10495 ** xcb_void_cookie_t xcb_free_cursor_checked 10496 ** 10497 ** @param xcb_connection_t *c 10498 ** @param xcb_cursor_t cursor 10499 ** @returns xcb_void_cookie_t 10500 ** 10501 *****************************************************************************/ 10502 10503 extern(C) xcb_void_cookie_t 10504 xcb_free_cursor_checked (xcb_connection_t *c /**< */, 10505 xcb_cursor_t cursor /**< */); 10506 10507 10508 /***************************************************************************** 10509 ** 10510 ** xcb_void_cookie_t xcb_free_cursor 10511 ** 10512 ** @param xcb_connection_t *c 10513 ** @param xcb_cursor_t cursor 10514 ** @returns xcb_void_cookie_t 10515 ** 10516 *****************************************************************************/ 10517 10518 extern(C) xcb_void_cookie_t 10519 xcb_free_cursor (xcb_connection_t *c /**< */, 10520 xcb_cursor_t cursor /**< */); 10521 10522 10523 /***************************************************************************** 10524 ** 10525 ** xcb_void_cookie_t xcb_recolor_cursor_checked 10526 ** 10527 ** @param xcb_connection_t *c 10528 ** @param xcb_cursor_t cursor 10529 ** @param ushort fore_red 10530 ** @param ushort fore_green 10531 ** @param ushort fore_blue 10532 ** @param ushort back_red 10533 ** @param ushort back_green 10534 ** @param ushort back_blue 10535 ** @returns xcb_void_cookie_t 10536 ** 10537 *****************************************************************************/ 10538 10539 extern(C) xcb_void_cookie_t 10540 xcb_recolor_cursor_checked (xcb_connection_t *c /**< */, 10541 xcb_cursor_t cursor /**< */, 10542 ushort fore_red /**< */, 10543 ushort fore_green /**< */, 10544 ushort fore_blue /**< */, 10545 ushort back_red /**< */, 10546 ushort back_green /**< */, 10547 ushort back_blue /**< */); 10548 10549 10550 /***************************************************************************** 10551 ** 10552 ** xcb_void_cookie_t xcb_recolor_cursor 10553 ** 10554 ** @param xcb_connection_t *c 10555 ** @param xcb_cursor_t cursor 10556 ** @param ushort fore_red 10557 ** @param ushort fore_green 10558 ** @param ushort fore_blue 10559 ** @param ushort back_red 10560 ** @param ushort back_green 10561 ** @param ushort back_blue 10562 ** @returns xcb_void_cookie_t 10563 ** 10564 *****************************************************************************/ 10565 10566 extern(C) xcb_void_cookie_t 10567 xcb_recolor_cursor (xcb_connection_t *c /**< */, 10568 xcb_cursor_t cursor /**< */, 10569 ushort fore_red /**< */, 10570 ushort fore_green /**< */, 10571 ushort fore_blue /**< */, 10572 ushort back_red /**< */, 10573 ushort back_green /**< */, 10574 ushort back_blue /**< */); 10575 10576 10577 /***************************************************************************** 10578 ** 10579 ** xcb_query_best_size_cookie_t xcb_query_best_size 10580 ** 10581 ** @param xcb_connection_t *c 10582 ** @param ubyte _class 10583 ** @param xcb_drawable_t drawable 10584 ** @param ushort width 10585 ** @param ushort height 10586 ** @returns xcb_query_best_size_cookie_t 10587 ** 10588 *****************************************************************************/ 10589 10590 extern(C) xcb_query_best_size_cookie_t 10591 xcb_query_best_size (xcb_connection_t *c /**< */, 10592 ubyte _class /**< */, 10593 xcb_drawable_t drawable /**< */, 10594 ushort width /**< */, 10595 ushort height /**< */); 10596 10597 10598 /***************************************************************************** 10599 ** 10600 ** xcb_query_best_size_cookie_t xcb_query_best_size_unchecked 10601 ** 10602 ** @param xcb_connection_t *c 10603 ** @param ubyte _class 10604 ** @param xcb_drawable_t drawable 10605 ** @param ushort width 10606 ** @param ushort height 10607 ** @returns xcb_query_best_size_cookie_t 10608 ** 10609 *****************************************************************************/ 10610 10611 extern(C) xcb_query_best_size_cookie_t 10612 xcb_query_best_size_unchecked (xcb_connection_t *c /**< */, 10613 ubyte _class /**< */, 10614 xcb_drawable_t drawable /**< */, 10615 ushort width /**< */, 10616 ushort height /**< */); 10617 10618 10619 /***************************************************************************** 10620 ** 10621 ** xcb_query_best_size_reply_t * xcb_query_best_size_reply 10622 ** 10623 ** @param xcb_connection_t *c 10624 ** @param xcb_query_best_size_cookie_t cookie 10625 ** @param xcb_generic_error_t **e 10626 ** @returns xcb_query_best_size_reply_t * 10627 ** 10628 *****************************************************************************/ 10629 10630 extern(C) xcb_query_best_size_reply_t * 10631 xcb_query_best_size_reply (xcb_connection_t *c /**< */, 10632 xcb_query_best_size_cookie_t cookie /**< */, 10633 xcb_generic_error_t **e /**< */); 10634 10635 10636 /***************************************************************************** 10637 ** 10638 ** xcb_query_extension_cookie_t xcb_query_extension 10639 ** 10640 ** @param xcb_connection_t *c 10641 ** @param ushort name_len 10642 ** @param /+const+/ char *name 10643 ** @returns xcb_query_extension_cookie_t 10644 ** 10645 *****************************************************************************/ 10646 10647 extern(C) xcb_query_extension_cookie_t 10648 xcb_query_extension (xcb_connection_t *c /**< */, 10649 ushort name_len /**< */, 10650 /+const+/ char *name /**< */); 10651 10652 10653 /***************************************************************************** 10654 ** 10655 ** xcb_query_extension_cookie_t xcb_query_extension_unchecked 10656 ** 10657 ** @param xcb_connection_t *c 10658 ** @param ushort name_len 10659 ** @param /+const+/ char *name 10660 ** @returns xcb_query_extension_cookie_t 10661 ** 10662 *****************************************************************************/ 10663 10664 extern(C) xcb_query_extension_cookie_t 10665 xcb_query_extension_unchecked (xcb_connection_t *c /**< */, 10666 ushort name_len /**< */, 10667 /+const+/ char *name /**< */); 10668 10669 10670 /***************************************************************************** 10671 ** 10672 ** xcb_query_extension_reply_t * xcb_query_extension_reply 10673 ** 10674 ** @param xcb_connection_t *c 10675 ** @param xcb_query_extension_cookie_t cookie 10676 ** @param xcb_generic_error_t **e 10677 ** @returns xcb_query_extension_reply_t * 10678 ** 10679 *****************************************************************************/ 10680 10681 extern(C) xcb_query_extension_reply_t * 10682 xcb_query_extension_reply (xcb_connection_t *c /**< */, 10683 xcb_query_extension_cookie_t cookie /**< */, 10684 xcb_generic_error_t **e /**< */); 10685 10686 10687 /***************************************************************************** 10688 ** 10689 ** xcb_list_extensions_cookie_t xcb_list_extensions 10690 ** 10691 ** @param xcb_connection_t *c 10692 ** @returns xcb_list_extensions_cookie_t 10693 ** 10694 *****************************************************************************/ 10695 10696 extern(C) xcb_list_extensions_cookie_t 10697 xcb_list_extensions (xcb_connection_t *c /**< */); 10698 10699 10700 /***************************************************************************** 10701 ** 10702 ** xcb_list_extensions_cookie_t xcb_list_extensions_unchecked 10703 ** 10704 ** @param xcb_connection_t *c 10705 ** @returns xcb_list_extensions_cookie_t 10706 ** 10707 *****************************************************************************/ 10708 10709 extern(C) xcb_list_extensions_cookie_t 10710 xcb_list_extensions_unchecked (xcb_connection_t *c /**< */); 10711 10712 10713 /***************************************************************************** 10714 ** 10715 ** int xcb_list_extensions_names_length 10716 ** 10717 ** @param /+const+/ xcb_list_extensions_reply_t *R 10718 ** @returns int 10719 ** 10720 *****************************************************************************/ 10721 10722 extern(C) int 10723 xcb_list_extensions_names_length (/+const+/ xcb_list_extensions_reply_t *R /**< */); 10724 10725 10726 /***************************************************************************** 10727 ** 10728 ** xcb_str_iterator_t xcb_list_extensions_names_iterator 10729 ** 10730 ** @param /+const+/ xcb_list_extensions_reply_t *R 10731 ** @returns xcb_str_iterator_t 10732 ** 10733 *****************************************************************************/ 10734 10735 extern(C) xcb_str_iterator_t 10736 xcb_list_extensions_names_iterator (/+const+/ xcb_list_extensions_reply_t *R /**< */); 10737 10738 10739 /***************************************************************************** 10740 ** 10741 ** xcb_list_extensions_reply_t * xcb_list_extensions_reply 10742 ** 10743 ** @param xcb_connection_t *c 10744 ** @param xcb_list_extensions_cookie_t cookie 10745 ** @param xcb_generic_error_t **e 10746 ** @returns xcb_list_extensions_reply_t * 10747 ** 10748 *****************************************************************************/ 10749 10750 extern(C) xcb_list_extensions_reply_t * 10751 xcb_list_extensions_reply (xcb_connection_t *c /**< */, 10752 xcb_list_extensions_cookie_t cookie /**< */, 10753 xcb_generic_error_t **e /**< */); 10754 10755 10756 /***************************************************************************** 10757 ** 10758 ** xcb_void_cookie_t xcb_change_keyboard_mapping_checked 10759 ** 10760 ** @param xcb_connection_t *c 10761 ** @param ubyte keycode_count 10762 ** @param xcb_keycode_t first_keycode 10763 ** @param ubyte keysyms_per_keycode 10764 ** @param /+const+/ xcb_keysym_t *keysyms 10765 ** @returns xcb_void_cookie_t 10766 ** 10767 *****************************************************************************/ 10768 10769 extern(C) xcb_void_cookie_t 10770 xcb_change_keyboard_mapping_checked (xcb_connection_t *c /**< */, 10771 ubyte keycode_count /**< */, 10772 xcb_keycode_t first_keycode /**< */, 10773 ubyte keysyms_per_keycode /**< */, 10774 /+const+/ xcb_keysym_t *keysyms /**< */); 10775 10776 10777 /***************************************************************************** 10778 ** 10779 ** xcb_void_cookie_t xcb_change_keyboard_mapping 10780 ** 10781 ** @param xcb_connection_t *c 10782 ** @param ubyte keycode_count 10783 ** @param xcb_keycode_t first_keycode 10784 ** @param ubyte keysyms_per_keycode 10785 ** @param /+const+/ xcb_keysym_t *keysyms 10786 ** @returns xcb_void_cookie_t 10787 ** 10788 *****************************************************************************/ 10789 10790 extern(C) xcb_void_cookie_t 10791 xcb_change_keyboard_mapping (xcb_connection_t *c /**< */, 10792 ubyte keycode_count /**< */, 10793 xcb_keycode_t first_keycode /**< */, 10794 ubyte keysyms_per_keycode /**< */, 10795 /+const+/ xcb_keysym_t *keysyms /**< */); 10796 10797 10798 /***************************************************************************** 10799 ** 10800 ** xcb_get_keyboard_mapping_cookie_t xcb_get_keyboard_mapping 10801 ** 10802 ** @param xcb_connection_t *c 10803 ** @param xcb_keycode_t first_keycode 10804 ** @param ubyte count 10805 ** @returns xcb_get_keyboard_mapping_cookie_t 10806 ** 10807 *****************************************************************************/ 10808 10809 extern(C) xcb_get_keyboard_mapping_cookie_t 10810 xcb_get_keyboard_mapping (xcb_connection_t *c /**< */, 10811 xcb_keycode_t first_keycode /**< */, 10812 ubyte count /**< */); 10813 10814 10815 /***************************************************************************** 10816 ** 10817 ** xcb_get_keyboard_mapping_cookie_t xcb_get_keyboard_mapping_unchecked 10818 ** 10819 ** @param xcb_connection_t *c 10820 ** @param xcb_keycode_t first_keycode 10821 ** @param ubyte count 10822 ** @returns xcb_get_keyboard_mapping_cookie_t 10823 ** 10824 *****************************************************************************/ 10825 10826 extern(C) xcb_get_keyboard_mapping_cookie_t 10827 xcb_get_keyboard_mapping_unchecked (xcb_connection_t *c /**< */, 10828 xcb_keycode_t first_keycode /**< */, 10829 ubyte count /**< */); 10830 10831 10832 /***************************************************************************** 10833 ** 10834 ** xcb_keysym_t * xcb_get_keyboard_mapping_keysyms 10835 ** 10836 ** @param /+const+/ xcb_get_keyboard_mapping_reply_t *R 10837 ** @returns xcb_keysym_t * 10838 ** 10839 *****************************************************************************/ 10840 10841 extern(C) xcb_keysym_t * 10842 xcb_get_keyboard_mapping_keysyms (/+const+/ xcb_get_keyboard_mapping_reply_t *R /**< */); 10843 10844 10845 /***************************************************************************** 10846 ** 10847 ** int xcb_get_keyboard_mapping_keysyms_length 10848 ** 10849 ** @param /+const+/ xcb_get_keyboard_mapping_reply_t *R 10850 ** @returns int 10851 ** 10852 *****************************************************************************/ 10853 10854 extern(C) int 10855 xcb_get_keyboard_mapping_keysyms_length (/+const+/ xcb_get_keyboard_mapping_reply_t *R /**< */); 10856 10857 10858 /***************************************************************************** 10859 ** 10860 ** xcb_keysym_iterator_t xcb_get_keyboard_mapping_keysyms_iterator 10861 ** 10862 ** @param /+const+/ xcb_get_keyboard_mapping_reply_t *R 10863 ** @returns xcb_keysym_iterator_t 10864 ** 10865 *****************************************************************************/ 10866 10867 extern(C) xcb_keysym_iterator_t 10868 xcb_get_keyboard_mapping_keysyms_iterator (/+const+/ xcb_get_keyboard_mapping_reply_t *R /**< */); 10869 10870 10871 /***************************************************************************** 10872 ** 10873 ** xcb_get_keyboard_mapping_reply_t * xcb_get_keyboard_mapping_reply 10874 ** 10875 ** @param xcb_connection_t *c 10876 ** @param xcb_get_keyboard_mapping_cookie_t cookie 10877 ** @param xcb_generic_error_t **e 10878 ** @returns xcb_get_keyboard_mapping_reply_t * 10879 ** 10880 *****************************************************************************/ 10881 10882 extern(C) xcb_get_keyboard_mapping_reply_t * 10883 xcb_get_keyboard_mapping_reply (xcb_connection_t *c /**< */, 10884 xcb_get_keyboard_mapping_cookie_t cookie /**< */, 10885 xcb_generic_error_t **e /**< */); 10886 10887 10888 /***************************************************************************** 10889 ** 10890 ** xcb_void_cookie_t xcb_change_keyboard_control_checked 10891 ** 10892 ** @param xcb_connection_t *c 10893 ** @param uint value_mask 10894 ** @param /+const+/ uint *value_list 10895 ** @returns xcb_void_cookie_t 10896 ** 10897 *****************************************************************************/ 10898 10899 extern(C) xcb_void_cookie_t 10900 xcb_change_keyboard_control_checked (xcb_connection_t *c /**< */, 10901 uint value_mask /**< */, 10902 /+const+/ uint *value_list /**< */); 10903 10904 10905 /***************************************************************************** 10906 ** 10907 ** xcb_void_cookie_t xcb_change_keyboard_control 10908 ** 10909 ** @param xcb_connection_t *c 10910 ** @param uint value_mask 10911 ** @param /+const+/ uint *value_list 10912 ** @returns xcb_void_cookie_t 10913 ** 10914 *****************************************************************************/ 10915 10916 extern(C) xcb_void_cookie_t 10917 xcb_change_keyboard_control (xcb_connection_t *c /**< */, 10918 uint value_mask /**< */, 10919 /+const+/ uint *value_list /**< */); 10920 10921 10922 /***************************************************************************** 10923 ** 10924 ** xcb_get_keyboard_control_cookie_t xcb_get_keyboard_control 10925 ** 10926 ** @param xcb_connection_t *c 10927 ** @returns xcb_get_keyboard_control_cookie_t 10928 ** 10929 *****************************************************************************/ 10930 10931 extern(C) xcb_get_keyboard_control_cookie_t 10932 xcb_get_keyboard_control (xcb_connection_t *c /**< */); 10933 10934 10935 /***************************************************************************** 10936 ** 10937 ** xcb_get_keyboard_control_cookie_t xcb_get_keyboard_control_unchecked 10938 ** 10939 ** @param xcb_connection_t *c 10940 ** @returns xcb_get_keyboard_control_cookie_t 10941 ** 10942 *****************************************************************************/ 10943 10944 extern(C) xcb_get_keyboard_control_cookie_t 10945 xcb_get_keyboard_control_unchecked (xcb_connection_t *c /**< */); 10946 10947 10948 /***************************************************************************** 10949 ** 10950 ** xcb_get_keyboard_control_reply_t * xcb_get_keyboard_control_reply 10951 ** 10952 ** @param xcb_connection_t *c 10953 ** @param xcb_get_keyboard_control_cookie_t cookie 10954 ** @param xcb_generic_error_t **e 10955 ** @returns xcb_get_keyboard_control_reply_t * 10956 ** 10957 *****************************************************************************/ 10958 10959 extern(C) xcb_get_keyboard_control_reply_t * 10960 xcb_get_keyboard_control_reply (xcb_connection_t *c /**< */, 10961 xcb_get_keyboard_control_cookie_t cookie /**< */, 10962 xcb_generic_error_t **e /**< */); 10963 10964 10965 /***************************************************************************** 10966 ** 10967 ** xcb_void_cookie_t xcb_bell_checked 10968 ** 10969 ** @param xcb_connection_t *c 10970 ** @param byte percent 10971 ** @returns xcb_void_cookie_t 10972 ** 10973 *****************************************************************************/ 10974 10975 extern(C) xcb_void_cookie_t 10976 xcb_bell_checked (xcb_connection_t *c /**< */, 10977 byte percent /**< */); 10978 10979 10980 /***************************************************************************** 10981 ** 10982 ** xcb_void_cookie_t xcb_bell 10983 ** 10984 ** @param xcb_connection_t *c 10985 ** @param byte percent 10986 ** @returns xcb_void_cookie_t 10987 ** 10988 *****************************************************************************/ 10989 10990 extern(C) xcb_void_cookie_t 10991 xcb_bell (xcb_connection_t *c /**< */, 10992 byte percent /**< */); 10993 10994 10995 /***************************************************************************** 10996 ** 10997 ** xcb_void_cookie_t xcb_change_pointer_control_checked 10998 ** 10999 ** @param xcb_connection_t *c 11000 ** @param short acceleration_numerator 11001 ** @param short acceleration_denominator 11002 ** @param short threshold 11003 ** @param bool do_acceleration 11004 ** @param bool do_threshold 11005 ** @returns xcb_void_cookie_t 11006 ** 11007 *****************************************************************************/ 11008 11009 extern(C) xcb_void_cookie_t 11010 xcb_change_pointer_control_checked (xcb_connection_t *c /**< */, 11011 short acceleration_numerator /**< */, 11012 short acceleration_denominator /**< */, 11013 short threshold /**< */, 11014 bool do_acceleration /**< */, 11015 bool do_threshold /**< */); 11016 11017 11018 /***************************************************************************** 11019 ** 11020 ** xcb_void_cookie_t xcb_change_pointer_control 11021 ** 11022 ** @param xcb_connection_t *c 11023 ** @param short acceleration_numerator 11024 ** @param short acceleration_denominator 11025 ** @param short threshold 11026 ** @param bool do_acceleration 11027 ** @param bool do_threshold 11028 ** @returns xcb_void_cookie_t 11029 ** 11030 *****************************************************************************/ 11031 11032 extern(C) xcb_void_cookie_t 11033 xcb_change_pointer_control (xcb_connection_t *c /**< */, 11034 short acceleration_numerator /**< */, 11035 short acceleration_denominator /**< */, 11036 short threshold /**< */, 11037 bool do_acceleration /**< */, 11038 bool do_threshold /**< */); 11039 11040 11041 /***************************************************************************** 11042 ** 11043 ** xcb_get_pointer_control_cookie_t xcb_get_pointer_control 11044 ** 11045 ** @param xcb_connection_t *c 11046 ** @returns xcb_get_pointer_control_cookie_t 11047 ** 11048 *****************************************************************************/ 11049 11050 extern(C) xcb_get_pointer_control_cookie_t 11051 xcb_get_pointer_control (xcb_connection_t *c /**< */); 11052 11053 11054 /***************************************************************************** 11055 ** 11056 ** xcb_get_pointer_control_cookie_t xcb_get_pointer_control_unchecked 11057 ** 11058 ** @param xcb_connection_t *c 11059 ** @returns xcb_get_pointer_control_cookie_t 11060 ** 11061 *****************************************************************************/ 11062 11063 extern(C) xcb_get_pointer_control_cookie_t 11064 xcb_get_pointer_control_unchecked (xcb_connection_t *c /**< */); 11065 11066 11067 /***************************************************************************** 11068 ** 11069 ** xcb_get_pointer_control_reply_t * xcb_get_pointer_control_reply 11070 ** 11071 ** @param xcb_connection_t *c 11072 ** @param xcb_get_pointer_control_cookie_t cookie 11073 ** @param xcb_generic_error_t **e 11074 ** @returns xcb_get_pointer_control_reply_t * 11075 ** 11076 *****************************************************************************/ 11077 11078 extern(C) xcb_get_pointer_control_reply_t * 11079 xcb_get_pointer_control_reply (xcb_connection_t *c /**< */, 11080 xcb_get_pointer_control_cookie_t cookie /**< */, 11081 xcb_generic_error_t **e /**< */); 11082 11083 11084 /***************************************************************************** 11085 ** 11086 ** xcb_void_cookie_t xcb_set_screen_saver_checked 11087 ** 11088 ** @param xcb_connection_t *c 11089 ** @param short timeout 11090 ** @param short interval 11091 ** @param ubyte prefer_blanking 11092 ** @param ubyte allow_exposures 11093 ** @returns xcb_void_cookie_t 11094 ** 11095 *****************************************************************************/ 11096 11097 extern(C) xcb_void_cookie_t 11098 xcb_set_screen_saver_checked (xcb_connection_t *c /**< */, 11099 short timeout /**< */, 11100 short interval /**< */, 11101 ubyte prefer_blanking /**< */, 11102 ubyte allow_exposures /**< */); 11103 11104 11105 /***************************************************************************** 11106 ** 11107 ** xcb_void_cookie_t xcb_set_screen_saver 11108 ** 11109 ** @param xcb_connection_t *c 11110 ** @param short timeout 11111 ** @param short interval 11112 ** @param ubyte prefer_blanking 11113 ** @param ubyte allow_exposures 11114 ** @returns xcb_void_cookie_t 11115 ** 11116 *****************************************************************************/ 11117 11118 extern(C) xcb_void_cookie_t 11119 xcb_set_screen_saver (xcb_connection_t *c /**< */, 11120 short timeout /**< */, 11121 short interval /**< */, 11122 ubyte prefer_blanking /**< */, 11123 ubyte allow_exposures /**< */); 11124 11125 11126 /***************************************************************************** 11127 ** 11128 ** xcb_get_screen_saver_cookie_t xcb_get_screen_saver 11129 ** 11130 ** @param xcb_connection_t *c 11131 ** @returns xcb_get_screen_saver_cookie_t 11132 ** 11133 *****************************************************************************/ 11134 11135 extern(C) xcb_get_screen_saver_cookie_t 11136 xcb_get_screen_saver (xcb_connection_t *c /**< */); 11137 11138 11139 /***************************************************************************** 11140 ** 11141 ** xcb_get_screen_saver_cookie_t xcb_get_screen_saver_unchecked 11142 ** 11143 ** @param xcb_connection_t *c 11144 ** @returns xcb_get_screen_saver_cookie_t 11145 ** 11146 *****************************************************************************/ 11147 11148 extern(C) xcb_get_screen_saver_cookie_t 11149 xcb_get_screen_saver_unchecked (xcb_connection_t *c /**< */); 11150 11151 11152 /***************************************************************************** 11153 ** 11154 ** xcb_get_screen_saver_reply_t * xcb_get_screen_saver_reply 11155 ** 11156 ** @param xcb_connection_t *c 11157 ** @param xcb_get_screen_saver_cookie_t cookie 11158 ** @param xcb_generic_error_t **e 11159 ** @returns xcb_get_screen_saver_reply_t * 11160 ** 11161 *****************************************************************************/ 11162 11163 extern(C) xcb_get_screen_saver_reply_t * 11164 xcb_get_screen_saver_reply (xcb_connection_t *c /**< */, 11165 xcb_get_screen_saver_cookie_t cookie /**< */, 11166 xcb_generic_error_t **e /**< */); 11167 11168 11169 /***************************************************************************** 11170 ** 11171 ** xcb_void_cookie_t xcb_change_hosts_checked 11172 ** 11173 ** @param xcb_connection_t *c 11174 ** @param ubyte mode 11175 ** @param ubyte family 11176 ** @param ushort address_len 11177 ** @param /+const+/ char *address 11178 ** @returns xcb_void_cookie_t 11179 ** 11180 *****************************************************************************/ 11181 11182 extern(C) xcb_void_cookie_t 11183 xcb_change_hosts_checked (xcb_connection_t *c /**< */, 11184 ubyte mode /**< */, 11185 ubyte family /**< */, 11186 ushort address_len /**< */, 11187 /+const+/ char *address /**< */); 11188 11189 11190 /***************************************************************************** 11191 ** 11192 ** xcb_void_cookie_t xcb_change_hosts 11193 ** 11194 ** @param xcb_connection_t *c 11195 ** @param ubyte mode 11196 ** @param ubyte family 11197 ** @param ushort address_len 11198 ** @param /+const+/ char *address 11199 ** @returns xcb_void_cookie_t 11200 ** 11201 *****************************************************************************/ 11202 11203 extern(C) xcb_void_cookie_t 11204 xcb_change_hosts (xcb_connection_t *c /**< */, 11205 ubyte mode /**< */, 11206 ubyte family /**< */, 11207 ushort address_len /**< */, 11208 /+const+/ char *address /**< */); 11209 11210 11211 /***************************************************************************** 11212 ** 11213 ** ubyte * xcb_host_address 11214 ** 11215 ** @param /+const+/ xcb_host_t *R 11216 ** @returns ubyte * 11217 ** 11218 *****************************************************************************/ 11219 11220 extern(C) ubyte * 11221 xcb_host_address (/+const+/ xcb_host_t *R /**< */); 11222 11223 11224 /***************************************************************************** 11225 ** 11226 ** int xcb_host_address_length 11227 ** 11228 ** @param /+const+/ xcb_host_t *R 11229 ** @returns int 11230 ** 11231 *****************************************************************************/ 11232 11233 extern(C) int 11234 xcb_host_address_length (/+const+/ xcb_host_t *R /**< */); 11235 11236 11237 /***************************************************************************** 11238 ** 11239 ** xcb_generic_iterator_t xcb_host_address_end 11240 ** 11241 ** @param /+const+/ xcb_host_t *R 11242 ** @returns xcb_generic_iterator_t 11243 ** 11244 *****************************************************************************/ 11245 11246 extern(C) xcb_generic_iterator_t 11247 xcb_host_address_end (/+const+/ xcb_host_t *R /**< */); 11248 11249 11250 /***************************************************************************** 11251 ** 11252 ** void xcb_host_next 11253 ** 11254 ** @param xcb_host_iterator_t *i 11255 ** @returns void 11256 ** 11257 *****************************************************************************/ 11258 11259 extern(C) void 11260 xcb_host_next (xcb_host_iterator_t *i /**< */); 11261 11262 11263 /***************************************************************************** 11264 ** 11265 ** xcb_generic_iterator_t xcb_host_end 11266 ** 11267 ** @param xcb_host_iterator_t i 11268 ** @returns xcb_generic_iterator_t 11269 ** 11270 *****************************************************************************/ 11271 11272 extern(C) xcb_generic_iterator_t 11273 xcb_host_end (xcb_host_iterator_t i /**< */); 11274 11275 11276 /***************************************************************************** 11277 ** 11278 ** xcb_list_hosts_cookie_t xcb_list_hosts 11279 ** 11280 ** @param xcb_connection_t *c 11281 ** @returns xcb_list_hosts_cookie_t 11282 ** 11283 *****************************************************************************/ 11284 11285 extern(C) xcb_list_hosts_cookie_t 11286 xcb_list_hosts (xcb_connection_t *c /**< */); 11287 11288 11289 /***************************************************************************** 11290 ** 11291 ** xcb_list_hosts_cookie_t xcb_list_hosts_unchecked 11292 ** 11293 ** @param xcb_connection_t *c 11294 ** @returns xcb_list_hosts_cookie_t 11295 ** 11296 *****************************************************************************/ 11297 11298 extern(C) xcb_list_hosts_cookie_t 11299 xcb_list_hosts_unchecked (xcb_connection_t *c /**< */); 11300 11301 11302 /***************************************************************************** 11303 ** 11304 ** int xcb_list_hosts_hosts_length 11305 ** 11306 ** @param /+const+/ xcb_list_hosts_reply_t *R 11307 ** @returns int 11308 ** 11309 *****************************************************************************/ 11310 11311 extern(C) int 11312 xcb_list_hosts_hosts_length (/+const+/ xcb_list_hosts_reply_t *R /**< */); 11313 11314 11315 /***************************************************************************** 11316 ** 11317 ** xcb_host_iterator_t xcb_list_hosts_hosts_iterator 11318 ** 11319 ** @param /+const+/ xcb_list_hosts_reply_t *R 11320 ** @returns xcb_host_iterator_t 11321 ** 11322 *****************************************************************************/ 11323 11324 extern(C) xcb_host_iterator_t 11325 xcb_list_hosts_hosts_iterator (/+const+/ xcb_list_hosts_reply_t *R /**< */); 11326 11327 11328 /***************************************************************************** 11329 ** 11330 ** xcb_list_hosts_reply_t * xcb_list_hosts_reply 11331 ** 11332 ** @param xcb_connection_t *c 11333 ** @param xcb_list_hosts_cookie_t cookie 11334 ** @param xcb_generic_error_t **e 11335 ** @returns xcb_list_hosts_reply_t * 11336 ** 11337 *****************************************************************************/ 11338 11339 extern(C) xcb_list_hosts_reply_t * 11340 xcb_list_hosts_reply (xcb_connection_t *c /**< */, 11341 xcb_list_hosts_cookie_t cookie /**< */, 11342 xcb_generic_error_t **e /**< */); 11343 11344 11345 /***************************************************************************** 11346 ** 11347 ** xcb_void_cookie_t xcb_set_access_control_checked 11348 ** 11349 ** @param xcb_connection_t *c 11350 ** @param ubyte mode 11351 ** @returns xcb_void_cookie_t 11352 ** 11353 *****************************************************************************/ 11354 11355 extern(C) xcb_void_cookie_t 11356 xcb_set_access_control_checked (xcb_connection_t *c /**< */, 11357 ubyte mode /**< */); 11358 11359 11360 /***************************************************************************** 11361 ** 11362 ** xcb_void_cookie_t xcb_set_access_control 11363 ** 11364 ** @param xcb_connection_t *c 11365 ** @param ubyte mode 11366 ** @returns xcb_void_cookie_t 11367 ** 11368 *****************************************************************************/ 11369 11370 extern(C) xcb_void_cookie_t 11371 xcb_set_access_control (xcb_connection_t *c /**< */, 11372 ubyte mode /**< */); 11373 11374 11375 /***************************************************************************** 11376 ** 11377 ** xcb_void_cookie_t xcb_set_close_down_mode_checked 11378 ** 11379 ** @param xcb_connection_t *c 11380 ** @param ubyte mode 11381 ** @returns xcb_void_cookie_t 11382 ** 11383 *****************************************************************************/ 11384 11385 extern(C) xcb_void_cookie_t 11386 xcb_set_close_down_mode_checked (xcb_connection_t *c /**< */, 11387 ubyte mode /**< */); 11388 11389 11390 /***************************************************************************** 11391 ** 11392 ** xcb_void_cookie_t xcb_set_close_down_mode 11393 ** 11394 ** @param xcb_connection_t *c 11395 ** @param ubyte mode 11396 ** @returns xcb_void_cookie_t 11397 ** 11398 *****************************************************************************/ 11399 11400 extern(C) xcb_void_cookie_t 11401 xcb_set_close_down_mode (xcb_connection_t *c /**< */, 11402 ubyte mode /**< */); 11403 11404 11405 /***************************************************************************** 11406 ** 11407 ** xcb_void_cookie_t xcb_kill_client_checked 11408 ** 11409 ** @param xcb_connection_t *c 11410 ** @param uint resource 11411 ** @returns xcb_void_cookie_t 11412 ** 11413 *****************************************************************************/ 11414 11415 extern(C) xcb_void_cookie_t 11416 xcb_kill_client_checked (xcb_connection_t *c /**< */, 11417 uint resource /**< */); 11418 11419 11420 /***************************************************************************** 11421 ** 11422 ** xcb_void_cookie_t xcb_kill_client 11423 ** 11424 ** @param xcb_connection_t *c 11425 ** @param uint resource 11426 ** @returns xcb_void_cookie_t 11427 ** 11428 *****************************************************************************/ 11429 11430 extern(C) xcb_void_cookie_t 11431 xcb_kill_client (xcb_connection_t *c /**< */, 11432 uint resource /**< */); 11433 11434 11435 /***************************************************************************** 11436 ** 11437 ** xcb_void_cookie_t xcb_rotate_properties_checked 11438 ** 11439 ** @param xcb_connection_t *c 11440 ** @param xcb_window_t window 11441 ** @param ushort atoms_len 11442 ** @param short delta 11443 ** @param /+const+/ xcb_atom_t *atoms 11444 ** @returns xcb_void_cookie_t 11445 ** 11446 *****************************************************************************/ 11447 11448 extern(C) xcb_void_cookie_t 11449 xcb_rotate_properties_checked (xcb_connection_t *c /**< */, 11450 xcb_window_t window /**< */, 11451 ushort atoms_len /**< */, 11452 short delta /**< */, 11453 /+const+/ xcb_atom_t *atoms /**< */); 11454 11455 11456 /***************************************************************************** 11457 ** 11458 ** xcb_void_cookie_t xcb_rotate_properties 11459 ** 11460 ** @param xcb_connection_t *c 11461 ** @param xcb_window_t window 11462 ** @param ushort atoms_len 11463 ** @param short delta 11464 ** @param /+const+/ xcb_atom_t *atoms 11465 ** @returns xcb_void_cookie_t 11466 ** 11467 *****************************************************************************/ 11468 11469 extern(C) xcb_void_cookie_t 11470 xcb_rotate_properties (xcb_connection_t *c /**< */, 11471 xcb_window_t window /**< */, 11472 ushort atoms_len /**< */, 11473 short delta /**< */, 11474 /+const+/ xcb_atom_t *atoms /**< */); 11475 11476 11477 /***************************************************************************** 11478 ** 11479 ** xcb_void_cookie_t xcb_force_screen_saver_checked 11480 ** 11481 ** @param xcb_connection_t *c 11482 ** @param ubyte mode 11483 ** @returns xcb_void_cookie_t 11484 ** 11485 *****************************************************************************/ 11486 11487 extern(C) xcb_void_cookie_t 11488 xcb_force_screen_saver_checked (xcb_connection_t *c /**< */, 11489 ubyte mode /**< */); 11490 11491 11492 /***************************************************************************** 11493 ** 11494 ** xcb_void_cookie_t xcb_force_screen_saver 11495 ** 11496 ** @param xcb_connection_t *c 11497 ** @param ubyte mode 11498 ** @returns xcb_void_cookie_t 11499 ** 11500 *****************************************************************************/ 11501 11502 extern(C) xcb_void_cookie_t 11503 xcb_force_screen_saver (xcb_connection_t *c /**< */, 11504 ubyte mode /**< */); 11505 11506 11507 /***************************************************************************** 11508 ** 11509 ** xcb_set_pointer_mapping_cookie_t xcb_set_pointer_mapping 11510 ** 11511 ** @param xcb_connection_t *c 11512 ** @param ubyte map_len 11513 ** @param /+const+/ ubyte *map 11514 ** @returns xcb_set_pointer_mapping_cookie_t 11515 ** 11516 *****************************************************************************/ 11517 11518 extern(C) xcb_set_pointer_mapping_cookie_t 11519 xcb_set_pointer_mapping (xcb_connection_t *c /**< */, 11520 ubyte map_len /**< */, 11521 /+const+/ ubyte *map /**< */); 11522 11523 11524 /***************************************************************************** 11525 ** 11526 ** xcb_set_pointer_mapping_cookie_t xcb_set_pointer_mapping_unchecked 11527 ** 11528 ** @param xcb_connection_t *c 11529 ** @param ubyte map_len 11530 ** @param /+const+/ ubyte *map 11531 ** @returns xcb_set_pointer_mapping_cookie_t 11532 ** 11533 *****************************************************************************/ 11534 11535 extern(C) xcb_set_pointer_mapping_cookie_t 11536 xcb_set_pointer_mapping_unchecked (xcb_connection_t *c /**< */, 11537 ubyte map_len /**< */, 11538 /+const+/ ubyte *map /**< */); 11539 11540 11541 /***************************************************************************** 11542 ** 11543 ** xcb_set_pointer_mapping_reply_t * xcb_set_pointer_mapping_reply 11544 ** 11545 ** @param xcb_connection_t *c 11546 ** @param xcb_set_pointer_mapping_cookie_t cookie 11547 ** @param xcb_generic_error_t **e 11548 ** @returns xcb_set_pointer_mapping_reply_t * 11549 ** 11550 *****************************************************************************/ 11551 11552 extern(C) xcb_set_pointer_mapping_reply_t * 11553 xcb_set_pointer_mapping_reply (xcb_connection_t *c /**< */, 11554 xcb_set_pointer_mapping_cookie_t cookie /**< */, 11555 xcb_generic_error_t **e /**< */); 11556 11557 11558 /***************************************************************************** 11559 ** 11560 ** xcb_get_pointer_mapping_cookie_t xcb_get_pointer_mapping 11561 ** 11562 ** @param xcb_connection_t *c 11563 ** @returns xcb_get_pointer_mapping_cookie_t 11564 ** 11565 *****************************************************************************/ 11566 11567 extern(C) xcb_get_pointer_mapping_cookie_t 11568 xcb_get_pointer_mapping (xcb_connection_t *c /**< */); 11569 11570 11571 /***************************************************************************** 11572 ** 11573 ** xcb_get_pointer_mapping_cookie_t xcb_get_pointer_mapping_unchecked 11574 ** 11575 ** @param xcb_connection_t *c 11576 ** @returns xcb_get_pointer_mapping_cookie_t 11577 ** 11578 *****************************************************************************/ 11579 11580 extern(C) xcb_get_pointer_mapping_cookie_t 11581 xcb_get_pointer_mapping_unchecked (xcb_connection_t *c /**< */); 11582 11583 11584 /***************************************************************************** 11585 ** 11586 ** ubyte * xcb_get_pointer_mapping_map 11587 ** 11588 ** @param /+const+/ xcb_get_pointer_mapping_reply_t *R 11589 ** @returns ubyte * 11590 ** 11591 *****************************************************************************/ 11592 11593 extern(C) ubyte * 11594 xcb_get_pointer_mapping_map (/+const+/ xcb_get_pointer_mapping_reply_t *R /**< */); 11595 11596 11597 /***************************************************************************** 11598 ** 11599 ** int xcb_get_pointer_mapping_map_length 11600 ** 11601 ** @param /+const+/ xcb_get_pointer_mapping_reply_t *R 11602 ** @returns int 11603 ** 11604 *****************************************************************************/ 11605 11606 extern(C) int 11607 xcb_get_pointer_mapping_map_length (/+const+/ xcb_get_pointer_mapping_reply_t *R /**< */); 11608 11609 11610 /***************************************************************************** 11611 ** 11612 ** xcb_generic_iterator_t xcb_get_pointer_mapping_map_end 11613 ** 11614 ** @param /+const+/ xcb_get_pointer_mapping_reply_t *R 11615 ** @returns xcb_generic_iterator_t 11616 ** 11617 *****************************************************************************/ 11618 11619 extern(C) xcb_generic_iterator_t 11620 xcb_get_pointer_mapping_map_end (/+const+/ xcb_get_pointer_mapping_reply_t *R /**< */); 11621 11622 11623 /***************************************************************************** 11624 ** 11625 ** xcb_get_pointer_mapping_reply_t * xcb_get_pointer_mapping_reply 11626 ** 11627 ** @param xcb_connection_t *c 11628 ** @param xcb_get_pointer_mapping_cookie_t cookie 11629 ** @param xcb_generic_error_t **e 11630 ** @returns xcb_get_pointer_mapping_reply_t * 11631 ** 11632 *****************************************************************************/ 11633 11634 extern(C) xcb_get_pointer_mapping_reply_t * 11635 xcb_get_pointer_mapping_reply (xcb_connection_t *c /**< */, 11636 xcb_get_pointer_mapping_cookie_t cookie /**< */, 11637 xcb_generic_error_t **e /**< */); 11638 11639 11640 /***************************************************************************** 11641 ** 11642 ** xcb_set_modifier_mapping_cookie_t xcb_set_modifier_mapping 11643 ** 11644 ** @param xcb_connection_t *c 11645 ** @param ubyte keycodes_per_modifier 11646 ** @param /+const+/ xcb_keycode_t *keycodes 11647 ** @returns xcb_set_modifier_mapping_cookie_t 11648 ** 11649 *****************************************************************************/ 11650 11651 extern(C) xcb_set_modifier_mapping_cookie_t 11652 xcb_set_modifier_mapping (xcb_connection_t *c /**< */, 11653 ubyte keycodes_per_modifier /**< */, 11654 /+const+/ xcb_keycode_t *keycodes /**< */); 11655 11656 11657 /***************************************************************************** 11658 ** 11659 ** xcb_set_modifier_mapping_cookie_t xcb_set_modifier_mapping_unchecked 11660 ** 11661 ** @param xcb_connection_t *c 11662 ** @param ubyte keycodes_per_modifier 11663 ** @param /+const+/ xcb_keycode_t *keycodes 11664 ** @returns xcb_set_modifier_mapping_cookie_t 11665 ** 11666 *****************************************************************************/ 11667 11668 extern(C) xcb_set_modifier_mapping_cookie_t 11669 xcb_set_modifier_mapping_unchecked (xcb_connection_t *c /**< */, 11670 ubyte keycodes_per_modifier /**< */, 11671 /+const+/ xcb_keycode_t *keycodes /**< */); 11672 11673 11674 /***************************************************************************** 11675 ** 11676 ** xcb_set_modifier_mapping_reply_t * xcb_set_modifier_mapping_reply 11677 ** 11678 ** @param xcb_connection_t *c 11679 ** @param xcb_set_modifier_mapping_cookie_t cookie 11680 ** @param xcb_generic_error_t **e 11681 ** @returns xcb_set_modifier_mapping_reply_t * 11682 ** 11683 *****************************************************************************/ 11684 11685 extern(C) xcb_set_modifier_mapping_reply_t * 11686 xcb_set_modifier_mapping_reply (xcb_connection_t *c /**< */, 11687 xcb_set_modifier_mapping_cookie_t cookie /**< */, 11688 xcb_generic_error_t **e /**< */); 11689 11690 11691 /***************************************************************************** 11692 ** 11693 ** xcb_get_modifier_mapping_cookie_t xcb_get_modifier_mapping 11694 ** 11695 ** @param xcb_connection_t *c 11696 ** @returns xcb_get_modifier_mapping_cookie_t 11697 ** 11698 *****************************************************************************/ 11699 11700 extern(C) xcb_get_modifier_mapping_cookie_t 11701 xcb_get_modifier_mapping (xcb_connection_t *c /**< */); 11702 11703 11704 /***************************************************************************** 11705 ** 11706 ** xcb_get_modifier_mapping_cookie_t xcb_get_modifier_mapping_unchecked 11707 ** 11708 ** @param xcb_connection_t *c 11709 ** @returns xcb_get_modifier_mapping_cookie_t 11710 ** 11711 *****************************************************************************/ 11712 11713 extern(C) xcb_get_modifier_mapping_cookie_t 11714 xcb_get_modifier_mapping_unchecked (xcb_connection_t *c /**< */); 11715 11716 11717 /***************************************************************************** 11718 ** 11719 ** xcb_keycode_t * xcb_get_modifier_mapping_keycodes 11720 ** 11721 ** @param /+const+/ xcb_get_modifier_mapping_reply_t *R 11722 ** @returns xcb_keycode_t * 11723 ** 11724 *****************************************************************************/ 11725 11726 extern(C) xcb_keycode_t * 11727 xcb_get_modifier_mapping_keycodes (/+const+/ xcb_get_modifier_mapping_reply_t *R /**< */); 11728 11729 11730 /***************************************************************************** 11731 ** 11732 ** int xcb_get_modifier_mapping_keycodes_length 11733 ** 11734 ** @param /+const+/ xcb_get_modifier_mapping_reply_t *R 11735 ** @returns int 11736 ** 11737 *****************************************************************************/ 11738 11739 extern(C) int 11740 xcb_get_modifier_mapping_keycodes_length (/+const+/ xcb_get_modifier_mapping_reply_t *R /**< */); 11741 11742 11743 /***************************************************************************** 11744 ** 11745 ** xcb_keycode_iterator_t xcb_get_modifier_mapping_keycodes_iterator 11746 ** 11747 ** @param /+const+/ xcb_get_modifier_mapping_reply_t *R 11748 ** @returns xcb_keycode_iterator_t 11749 ** 11750 *****************************************************************************/ 11751 11752 extern(C) xcb_keycode_iterator_t 11753 xcb_get_modifier_mapping_keycodes_iterator (/+const+/ xcb_get_modifier_mapping_reply_t *R /**< */); 11754 11755 11756 /***************************************************************************** 11757 ** 11758 ** xcb_get_modifier_mapping_reply_t * xcb_get_modifier_mapping_reply 11759 ** 11760 ** @param xcb_connection_t *c 11761 ** @param xcb_get_modifier_mapping_cookie_t cookie 11762 ** @param xcb_generic_error_t **e 11763 ** @returns xcb_get_modifier_mapping_reply_t * 11764 ** 11765 *****************************************************************************/ 11766 11767 extern(C) xcb_get_modifier_mapping_reply_t * 11768 xcb_get_modifier_mapping_reply (xcb_connection_t *c /**< */, 11769 xcb_get_modifier_mapping_cookie_t cookie /**< */, 11770 xcb_generic_error_t **e /**< */); 11771 11772 11773 /***************************************************************************** 11774 ** 11775 ** xcb_void_cookie_t xcb_no_operation_checked 11776 ** 11777 ** @param xcb_connection_t *c 11778 ** @returns xcb_void_cookie_t 11779 ** 11780 *****************************************************************************/ 11781 11782 extern(C) xcb_void_cookie_t 11783 xcb_no_operation_checked (xcb_connection_t *c /**< */); 11784 11785 11786 /***************************************************************************** 11787 ** 11788 ** xcb_void_cookie_t xcb_no_operation 11789 ** 11790 ** @param xcb_connection_t *c 11791 ** @returns xcb_void_cookie_t 11792 ** 11793 *****************************************************************************/ 11794 11795 extern(C) xcb_void_cookie_t 11796 xcb_no_operation (xcb_connection_t *c /**< */); 11797 11798 11799 11800 /** 11801 * @} 11802 */