This file is indexed.

/usr/share/gir-1.0/GdkX11-3.0.gir is in libgtk-3-dev 3.22.11-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="Gdk" version="3.0"/>
  <include name="GdkPixbuf" version="2.0"/>
  <include name="Gio" version="2.0"/>
  <include name="Pango" version="1.0"/>
  <include name="xlib" version="2.0"/>
  <package name="gdk-x11-3.0"/>
  <c:include name="gdk/gdkx.h"/>
  <namespace name="GdkX11"
             version="3.0"
             shared-library="libgdk-3.so.0"
             c:identifier-prefixes="Gdk"
             c:symbol-prefixes="gdk">
    <class name="X11AppLaunchContext"
           c:symbol-prefix="x11_app_launch_context"
           c:type="GdkX11AppLaunchContext"
           parent="Gdk.AppLaunchContext"
           glib:type-name="GdkX11AppLaunchContext"
           glib:get-type="gdk_x11_app_launch_context_get_type"
           glib:type-struct="X11AppLaunchContextClass">
    </class>
    <record name="X11AppLaunchContextClass"
            c:type="GdkX11AppLaunchContextClass"
            disguised="1"
            glib:is-gtype-struct-for="X11AppLaunchContext">
    </record>
    <class name="X11Cursor"
           c:symbol-prefix="x11_cursor"
           c:type="GdkX11Cursor"
           parent="Gdk.Cursor"
           glib:type-name="GdkX11Cursor"
           glib:get-type="gdk_x11_cursor_get_type"
           glib:type-struct="X11CursorClass">
      <method name="get_xcursor" c:identifier="gdk_x11_cursor_get_xcursor">
        <doc xml:space="preserve">Returns the X cursor belonging to a #GdkCursor.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">an Xlib Cursor.</doc>
          <type name="xlib.Cursor" c:type="Cursor"/>
        </return-value>
        <parameters>
          <instance-parameter name="cursor" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkCursor.</doc>
            <type name="X11Cursor" c:type="GdkCursor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_xdisplay" c:identifier="gdk_x11_cursor_get_xdisplay">
        <doc xml:space="preserve">Returns the display of a #GdkCursor.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">an Xlib Display*.</doc>
          <type name="xlib.Display" c:type="Display*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cursor" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkCursor.</doc>
            <type name="X11Cursor" c:type="GdkCursor*"/>
          </instance-parameter>
        </parameters>
      </method>
    </class>
    <record name="X11CursorClass"
            c:type="GdkX11CursorClass"
            disguised="1"
            glib:is-gtype-struct-for="X11Cursor">
    </record>
    <class name="X11DeviceCore"
           c:symbol-prefix="x11_device_core"
           c:type="GdkX11DeviceCore"
           parent="Gdk.Device"
           glib:type-name="GdkX11DeviceCore"
           glib:get-type="gdk_x11_device_core_get_type"
           glib:type-struct="X11DeviceCoreClass">
    </class>
    <record name="X11DeviceCoreClass"
            c:type="GdkX11DeviceCoreClass"
            disguised="1"
            glib:is-gtype-struct-for="X11DeviceCore">
    </record>
    <class name="X11DeviceManagerCore"
           c:symbol-prefix="x11_device_manager_core"
           c:type="GdkX11DeviceManagerCore"
           parent="Gdk.DeviceManager"
           glib:type-name="GdkX11DeviceManagerCore"
           glib:get-type="gdk_x11_device_manager_core_get_type"
           glib:type-struct="X11DeviceManagerCoreClass">
    </class>
    <record name="X11DeviceManagerCoreClass"
            c:type="GdkX11DeviceManagerCoreClass"
            disguised="1"
            glib:is-gtype-struct-for="X11DeviceManagerCore">
    </record>
    <class name="X11DeviceManagerXI2"
           c:symbol-prefix="x11_device_manager_xi2"
           c:type="GdkX11DeviceManagerXI2"
           parent="X11DeviceManagerCore"
           glib:type-name="GdkX11DeviceManagerXI2"
           glib:get-type="gdk_x11_device_manager_xi2_get_type"
           glib:type-struct="X11DeviceManagerXI2Class">
      <property name="major"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="gint" c:type="gint"/>
      </property>
      <property name="minor"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="gint" c:type="gint"/>
      </property>
      <property name="opcode"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="gint" c:type="gint"/>
      </property>
    </class>
    <record name="X11DeviceManagerXI2Class"
            c:type="GdkX11DeviceManagerXI2Class"
            disguised="1"
            glib:is-gtype-struct-for="X11DeviceManagerXI2">
    </record>
    <class name="X11DeviceXI2"
           c:symbol-prefix="x11_device_xi2"
           c:type="GdkX11DeviceXI2"
           parent="Gdk.Device"
           glib:type-name="GdkX11DeviceXI2"
           glib:get-type="gdk_x11_device_xi2_get_type"
           glib:type-struct="X11DeviceXI2Class">
      <property name="device-id"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="gint" c:type="gint"/>
      </property>
    </class>
    <record name="X11DeviceXI2Class"
            c:type="GdkX11DeviceXI2Class"
            disguised="1"
            glib:is-gtype-struct-for="X11DeviceXI2">
    </record>
    <class name="X11Display"
           c:symbol-prefix="x11_display"
           c:type="GdkX11Display"
           parent="Gdk.Display"
           glib:type-name="GdkX11Display"
           glib:get-type="gdk_x11_display_get_type"
           glib:type-struct="X11DisplayClass">
      <method name="broadcast_startup_message"
              c:identifier="gdk_x11_display_broadcast_startup_message"
              version="2.12"
              introspectable="0">
        <doc xml:space="preserve">Sends a startup notification message of type @message_type to
