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
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
#![allow(
clippy::approx_constant,
clippy::type_complexity,
clippy::unreadable_literal,
clippy::upper_case_acronyms
)]
#![cfg_attr(feature = "dox", feature(doc_cfg))]
use glib_sys as glib;
use gobject_sys as gobject;
#[allow(unused_imports)]
use libc::{
c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void,
intptr_t, size_t, ssize_t, time_t, uintptr_t, FILE,
};
#[allow(unused_imports)]
use glib::{gboolean, gconstpointer, gpointer, GType};
pub type AtkAttributeSet = glib::GSList;
pub type AtkState = u64;
pub type AtkCoordType = c_int;
pub const ATK_XY_SCREEN: AtkCoordType = 0;
pub const ATK_XY_WINDOW: AtkCoordType = 1;
pub const ATK_XY_PARENT: AtkCoordType = 2;
pub type AtkKeyEventType = c_int;
pub const ATK_KEY_EVENT_PRESS: AtkKeyEventType = 0;
pub const ATK_KEY_EVENT_RELEASE: AtkKeyEventType = 1;
pub const ATK_KEY_EVENT_LAST_DEFINED: AtkKeyEventType = 2;
pub type AtkLayer = c_int;
pub const ATK_LAYER_INVALID: AtkLayer = 0;
pub const ATK_LAYER_BACKGROUND: AtkLayer = 1;
pub const ATK_LAYER_CANVAS: AtkLayer = 2;
pub const ATK_LAYER_WIDGET: AtkLayer = 3;
pub const ATK_LAYER_MDI: AtkLayer = 4;
pub const ATK_LAYER_POPUP: AtkLayer = 5;
pub const ATK_LAYER_OVERLAY: AtkLayer = 6;
pub const ATK_LAYER_WINDOW: AtkLayer = 7;
pub type AtkRelationType = c_int;
pub const ATK_RELATION_NULL: AtkRelationType = 0;
pub const ATK_RELATION_CONTROLLED_BY: AtkRelationType = 1;
pub const ATK_RELATION_CONTROLLER_FOR: AtkRelationType = 2;
pub const ATK_RELATION_LABEL_FOR: AtkRelationType = 3;
pub const ATK_RELATION_LABELLED_BY: AtkRelationType = 4;
pub const ATK_RELATION_MEMBER_OF: AtkRelationType = 5;
pub const ATK_RELATION_NODE_CHILD_OF: AtkRelationType = 6;
pub const ATK_RELATION_FLOWS_TO: AtkRelationType = 7;
pub const ATK_RELATION_FLOWS_FROM: AtkRelationType = 8;
pub const ATK_RELATION_SUBWINDOW_OF: AtkRelationType = 9;
pub const ATK_RELATION_EMBEDS: AtkRelationType = 10;
pub const ATK_RELATION_EMBEDDED_BY: AtkRelationType = 11;
pub const ATK_RELATION_POPUP_FOR: AtkRelationType = 12;
pub const ATK_RELATION_PARENT_WINDOW_OF: AtkRelationType = 13;
pub const ATK_RELATION_DESCRIBED_BY: AtkRelationType = 14;
pub const ATK_RELATION_DESCRIPTION_FOR: AtkRelationType = 15;
pub const ATK_RELATION_NODE_PARENT_OF: AtkRelationType = 16;
pub const ATK_RELATION_DETAILS: AtkRelationType = 17;
pub const ATK_RELATION_DETAILS_FOR: AtkRelationType = 18;
pub const ATK_RELATION_ERROR_MESSAGE: AtkRelationType = 19;
pub const ATK_RELATION_ERROR_FOR: AtkRelationType = 20;
pub const ATK_RELATION_LAST_DEFINED: AtkRelationType = 21;
pub type AtkRole = c_int;
pub const ATK_ROLE_INVALID: AtkRole = 0;
pub const ATK_ROLE_ACCEL_LABEL: AtkRole = 1;
pub const ATK_ROLE_ALERT: AtkRole = 2;
pub const ATK_ROLE_ANIMATION: AtkRole = 3;
pub const ATK_ROLE_ARROW: AtkRole = 4;
pub const ATK_ROLE_CALENDAR: AtkRole = 5;
pub const ATK_ROLE_CANVAS: AtkRole = 6;
pub const ATK_ROLE_CHECK_BOX: AtkRole = 7;
pub const ATK_ROLE_CHECK_MENU_ITEM: AtkRole = 8;
pub const ATK_ROLE_COLOR_CHOOSER: AtkRole = 9;
pub const ATK_ROLE_COLUMN_HEADER: AtkRole = 10;
pub const ATK_ROLE_COMBO_BOX: AtkRole = 11;
pub const ATK_ROLE_DATE_EDITOR: AtkRole = 12;
pub const ATK_ROLE_DESKTOP_ICON: AtkRole = 13;
pub const ATK_ROLE_DESKTOP_FRAME: AtkRole = 14;
pub const ATK_ROLE_DIAL: AtkRole = 15;
pub const ATK_ROLE_DIALOG: AtkRole = 16;
pub const ATK_ROLE_DIRECTORY_PANE: AtkRole = 17;
pub const ATK_ROLE_DRAWING_AREA: AtkRole = 18;
pub const ATK_ROLE_FILE_CHOOSER: AtkRole = 19;
pub const ATK_ROLE_FILLER: AtkRole = 20;
pub const ATK_ROLE_FONT_CHOOSER: AtkRole = 21;
pub const ATK_ROLE_FRAME: AtkRole = 22;
pub const ATK_ROLE_GLASS_PANE: AtkRole = 23;
pub const ATK_ROLE_HTML_CONTAINER: AtkRole = 24;
pub const ATK_ROLE_ICON: AtkRole = 25;
pub const ATK_ROLE_IMAGE: AtkRole = 26;
pub const ATK_ROLE_INTERNAL_FRAME: AtkRole = 27;
pub const ATK_ROLE_LABEL: AtkRole = 28;
pub const ATK_ROLE_LAYERED_PANE: AtkRole = 29;
pub const ATK_ROLE_LIST: AtkRole = 30;
pub const ATK_ROLE_LIST_ITEM: AtkRole = 31;
pub const ATK_ROLE_MENU: AtkRole = 32;
pub const ATK_ROLE_MENU_BAR: AtkRole = 33;
pub const ATK_ROLE_MENU_ITEM: AtkRole = 34;
pub const ATK_ROLE_OPTION_PANE: AtkRole = 35;
pub const ATK_ROLE_PAGE_TAB: AtkRole = 36;
pub const ATK_ROLE_PAGE_TAB_LIST: AtkRole = 37;
pub const ATK_ROLE_PANEL: AtkRole = 38;
pub const ATK_ROLE_PASSWORD_TEXT: AtkRole = 39;
pub const ATK_ROLE_POPUP_MENU: AtkRole = 40;
pub const ATK_ROLE_PROGRESS_BAR: AtkRole = 41;
pub const ATK_ROLE_PUSH_BUTTON: AtkRole = 42;
pub const ATK_ROLE_RADIO_BUTTON: AtkRole = 43;
pub const ATK_ROLE_RADIO_MENU_ITEM: AtkRole = 44;
pub const ATK_ROLE_ROOT_PANE: AtkRole = 45;
pub const ATK_ROLE_ROW_HEADER: AtkRole = 46;
pub const ATK_ROLE_SCROLL_BAR: AtkRole = 47;
pub const ATK_ROLE_SCROLL_PANE: AtkRole = 48;
pub const ATK_ROLE_SEPARATOR: AtkRole = 49;
pub const ATK_ROLE_SLIDER: AtkRole = 50;
pub const ATK_ROLE_SPLIT_PANE: AtkRole = 51;
pub const ATK_ROLE_SPIN_BUTTON: AtkRole = 52;
pub const ATK_ROLE_STATUSBAR: AtkRole = 53;
pub const ATK_ROLE_TABLE: AtkRole = 54;
pub const ATK_ROLE_TABLE_CELL: AtkRole = 55;
pub const ATK_ROLE_TABLE_COLUMN_HEADER: AtkRole = 56;
pub const ATK_ROLE_TABLE_ROW_HEADER: AtkRole = 57;
pub const ATK_ROLE_TEAR_OFF_MENU_ITEM: AtkRole = 58;
pub const ATK_ROLE_TERMINAL: AtkRole = 59;
pub const ATK_ROLE_TEXT: AtkRole = 60;
pub const ATK_ROLE_TOGGLE_BUTTON: AtkRole = 61;
pub const ATK_ROLE_TOOL_BAR: AtkRole = 62;
pub const ATK_ROLE_TOOL_TIP: AtkRole = 63;
pub const ATK_ROLE_TREE: AtkRole = 64;
pub const ATK_ROLE_TREE_TABLE: AtkRole = 65;
pub const ATK_ROLE_UNKNOWN: AtkRole = 66;
pub const ATK_ROLE_VIEWPORT: AtkRole = 67;
pub const ATK_ROLE_WINDOW: AtkRole = 68;
pub const ATK_ROLE_HEADER: AtkRole = 69;
pub const ATK_ROLE_FOOTER: AtkRole = 70;
pub const ATK_ROLE_PARAGRAPH: AtkRole = 71;
pub const ATK_ROLE_RULER: AtkRole = 72;
pub const ATK_ROLE_APPLICATION: AtkRole = 73;
pub const ATK_ROLE_AUTOCOMPLETE: AtkRole = 74;
pub const ATK_ROLE_EDITBAR: AtkRole = 75;
pub const ATK_ROLE_EMBEDDED: AtkRole = 76;
pub const ATK_ROLE_ENTRY: AtkRole = 77;
pub const ATK_ROLE_CHART: AtkRole = 78;
pub const ATK_ROLE_CAPTION: AtkRole = 79;
pub const ATK_ROLE_DOCUMENT_FRAME: AtkRole = 80;
pub const ATK_ROLE_HEADING: AtkRole = 81;
pub const ATK_ROLE_PAGE: AtkRole = 82;
pub const ATK_ROLE_SECTION: AtkRole = 83;
pub const ATK_ROLE_REDUNDANT_OBJECT: AtkRole = 84;
pub const ATK_ROLE_FORM: AtkRole = 85;
pub const ATK_ROLE_LINK: AtkRole = 86;
pub const ATK_ROLE_INPUT_METHOD_WINDOW: AtkRole = 87;
pub const ATK_ROLE_TABLE_ROW: AtkRole = 88;
pub const ATK_ROLE_TREE_ITEM: AtkRole = 89;
pub const ATK_ROLE_DOCUMENT_SPREADSHEET: AtkRole = 90;
pub const ATK_ROLE_DOCUMENT_PRESENTATION: AtkRole = 91;
pub const ATK_ROLE_DOCUMENT_TEXT: AtkRole = 92;
pub const ATK_ROLE_DOCUMENT_WEB: AtkRole = 93;
pub const ATK_ROLE_DOCUMENT_EMAIL: AtkRole = 94;
pub const ATK_ROLE_COMMENT: AtkRole = 95;
pub const ATK_ROLE_LIST_BOX: AtkRole = 96;
pub const ATK_ROLE_GROUPING: AtkRole = 97;
pub const ATK_ROLE_IMAGE_MAP: AtkRole = 98;
pub const ATK_ROLE_NOTIFICATION: AtkRole = 99;
pub const ATK_ROLE_INFO_BAR: AtkRole = 100;
pub const ATK_ROLE_LEVEL_BAR: AtkRole = 101;
pub const ATK_ROLE_TITLE_BAR: AtkRole = 102;
pub const ATK_ROLE_BLOCK_QUOTE: AtkRole = 103;
pub const ATK_ROLE_AUDIO: AtkRole = 104;
pub const ATK_ROLE_VIDEO: AtkRole = 105;
pub const ATK_ROLE_DEFINITION: AtkRole = 106;
pub const ATK_ROLE_ARTICLE: AtkRole = 107;
pub const ATK_ROLE_LANDMARK: AtkRole = 108;
pub const ATK_ROLE_LOG: AtkRole = 109;
pub const ATK_ROLE_MARQUEE: AtkRole = 110;
pub const ATK_ROLE_MATH: AtkRole = 111;
pub const ATK_ROLE_RATING: AtkRole = 112;
pub const ATK_ROLE_TIMER: AtkRole = 113;
pub const ATK_ROLE_DESCRIPTION_LIST: AtkRole = 114;
pub const ATK_ROLE_DESCRIPTION_TERM: AtkRole = 115;
pub const ATK_ROLE_DESCRIPTION_VALUE: AtkRole = 116;
pub const ATK_ROLE_STATIC: AtkRole = 117;
pub const ATK_ROLE_MATH_FRACTION: AtkRole = 118;
pub const ATK_ROLE_MATH_ROOT: AtkRole = 119;
pub const ATK_ROLE_SUBSCRIPT: AtkRole = 120;
pub const ATK_ROLE_SUPERSCRIPT: AtkRole = 121;
pub const ATK_ROLE_FOOTNOTE: AtkRole = 122;
pub const ATK_ROLE_CONTENT_DELETION: AtkRole = 123;
pub const ATK_ROLE_CONTENT_INSERTION: AtkRole = 124;
pub const ATK_ROLE_MARK: AtkRole = 125;
pub const ATK_ROLE_SUGGESTION: AtkRole = 126;
pub const ATK_ROLE_LAST_DEFINED: AtkRole = 127;
pub type AtkScrollType = c_int;
pub const ATK_SCROLL_TOP_LEFT: AtkScrollType = 0;
pub const ATK_SCROLL_BOTTOM_RIGHT: AtkScrollType = 1;
pub const ATK_SCROLL_TOP_EDGE: AtkScrollType = 2;
pub const ATK_SCROLL_BOTTOM_EDGE: AtkScrollType = 3;
pub const ATK_SCROLL_LEFT_EDGE: AtkScrollType = 4;
pub const ATK_SCROLL_RIGHT_EDGE: AtkScrollType = 5;
pub const ATK_SCROLL_ANYWHERE: AtkScrollType = 6;
pub type AtkStateType = c_int;
pub const ATK_STATE_INVALID: AtkStateType = 0;
pub const ATK_STATE_ACTIVE: AtkStateType = 1;
pub const ATK_STATE_ARMED: AtkStateType = 2;
pub const ATK_STATE_BUSY: AtkStateType = 3;
pub const ATK_STATE_CHECKED: AtkStateType = 4;
pub const ATK_STATE_DEFUNCT: AtkStateType = 5;
pub const ATK_STATE_EDITABLE: AtkStateType = 6;
pub const ATK_STATE_ENABLED: AtkStateType = 7;
pub const ATK_STATE_EXPANDABLE: AtkStateType = 8;
pub const ATK_STATE_EXPANDED: AtkStateType = 9;
pub const ATK_STATE_FOCUSABLE: AtkStateType = 10;
pub const ATK_STATE_FOCUSED: AtkStateType = 11;
pub const ATK_STATE_HORIZONTAL: AtkStateType = 12;
pub const ATK_STATE_ICONIFIED: AtkStateType = 13;
pub const ATK_STATE_MODAL: AtkStateType = 14;
pub const ATK_STATE_MULTI_LINE: AtkStateType = 15;
pub const ATK_STATE_MULTISELECTABLE: AtkStateType = 16;
pub const ATK_STATE_OPAQUE: AtkStateType = 17;
pub const ATK_STATE_PRESSED: AtkStateType = 18;
pub const ATK_STATE_RESIZABLE: AtkStateType = 19;
pub const ATK_STATE_SELECTABLE: AtkStateType = 20;
pub const ATK_STATE_SELECTED: AtkStateType = 21;
pub const ATK_STATE_SENSITIVE: AtkStateType = 22;
pub const ATK_STATE_SHOWING: AtkStateType = 23;
pub const ATK_STATE_SINGLE_LINE: AtkStateType = 24;
pub const ATK_STATE_STALE: AtkStateType = 25;
pub const ATK_STATE_TRANSIENT: AtkStateType = 26;
pub const ATK_STATE_VERTICAL: AtkStateType = 27;
pub const ATK_STATE_VISIBLE: AtkStateType = 28;
pub const ATK_STATE_MANAGES_DESCENDANTS: AtkStateType = 29;
pub const ATK_STATE_INDETERMINATE: AtkStateType = 30;
pub const ATK_STATE_TRUNCATED: AtkStateType = 31;
pub const ATK_STATE_REQUIRED: AtkStateType = 32;
pub const ATK_STATE_INVALID_ENTRY: AtkStateType = 33;
pub const ATK_STATE_SUPPORTS_AUTOCOMPLETION: AtkStateType = 34;
pub const ATK_STATE_SELECTABLE_TEXT: AtkStateType = 35;
pub const ATK_STATE_DEFAULT: AtkStateType = 36;
pub const ATK_STATE_ANIMATED: AtkStateType = 37;
pub const ATK_STATE_VISITED: AtkStateType = 38;
pub const ATK_STATE_CHECKABLE: AtkStateType = 39;
pub const ATK_STATE_HAS_POPUP: AtkStateType = 40;
pub const ATK_STATE_HAS_TOOLTIP: AtkStateType = 41;
pub const ATK_STATE_READ_ONLY: AtkStateType = 42;
pub const ATK_STATE_LAST_DEFINED: AtkStateType = 43;
pub type AtkTextAttribute = c_int;
pub const ATK_TEXT_ATTR_INVALID: AtkTextAttribute = 0;
pub const ATK_TEXT_ATTR_LEFT_MARGIN: AtkTextAttribute = 1;
pub const ATK_TEXT_ATTR_RIGHT_MARGIN: AtkTextAttribute = 2;
pub const ATK_TEXT_ATTR_INDENT: AtkTextAttribute = 3;
pub const ATK_TEXT_ATTR_INVISIBLE: AtkTextAttribute = 4;
pub const ATK_TEXT_ATTR_EDITABLE: AtkTextAttribute = 5;
pub const ATK_TEXT_ATTR_PIXELS_ABOVE_LINES: AtkTextAttribute = 6;
pub const ATK_TEXT_ATTR_PIXELS_BELOW_LINES: AtkTextAttribute = 7;
pub const ATK_TEXT_ATTR_PIXELS_INSIDE_WRAP: AtkTextAttribute = 8;
pub const ATK_TEXT_ATTR_BG_FULL_HEIGHT: AtkTextAttribute = 9;
pub const ATK_TEXT_ATTR_RISE: AtkTextAttribute = 10;
pub const ATK_TEXT_ATTR_UNDERLINE: AtkTextAttribute = 11;
pub const ATK_TEXT_ATTR_STRIKETHROUGH: AtkTextAttribute = 12;
pub const ATK_TEXT_ATTR_SIZE: AtkTextAttribute = 13;
pub const ATK_TEXT_ATTR_SCALE: AtkTextAttribute = 14;
pub const ATK_TEXT_ATTR_WEIGHT: AtkTextAttribute = 15;
pub const ATK_TEXT_ATTR_LANGUAGE: AtkTextAttribute = 16;
pub const ATK_TEXT_ATTR_FAMILY_NAME: AtkTextAttribute = 17;
pub const ATK_TEXT_ATTR_BG_COLOR: AtkTextAttribute = 18;
pub const ATK_TEXT_ATTR_FG_COLOR: AtkTextAttribute = 19;
pub const ATK_TEXT_ATTR_BG_STIPPLE: AtkTextAttribute = 20;
pub const ATK_TEXT_ATTR_FG_STIPPLE: AtkTextAttribute = 21;
pub const ATK_TEXT_ATTR_WRAP_MODE: AtkTextAttribute = 22;
pub const ATK_TEXT_ATTR_DIRECTION: AtkTextAttribute = 23;
pub const ATK_TEXT_ATTR_JUSTIFICATION: AtkTextAttribute = 24;
pub const ATK_TEXT_ATTR_STRETCH: AtkTextAttribute = 25;
pub const ATK_TEXT_ATTR_VARIANT: AtkTextAttribute = 26;
pub const ATK_TEXT_ATTR_STYLE: AtkTextAttribute = 27;
pub const ATK_TEXT_ATTR_TEXT_POSITION: AtkTextAttribute = 28;
pub const ATK_TEXT_ATTR_LAST_DEFINED: AtkTextAttribute = 29;
pub type AtkTextBoundary = c_int;
pub const ATK_TEXT_BOUNDARY_CHAR: AtkTextBoundary = 0;
pub const ATK_TEXT_BOUNDARY_WORD_START: AtkTextBoundary = 1;
pub const ATK_TEXT_BOUNDARY_WORD_END: AtkTextBoundary = 2;
pub const ATK_TEXT_BOUNDARY_SENTENCE_START: AtkTextBoundary = 3;
pub const ATK_TEXT_BOUNDARY_SENTENCE_END: AtkTextBoundary = 4;
pub const ATK_TEXT_BOUNDARY_LINE_START: AtkTextBoundary = 5;
pub const ATK_TEXT_BOUNDARY_LINE_END: AtkTextBoundary = 6;
pub type AtkTextClipType = c_int;
pub const ATK_TEXT_CLIP_NONE: AtkTextClipType = 0;
pub const ATK_TEXT_CLIP_MIN: AtkTextClipType = 1;
pub const ATK_TEXT_CLIP_MAX: AtkTextClipType = 2;
pub const ATK_TEXT_CLIP_BOTH: AtkTextClipType = 3;
pub type AtkTextGranularity = c_int;
pub const ATK_TEXT_GRANULARITY_CHAR: AtkTextGranularity = 0;
pub const ATK_TEXT_GRANULARITY_WORD: AtkTextGranularity = 1;
pub const ATK_TEXT_GRANULARITY_SENTENCE: AtkTextGranularity = 2;
pub const ATK_TEXT_GRANULARITY_LINE: AtkTextGranularity = 3;
pub const ATK_TEXT_GRANULARITY_PARAGRAPH: AtkTextGranularity = 4;
pub type AtkValueType = c_int;
pub const ATK_VALUE_VERY_WEAK: AtkValueType = 0;
pub const ATK_VALUE_WEAK: AtkValueType = 1;
pub const ATK_VALUE_ACCEPTABLE: AtkValueType = 2;
pub const ATK_VALUE_STRONG: AtkValueType = 3;
pub const ATK_VALUE_VERY_STRONG: AtkValueType = 4;
pub const ATK_VALUE_VERY_LOW: AtkValueType = 5;
pub const ATK_VALUE_LOW: AtkValueType = 6;
pub const ATK_VALUE_MEDIUM: AtkValueType = 7;
pub const ATK_VALUE_HIGH: AtkValueType = 8;
pub const ATK_VALUE_VERY_HIGH: AtkValueType = 9;
pub const ATK_VALUE_VERY_BAD: AtkValueType = 10;
pub const ATK_VALUE_BAD: AtkValueType = 11;
pub const ATK_VALUE_GOOD: AtkValueType = 12;
pub const ATK_VALUE_VERY_GOOD: AtkValueType = 13;
pub const ATK_VALUE_BEST: AtkValueType = 14;
pub const ATK_VALUE_LAST_DEFINED: AtkValueType = 15;
pub type AtkHyperlinkStateFlags = c_uint;
pub const ATK_HYPERLINK_IS_INLINE: AtkHyperlinkStateFlags = 1;
pub type AtkEventListener = Option<unsafe extern "C" fn(*mut AtkObject)>;
pub type AtkEventListenerInit = Option<unsafe extern "C" fn()>;
pub type AtkFocusHandler = Option<unsafe extern "C" fn(*mut AtkObject, gboolean)>;
pub type AtkFunction = Option<unsafe extern "C" fn(gpointer) -> gboolean>;
pub type AtkKeySnoopFunc = Option<unsafe extern "C" fn(*mut AtkKeyEventStruct, gpointer) -> c_int>;
pub type AtkPropertyChangeHandler =
Option<unsafe extern "C" fn(*mut AtkObject, *mut AtkPropertyValues)>;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkActionIface {
pub parent: gobject::GTypeInterface,
pub do_action: Option<unsafe extern "C" fn(*mut AtkAction, c_int) -> gboolean>,
pub get_n_actions: Option<unsafe extern "C" fn(*mut AtkAction) -> c_int>,
pub get_description: Option<unsafe extern "C" fn(*mut AtkAction, c_int) -> *const c_char>,
pub get_name: Option<unsafe extern "C" fn(*mut AtkAction, c_int) -> *const c_char>,
pub get_keybinding: Option<unsafe extern "C" fn(*mut AtkAction, c_int) -> *const c_char>,
pub set_description:
Option<unsafe extern "C" fn(*mut AtkAction, c_int, *const c_char) -> gboolean>,
pub get_localized_name: Option<unsafe extern "C" fn(*mut AtkAction, c_int) -> *const c_char>,
}
impl ::std::fmt::Debug for AtkActionIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkActionIface @ {:p}", self))
.field("do_action", &self.do_action)
.field("get_n_actions", &self.get_n_actions)
.field("get_description", &self.get_description)
.field("get_name", &self.get_name)
.field("get_keybinding", &self.get_keybinding)
.field("set_description", &self.set_description)
.field("get_localized_name", &self.get_localized_name)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkAttribute {
pub name: *mut c_char,
pub value: *mut c_char,
}
impl ::std::fmt::Debug for AtkAttribute {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkAttribute @ {:p}", self))
.field("name", &self.name)
.field("value", &self.value)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkComponentIface {
pub parent: gobject::GTypeInterface,
pub add_focus_handler:
Option<unsafe extern "C" fn(*mut AtkComponent, AtkFocusHandler) -> c_uint>,
pub contains:
Option<unsafe extern "C" fn(*mut AtkComponent, c_int, c_int, AtkCoordType) -> gboolean>,
pub ref_accessible_at_point: Option<
unsafe extern "C" fn(*mut AtkComponent, c_int, c_int, AtkCoordType) -> *mut AtkObject,
>,
pub get_extents: Option<
unsafe extern "C" fn(
*mut AtkComponent,
*mut c_int,
*mut c_int,
*mut c_int,
*mut c_int,
AtkCoordType,
),
>,
pub get_position:
Option<unsafe extern "C" fn(*mut AtkComponent, *mut c_int, *mut c_int, AtkCoordType)>,
pub get_size: Option<unsafe extern "C" fn(*mut AtkComponent, *mut c_int, *mut c_int)>,
pub grab_focus: Option<unsafe extern "C" fn(*mut AtkComponent) -> gboolean>,
pub remove_focus_handler: Option<unsafe extern "C" fn(*mut AtkComponent, c_uint)>,
pub set_extents: Option<
unsafe extern "C" fn(
*mut AtkComponent,
c_int,
c_int,
c_int,
c_int,
AtkCoordType,
) -> gboolean,
>,
pub set_position:
Option<unsafe extern "C" fn(*mut AtkComponent, c_int, c_int, AtkCoordType) -> gboolean>,
pub set_size: Option<unsafe extern "C" fn(*mut AtkComponent, c_int, c_int) -> gboolean>,
pub get_layer: Option<unsafe extern "C" fn(*mut AtkComponent) -> AtkLayer>,
pub get_mdi_zorder: Option<unsafe extern "C" fn(*mut AtkComponent) -> c_int>,
pub bounds_changed: Option<unsafe extern "C" fn(*mut AtkComponent, *mut AtkRectangle)>,
pub get_alpha: Option<unsafe extern "C" fn(*mut AtkComponent) -> c_double>,
pub scroll_to: Option<unsafe extern "C" fn(*mut AtkComponent, AtkScrollType) -> gboolean>,
pub scroll_to_point:
Option<unsafe extern "C" fn(*mut AtkComponent, AtkCoordType, c_int, c_int) -> gboolean>,
}
impl ::std::fmt::Debug for AtkComponentIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkComponentIface @ {:p}", self))
.field("add_focus_handler", &self.add_focus_handler)
.field("contains", &self.contains)
.field("ref_accessible_at_point", &self.ref_accessible_at_point)
.field("get_extents", &self.get_extents)
.field("get_position", &self.get_position)
.field("get_size", &self.get_size)
.field("grab_focus", &self.grab_focus)
.field("remove_focus_handler", &self.remove_focus_handler)
.field("set_extents", &self.set_extents)
.field("set_position", &self.set_position)
.field("set_size", &self.set_size)
.field("get_layer", &self.get_layer)
.field("get_mdi_zorder", &self.get_mdi_zorder)
.field("bounds_changed", &self.bounds_changed)
.field("get_alpha", &self.get_alpha)
.field("scroll_to", &self.scroll_to)
.field("scroll_to_point", &self.scroll_to_point)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkDocumentIface {
pub parent: gobject::GTypeInterface,
pub get_document_type: Option<unsafe extern "C" fn(*mut AtkDocument) -> *const c_char>,
pub get_document: Option<unsafe extern "C" fn(*mut AtkDocument) -> gpointer>,
pub get_document_locale: Option<unsafe extern "C" fn(*mut AtkDocument) -> *const c_char>,
pub get_document_attributes:
Option<unsafe extern "C" fn(*mut AtkDocument) -> *mut AtkAttributeSet>,
pub get_document_attribute_value:
Option<unsafe extern "C" fn(*mut AtkDocument, *const c_char) -> *const c_char>,
pub set_document_attribute:
Option<unsafe extern "C" fn(*mut AtkDocument, *const c_char, *const c_char) -> gboolean>,
pub get_current_page_number: Option<unsafe extern "C" fn(*mut AtkDocument) -> c_int>,
pub get_page_count: Option<unsafe extern "C" fn(*mut AtkDocument) -> c_int>,
}
impl ::std::fmt::Debug for AtkDocumentIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkDocumentIface @ {:p}", self))
.field("parent", &self.parent)
.field("get_document_type", &self.get_document_type)
.field("get_document", &self.get_document)
.field("get_document_locale", &self.get_document_locale)
.field("get_document_attributes", &self.get_document_attributes)
.field(
"get_document_attribute_value",
&self.get_document_attribute_value,
)
.field("set_document_attribute", &self.set_document_attribute)
.field("get_current_page_number", &self.get_current_page_number)
.field("get_page_count", &self.get_page_count)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkEditableTextIface {
pub parent_interface: gobject::GTypeInterface,
pub set_run_attributes: Option<
unsafe extern "C" fn(*mut AtkEditableText, *mut AtkAttributeSet, c_int, c_int) -> gboolean,
>,
pub set_text_contents: Option<unsafe extern "C" fn(*mut AtkEditableText, *const c_char)>,
pub insert_text:
Option<unsafe extern "C" fn(*mut AtkEditableText, *const c_char, c_int, *mut c_int)>,
pub copy_text: Option<unsafe extern "C" fn(*mut AtkEditableText, c_int, c_int)>,
pub cut_text: Option<unsafe extern "C" fn(*mut AtkEditableText, c_int, c_int)>,
pub delete_text: Option<unsafe extern "C" fn(*mut AtkEditableText, c_int, c_int)>,
pub paste_text: Option<unsafe extern "C" fn(*mut AtkEditableText, c_int)>,
}
impl ::std::fmt::Debug for AtkEditableTextIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkEditableTextIface @ {:p}", self))
.field("parent_interface", &self.parent_interface)
.field("set_run_attributes", &self.set_run_attributes)
.field("set_text_contents", &self.set_text_contents)
.field("insert_text", &self.insert_text)
.field("copy_text", &self.copy_text)
.field("cut_text", &self.cut_text)
.field("delete_text", &self.delete_text)
.field("paste_text", &self.paste_text)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkGObjectAccessibleClass {
pub parent_class: AtkObjectClass,
pub pad1: AtkFunction,
pub pad2: AtkFunction,
}
impl ::std::fmt::Debug for AtkGObjectAccessibleClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkGObjectAccessibleClass @ {:p}", self))
.field("parent_class", &self.parent_class)
.field("pad1", &self.pad1)
.field("pad2", &self.pad2)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkHyperlinkClass {
pub parent: gobject::GObjectClass,
pub get_uri: Option<unsafe extern "C" fn(*mut AtkHyperlink, c_int) -> *mut c_char>,
pub get_object: Option<unsafe extern "C" fn(*mut AtkHyperlink, c_int) -> *mut AtkObject>,
pub get_end_index: Option<unsafe extern "C" fn(*mut AtkHyperlink) -> c_int>,
pub get_start_index: Option<unsafe extern "C" fn(*mut AtkHyperlink) -> c_int>,
pub is_valid: Option<unsafe extern "C" fn(*mut AtkHyperlink) -> gboolean>,
pub get_n_anchors: Option<unsafe extern "C" fn(*mut AtkHyperlink) -> c_int>,
pub link_state: Option<unsafe extern "C" fn(*mut AtkHyperlink) -> c_uint>,
pub is_selected_link: Option<unsafe extern "C" fn(*mut AtkHyperlink) -> gboolean>,
pub link_activated: Option<unsafe extern "C" fn(*mut AtkHyperlink)>,
pub pad1: AtkFunction,
}
impl ::std::fmt::Debug for AtkHyperlinkClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkHyperlinkClass @ {:p}", self))
.field("parent", &self.parent)
.field("get_uri", &self.get_uri)
.field("get_object", &self.get_object)
.field("get_end_index", &self.get_end_index)
.field("get_start_index", &self.get_start_index)
.field("is_valid", &self.is_valid)
.field("get_n_anchors", &self.get_n_anchors)
.field("link_state", &self.link_state)
.field("is_selected_link", &self.is_selected_link)
.field("link_activated", &self.link_activated)
.field("pad1", &self.pad1)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkHyperlinkImplIface {
pub parent: gobject::GTypeInterface,
pub get_hyperlink: Option<unsafe extern "C" fn(*mut AtkHyperlinkImpl) -> *mut AtkHyperlink>,
}
impl ::std::fmt::Debug for AtkHyperlinkImplIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkHyperlinkImplIface @ {:p}", self))
.field("parent", &self.parent)
.field("get_hyperlink", &self.get_hyperlink)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkHypertextIface {
pub parent: gobject::GTypeInterface,
pub get_link: Option<unsafe extern "C" fn(*mut AtkHypertext, c_int) -> *mut AtkHyperlink>,
pub get_n_links: Option<unsafe extern "C" fn(*mut AtkHypertext) -> c_int>,
pub get_link_index: Option<unsafe extern "C" fn(*mut AtkHypertext, c_int) -> c_int>,
pub link_selected: Option<unsafe extern "C" fn(*mut AtkHypertext, c_int)>,
}
impl ::std::fmt::Debug for AtkHypertextIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkHypertextIface @ {:p}", self))
.field("parent", &self.parent)
.field("get_link", &self.get_link)
.field("get_n_links", &self.get_n_links)
.field("get_link_index", &self.get_link_index)
.field("link_selected", &self.link_selected)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkImageIface {
pub parent: gobject::GTypeInterface,
pub get_image_position:
Option<unsafe extern "C" fn(*mut AtkImage, *mut c_int, *mut c_int, AtkCoordType)>,
pub get_image_description: Option<unsafe extern "C" fn(*mut AtkImage) -> *const c_char>,
pub get_image_size: Option<unsafe extern "C" fn(*mut AtkImage, *mut c_int, *mut c_int)>,
pub set_image_description:
Option<unsafe extern "C" fn(*mut AtkImage, *const c_char) -> gboolean>,
pub get_image_locale: Option<unsafe extern "C" fn(*mut AtkImage) -> *const c_char>,
}
impl ::std::fmt::Debug for AtkImageIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkImageIface @ {:p}", self))
.field("parent", &self.parent)
.field("get_image_position", &self.get_image_position)
.field("get_image_description", &self.get_image_description)
.field("get_image_size", &self.get_image_size)
.field("set_image_description", &self.set_image_description)
.field("get_image_locale", &self.get_image_locale)
.finish()
}
}
#[repr(C)]
pub struct _AtkImplementor(c_void);
pub type AtkImplementor = *mut _AtkImplementor;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkKeyEventStruct {
pub type_: c_int,
pub state: c_uint,
pub keyval: c_uint,
pub length: c_int,
pub string: *mut c_char,
pub keycode: u16,
pub timestamp: u32,
}
impl ::std::fmt::Debug for AtkKeyEventStruct {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkKeyEventStruct @ {:p}", self))
.field("type_", &self.type_)
.field("state", &self.state)
.field("keyval", &self.keyval)
.field("length", &self.length)
.field("string", &self.string)
.field("keycode", &self.keycode)
.field("timestamp", &self.timestamp)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkMiscClass {
pub parent: gobject::GObjectClass,
pub threads_enter: Option<unsafe extern "C" fn(*mut AtkMisc)>,
pub threads_leave: Option<unsafe extern "C" fn(*mut AtkMisc)>,
pub vfuncs: [gpointer; 32],
}
impl ::std::fmt::Debug for AtkMiscClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkMiscClass @ {:p}", self))
.field("parent", &self.parent)
.field("threads_enter", &self.threads_enter)
.field("threads_leave", &self.threads_leave)
.field("vfuncs", &self.vfuncs)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkNoOpObjectClass {
pub parent_class: AtkObjectClass,
}
impl ::std::fmt::Debug for AtkNoOpObjectClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkNoOpObjectClass @ {:p}", self))
.field("parent_class", &self.parent_class)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkNoOpObjectFactoryClass {
pub parent_class: AtkObjectFactoryClass,
}
impl ::std::fmt::Debug for AtkNoOpObjectFactoryClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkNoOpObjectFactoryClass @ {:p}", self))
.field("parent_class", &self.parent_class)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkObjectClass {
pub parent: gobject::GObjectClass,
pub get_name: Option<unsafe extern "C" fn(*mut AtkObject) -> *const c_char>,
pub get_description: Option<unsafe extern "C" fn(*mut AtkObject) -> *const c_char>,
pub get_parent: Option<unsafe extern "C" fn(*mut AtkObject) -> *mut AtkObject>,
pub get_n_children: Option<unsafe extern "C" fn(*mut AtkObject) -> c_int>,
pub ref_child: Option<unsafe extern "C" fn(*mut AtkObject, c_int) -> *mut AtkObject>,
pub get_index_in_parent: Option<unsafe extern "C" fn(*mut AtkObject) -> c_int>,
pub ref_relation_set: Option<unsafe extern "C" fn(*mut AtkObject) -> *mut AtkRelationSet>,
pub get_role: Option<unsafe extern "C" fn(*mut AtkObject) -> AtkRole>,
pub get_layer: Option<unsafe extern "C" fn(*mut AtkObject) -> AtkLayer>,
pub get_mdi_zorder: Option<unsafe extern "C" fn(*mut AtkObject) -> c_int>,
pub ref_state_set: Option<unsafe extern "C" fn(*mut AtkObject) -> *mut AtkStateSet>,
pub set_name: Option<unsafe extern "C" fn(*mut AtkObject, *const c_char)>,
pub set_description: Option<unsafe extern "C" fn(*mut AtkObject, *const c_char)>,
pub set_parent: Option<unsafe extern "C" fn(*mut AtkObject, *mut AtkObject)>,
pub set_role: Option<unsafe extern "C" fn(*mut AtkObject, AtkRole)>,
pub connect_property_change_handler:
Option<unsafe extern "C" fn(*mut AtkObject, *mut AtkPropertyChangeHandler) -> c_uint>,
pub remove_property_change_handler: Option<unsafe extern "C" fn(*mut AtkObject, c_uint)>,
pub initialize: Option<unsafe extern "C" fn(*mut AtkObject, *mut gpointer)>,
pub children_changed: Option<unsafe extern "C" fn(*mut AtkObject, c_uint, gpointer)>,
pub focus_event: Option<unsafe extern "C" fn(*mut AtkObject, gboolean)>,
pub property_change: Option<unsafe extern "C" fn(*mut AtkObject, *mut AtkPropertyValues)>,
pub state_change: Option<unsafe extern "C" fn(*mut AtkObject, *const c_char, gboolean)>,
pub visible_data_changed: Option<unsafe extern "C" fn(*mut AtkObject)>,
pub active_descendant_changed: Option<unsafe extern "C" fn(*mut AtkObject, *mut gpointer)>,
pub get_attributes: Option<unsafe extern "C" fn(*mut AtkObject) -> *mut AtkAttributeSet>,
pub get_object_locale: Option<unsafe extern "C" fn(*mut AtkObject) -> *const c_char>,
pub pad1: AtkFunction,
}
impl ::std::fmt::Debug for AtkObjectClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkObjectClass @ {:p}", self))
.field("parent", &self.parent)
.field("get_name", &self.get_name)
.field("get_description", &self.get_description)
.field("get_parent", &self.get_parent)
.field("get_n_children", &self.get_n_children)
.field("ref_child", &self.ref_child)
.field("get_index_in_parent", &self.get_index_in_parent)
.field("ref_relation_set", &self.ref_relation_set)
.field("get_role", &self.get_role)
.field("get_layer", &self.get_layer)
.field("get_mdi_zorder", &self.get_mdi_zorder)
.field("ref_state_set", &self.ref_state_set)
.field("set_name", &self.set_name)
.field("set_description", &self.set_description)
.field("set_parent", &self.set_parent)
.field("set_role", &self.set_role)
.field(
"connect_property_change_handler",
&self.connect_property_change_handler,
)
.field(
"remove_property_change_handler",
&self.remove_property_change_handler,
)
.field("initialize", &self.initialize)
.field("children_changed", &self.children_changed)
.field("focus_event", &self.focus_event)
.field("property_change", &self.property_change)
.field("state_change", &self.state_change)
.field("visible_data_changed", &self.visible_data_changed)
.field("active_descendant_changed", &self.active_descendant_changed)
.field("get_attributes", &self.get_attributes)
.field("get_object_locale", &self.get_object_locale)
.field("pad1", &self.pad1)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkObjectFactoryClass {
pub parent_class: gobject::GObjectClass,
pub create_accessible: Option<unsafe extern "C" fn(*mut gobject::GObject) -> *mut AtkObject>,
pub invalidate: Option<unsafe extern "C" fn(*mut AtkObjectFactory)>,
pub get_accessible_type: Option<unsafe extern "C" fn() -> GType>,
pub pad1: AtkFunction,
pub pad2: AtkFunction,
}
impl ::std::fmt::Debug for AtkObjectFactoryClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkObjectFactoryClass @ {:p}", self))
.field("parent_class", &self.parent_class)
.field("create_accessible", &self.create_accessible)
.field("invalidate", &self.invalidate)
.field("get_accessible_type", &self.get_accessible_type)
.field("pad1", &self.pad1)
.field("pad2", &self.pad2)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkPlugClass {
pub parent_class: AtkObjectClass,
pub get_object_id: Option<unsafe extern "C" fn(*mut AtkPlug) -> *mut c_char>,
}
impl ::std::fmt::Debug for AtkPlugClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkPlugClass @ {:p}", self))
.field("parent_class", &self.parent_class)
.field("get_object_id", &self.get_object_id)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkPropertyValues {
pub property_name: *const c_char,
pub old_value: gobject::GValue,
pub new_value: gobject::GValue,
}
impl ::std::fmt::Debug for AtkPropertyValues {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkPropertyValues @ {:p}", self))
.field("property_name", &self.property_name)
.field("old_value", &self.old_value)
.field("new_value", &self.new_value)
.finish()
}
}
#[repr(C)]
pub struct AtkRange(c_void);
impl ::std::fmt::Debug for AtkRange {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkRange @ {:p}", self)).finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkRectangle {
pub x: c_int,
pub y: c_int,
pub width: c_int,
pub height: c_int,
}
impl ::std::fmt::Debug for AtkRectangle {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkRectangle @ {:p}", self))
.field("x", &self.x)
.field("y", &self.y)
.field("width", &self.width)
.field("height", &self.height)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkRegistryClass {
pub parent_class: gobject::GObjectClass,
}
impl ::std::fmt::Debug for AtkRegistryClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkRegistryClass @ {:p}", self))
.field("parent_class", &self.parent_class)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkRelationClass {
pub parent: gobject::GObjectClass,
}
impl ::std::fmt::Debug for AtkRelationClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkRelationClass @ {:p}", self))
.field("parent", &self.parent)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkRelationSetClass {
pub parent: gobject::GObjectClass,
pub pad1: AtkFunction,
pub pad2: AtkFunction,
}
impl ::std::fmt::Debug for AtkRelationSetClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkRelationSetClass @ {:p}", self))
.field("parent", &self.parent)
.field("pad1", &self.pad1)
.field("pad2", &self.pad2)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkSelectionIface {
pub parent: gobject::GTypeInterface,
pub add_selection: Option<unsafe extern "C" fn(*mut AtkSelection, c_int) -> gboolean>,
pub clear_selection: Option<unsafe extern "C" fn(*mut AtkSelection) -> gboolean>,
pub ref_selection: Option<unsafe extern "C" fn(*mut AtkSelection, c_int) -> *mut AtkObject>,
pub get_selection_count: Option<unsafe extern "C" fn(*mut AtkSelection) -> c_int>,
pub is_child_selected: Option<unsafe extern "C" fn(*mut AtkSelection, c_int) -> gboolean>,
pub remove_selection: Option<unsafe extern "C" fn(*mut AtkSelection, c_int) -> gboolean>,
pub select_all_selection: Option<unsafe extern "C" fn(*mut AtkSelection) -> gboolean>,
pub selection_changed: Option<unsafe extern "C" fn(*mut AtkSelection)>,
}
impl ::std::fmt::Debug for AtkSelectionIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkSelectionIface @ {:p}", self))
.field("parent", &self.parent)
.field("add_selection", &self.add_selection)
.field("clear_selection", &self.clear_selection)
.field("ref_selection", &self.ref_selection)
.field("get_selection_count", &self.get_selection_count)
.field("is_child_selected", &self.is_child_selected)
.field("remove_selection", &self.remove_selection)
.field("select_all_selection", &self.select_all_selection)
.field("selection_changed", &self.selection_changed)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkSocketClass {
pub parent_class: AtkObjectClass,
pub embed: Option<unsafe extern "C" fn(*mut AtkSocket, *const c_char)>,
}
impl ::std::fmt::Debug for AtkSocketClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkSocketClass @ {:p}", self))
.field("parent_class", &self.parent_class)
.field("embed", &self.embed)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkStateSetClass {
pub parent: gobject::GObjectClass,
}
impl ::std::fmt::Debug for AtkStateSetClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkStateSetClass @ {:p}", self))
.field("parent", &self.parent)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkStreamableContentIface {
pub parent: gobject::GTypeInterface,
pub get_n_mime_types: Option<unsafe extern "C" fn(*mut AtkStreamableContent) -> c_int>,
pub get_mime_type:
Option<unsafe extern "C" fn(*mut AtkStreamableContent, c_int) -> *const c_char>,
pub get_stream: Option<
unsafe extern "C" fn(*mut AtkStreamableContent, *const c_char) -> *mut glib::GIOChannel,
>,
pub get_uri:
Option<unsafe extern "C" fn(*mut AtkStreamableContent, *const c_char) -> *const c_char>,
pub pad1: AtkFunction,
pub pad2: AtkFunction,
pub pad3: AtkFunction,
}
impl ::std::fmt::Debug for AtkStreamableContentIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkStreamableContentIface @ {:p}", self))
.field("parent", &self.parent)
.field("get_n_mime_types", &self.get_n_mime_types)
.field("get_mime_type", &self.get_mime_type)
.field("get_stream", &self.get_stream)
.field("get_uri", &self.get_uri)
.field("pad1", &self.pad1)
.field("pad2", &self.pad2)
.field("pad3", &self.pad3)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkTableCellIface {
pub parent: gobject::GTypeInterface,
pub get_column_span: Option<unsafe extern "C" fn(*mut AtkTableCell) -> c_int>,
pub get_column_header_cells:
Option<unsafe extern "C" fn(*mut AtkTableCell) -> *mut glib::GPtrArray>,
pub get_position:
Option<unsafe extern "C" fn(*mut AtkTableCell, *mut c_int, *mut c_int) -> gboolean>,
pub get_row_span: Option<unsafe extern "C" fn(*mut AtkTableCell) -> c_int>,
pub get_row_header_cells:
Option<unsafe extern "C" fn(*mut AtkTableCell) -> *mut glib::GPtrArray>,
pub get_row_column_span: Option<
unsafe extern "C" fn(
*mut AtkTableCell,
*mut c_int,
*mut c_int,
*mut c_int,
*mut c_int,
) -> gboolean,
>,
pub get_table: Option<unsafe extern "C" fn(*mut AtkTableCell) -> *mut AtkObject>,
}
impl ::std::fmt::Debug for AtkTableCellIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkTableCellIface @ {:p}", self))
.field("get_column_span", &self.get_column_span)
.field("get_column_header_cells", &self.get_column_header_cells)
.field("get_position", &self.get_position)
.field("get_row_span", &self.get_row_span)
.field("get_row_header_cells", &self.get_row_header_cells)
.field("get_row_column_span", &self.get_row_column_span)
.field("get_table", &self.get_table)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkTableIface {
pub parent: gobject::GTypeInterface,
pub ref_at: Option<unsafe extern "C" fn(*mut AtkTable, c_int, c_int) -> *mut AtkObject>,
pub get_index_at: Option<unsafe extern "C" fn(*mut AtkTable, c_int, c_int) -> c_int>,
pub get_column_at_index: Option<unsafe extern "C" fn(*mut AtkTable, *mut *mut c_int) -> c_int>,
pub get_row_at_index: Option<unsafe extern "C" fn(*mut AtkTable, *mut *mut c_int) -> c_int>,
pub get_n_columns: Option<unsafe extern "C" fn(*mut AtkTable) -> c_int>,
pub get_n_rows: Option<unsafe extern "C" fn(*mut AtkTable) -> c_int>,
pub get_column_extent_at: Option<unsafe extern "C" fn(*mut AtkTable, c_int, c_int) -> c_int>,
pub get_row_extent_at: Option<unsafe extern "C" fn(*mut AtkTable, c_int, c_int) -> c_int>,
pub get_caption: Option<unsafe extern "C" fn(*mut AtkTable) -> *mut AtkObject>,
pub get_column_description: Option<unsafe extern "C" fn(*mut AtkTable, c_int) -> *const c_char>,
pub get_column_header: Option<unsafe extern "C" fn(*mut AtkTable, c_int) -> *mut AtkObject>,
pub get_row_description: Option<unsafe extern "C" fn(*mut AtkTable, c_int) -> *const c_char>,
pub get_row_header: Option<unsafe extern "C" fn(*mut AtkTable, c_int) -> *mut AtkObject>,
pub get_summary: Option<unsafe extern "C" fn(*mut AtkTable) -> *mut AtkObject>,
pub set_caption: Option<unsafe extern "C" fn(*mut AtkTable, *mut AtkObject)>,
pub set_column_description: Option<unsafe extern "C" fn(*mut AtkTable, c_int, *const c_char)>,
pub set_column_header: Option<unsafe extern "C" fn(*mut AtkTable, c_int, *mut AtkObject)>,
pub set_row_description: Option<unsafe extern "C" fn(*mut AtkTable, c_int, *const c_char)>,
pub set_row_header: Option<unsafe extern "C" fn(*mut AtkTable, c_int, *mut AtkObject)>,
pub set_summary: Option<unsafe extern "C" fn(*mut AtkTable, *mut AtkObject)>,
pub get_selected_columns: Option<unsafe extern "C" fn(*mut AtkTable, *mut *mut c_int) -> c_int>,
pub get_selected_rows: Option<unsafe extern "C" fn(*mut AtkTable, *mut *mut c_int) -> c_int>,
pub is_column_selected: Option<unsafe extern "C" fn(*mut AtkTable, c_int) -> gboolean>,
pub is_row_selected: Option<unsafe extern "C" fn(*mut AtkTable, c_int) -> gboolean>,
pub is_selected: Option<unsafe extern "C" fn(*mut AtkTable, c_int, c_int) -> gboolean>,
pub add_row_selection: Option<unsafe extern "C" fn(*mut AtkTable, c_int) -> gboolean>,
pub remove_row_selection: Option<unsafe extern "C" fn(*mut AtkTable, c_int) -> gboolean>,
pub add_column_selection: Option<unsafe extern "C" fn(*mut AtkTable, c_int) -> gboolean>,
pub remove_column_selection: Option<unsafe extern "C" fn(*mut AtkTable, c_int) -> gboolean>,
pub row_inserted: Option<unsafe extern "C" fn(*mut AtkTable, c_int, c_int)>,
pub column_inserted: Option<unsafe extern "C" fn(*mut AtkTable, c_int, c_int)>,
pub row_deleted: Option<unsafe extern "C" fn(*mut AtkTable, c_int, c_int)>,
pub column_deleted: Option<unsafe extern "C" fn(*mut AtkTable, c_int, c_int)>,
pub row_reordered: Option<unsafe extern "C" fn(*mut AtkTable)>,
pub column_reordered: Option<unsafe extern "C" fn(*mut AtkTable)>,
pub model_changed: Option<unsafe extern "C" fn(*mut AtkTable)>,
}
impl ::std::fmt::Debug for AtkTableIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkTableIface @ {:p}", self))
.field("parent", &self.parent)
.field("ref_at", &self.ref_at)
.field("get_index_at", &self.get_index_at)
.field("get_column_at_index", &self.get_column_at_index)
.field("get_row_at_index", &self.get_row_at_index)
.field("get_n_columns", &self.get_n_columns)
.field("get_n_rows", &self.get_n_rows)
.field("get_column_extent_at", &self.get_column_extent_at)
.field("get_row_extent_at", &self.get_row_extent_at)
.field("get_caption", &self.get_caption)
.field("get_column_description", &self.get_column_description)
.field("get_column_header", &self.get_column_header)
.field("get_row_description", &self.get_row_description)
.field("get_row_header", &self.get_row_header)
.field("get_summary", &self.get_summary)
.field("set_caption", &self.set_caption)
.field("set_column_description", &self.set_column_description)
.field("set_column_header", &self.set_column_header)
.field("set_row_description", &self.set_row_description)
.field("set_row_header", &self.set_row_header)
.field("set_summary", &self.set_summary)
.field("get_selected_columns", &self.get_selected_columns)
.field("get_selected_rows", &self.get_selected_rows)
.field("is_column_selected", &self.is_column_selected)
.field("is_row_selected", &self.is_row_selected)
.field("is_selected", &self.is_selected)
.field("add_row_selection", &self.add_row_selection)
.field("remove_row_selection", &self.remove_row_selection)
.field("add_column_selection", &self.add_column_selection)
.field("remove_column_selection", &self.remove_column_selection)
.field("row_inserted", &self.row_inserted)
.field("column_inserted", &self.column_inserted)
.field("row_deleted", &self.row_deleted)
.field("column_deleted", &self.column_deleted)
.field("row_reordered", &self.row_reordered)
.field("column_reordered", &self.column_reordered)
.field("model_changed", &self.model_changed)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkTextIface {
pub parent: gobject::GTypeInterface,
pub get_text: Option<unsafe extern "C" fn(*mut AtkText, c_int, c_int) -> *mut c_char>,
pub get_text_after_offset: Option<
unsafe extern "C" fn(
*mut AtkText,
c_int,
AtkTextBoundary,
*mut c_int,
*mut c_int,
) -> *mut c_char,
>,
pub get_text_at_offset: Option<
unsafe extern "C" fn(
*mut AtkText,
c_int,
AtkTextBoundary,
*mut c_int,
*mut c_int,
) -> *mut c_char,
>,
pub get_character_at_offset: Option<unsafe extern "C" fn(*mut AtkText, c_int) -> u32>,
pub get_text_before_offset: Option<
unsafe extern "C" fn(
*mut AtkText,
c_int,
AtkTextBoundary,
*mut c_int,
*mut c_int,
) -> *mut c_char,
>,
pub get_caret_offset: Option<unsafe extern "C" fn(*mut AtkText) -> c_int>,
pub get_run_attributes: Option<
unsafe extern "C" fn(*mut AtkText, c_int, *mut c_int, *mut c_int) -> *mut AtkAttributeSet,
>,
pub get_default_attributes: Option<unsafe extern "C" fn(*mut AtkText) -> *mut AtkAttributeSet>,
pub get_character_extents: Option<
unsafe extern "C" fn(
*mut AtkText,
c_int,
*mut c_int,
*mut c_int,
*mut c_int,
*mut c_int,
AtkCoordType,
),
>,
pub get_character_count: Option<unsafe extern "C" fn(*mut AtkText) -> c_int>,
pub get_offset_at_point:
Option<unsafe extern "C" fn(*mut AtkText, c_int, c_int, AtkCoordType) -> c_int>,
pub get_n_selections: Option<unsafe extern "C" fn(*mut AtkText) -> c_int>,
pub get_selection:
Option<unsafe extern "C" fn(*mut AtkText, c_int, *mut c_int, *mut c_int) -> *mut c_char>,
pub add_selection: Option<unsafe extern "C" fn(*mut AtkText, c_int, c_int) -> gboolean>,
pub remove_selection: Option<unsafe extern "C" fn(*mut AtkText, c_int) -> gboolean>,
pub set_selection: Option<unsafe extern "C" fn(*mut AtkText, c_int, c_int, c_int) -> gboolean>,
pub set_caret_offset: Option<unsafe extern "C" fn(*mut AtkText, c_int) -> gboolean>,
pub text_changed: Option<unsafe extern "C" fn(*mut AtkText, c_int, c_int)>,
pub text_caret_moved: Option<unsafe extern "C" fn(*mut AtkText, c_int)>,
pub text_selection_changed: Option<unsafe extern "C" fn(*mut AtkText)>,
pub text_attributes_changed: Option<unsafe extern "C" fn(*mut AtkText)>,
pub get_range_extents: Option<
unsafe extern "C" fn(*mut AtkText, c_int, c_int, AtkCoordType, *mut AtkTextRectangle),
>,
pub get_bounded_ranges: Option<
unsafe extern "C" fn(
*mut AtkText,
*mut AtkTextRectangle,
AtkCoordType,
AtkTextClipType,
AtkTextClipType,
) -> *mut *mut AtkTextRange,
>,
pub get_string_at_offset: Option<
unsafe extern "C" fn(
*mut AtkText,
c_int,
AtkTextGranularity,
*mut c_int,
*mut c_int,
) -> *mut c_char,
>,
pub scroll_substring_to:
Option<unsafe extern "C" fn(*mut AtkText, c_int, c_int, AtkScrollType) -> gboolean>,
pub scroll_substring_to_point: Option<
unsafe extern "C" fn(*mut AtkText, c_int, c_int, AtkCoordType, c_int, c_int) -> gboolean,
>,
}
impl ::std::fmt::Debug for AtkTextIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkTextIface @ {:p}", self))
.field("parent", &self.parent)
.field("get_text", &self.get_text)
.field("get_text_after_offset", &self.get_text_after_offset)
.field("get_text_at_offset", &self.get_text_at_offset)
.field("get_character_at_offset", &self.get_character_at_offset)
.field("get_text_before_offset", &self.get_text_before_offset)
.field("get_caret_offset", &self.get_caret_offset)
.field("get_run_attributes", &self.get_run_attributes)
.field("get_default_attributes", &self.get_default_attributes)
.field("get_character_extents", &self.get_character_extents)
.field("get_character_count", &self.get_character_count)
.field("get_offset_at_point", &self.get_offset_at_point)
.field("get_n_selections", &self.get_n_selections)
.field("get_selection", &self.get_selection)
.field("add_selection", &self.add_selection)
.field("remove_selection", &self.remove_selection)
.field("set_selection", &self.set_selection)
.field("set_caret_offset", &self.set_caret_offset)
.field("text_changed", &self.text_changed)
.field("text_caret_moved", &self.text_caret_moved)
.field("text_selection_changed", &self.text_selection_changed)
.field("text_attributes_changed", &self.text_attributes_changed)
.field("get_range_extents", &self.get_range_extents)
.field("get_bounded_ranges", &self.get_bounded_ranges)
.field("get_string_at_offset", &self.get_string_at_offset)
.field("scroll_substring_to", &self.scroll_substring_to)
.field("scroll_substring_to_point", &self.scroll_substring_to_point)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkTextRange {
pub bounds: AtkTextRectangle,
pub start_offset: c_int,
pub end_offset: c_int,
pub content: *mut c_char,
}
impl ::std::fmt::Debug for AtkTextRange {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkTextRange @ {:p}", self))
.field("bounds", &self.bounds)
.field("start_offset", &self.start_offset)
.field("end_offset", &self.end_offset)
.field("content", &self.content)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkTextRectangle {
pub x: c_int,
pub y: c_int,
pub width: c_int,
pub height: c_int,
}
impl ::std::fmt::Debug for AtkTextRectangle {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkTextRectangle @ {:p}", self))
.field("x", &self.x)
.field("y", &self.y)
.field("width", &self.width)
.field("height", &self.height)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkUtilClass {
pub parent: gobject::GObjectClass,
pub add_global_event_listener:
Option<unsafe extern "C" fn(gobject::GSignalEmissionHook, *const c_char) -> c_uint>,
pub remove_global_event_listener: Option<unsafe extern "C" fn(c_uint)>,
pub add_key_event_listener: Option<unsafe extern "C" fn(AtkKeySnoopFunc, gpointer) -> c_uint>,
pub remove_key_event_listener: Option<unsafe extern "C" fn(c_uint)>,
pub get_root: Option<unsafe extern "C" fn() -> *mut AtkObject>,
pub get_toolkit_name: Option<unsafe extern "C" fn() -> *const c_char>,
pub get_toolkit_version: Option<unsafe extern "C" fn() -> *const c_char>,
}
impl ::std::fmt::Debug for AtkUtilClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkUtilClass @ {:p}", self))
.field("parent", &self.parent)
.field("add_global_event_listener", &self.add_global_event_listener)
.field(
"remove_global_event_listener",
&self.remove_global_event_listener,
)
.field("add_key_event_listener", &self.add_key_event_listener)
.field("remove_key_event_listener", &self.remove_key_event_listener)
.field("get_root", &self.get_root)
.field("get_toolkit_name", &self.get_toolkit_name)
.field("get_toolkit_version", &self.get_toolkit_version)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkValueIface {
pub parent: gobject::GTypeInterface,
pub get_current_value: Option<unsafe extern "C" fn(*mut AtkValue, *mut gobject::GValue)>,
pub get_maximum_value: Option<unsafe extern "C" fn(*mut AtkValue, *mut gobject::GValue)>,
pub get_minimum_value: Option<unsafe extern "C" fn(*mut AtkValue, *mut gobject::GValue)>,
pub set_current_value:
Option<unsafe extern "C" fn(*mut AtkValue, *const gobject::GValue) -> gboolean>,
pub get_minimum_increment: Option<unsafe extern "C" fn(*mut AtkValue, *mut gobject::GValue)>,
pub get_value_and_text:
Option<unsafe extern "C" fn(*mut AtkValue, *mut c_double, *mut *mut c_char)>,
pub get_range: Option<unsafe extern "C" fn(*mut AtkValue) -> *mut AtkRange>,
pub get_increment: Option<unsafe extern "C" fn(*mut AtkValue) -> c_double>,
pub get_sub_ranges: Option<unsafe extern "C" fn(*mut AtkValue) -> *mut glib::GSList>,
pub set_value: Option<unsafe extern "C" fn(*mut AtkValue, c_double)>,
}
impl ::std::fmt::Debug for AtkValueIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkValueIface @ {:p}", self))
.field("parent", &self.parent)
.field("get_current_value", &self.get_current_value)
.field("get_maximum_value", &self.get_maximum_value)
.field("get_minimum_value", &self.get_minimum_value)
.field("set_current_value", &self.set_current_value)
.field("get_minimum_increment", &self.get_minimum_increment)
.field("get_value_and_text", &self.get_value_and_text)
.field("get_range", &self.get_range)
.field("get_increment", &self.get_increment)
.field("get_sub_ranges", &self.get_sub_ranges)
.field("set_value", &self.set_value)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkWindowIface {
pub parent: gobject::GTypeInterface,
}
impl ::std::fmt::Debug for AtkWindowIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkWindowIface @ {:p}", self))
.field("parent", &self.parent)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkGObjectAccessible {
pub parent: AtkObject,
}
impl ::std::fmt::Debug for AtkGObjectAccessible {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkGObjectAccessible @ {:p}", self))
.field("parent", &self.parent)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkHyperlink {
pub parent: gobject::GObject,
}
impl ::std::fmt::Debug for AtkHyperlink {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkHyperlink @ {:p}", self))
.field("parent", &self.parent)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkMisc {
pub parent: gobject::GObject,
}
impl ::std::fmt::Debug for AtkMisc {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkMisc @ {:p}", self))
.field("parent", &self.parent)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkNoOpObject {
pub parent: AtkObject,
}
impl ::std::fmt::Debug for AtkNoOpObject {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkNoOpObject @ {:p}", self))
.field("parent", &self.parent)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkNoOpObjectFactory {
pub parent: AtkObjectFactory,
}
impl ::std::fmt::Debug for AtkNoOpObjectFactory {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkNoOpObjectFactory @ {:p}", self))
.field("parent", &self.parent)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkObject {
pub parent: gobject::GObject,
pub description: *mut c_char,
pub name: *mut c_char,
pub accessible_parent: *mut AtkObject,
pub role: AtkRole,
pub relation_set: *mut AtkRelationSet,
pub layer: AtkLayer,
}
impl ::std::fmt::Debug for AtkObject {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkObject @ {:p}", self))
.field("parent", &self.parent)
.field("description", &self.description)
.field("name", &self.name)
.field("accessible_parent", &self.accessible_parent)
.field("role", &self.role)
.field("relation_set", &self.relation_set)
.field("layer", &self.layer)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkObjectFactory {
pub parent: gobject::GObject,
}
impl ::std::fmt::Debug for AtkObjectFactory {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkObjectFactory @ {:p}", self))
.field("parent", &self.parent)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkPlug {
pub parent: AtkObject,
}
impl ::std::fmt::Debug for AtkPlug {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkPlug @ {:p}", self))
.field("parent", &self.parent)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkRegistry {
pub parent: gobject::GObject,
pub factory_type_registry: *mut glib::GHashTable,
pub factory_singleton_cache: *mut glib::GHashTable,
}
impl ::std::fmt::Debug for AtkRegistry {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkRegistry @ {:p}", self))
.field("parent", &self.parent)
.field("factory_type_registry", &self.factory_type_registry)
.field("factory_singleton_cache", &self.factory_singleton_cache)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkRelation {
pub parent: gobject::GObject,
pub target: *mut glib::GPtrArray,
pub relationship: AtkRelationType,
}
impl ::std::fmt::Debug for AtkRelation {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkRelation @ {:p}", self))
.field("parent", &self.parent)
.field("target", &self.target)
.field("relationship", &self.relationship)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkRelationSet {
pub parent: gobject::GObject,
pub relations: *mut glib::GPtrArray,
}
impl ::std::fmt::Debug for AtkRelationSet {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkRelationSet @ {:p}", self))
.field("parent", &self.parent)
.field("relations", &self.relations)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkSocket {
pub parent: AtkObject,
pub embedded_plug_id: *mut c_char,
}
impl ::std::fmt::Debug for AtkSocket {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkSocket @ {:p}", self))
.field("parent", &self.parent)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkStateSet {
pub parent: gobject::GObject,
}
impl ::std::fmt::Debug for AtkStateSet {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkStateSet @ {:p}", self))
.field("parent", &self.parent)
.finish()
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct AtkUtil {
pub parent: gobject::GObject,
}
impl ::std::fmt::Debug for AtkUtil {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("AtkUtil @ {:p}", self))
.field("parent", &self.parent)
.finish()
}
}
#[repr(C)]
pub struct AtkAction(c_void);
impl ::std::fmt::Debug for AtkAction {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "AtkAction @ {:p}", self)
}
}
#[repr(C)]
pub struct AtkComponent(c_void);
impl ::std::fmt::Debug for AtkComponent {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "AtkComponent @ {:p}", self)
}
}
#[repr(C)]
pub struct AtkDocument(c_void);
impl ::std::fmt::Debug for AtkDocument {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "AtkDocument @ {:p}", self)
}
}
#[repr(C)]
pub struct AtkEditableText(c_void);
impl ::std::fmt::Debug for AtkEditableText {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "AtkEditableText @ {:p}", self)
}
}
#[repr(C)]
pub struct AtkHyperlinkImpl(c_void);
impl ::std::fmt::Debug for AtkHyperlinkImpl {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "AtkHyperlinkImpl @ {:p}", self)
}
}
#[repr(C)]
pub struct AtkHypertext(c_void);
impl ::std::fmt::Debug for AtkHypertext {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "AtkHypertext @ {:p}", self)
}
}
#[repr(C)]
pub struct AtkImage(c_void);
impl ::std::fmt::Debug for AtkImage {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "AtkImage @ {:p}", self)
}
}
#[repr(C)]
pub struct AtkImplementorIface(c_void);
impl ::std::fmt::Debug for AtkImplementorIface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "AtkImplementorIface @ {:p}", self)
}
}
#[repr(C)]
pub struct AtkSelection(c_void);
impl ::std::fmt::Debug for AtkSelection {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "AtkSelection @ {:p}", self)
}
}
#[repr(C)]
pub struct AtkStreamableContent(c_void);
impl ::std::fmt::Debug for AtkStreamableContent {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "AtkStreamableContent @ {:p}", self)
}
}
#[repr(C)]
pub struct AtkTable(c_void);
impl ::std::fmt::Debug for AtkTable {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "AtkTable @ {:p}", self)
}
}
#[repr(C)]
pub struct AtkTableCell(c_void);
impl ::std::fmt::Debug for AtkTableCell {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "AtkTableCell @ {:p}", self)
}
}
#[repr(C)]
pub struct AtkText(c_void);
impl ::std::fmt::Debug for AtkText {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "AtkText @ {:p}", self)
}
}
#[repr(C)]
pub struct AtkValue(c_void);
impl ::std::fmt::Debug for AtkValue {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "AtkValue @ {:p}", self)
}
}
#[repr(C)]
pub struct AtkWindow(c_void);
impl ::std::fmt::Debug for AtkWindow {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "AtkWindow @ {:p}", self)
}
}
#[link(name = "atk-1.0")]
extern "C" {
pub fn atk_coord_type_get_type() -> GType;
pub fn atk_key_event_type_get_type() -> GType;
pub fn atk_layer_get_type() -> GType;
pub fn atk_relation_type_get_type() -> GType;
pub fn atk_relation_type_for_name(name: *const c_char) -> AtkRelationType;
pub fn atk_relation_type_get_name(type_: AtkRelationType) -> *const c_char;
pub fn atk_relation_type_register(name: *const c_char) -> AtkRelationType;
pub fn atk_role_get_type() -> GType;
pub fn atk_role_for_name(name: *const c_char) -> AtkRole;
pub fn atk_role_get_localized_name(role: AtkRole) -> *const c_char;
pub fn atk_role_get_name(role: AtkRole) -> *const c_char;
pub fn atk_role_register(name: *const c_char) -> AtkRole;
#[cfg(any(feature = "v2_30", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_30")))]
pub fn atk_scroll_type_get_type() -> GType;
pub fn atk_state_type_get_type() -> GType;
pub fn atk_state_type_for_name(name: *const c_char) -> AtkStateType;
pub fn atk_state_type_get_name(type_: AtkStateType) -> *const c_char;
pub fn atk_state_type_register(name: *const c_char) -> AtkStateType;
pub fn atk_text_attribute_get_type() -> GType;
pub fn atk_text_attribute_for_name(name: *const c_char) -> AtkTextAttribute;
pub fn atk_text_attribute_get_name(attr: AtkTextAttribute) -> *const c_char;
pub fn atk_text_attribute_get_value(attr: AtkTextAttribute, index_: c_int) -> *const c_char;
pub fn atk_text_attribute_register(name: *const c_char) -> AtkTextAttribute;
pub fn atk_text_boundary_get_type() -> GType;
pub fn atk_text_clip_type_get_type() -> GType;
pub fn atk_text_granularity_get_type() -> GType;
pub fn atk_value_type_get_type() -> GType;
pub fn atk_value_type_get_localized_name(value_type: AtkValueType) -> *const c_char;
pub fn atk_value_type_get_name(value_type: AtkValueType) -> *const c_char;
pub fn atk_hyperlink_state_flags_get_type() -> GType;
pub fn atk_attribute_set_free(attrib_set: *mut AtkAttributeSet);
pub fn atk_implementor_ref_accessible(implementor: *mut AtkImplementor) -> *mut AtkObject;
pub fn atk_range_get_type() -> GType;
pub fn atk_range_new(
lower_limit: c_double,
upper_limit: c_double,
description: *const c_char,
) -> *mut AtkRange;
pub fn atk_range_copy(src: *mut AtkRange) -> *mut AtkRange;
pub fn atk_range_free(range: *mut AtkRange);
pub fn atk_range_get_description(range: *mut AtkRange) -> *const c_char;
pub fn atk_range_get_lower_limit(range: *mut AtkRange) -> c_double;
pub fn atk_range_get_upper_limit(range: *mut AtkRange) -> c_double;
pub fn atk_rectangle_get_type() -> GType;
pub fn atk_text_range_get_type() -> GType;
pub fn atk_gobject_accessible_get_type() -> GType;
pub fn atk_gobject_accessible_for_object(obj: *mut gobject::GObject) -> *mut AtkObject;
pub fn atk_gobject_accessible_get_object(
obj: *mut AtkGObjectAccessible,
) -> *mut gobject::GObject;
pub fn atk_hyperlink_get_type() -> GType;
pub fn atk_hyperlink_get_end_index(link_: *mut AtkHyperlink) -> c_int;
pub fn atk_hyperlink_get_n_anchors(link_: *mut AtkHyperlink) -> c_int;
pub fn atk_hyperlink_get_object(link_: *mut AtkHyperlink, i: c_int) -> *mut AtkObject;
pub fn atk_hyperlink_get_start_index(link_: *mut AtkHyperlink) -> c_int;
pub fn atk_hyperlink_get_uri(link_: *mut AtkHyperlink, i: c_int) -> *mut c_char;
pub fn atk_hyperlink_is_inline(link_: *mut AtkHyperlink) -> gboolean;
pub fn atk_hyperlink_is_selected_link(link_: *mut AtkHyperlink) -> gboolean;
pub fn atk_hyperlink_is_valid(link_: *mut AtkHyperlink) -> gboolean;
pub fn atk_misc_get_type() -> GType;
pub fn atk_misc_get_instance() -> *const AtkMisc;
pub fn atk_misc_threads_enter(misc: *mut AtkMisc);
pub fn atk_misc_threads_leave(misc: *mut AtkMisc);
pub fn atk_no_op_object_get_type() -> GType;
pub fn atk_no_op_object_new(obj: *mut gobject::GObject) -> *mut AtkObject;
pub fn atk_no_op_object_factory_get_type() -> GType;
pub fn atk_no_op_object_factory_new() -> *mut AtkObjectFactory;
pub fn atk_object_get_type() -> GType;
pub fn atk_object_add_relationship(
object: *mut AtkObject,
relationship: AtkRelationType,
target: *mut AtkObject,
) -> gboolean;
pub fn atk_object_connect_property_change_handler(
accessible: *mut AtkObject,
handler: *mut AtkPropertyChangeHandler,
) -> c_uint;
#[cfg(any(feature = "v2_34", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_34")))]
pub fn atk_object_get_accessible_id(accessible: *mut AtkObject) -> *const c_char;
pub fn atk_object_get_attributes(accessible: *mut AtkObject) -> *mut AtkAttributeSet;
pub fn atk_object_get_description(accessible: *mut AtkObject) -> *const c_char;
pub fn atk_object_get_index_in_parent(accessible: *mut AtkObject) -> c_int;
pub fn atk_object_get_layer(accessible: *mut AtkObject) -> AtkLayer;
pub fn atk_object_get_mdi_zorder(accessible: *mut AtkObject) -> c_int;
pub fn atk_object_get_n_accessible_children(accessible: *mut AtkObject) -> c_int;
pub fn atk_object_get_name(accessible: *mut AtkObject) -> *const c_char;
pub fn atk_object_get_object_locale(accessible: *mut AtkObject) -> *const c_char;
pub fn atk_object_get_parent(accessible: *mut AtkObject) -> *mut AtkObject;
pub fn atk_object_get_role(accessible: *mut AtkObject) -> AtkRole;
pub fn atk_object_initialize(accessible: *mut AtkObject, data: gpointer);
pub fn atk_object_notify_state_change(
accessible: *mut AtkObject,
state: AtkState,
value: gboolean,
);
pub fn atk_object_peek_parent(accessible: *mut AtkObject) -> *mut AtkObject;
pub fn atk_object_ref_accessible_child(accessible: *mut AtkObject, i: c_int) -> *mut AtkObject;
pub fn atk_object_ref_relation_set(accessible: *mut AtkObject) -> *mut AtkRelationSet;
pub fn atk_object_ref_state_set(accessible: *mut AtkObject) -> *mut AtkStateSet;
pub fn atk_object_remove_property_change_handler(
accessible: *mut AtkObject,
handler_id: c_uint,
);
pub fn atk_object_remove_relationship(
object: *mut AtkObject,
relationship: AtkRelationType,
target: *mut AtkObject,
) -> gboolean;
#[cfg(any(feature = "v2_34", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_34")))]
pub fn atk_object_set_accessible_id(accessible: *mut AtkObject, name: *const c_char);
pub fn atk_object_set_description(accessible: *mut AtkObject, description: *const c_char);
pub fn atk_object_set_name(accessible: *mut AtkObject, name: *const c_char);
pub fn atk_object_set_parent(accessible: *mut AtkObject, parent: *mut AtkObject);
pub fn atk_object_set_role(accessible: *mut AtkObject, role: AtkRole);
pub fn atk_object_factory_get_type() -> GType;
pub fn atk_object_factory_create_accessible(
factory: *mut AtkObjectFactory,
obj: *mut gobject::GObject,
) -> *mut AtkObject;
pub fn atk_object_factory_get_accessible_type(factory: *mut AtkObjectFactory) -> GType;
pub fn atk_object_factory_invalidate(factory: *mut AtkObjectFactory);
pub fn atk_plug_get_type() -> GType;
pub fn atk_plug_new() -> *mut AtkObject;
pub fn atk_plug_get_id(plug: *mut AtkPlug) -> *mut c_char;
pub fn atk_registry_get_type() -> GType;
pub fn atk_registry_get_factory(
registry: *mut AtkRegistry,
type_: GType,
) -> *mut AtkObjectFactory;
pub fn atk_registry_get_factory_type(registry: *mut AtkRegistry, type_: GType) -> GType;
pub fn atk_registry_set_factory_type(
registry: *mut AtkRegistry,
type_: GType,
factory_type: GType,
);
pub fn atk_relation_get_type() -> GType;
pub fn atk_relation_new(
targets: *mut *mut AtkObject,
n_targets: c_int,
relationship: AtkRelationType,
) -> *mut AtkRelation;
pub fn atk_relation_add_target(relation: *mut AtkRelation, target: *mut AtkObject);
pub fn atk_relation_get_relation_type(relation: *mut AtkRelation) -> AtkRelationType;
pub fn atk_relation_get_target(relation: *mut AtkRelation) -> *mut glib::GPtrArray;
pub fn atk_relation_remove_target(
relation: *mut AtkRelation,
target: *mut AtkObject,
) -> gboolean;
pub fn atk_relation_set_get_type() -> GType;
pub fn atk_relation_set_new() -> *mut AtkRelationSet;
pub fn atk_relation_set_add(set: *mut AtkRelationSet, relation: *mut AtkRelation);
pub fn atk_relation_set_add_relation_by_type(
set: *mut AtkRelationSet,
relationship: AtkRelationType,
target: *mut AtkObject,
);
pub fn atk_relation_set_contains(
set: *mut AtkRelationSet,
relationship: AtkRelationType,
) -> gboolean;
pub fn atk_relation_set_contains_target(
set: *mut AtkRelationSet,
relationship: AtkRelationType,
target: *mut AtkObject,
) -> gboolean;
pub fn atk_relation_set_get_n_relations(set: *mut AtkRelationSet) -> c_int;
pub fn atk_relation_set_get_relation(set: *mut AtkRelationSet, i: c_int) -> *mut AtkRelation;
pub fn atk_relation_set_get_relation_by_type(
set: *mut AtkRelationSet,
relationship: AtkRelationType,
) -> *mut AtkRelation;
pub fn atk_relation_set_remove(set: *mut AtkRelationSet, relation: *mut AtkRelation);
pub fn atk_socket_get_type() -> GType;
pub fn atk_socket_new() -> *mut AtkObject;
pub fn atk_socket_embed(obj: *mut AtkSocket, plug_id: *const c_char);
pub fn atk_socket_is_occupied(obj: *mut AtkSocket) -> gboolean;
pub fn atk_state_set_get_type() -> GType;
pub fn atk_state_set_new() -> *mut AtkStateSet;
pub fn atk_state_set_add_state(set: *mut AtkStateSet, type_: AtkStateType) -> gboolean;
pub fn atk_state_set_add_states(
set: *mut AtkStateSet,
types: *mut AtkStateType,
n_types: c_int,
);
pub fn atk_state_set_and_sets(
set: *mut AtkStateSet,
compare_set: *mut AtkStateSet,
) -> *mut AtkStateSet;
pub fn atk_state_set_clear_states(set: *mut AtkStateSet);
pub fn atk_state_set_contains_state(set: *mut AtkStateSet, type_: AtkStateType) -> gboolean;
pub fn atk_state_set_contains_states(
set: *mut AtkStateSet,
types: *mut AtkStateType,
n_types: c_int,
) -> gboolean;
pub fn atk_state_set_is_empty(set: *mut AtkStateSet) -> gboolean;
pub fn atk_state_set_or_sets(
set: *mut AtkStateSet,
compare_set: *mut AtkStateSet,
) -> *mut AtkStateSet;
pub fn atk_state_set_remove_state(set: *mut AtkStateSet, type_: AtkStateType) -> gboolean;
pub fn atk_state_set_xor_sets(
set: *mut AtkStateSet,
compare_set: *mut AtkStateSet,
) -> *mut AtkStateSet;
pub fn atk_util_get_type() -> GType;
pub fn atk_action_get_type() -> GType;
pub fn atk_action_do_action(action: *mut AtkAction, i: c_int) -> gboolean;
pub fn atk_action_get_description(action: *mut AtkAction, i: c_int) -> *const c_char;
pub fn atk_action_get_keybinding(action: *mut AtkAction, i: c_int) -> *const c_char;
pub fn atk_action_get_localized_name(action: *mut AtkAction, i: c_int) -> *const c_char;
pub fn atk_action_get_n_actions(action: *mut AtkAction) -> c_int;
pub fn atk_action_get_name(action: *mut AtkAction, i: c_int) -> *const c_char;
pub fn atk_action_set_description(
action: *mut AtkAction,
i: c_int,
desc: *const c_char,
) -> gboolean;
pub fn atk_component_get_type() -> GType;
pub fn atk_component_add_focus_handler(
component: *mut AtkComponent,
handler: AtkFocusHandler,
) -> c_uint;
pub fn atk_component_contains(
component: *mut AtkComponent,
x: c_int,
y: c_int,
coord_type: AtkCoordType,
) -> gboolean;
pub fn atk_component_get_alpha(component: *mut AtkComponent) -> c_double;
pub fn atk_component_get_extents(
component: *mut AtkComponent,
x: *mut c_int,
y: *mut c_int,
width: *mut c_int,
height: *mut c_int,
coord_type: AtkCoordType,
);
pub fn atk_component_get_layer(component: *mut AtkComponent) -> AtkLayer;
pub fn atk_component_get_mdi_zorder(component: *mut AtkComponent) -> c_int;
pub fn atk_component_get_position(
component: *mut AtkComponent,
x: *mut c_int,
y: *mut c_int,
coord_type: AtkCoordType,
);
pub fn atk_component_get_size(
component: *mut AtkComponent,
width: *mut c_int,
height: *mut c_int,
);
pub fn atk_component_grab_focus(component: *mut AtkComponent) -> gboolean;
pub fn atk_component_ref_accessible_at_point(
component: *mut AtkComponent,
x: c_int,
y: c_int,
coord_type: AtkCoordType,
) -> *mut AtkObject;
pub fn atk_component_remove_focus_handler(component: *mut AtkComponent, handler_id: c_uint);
#[cfg(any(feature = "v2_30", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_30")))]
pub fn atk_component_scroll_to(component: *mut AtkComponent, type_: AtkScrollType) -> gboolean;
#[cfg(any(feature = "v2_30", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_30")))]
pub fn atk_component_scroll_to_point(
component: *mut AtkComponent,
coords: AtkCoordType,
x: c_int,
y: c_int,
) -> gboolean;
pub fn atk_component_set_extents(
component: *mut AtkComponent,
x: c_int,
y: c_int,
width: c_int,
height: c_int,
coord_type: AtkCoordType,
) -> gboolean;
pub fn atk_component_set_position(
component: *mut AtkComponent,
x: c_int,
y: c_int,
coord_type: AtkCoordType,
) -> gboolean;
pub fn atk_component_set_size(
component: *mut AtkComponent,
width: c_int,
height: c_int,
) -> gboolean;
pub fn atk_document_get_type() -> GType;
pub fn atk_document_get_attribute_value(
document: *mut AtkDocument,
attribute_name: *const c_char,
) -> *const c_char;
pub fn atk_document_get_attributes(document: *mut AtkDocument) -> *mut AtkAttributeSet;
pub fn atk_document_get_current_page_number(document: *mut AtkDocument) -> c_int;
pub fn atk_document_get_document(document: *mut AtkDocument) -> gpointer;
pub fn atk_document_get_document_type(document: *mut AtkDocument) -> *const c_char;
pub fn atk_document_get_locale(document: *mut AtkDocument) -> *const c_char;
pub fn atk_document_get_page_count(document: *mut AtkDocument) -> c_int;
pub fn atk_document_set_attribute_value(
document: *mut AtkDocument,
attribute_name: *const c_char,
attribute_value: *const c_char,
) -> gboolean;
pub fn atk_editable_text_get_type() -> GType;
pub fn atk_editable_text_copy_text(
text: *mut AtkEditableText,
start_pos: c_int,
end_pos: c_int,
);
pub fn atk_editable_text_cut_text(text: *mut AtkEditableText, start_pos: c_int, end_pos: c_int);
pub fn atk_editable_text_delete_text(
text: *mut AtkEditableText,
start_pos: c_int,
end_pos: c_int,
);
pub fn atk_editable_text_insert_text(
text: *mut AtkEditableText,
string: *const c_char,
length: c_int,
position: *mut c_int,
);
pub fn atk_editable_text_paste_text(text: *mut AtkEditableText, position: c_int);
pub fn atk_editable_text_set_run_attributes(
text: *mut AtkEditableText,
attrib_set: *mut AtkAttributeSet,
start_offset: c_int,
end_offset: c_int,
) -> gboolean;
pub fn atk_editable_text_set_text_contents(text: *mut AtkEditableText, string: *const c_char);
pub fn atk_hyperlink_impl_get_type() -> GType;
pub fn atk_hyperlink_impl_get_hyperlink(impl_: *mut AtkHyperlinkImpl) -> *mut AtkHyperlink;
pub fn atk_hypertext_get_type() -> GType;
pub fn atk_hypertext_get_link(
hypertext: *mut AtkHypertext,
link_index: c_int,
) -> *mut AtkHyperlink;
pub fn atk_hypertext_get_link_index(hypertext: *mut AtkHypertext, char_index: c_int) -> c_int;
pub fn atk_hypertext_get_n_links(hypertext: *mut AtkHypertext) -> c_int;
pub fn atk_image_get_type() -> GType;
pub fn atk_image_get_image_description(image: *mut AtkImage) -> *const c_char;
pub fn atk_image_get_image_locale(image: *mut AtkImage) -> *const c_char;
pub fn atk_image_get_image_position(
image: *mut AtkImage,
x: *mut c_int,
y: *mut c_int,
coord_type: AtkCoordType,
);
pub fn atk_image_get_image_size(image: *mut AtkImage, width: *mut c_int, height: *mut c_int);
pub fn atk_image_set_image_description(
image: *mut AtkImage,
description: *const c_char,
) -> gboolean;
pub fn atk_implementor_get_type() -> GType;
pub fn atk_selection_get_type() -> GType;
pub fn atk_selection_add_selection(selection: *mut AtkSelection, i: c_int) -> gboolean;
pub fn atk_selection_clear_selection(selection: *mut AtkSelection) -> gboolean;
pub fn atk_selection_get_selection_count(selection: *mut AtkSelection) -> c_int;
pub fn atk_selection_is_child_selected(selection: *mut AtkSelection, i: c_int) -> gboolean;
pub fn atk_selection_ref_selection(selection: *mut AtkSelection, i: c_int) -> *mut AtkObject;
pub fn atk_selection_remove_selection(selection: *mut AtkSelection, i: c_int) -> gboolean;
pub fn atk_selection_select_all_selection(selection: *mut AtkSelection) -> gboolean;
pub fn atk_streamable_content_get_type() -> GType;
pub fn atk_streamable_content_get_mime_type(
streamable: *mut AtkStreamableContent,
i: c_int,
) -> *const c_char;
pub fn atk_streamable_content_get_n_mime_types(streamable: *mut AtkStreamableContent) -> c_int;
pub fn atk_streamable_content_get_stream(
streamable: *mut AtkStreamableContent,
mime_type: *const c_char,
) -> *mut glib::GIOChannel;
pub fn atk_streamable_content_get_uri(
streamable: *mut AtkStreamableContent,
mime_type: *const c_char,
) -> *const c_char;
pub fn atk_table_get_type() -> GType;
pub fn atk_table_add_column_selection(table: *mut AtkTable, column: c_int) -> gboolean;
pub fn atk_table_add_row_selection(table: *mut AtkTable, row: c_int) -> gboolean;
pub fn atk_table_get_caption(table: *mut AtkTable) -> *mut AtkObject;
pub fn atk_table_get_column_at_index(table: *mut AtkTable, index_: c_int) -> c_int;
pub fn atk_table_get_column_description(table: *mut AtkTable, column: c_int) -> *const c_char;
pub fn atk_table_get_column_extent_at(table: *mut AtkTable, row: c_int, column: c_int)
-> c_int;
pub fn atk_table_get_column_header(table: *mut AtkTable, column: c_int) -> *mut AtkObject;
pub fn atk_table_get_index_at(table: *mut AtkTable, row: c_int, column: c_int) -> c_int;
pub fn atk_table_get_n_columns(table: *mut AtkTable) -> c_int;
pub fn atk_table_get_n_rows(table: *mut AtkTable) -> c_int;
pub fn atk_table_get_row_at_index(table: *mut AtkTable, index_: c_int) -> c_int;
pub fn atk_table_get_row_description(table: *mut AtkTable, row: c_int) -> *const c_char;
pub fn atk_table_get_row_extent_at(table: *mut AtkTable, row: c_int, column: c_int) -> c_int;
pub fn atk_table_get_row_header(table: *mut AtkTable, row: c_int) -> *mut AtkObject;
pub fn atk_table_get_selected_columns(table: *mut AtkTable, selected: *mut *mut c_int)
-> c_int;
pub fn atk_table_get_selected_rows(table: *mut AtkTable, selected: *mut *mut c_int) -> c_int;
pub fn atk_table_get_summary(table: *mut AtkTable) -> *mut AtkObject;
pub fn atk_table_is_column_selected(table: *mut AtkTable, column: c_int) -> gboolean;
pub fn atk_table_is_row_selected(table: *mut AtkTable, row: c_int) -> gboolean;
pub fn atk_table_is_selected(table: *mut AtkTable, row: c_int, column: c_int) -> gboolean;
pub fn atk_table_ref_at(table: *mut AtkTable, row: c_int, column: c_int) -> *mut AtkObject;
pub fn atk_table_remove_column_selection(table: *mut AtkTable, column: c_int) -> gboolean;
pub fn atk_table_remove_row_selection(table: *mut AtkTable, row: c_int) -> gboolean;
pub fn atk_table_set_caption(table: *mut AtkTable, caption: *mut AtkObject);
pub fn atk_table_set_column_description(
table: *mut AtkTable,
column: c_int,
description: *const c_char,
);
pub fn atk_table_set_column_header(table: *mut AtkTable, column: c_int, header: *mut AtkObject);
pub fn atk_table_set_row_description(
table: *mut AtkTable,
row: c_int,
description: *const c_char,
);
pub fn atk_table_set_row_header(table: *mut AtkTable, row: c_int, header: *mut AtkObject);
pub fn atk_table_set_summary(table: *mut AtkTable, accessible: *mut AtkObject);
pub fn atk_table_cell_get_type() -> GType;
pub fn atk_table_cell_get_column_header_cells(cell: *mut AtkTableCell) -> *mut glib::GPtrArray;
pub fn atk_table_cell_get_column_span(cell: *mut AtkTableCell) -> c_int;
pub fn atk_table_cell_get_position(
cell: *mut AtkTableCell,
row: *mut c_int,
column: *mut c_int,
) -> gboolean;
pub fn atk_table_cell_get_row_column_span(
cell: *mut AtkTableCell,
row: *mut c_int,
column: *mut c_int,
row_span: *mut c_int,
column_span: *mut c_int,
) -> gboolean;
pub fn atk_table_cell_get_row_header_cells(cell: *mut AtkTableCell) -> *mut glib::GPtrArray;
pub fn atk_table_cell_get_row_span(cell: *mut AtkTableCell) -> c_int;
pub fn atk_table_cell_get_table(cell: *mut AtkTableCell) -> *mut AtkObject;
pub fn atk_text_get_type() -> GType;
pub fn atk_text_free_ranges(ranges: *mut *mut AtkTextRange);
pub fn atk_text_add_selection(
text: *mut AtkText,
start_offset: c_int,
end_offset: c_int,
) -> gboolean;
pub fn atk_text_get_bounded_ranges(
text: *mut AtkText,
rect: *mut AtkTextRectangle,
coord_type: AtkCoordType,
x_clip_type: AtkTextClipType,
y_clip_type: AtkTextClipType,
) -> *mut *mut AtkTextRange;
pub fn atk_text_get_caret_offset(text: *mut AtkText) -> c_int;
pub fn atk_text_get_character_at_offset(text: *mut AtkText, offset: c_int) -> u32;
pub fn atk_text_get_character_count(text: *mut AtkText) -> c_int;
pub fn atk_text_get_character_extents(
text: *mut AtkText,
offset: c_int,
x: *mut c_int,
y: *mut c_int,
width: *mut c_int,
height: *mut c_int,
coords: AtkCoordType,
);
pub fn atk_text_get_default_attributes(text: *mut AtkText) -> *mut AtkAttributeSet;
pub fn atk_text_get_n_selections(text: *mut AtkText) -> c_int;
pub fn atk_text_get_offset_at_point(
text: *mut AtkText,
x: c_int,
y: c_int,
coords: AtkCoordType,
) -> c_int;
pub fn atk_text_get_range_extents(
text: *mut AtkText,
start_offset: c_int,
end_offset: c_int,
coord_type: AtkCoordType,
rect: *mut AtkTextRectangle,
);
pub fn atk_text_get_run_attributes(
text: *mut AtkText,
offset: c_int,
start_offset: *mut c_int,
end_offset: *mut c_int,
) -> *mut AtkAttributeSet;
pub fn atk_text_get_selection(
text: *mut AtkText,
selection_num: c_int,
start_offset: *mut c_int,
end_offset: *mut c_int,
) -> *mut c_char;
pub fn atk_text_get_string_at_offset(
text: *mut AtkText,
offset: c_int,
granularity: AtkTextGranularity,
start_offset: *mut c_int,
end_offset: *mut c_int,
) -> *mut c_char;
pub fn atk_text_get_text(
text: *mut AtkText,
start_offset: c_int,
end_offset: c_int,
) -> *mut c_char;
pub fn atk_text_get_text_after_offset(
text: *mut AtkText,
offset: c_int,
boundary_type: AtkTextBoundary,
start_offset: *mut c_int,
end_offset: *mut c_int,
) -> *mut c_char;
pub fn atk_text_get_text_at_offset(
text: *mut AtkText,
offset: c_int,
boundary_type: AtkTextBoundary,
start_offset: *mut c_int,
end_offset: *mut c_int,
) -> *mut c_char;
pub fn atk_text_get_text_before_offset(
text: *mut AtkText,
offset: c_int,
boundary_type: AtkTextBoundary,
start_offset: *mut c_int,
end_offset: *mut c_int,
) -> *mut c_char;
pub fn atk_text_remove_selection(text: *mut AtkText, selection_num: c_int) -> gboolean;
#[cfg(any(feature = "v2_32", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_32")))]
pub fn atk_text_scroll_substring_to(
text: *mut AtkText,
start_offset: c_int,
end_offset: c_int,
type_: AtkScrollType,
) -> gboolean;
#[cfg(any(feature = "v2_32", feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_32")))]
pub fn atk_text_scroll_substring_to_point(
text: *mut AtkText,
start_offset: c_int,
end_offset: c_int,
coords: AtkCoordType,
x: c_int,
y: c_int,
) -> gboolean;
pub fn atk_text_set_caret_offset(text: *mut AtkText, offset: c_int) -> gboolean;
pub fn atk_text_set_selection(
text: *mut AtkText,
selection_num: c_int,
start_offset: c_int,
end_offset: c_int,
) -> gboolean;
pub fn atk_value_get_type() -> GType;
pub fn atk_value_get_current_value(obj: *mut AtkValue, value: *mut gobject::GValue);
pub fn atk_value_get_increment(obj: *mut AtkValue) -> c_double;
pub fn atk_value_get_maximum_value(obj: *mut AtkValue, value: *mut gobject::GValue);
pub fn atk_value_get_minimum_increment(obj: *mut AtkValue, value: *mut gobject::GValue);
pub fn atk_value_get_minimum_value(obj: *mut AtkValue, value: *mut gobject::GValue);
pub fn atk_value_get_range(obj: *mut AtkValue) -> *mut AtkRange;
pub fn atk_value_get_sub_ranges(obj: *mut AtkValue) -> *mut glib::GSList;
pub fn atk_value_get_value_and_text(
obj: *mut AtkValue,
value: *mut c_double,
text: *mut *mut c_char,
);
pub fn atk_value_set_current_value(
obj: *mut AtkValue,
value: *const gobject::GValue,
) -> gboolean;
pub fn atk_value_set_value(obj: *mut AtkValue, new_value: c_double);
pub fn atk_window_get_type() -> GType;
pub fn atk_add_focus_tracker(focus_tracker: AtkEventListener) -> c_uint;
pub fn atk_add_global_event_listener(
listener: gobject::GSignalEmissionHook,
event_type: *const c_char,
) -> c_uint;
pub fn atk_add_key_event_listener(listener: AtkKeySnoopFunc, data: gpointer) -> c_uint;
pub fn atk_focus_tracker_init(init: AtkEventListenerInit);
pub fn atk_focus_tracker_notify(object: *mut AtkObject);
pub fn atk_get_binary_age() -> c_uint;
pub fn atk_get_default_registry() -> *mut AtkRegistry;
pub fn atk_get_focus_object() -> *mut AtkObject;
pub fn atk_get_interface_age() -> c_uint;
pub fn atk_get_major_version() -> c_uint;
pub fn atk_get_micro_version() -> c_uint;
pub fn atk_get_minor_version() -> c_uint;
pub fn atk_get_root() -> *mut AtkObject;
pub fn atk_get_toolkit_name() -> *const c_char;
pub fn atk_get_toolkit_version() -> *const c_char;
pub fn atk_get_version() -> *const c_char;
pub fn atk_remove_focus_tracker(tracker_id: c_uint);
pub fn atk_remove_global_event_listener(listener_id: c_uint);
pub fn atk_remove_key_event_listener(listener_id: c_uint);
}