@display.

This is a convenience function for use by code that implements the
freedesktop startup notification specification. Applications should
not normally need to call it directly. See the
[Startup Notification Protocol specification](http://standards.freedesktop.org/startup-notification-spec/startup-notification-latest.txt)
for definitions of the message types and keys that can be used.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="X11Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="message_type" transfer-ownership="none">
            <doc xml:space="preserve">startup notification message type ("new", "change",
or "remove")</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve">a list of key/value pairs (as strings), terminated by a
%NULL key. (A %NULL value for a key will cause that key to be
skipped in the output.)</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="error_trap_pop"
              c:identifier="gdk_x11_display_error_trap_pop"
              version="3.0">
        <doc xml:space="preserve">Pops the error trap pushed by gdk_x11_display_error_trap_push().
Will XSync() if necessary and will always block until
the error is known to have occurred or not occurred,
so the error code can be returned.

If you don’t need to use the return value,
gdk_x11_display_error_trap_pop_ignored() would be more efficient.

See gdk_error_trap_pop() for the all-displays-at-once
equivalent.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">X error code or 0 on success</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">the display</doc>
            <type name="X11Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="error_trap_pop_ignored"
              c:identifier="gdk_x11_display_error_trap_pop_ignored"
              version="3.0">
        <doc xml:space="preserve">Pops the error trap pushed by gdk_x11_display_error_trap_push().
Does not block to see if an error occurred; merely records the
range of requests to ignore errors for, and ignores those errors
if they arrive asynchronously.

See gdk_error_trap_pop_ignored() for the all-displays-at-once
equivalent.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">the display</doc>
            <type name="X11Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="error_trap_push"
              c:identifier="gdk_x11_display_error_trap_push"
              version="3.0">
        <doc xml:space="preserve">Begins a range of X requests on @display for which X error events
will be ignored. Unignored errors (when no trap is pushed) will abort
the application. Use gdk_x11_display_error_trap_pop() or
gdk_x11_display_error_trap_pop_ignored()to lift a trap pushed
with this function.

See also gdk_error_trap_push() to push a trap on all displays.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="X11Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_startup_notification_id"
              c:identifier="gdk_x11_display_get_startup_notification_id"
              version="2.12">
        <doc xml:space="preserve">Gets the startup notification ID for a display.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the startup notification ID for @display</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="X11Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_user_time"
              c:identifier="gdk_x11_display_get_user_time"
              version="2.8">
        <doc xml:space="preserve">Returns the timestamp of the last user interaction on
@display. The timestamp is taken from events caused
by user interaction such as key presses or pointer
movements. See gdk_x11_window_set_user_time().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the timestamp of the last user interaction</doc>
          <type name="guint32" c:type="guint32"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="X11Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_xdisplay"
              c:identifier="gdk_x11_display_get_xdisplay"
              version="2.2">
        <doc xml:space="preserve">Returns the X display of a #GdkDisplay.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">an X display</doc>
          <type name="xlib.Display" c:type="Display*"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="X11Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="grab" c:identifier="gdk_x11_display_grab" version="2.2">
        <doc xml:space="preserve">Call XGrabServer() on @display.
To ungrab the display again, use gdk_x11_display_ungrab().

gdk_x11_display_grab()/gdk_x11_display_ungrab() calls can be nested.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="X11Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_cursor_theme"
              c:identifier="gdk_x11_display_set_cursor_theme"
              version="2.8">
        <doc xml:space="preserve">Sets the cursor theme from which the images for cursor
should be taken.

If the windowing system supports it, existing cursors created
with gdk_cursor_new(), gdk_cursor_new_for_display() and
gdk_cursor_new_from_name() are updated to reflect the theme
change. Custom cursors constructed with
gdk_cursor_new_from_pixbuf() will have to be handled
by the application (GTK+ applications can learn about
cursor theme changes by listening for change notification
for the corresponding #GtkSetting).</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="X11Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="theme" transfer-ownership="none">
            <doc xml:space="preserve">the name of the cursor theme to use, or %NULL to unset
        a previously set value</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">the cursor size to use, or 0 to keep the previous size</doc>
            <type name="gint" c:type="const gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_startup_notification_id"
              c:identifier="gdk_x11_display_set_startup_notification_id"
              version="3.0">
        <doc xml:space="preserve">Sets the startup notification ID for a display.

This is usually taken from the value of the DESKTOP_STARTUP_ID
environment variable, but in some cases (such as the application not
being launched using exec()) it can come from other sources.

If the ID contains the string "_TIME" then the portion following that
string is taken to be the X11 timestamp of the event that triggered
the application to be launched and the GDK current event time is set
accordingly.

The startup ID is also what is used to signal that the startup is
complete (for example, when opening a window or when calling
gdk_notify_startup_complete()).</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="X11Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="startup_id" transfer-ownership="none">
            <doc xml:space="preserve">the startup notification ID (must be valid utf8)</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_window_scale"
              c:identifier="gdk_x11_display_set_window_scale"
              version="3.10">
        <doc xml:space="preserve">Forces a specific window scale for all windows on this display,
instead of using the default or user configured scale. This
is can be used to disable scaling support by setting @scale to
1, or to programmatically set the window scale.

Once the scale is set by this call it will not change in response
to later user configuration changes.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">the display</doc>
            <type name="X11Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="scale" transfer-ownership="none">
            <doc xml:space="preserve">The new scale value</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="string_to_compound_text"
              c:identifier="gdk_x11_display_string_to_compound_text"
              version="2.24">
        <doc xml:space="preserve">Convert a string from the encoding of the current
locale into a form suitable for storing in a window property.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">0 upon success, non-zero upon failure</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">the #GdkDisplay where the encoding is defined</doc>
            <type name="X11Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="str" transfer-ownership="none">
            <doc xml:space="preserve">a nul-terminated string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="encoding"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve">location to store the encoding atom
    (to be used as the type for the property)</doc>
            <type name="Gdk.Atom" c:type="GdkAtom*"/>
          </parameter>
          <parameter name="format"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location to store the format of the property</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="ctext"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location to store newly
    allocated data for the property</doc>
            <array length="4" zero-terminated="0" c:type="guchar**">
              <type name="guint8" c:type="guchar*"/>
            </array>
          </parameter>
          <parameter name="length"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">the length of @ctext, in bytes</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="text_property_to_text_list"
              c:identifier="gdk_x11_display_text_property_to_text_list"
              version="2.24">
        <doc xml:space="preserve">Convert a text string from the encoding as it is stored
in a property into an array of strings in the encoding of
the current locale. (The elements of the array represent the
nul-separated elements of the original text string.)</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the number of strings stored in list, or 0,
    if the conversion failed</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">The #GdkDisplay where the encoding is defined</doc>
            <type name="X11Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="encoding" transfer-ownership="none">
            <doc xml:space="preserve">an atom representing the encoding. The most
   common values for this are STRING, or COMPOUND_TEXT.
   This is value used as the type for the property</doc>
            <type name="Gdk.Atom" c:type="GdkAtom"/>
          </parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve">the format of the property</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="text" transfer-ownership="none">
            <doc xml:space="preserve">The text data</doc>
            <type name="guint8" c:type="const guchar*"/>
          </parameter>
          <parameter name="length" transfer-ownership="none">
            <doc xml:space="preserve">The number of items to transform</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">location to store an  array of strings in
   the encoding of the current locale. This array should be
   freed using gdk_free_text_list().</doc>
            <type name="utf8" c:type="gchar***"/>
          </parameter>
        </parameters>
      </method>
      <method name="ungrab"
              c:identifier="gdk_x11_display_ungrab"
              version="2.2">
        <doc xml:space="preserve">Ungrab @display after it has been grabbed with
gdk_x11_display_grab().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="X11Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="utf8_to_compound_text"
              c:identifier="gdk_x11_display_utf8_to_compound_text"
              version="2.24">
        <doc xml:space="preserve">Converts from UTF-8 to compound text.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the conversion succeeded,
    otherwise %FALSE</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="X11Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="str" transfer-ownership="none">
            <doc xml:space="preserve">a UTF-8 string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="encoding"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve">location to store resulting encoding</doc>
            <type name="Gdk.Atom" c:type="GdkAtom*"/>
          </parameter>
          <parameter name="format"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location to store format of the result</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="ctext"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location to store the data of the result</doc>
            <array length="4" zero-terminated="0" c:type="guchar**">
              <type name="guint8" c:type="guchar*"/>
            </array>
          </parameter>
          <parameter name="length"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location to store the length of the data
    stored in @ctext</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
    </class>
    <record name="X11DisplayClass"
            c:type="GdkX11DisplayClass"
            disguised="1"
            glib:is-gtype-struct-for="X11Display">
    </record>
    <class name="X11DisplayManager"
           c:symbol-prefix="x11_display_manager"
           c:type="GdkX11DisplayManager"
           parent="Gdk.DisplayManager"
           glib:type-name="GdkX11DisplayManager"
           glib:get-type="gdk_x11_display_manager_get_type"
           glib:type-struct="X11DisplayManagerClass">
    </class>
    <record name="X11DisplayManagerClass"
            c:type="GdkX11DisplayManagerClass"
            disguised="1"
            glib:is-gtype-struct-for="X11DisplayManager">
    </record>
    <class name="X11DragContext"
           c:symbol-prefix="x11_drag_context"
           c:type="GdkX11DragContext"
           parent="Gdk.DragContext"
           glib:type-name="GdkX11DragContext"
           glib:get-type="gdk_x11_drag_context_get_type"
           glib:type-struct="X11DragContextClass">
    </class>
    <record name="X11DragContextClass"
            c:type="GdkX11DragContextClass"
            disguised="1"
            glib:is-gtype-struct-for="X11DragContext">
    </record>
    <class name="X11Keymap"
           c:symbol-prefix="x11_keymap"
           c:type="GdkX11Keymap"
           parent="Gdk.Keymap"
           glib:type-name="GdkX11Keymap"
           glib:get-type="gdk_x11_keymap_get_type"
           glib:type-struct="X11KeymapClass">
      <method name="get_group_for_state"
              c:identifier="gdk_x11_keymap_get_group_for_state"
              version="3.6">
        <doc xml:space="preserve">Extracts the group from the state field sent in an X Key event.
This is only needed for code processing raw X events, since #GdkEventKey
directly includes an is_modifier field.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the index of the active keyboard group for the event</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="keymap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkX11Keymap</doc>
            <type name="X11Keymap" c:type="GdkKeymap*"/>
          </instance-parameter>
          <parameter name="state" transfer-ownership="none">
            <doc xml:space="preserve">raw state returned from X</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="key_is_modifier"
              c:identifier="gdk_x11_keymap_key_is_modifier"
              version="3.6">
        <doc xml:space="preserve">Determines whether a particular key code represents a key that
is a modifier. That is, it’s a key that normally just affects
the keyboard state and the behavior of other keys rather than
producing a direct effect itself. This is only needed for code
processing raw X events, since #GdkEventKey directly includes
an is_modifier field.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the hardware keycode is a modifier key</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="keymap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkX11Keymap</doc>
            <type name="X11Keymap" c:type="GdkKeymap*"/>
          </instance-parameter>
          <parameter name="keycode" transfer-ownership="none">
            <doc xml:space="preserve">the hardware keycode from a key event</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
    </class>
    <record name="X11KeymapClass"
            c:type="GdkX11KeymapClass"
            disguised="1"
            glib:is-gtype-struct-for="X11Keymap">
    </record>
    <class name="X11Screen"
           c:symbol-prefix="x11_screen"
           c:type="GdkX11Screen"
           parent="Gdk.Screen"
           glib:type-name="GdkX11Screen"
           glib:get-type="gdk_x11_screen_get_type"
           glib:type-struct="X11ScreenClass">
      <method name="get_current_desktop"
              c:identifier="gdk_x11_screen_get_current_desktop"
              version="3.10">
        <doc xml:space="preserve">Returns the current workspace for @screen when running under a
window manager that supports multiple workspaces, as described
in the
[Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec) specification.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the current workspace, or 0 if workspaces are not supported</doc>
          <type name="guint32" c:type="guint32"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="X11Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_monitor_output"
              c:identifier="gdk_x11_screen_get_monitor_output"
              version="2.14">
        <doc xml:space="preserve">Gets the XID of the specified output/monitor.
If the X server does not support version 1.2 of the RANDR
extension, 0 is returned.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the XID of the monitor</doc>
          <type name="xlib.XID" c:type="XID"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="X11Screen" c:type="GdkScreen*"/>
          </instance-parameter>
          <parameter name="monitor_num" transfer-ownership="none">
            <doc xml:space="preserve">number of the monitor, between 0 and gdk_screen_get_n_monitors (screen)</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_number_of_desktops"
              c:identifier="gdk_x11_screen_get_number_of_desktops"
              version="3.10">
        <doc xml:space="preserve">Returns the number of workspaces for @screen when running under a
window manager that supports multiple workspaces, as described
in the
[Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec) specification.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the number of workspaces, or 0 if workspaces are not supported</doc>
          <type name="guint32" c:type="guint32"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="X11Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_screen_number"
              c:identifier="gdk_x11_screen_get_screen_number"
              version="2.2">
        <doc xml:space="preserve">Returns the index of a #GdkScreen.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the position of @screen among the screens
    of its display</doc>
          <type name="gint" c:type="int"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="X11Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_window_manager_name"
              c:identifier="gdk_x11_screen_get_window_manager_name"
              version="2.2">
        <doc xml:space="preserve">Returns the name of the window manager for @screen.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the name of the window manager screen @screen, or
"unknown" if the window manager is unknown. The string is owned by GDK
and should not be freed.</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="X11Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_xscreen"
              c:identifier="gdk_x11_screen_get_xscreen"
              version="2.2">
        <doc xml:space="preserve">Returns the screen of a #GdkScreen.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">an Xlib Screen*</doc>
          <type name="xlib.Screen" c:type="Screen*"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="X11Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="lookup_visual"
              c:identifier="gdk_x11_screen_lookup_visual"
              version="2.2">
        <doc xml:space="preserve">Looks up the #GdkVisual for a particular screen and X Visual ID.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GdkVisual (owned by the screen
  object), or %NULL if the visual ID wasn’t found.</doc>
          <type name="X11Visual" c:type="GdkVisual*"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen.</doc>
            <type name="X11Screen" c:type="GdkScreen*"/>
          </instance-parameter>
          <parameter name="xvisualid" transfer-ownership="none">
            <doc xml:space="preserve">an X Visual ID.</doc>
            <type name="xlib.VisualID" c:type="VisualID"/>
          </parameter>
        </parameters>
      </method>
      <method name="supports_net_wm_hint"
              c:identifier="gdk_x11_screen_supports_net_wm_hint"
              version="2.2">
        <doc xml:space="preserve">This function is specific to the X11 backend of GDK, and indicates
whether the window manager supports a certain hint from the
[Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec) specification.

When using this function, keep in mind that the window manager
can change over time; so you shouldn’t use this function in
a way that impacts persistent application state. A common bug
is that your application can start up before the window manager
does when the user logs in, and before the window manager starts
gdk_x11_screen_supports_net_wm_hint() will return %FALSE for every property.
You can monitor the window_manager_changed signal on #GdkScreen to detect
a window manager change.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the window manager supports @property</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">the relevant #GdkScreen.</doc>
            <type name="X11Screen" c:type="GdkScreen*"/>
          </instance-parameter>
          <parameter name="property" transfer-ownership="none">
            <doc xml:space="preserve">a property atom.</doc>
            <type name="Gdk.Atom" c:type="GdkAtom"/>
          </parameter>
        </parameters>
      </method>
      <glib:signal name="window-manager-changed" when="last">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
    </class>
    <record name="X11ScreenClass"
            c:type="GdkX11ScreenClass"
            disguised="1"
            glib:is-gtype-struct-for="X11Screen">
    </record>
    <class name="X11Visual"
           c:symbol-prefix="x11_visual"
           c:type="GdkX11Visual"
           parent="Gdk.Visual"
           glib:type-name="GdkX11Visual"
           glib:get-type="gdk_x11_visual_get_type"
           glib:type-struct="X11VisualClass">
      <method name="get_xvisual" c:identifier="gdk_x11_visual_get_xvisual">
        <doc xml:space="preserve">Returns the X visual belonging to a #GdkVisual.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">an Xlib Visual*.</doc>
          <type name="xlib.Visual" c:type="Visual*"/>
        </return-value>
        <parameters>
          <instance-parameter name="visual" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkVisual.</doc>
            <type name="X11Visual" c:type="GdkVisual*"/>
          </instance-parameter>
        </parameters>
      </method>
    </class>
    <record name="X11VisualClass"
            c:type="GdkX11VisualClass"
            disguised="1"
            glib:is-gtype-struct-for="X11Visual">
    </record>
    <class name="X11Window"
           c:symbol-prefix="x11_window"
           c:type="GdkX11Window"
           parent="Gdk.Window"
           glib:type-name="GdkX11Window"
           glib:get-type="gdk_x11_window_get_type"
           glib:type-struct="X11WindowClass">
      <constructor name="foreign_new_for_display"
                   c:identifier="gdk_x11_window_foreign_new_for_display"
                   version="2.24">
        <doc xml:space="preserve">Wraps a native window in a #GdkWindow. The function will try to
look up the window using gdk_x11_window_lookup_for_display() first.
If it does not find it there, it will create a new window.

This may fail if the window has been destroyed. If the window
was already known to GDK, a new reference to the existing
#GdkWindow is returned.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GdkWindow wrapper for the native
  window, or %NULL if the window has been destroyed. The wrapper
  will be newly created, if one doesn’t exist already.</doc>
          <type name="Gdk.Window" c:type="GdkWindow*"/>
        </return-value>
        <parameters>
          <parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">the #GdkDisplay where the window handle comes from.</doc>
            <type name="X11Display" c:type="GdkDisplay*"/>
          </parameter>
          <parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">an Xlib Window</doc>
            <type name="xlib.Window" c:type="Window"/>
          </parameter>
        </parameters>
      </constructor>
      <function name="lookup_for_display"
                c:identifier="gdk_x11_window_lookup_for_display"
                version="2.24">
        <doc xml:space="preserve">Looks up the #GdkWindow that wraps the given native window handle.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GdkWindow wrapper for the native
   window, or %NULL if there is none.</doc>
          <type name="X11Window" c:type="GdkWindow*"/>
        </return-value>
        <parameters>
          <parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">the #GdkDisplay corresponding to the
          window handle</doc>
            <type name="X11Display" c:type="GdkDisplay*"/>
          </parameter>
          <parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">an Xlib Window</doc>
            <type name="xlib.Window" c:type="Window"/>
          </parameter>
        </parameters>
      </function>
      <method name="get_desktop"
              c:identifier="gdk_x11_window_get_desktop"
              version="3.10">
        <doc xml:space="preserve">Gets the number of the workspace @window is on.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the current workspace of @window</doc>
          <type name="guint32" c:type="guint32"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="X11Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_xid" c:identifier="gdk_x11_window_get_xid">
        <doc xml:space="preserve">Returns the X resource (window) belonging to a #GdkWindow.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the ID of @drawable’s X resource.</doc>
          <type name="xlib.Window" c:type="Window"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a native #GdkWindow.</doc>
            <type name="X11Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="move_to_current_desktop"
              c:identifier="gdk_x11_window_move_to_current_desktop"
              version="2.8">
        <doc xml:space="preserve">Moves the window to the correct workspace when running under a
window manager that supports multiple workspaces, as described
in the [Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec) specification.
Will not do anything if the window is already on all workspaces.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="X11Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="move_to_desktop"
              c:identifier="gdk_x11_window_move_to_desktop"
              version="3.10">
        <doc xml:space="preserve">Moves the window to the given workspace when running unde a
window manager that supports multiple workspaces, as described
in the [Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec) specification.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="X11Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="desktop" transfer-ownership="none">
            <doc xml:space="preserve">the number of the workspace to move the window to</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_frame_extents"
              c:identifier="gdk_x11_window_set_frame_extents"
              version="3.10"
              deprecated="1"
              deprecated-version="3.12">
        <doc xml:space="preserve">This is the same as gdk_window_set_shadow_width() but it only works
on GdkX11Window.</doc>
        <doc-deprecated xml:space="preserve">Use gdk_window_set_shadow_width() instead.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="X11Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="left" transfer-ownership="none">
            <doc xml:space="preserve">The left extent</doc>
            <type name="gint" c:type="int"/>
          </parameter>
          <parameter name="right" transfer-ownership="none">
            <doc xml:space="preserve">The right extent</doc>
            <type name="gint" c:type="int"/>
          </parameter>
          <parameter name="top" transfer-ownership="none">
            <doc xml:space="preserve">The top extent</doc>
            <type name="gint" c:type="int"/>
          </parameter>
          <parameter name="bottom" transfer-ownership="none">
            <doc xml:space="preserve">The bottom extent</doc>
            <type name="gint" c:type="int"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_frame_sync_enabled"
              c:identifier="gdk_x11_window_set_frame_sync_enabled"
              version="3.8">
        <doc xml:space="preserve">This function can be used to disable frame synchronization for a window.
Normally frame synchronziation will be enabled or disabled based on whether
the system has a compositor that supports frame synchronization, but if
the window is not directly managed by the window manager, then frame
synchronziation may need to be disabled. This is the case for a window
embedded via the XEMBED protocol.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a native #GdkWindow</doc>
            <type name="X11Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="frame_sync_enabled" transfer-ownership="none">
            <doc xml:space="preserve">whether frame-synchronization should be enabled</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_hide_titlebar_when_maximized"
              c:identifier="gdk_x11_window_set_hide_titlebar_when_maximized"
              version="3.4">
        <doc xml:space="preserve">Set a hint for the window manager, requesting that the titlebar
should be hidden when the window is maximized.

Note that this property is automatically updated by GTK+, so this
function should only be used by applications which do not use GTK+
to create toplevel windows.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="X11Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="hide_titlebar_when_maximized"
                     transfer-ownership="none">
            <doc xml:space="preserve">whether to hide the titlebar when
                               maximized</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_theme_variant"
              c:identifier="gdk_x11_window_set_theme_variant"
              version="3.2">
        <doc xml:space="preserve">GTK+ applications can request a dark theme variant. In order to
make other applications - namely window managers using GTK+ for
themeing - aware of this choice, GTK+ uses this function to
export the requested theme variant as _GTK_THEME_VARIANT property
on toplevel windows.

Note that this property is automatically updated by GTK+, so this
function should only be used by applications which do not use GTK+
to create toplevel windows.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="X11Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="variant" transfer-ownership="none">
            <doc xml:space="preserve">the theme variant to export</doc>
            <type name="utf8" c:type="char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_user_time"
              c:identifier="gdk_x11_window_set_user_time"
              version="2.6">
        <doc xml:space="preserve">The application can use this call to update the _NET_WM_USER_TIME
property on a toplevel window.  This property stores an Xserver
time which represents the time of the last user input event
received for this window.  This property may be used by the window
manager to alter the focus, stacking, and/or placement behavior of
windows when they are mapped depending on whether the new window
was created by a user action or is a "pop-up" window activated by a
timer or some other event.

Note that this property is automatically updated by GDK, so this
function should only be used by applications which handle input
events bypassing GDK.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">A toplevel #GdkWindow</doc>
            <type name="X11Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">An XServer timestamp to which the property should be set</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_utf8_property"
              c:identifier="gdk_x11_window_set_utf8_property"
              version="3.4">
        <doc xml:space="preserve">This function modifies or removes an arbitrary X11 window
property of type UTF8_STRING.  If the given @window is
not a toplevel window, it is ignored.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="X11Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">Property name, will be interned as an X atom</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">Property value, or %NULL to delete</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
    </class>
    <record name="X11WindowClass"
            c:type="GdkX11WindowClass"
            disguised="1"
            glib:is-gtype-struct-for="X11Window">
    </record>
    <function name="x11_atom_to_xatom" c:identifier="gdk_x11_atom_to_xatom">
      <doc xml:space="preserve">Converts from a #GdkAtom to the X atom for the default GDK display
with the same string value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the X atom corresponding to @atom.</doc>
        <type name="xlib.Atom" c:type="Atom"/>
      </return-value>
      <parameters>
        <parameter name="atom" transfer-ownership="none">
          <doc xml:space="preserve">A #GdkAtom</doc>
          <type name="Gdk.Atom" c:type="GdkAtom"/>
        </parameter>
      </parameters>
    </function>
    <function name="x11_atom_to_xatom_for_display"
              c:identifier="gdk_x11_atom_to_xatom_for_display"
              version="2.2">
      <doc xml:space="preserve">Converts from a #GdkAtom to the X atom for a #GdkDisplay
with the same string value. The special value %GDK_NONE
is converted to %None.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the X atom corresponding to @atom, or %None</doc>
        <type name="xlib.Atom" c:type="Atom"/>
      </return-value>
      <parameters>
        <parameter name="display" transfer-ownership="none">
          <doc xml:space="preserve">A #GdkDisplay</doc>
          <type name="X11Display" c:type="GdkDisplay*"/>
        </parameter>
        <parameter name="atom" transfer-ownership="none">
          <doc xml:space="preserve">A #GdkAtom, or %GDK_NONE</doc>
          <type name="Gdk.Atom" c:type="GdkAtom"/>
        </parameter>
      </parameters>
    </function>
    <function name="x11_device_get_id"
              c:identifier="gdk_x11_device_get_id"
              version="3.2">
      <doc xml:space="preserve">Returns the device ID as seen by XInput2.

&gt; If gdk_disable_multidevice() has been called, this function
&gt; will respectively return 2/3 for the core pointer and keyboard,
&gt; (matching the IDs for the Virtual Core Pointer and Keyboard in
&gt; XInput 2), but calling this function on any slave devices (i.e.
&gt; those managed via XInput 1.x), will return 0.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the XInput2 device ID.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="device" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDevice</doc>
          <type name="X11DeviceCore" c:type="GdkDevice*"/>
        </parameter>
      </parameters>
    </function>
    <function name="x11_device_manager_lookup"
              c:identifier="gdk_x11_device_manager_lookup"
              version="3.2">
      <doc xml:space="preserve">Returns the #GdkDevice that wraps the given device ID.</doc>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve">The #GdkDevice wrapping the device ID,
         or %NULL if the given ID doesn’t currently represent a device.</doc>
        <type name="X11DeviceCore" c:type="GdkDevice*"/>
      </return-value>
      <parameters>
        <parameter name="device_manager" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDeviceManager</doc>
          <type name="X11DeviceManagerCore" c:type="GdkDeviceManager*"/>
        </parameter>
        <parameter name="device_id" transfer-ownership="none">
          <doc xml:space="preserve">a device ID, as understood by the XInput2 protocol</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="x11_free_compound_text"
              c:identifier="gdk_x11_free_compound_text"
              version="2.24">
      <doc xml:space="preserve">Frees the data returned from gdk_x11_display_string_to_compound_text().</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="ctext" transfer-ownership="none">
          <doc xml:space="preserve">The pointer stored in @ctext from a call to
  gdk_x11_display_string_to_compound_text().</doc>
          <type name="guint8" c:type="guchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="x11_free_text_list"
              c:identifier="gdk_x11_free_text_list"
              version="2.24">
      <doc xml:space="preserve">Frees the array of strings created by
gdk_x11_display_text_property_to_text_list().</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="list" transfer-ownership="none">
          <doc xml:space="preserve">the value stored in the @list parameter by
  a call to gdk_x11_display_text_property_to_text_list().</doc>
          <type name="utf8" c:type="gchar**"/>
        </parameter>
      </parameters>
    </function>
    <function name="x11_get_default_root_xwindow"
              c:identifier="gdk_x11_get_default_root_xwindow">
      <doc xml:space="preserve">Gets the root window of the default screen
(see gdk_x11_get_default_screen()).</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">an Xlib Window.</doc>
        <type name="xlib.Window" c:type="Window"/>
      </return-value>
    </function>
    <function name="x11_get_default_screen"
              c:identifier="gdk_x11_get_default_screen">
      <doc xml:space="preserve">Gets the default GTK+ screen number.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">returns the screen number specified by
  the --display command line option or the DISPLAY environment
  variable when gdk_init() calls XOpenDisplay().</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
    </function>
    <function name="x11_get_default_xdisplay"
              c:identifier="gdk_x11_get_default_xdisplay">
      <doc xml:space="preserve">Gets the default GTK+ display.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the Xlib Display* for
the display specified in the `--display` command
line option or the `DISPLAY` environment variable.</doc>
        <type name="xlib.Display" c:type="Display*"/>
      </return-value>
    </function>
    <function name="x11_get_server_time"
              c:identifier="gdk_x11_get_server_time">
      <doc xml:space="preserve">Routine to get the current X server time stamp.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the time stamp.</doc>
        <type name="guint32" c:type="guint32"/>
      </return-value>
      <parameters>
        <parameter name="window" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkWindow, used for communication
         with the server.  The window must have
         GDK_PROPERTY_CHANGE_MASK in its events mask or a hang will
         result.</doc>
          <type name="X11Window" c:type="GdkWindow*"/>
        </parameter>
      </parameters>
    </function>
    <function name="x11_get_xatom_by_name"
              c:identifier="gdk_x11_get_xatom_by_name">
      <doc xml:space="preserve">Returns the X atom for GDK’s default display corresponding to @atom_name.
This function caches the result, so if called repeatedly it is much
faster than XInternAtom(), which is a round trip to the server each time.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">a X atom for GDK’s default display.</doc>
        <type name="xlib.Atom" c:type="Atom"/>
      </return-value>
      <parameters>
        <parameter name="atom_name" transfer-ownership="none">
          <doc xml:space="preserve">a string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="x11_get_xatom_by_name_for_display"
              c:identifier="gdk_x11_get_xatom_by_name_for_display"
              version="2.2">
      <doc xml:space="preserve">Returns the X atom for a #GdkDisplay corresponding to @atom_name.
This function caches the result, so if called repeatedly it is much
faster than XInternAtom(), which is a round trip to the server each time.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">a X atom for a #GdkDisplay</doc>
        <type name="xlib.Atom" c:type="Atom"/>
      </return-value>
      <parameters>
        <parameter name="display" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDisplay</doc>
          <type name="X11Display" c:type="GdkDisplay*"/>
        </parameter>
        <parameter name="atom_name" transfer-ownership="none">
          <doc xml:space="preserve">a string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="x11_get_xatom_name" c:identifier="gdk_x11_get_xatom_name">
      <doc xml:space="preserve">Returns the name of an X atom for GDK’s default display. This
function is meant mainly for debugging, so for convenience, unlike
XAtomName() and gdk_atom_name(), the result
doesn’t need to be freed. Also, this function will never return %NULL,
even if @xatom is invalid.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">name of the X atom; this string is owned by GTK+,
  so it shouldn’t be modifed or freed.</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="xatom" transfer-ownership="none">
          <doc xml:space="preserve">an X atom for GDK’s default display</doc>
          <type name="xlib.Atom" c:type="Atom"/>
        </parameter>
      </parameters>
    </function>
    <function name="x11_get_xatom_name_for_display"
              c:identifier="gdk_x11_get_xatom_name_for_display"
              version="2.2">
      <doc xml:space="preserve">Returns the name of an X atom for its display. This
function is meant mainly for debugging, so for convenience, unlike
XAtomName() and gdk_atom_name(), the result doesn’t need to
be freed.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">name of the X atom; this string is owned by GDK,
  so it shouldn’t be modifed or freed.</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="display" transfer-ownership="none">
          <doc xml:space="preserve">the #GdkDisplay where @xatom is defined</doc>
          <type name="X11Display" c:type="GdkDisplay*"/>
        </parameter>
        <parameter name="xatom" transfer-ownership="none">
          <doc xml:space="preserve">an X atom</doc>
          <type name="xlib.Atom" c:type="Atom"/>
        </parameter>
      </parameters>
    </function>
    <function name="x11_grab_server" c:identifier="gdk_x11_grab_server">
      <doc xml:space="preserve">Call gdk_x11_display_grab() on the default display.
To ungrab the server again, use gdk_x11_ungrab_server().

gdk_x11_grab_server()/gdk_x11_ungrab_server() calls can be nested.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="x11_lookup_xdisplay"
              c:identifier="gdk_x11_lookup_xdisplay"
              version="2.2">
      <doc xml:space="preserve">Find the #GdkDisplay corresponding to @xdisplay, if any exists.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the #GdkDisplay, if found, otherwise %NULL.</doc>
        <type name="X11Display" c:type="GdkDisplay*"/>
      </return-value>
      <parameters>
        <parameter name="xdisplay" transfer-ownership="none">
          <doc xml:space="preserve">a pointer to an X Display</doc>
          <type name="xlib.Display" c:type="Display*"/>
        </parameter>
      </parameters>
    </function>
    <function name="x11_register_standard_event_type"
              c:identifier="gdk_x11_register_standard_event_type"
              version="2.4">
      <doc xml:space="preserve">Registers interest in receiving extension events with type codes
between @event_base and `event_base + n_events - 1`.
The registered events must have the window field in the same place
as core X events (this is not the case for e.g. XKB extension events).

If an event type is registered, events of this type will go through
global and window-specific filters (see gdk_window_add_filter()).
Unregistered events will only go through global filters.
GDK may register the events of some X extensions on its own.

This function should only be needed in unusual circumstances, e.g.
when filtering XInput extension events on the root window.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="display" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDisplay</doc>
          <type name="X11Display" c:type="GdkDisplay*"/>
        </parameter>
        <parameter name="event_base" transfer-ownership="none">
          <doc xml:space="preserve">first event type code to register</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="n_events" transfer-ownership="none">
          <doc xml:space="preserve">number of event type codes to register</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="x11_set_sm_client_id"
              c:identifier="gdk_x11_set_sm_client_id"
              version="2.24">
      <doc xml:space="preserve">Sets the `SM_CLIENT_ID` property on the application’s leader window so that
the window manager can save the application’s state using the X11R6 ICCCM
session management protocol.

See the X Session Management Library documentation for more information on
session management and the Inter-Client Communication Conventions Manual</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="sm_client_id" transfer-ownership="none">
          <doc xml:space="preserve">the client id assigned by the session manager when the
   connection was opened, or %NULL to remove the property.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="x11_ungrab_server" c:identifier="gdk_x11_ungrab_server">
      <doc xml:space="preserve">Ungrab the default display after it has been grabbed with
gdk_x11_grab_server().</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="x11_xatom_to_atom" c:identifier="gdk_x11_xatom_to_atom">
      <doc xml:space="preserve">Convert from an X atom for the default display to the corresponding
#GdkAtom.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the corresponding G#dkAtom.</doc>
        <type name="Gdk.Atom" c:type="GdkAtom"/>
      </return-value>
      <parameters>
        <parameter name="xatom" transfer-ownership="none">
          <doc xml:space="preserve">an X atom for the default GDK display</doc>
          <type name="xlib.Atom" c:type="Atom"/>
        </parameter>
      </parameters>
    </function>
    <function name="x11_xatom_to_atom_for_display"
              c:identifier="gdk_x11_xatom_to_atom_for_display"
              version="2.2">
      <doc xml:space="preserve">Convert from an X atom for a #GdkDisplay to the corresponding
#GdkAtom.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the corresponding #GdkAtom.</doc>
        <type name="Gdk.Atom" c:type="GdkAtom"/>
      </return-value>
      <parameters>
        <parameter name="display" transfer-ownership="none">
          <doc xml:space="preserve">A #GdkDisplay</doc>
          <type name="X11Display" c:type="GdkDisplay*"/>
        </parameter>
        <parameter name="xatom" transfer-ownership="none">
          <doc xml:space="preserve">an X atom</doc>
          <type name="xlib.Atom" c:type="Atom"/>
        </parameter>
      </parameters>
    </function>
  </namespace>
</repository>