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
|
# tkInt.decls --
#
# This file contains the declarations for all unsupported functions that
# are exported by the Tk library. This file is used to generate the
# tkIntDecls.h, tkIntPlatDecls.h, tkIntStub.c, and tkPlatStub.c files.
#
# Copyright © 1998-1999 Scriptics Corporation.
# Copyright © 2007 Daniel A. Steffen <das@users.sourceforge.net>
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
library tk
##############################################################################
# Define the unsupported generic interfaces.
interface tkInt
scspec EXTERN
# Declare each of the functions in the unsupported internal Tcl interface.
# These interfaces are allowed to changed between versions. Use at your own
# risk. Note that the position of functions should not be changed between
# versions to avoid gratuitous incompatibilities.
declare 0 {
TkWindow *TkAllocWindow(TkDisplay *dispPtr, int screenNum,
TkWindow *parentPtr)
}
declare 1 {
void TkBezierPoints(double control[], int numSteps, double *coordPtr)
}
declare 2 {
void TkBezierScreenPoints(Tk_Canvas canvas, double control[],
int numSteps, XPoint *xPointPtr)
}
#
# Slot 3 unused (WAS: TkBindDeadWindow)
#
declare 4 {
void TkBindEventProc(TkWindow *winPtr, XEvent *eventPtr)
}
declare 5 {
void TkBindFree(TkMainInfo *mainPtr)
}
declare 6 {
void TkBindInit(TkMainInfo *mainPtr)
}
declare 7 {
void TkChangeEventWindow(XEvent *eventPtr, TkWindow *winPtr)
}
declare 8 {
int TkClipInit(Tcl_Interp *interp, TkDisplay *dispPtr)
}
declare 9 {
void TkComputeAnchor(Tk_Anchor anchor, Tk_Window tkwin, int padX, int padY,
int innerWidth, int innerHeight, int *xPtr, int *yPtr)
}
#
# Slot 10 unused (WAS: TkCopyAndGlobalEval)
# Slot 11 unused (WAS: TkCreateBindingProcedure)
#
declare 12 {
TkCursor *TkCreateCursorFromData(Tk_Window tkwin,
const char *source, const char *mask, int width, int height,
int xHot, int yHot, XColor fg, XColor bg)
}
declare 13 {
int TkCreateFrame(void *clientData, Tcl_Interp *interp,
int argc, const char *const *argv, int toplevel, const char *appName)
}
declare 14 {
Tk_Window TkCreateMainWindow(Tcl_Interp *interp,
const char *screenName, const char *baseName)
}
declare 15 {
Time TkCurrentTime(TkDisplay *dispPtr)
}
declare 16 {
void TkDeleteAllImages(TkMainInfo *mainPtr)
}
declare 17 {
void TkDoConfigureNotify(TkWindow *winPtr)
}
declare 18 {
void TkDrawInsetFocusHighlight(Tk_Window tkwin, GC gc, int width,
Drawable drawable, int padding)
}
declare 19 {
void TkEventDeadWindow(TkWindow *winPtr)
}
declare 20 {
void TkFillPolygon(Tk_Canvas canvas, double *coordPtr, int numPoints,
Display *display, Drawable drawable, GC gc, GC outlineGC)
}
declare 21 {
int TkFindStateNum(Tcl_Interp *interp, const char *option,
const TkStateMap *mapPtr, const char *strKey)
}
declare 22 {
const char *TkFindStateString(const TkStateMap *mapPtr, int numKey)
}
declare 23 {
void TkFocusDeadWindow(TkWindow *winPtr)
}
declare 24 {
int TkFocusFilterEvent(TkWindow *winPtr, XEvent *eventPtr)
}
declare 25 {
TkWindow *TkFocusKeyEvent(TkWindow *winPtr, XEvent *eventPtr)
}
declare 26 {
void TkFontPkgInit(TkMainInfo *mainPtr)
}
declare 27 {
void TkFontPkgFree(TkMainInfo *mainPtr)
}
declare 28 {
void TkFreeBindingTags(TkWindow *winPtr)
}
# Name change only, TkFreeCursor in Tcl 8.0.x now TkpFreeCursor
declare 29 {
void TkpFreeCursor(TkCursor *cursorPtr)
}
declare 30 {
char *TkGetBitmapData(Tcl_Interp *interp, const char *string,
const char *fileName, int *widthPtr, int *heightPtr,
int *hotXPtr, int *hotYPtr)
}
declare 31 {
void TkGetButtPoints(double p1[], double p2[],
double width, int project, double m1[], double m2[])
}
declare 32 {
TkCursor *TkGetCursorByName(Tcl_Interp *interp,
Tk_Window tkwin, Tk_Uid string)
}
declare 33 {
const char *TkGetDefaultScreenName(Tcl_Interp *interp,
const char *screenName)
}
declare 34 {
TkDisplay *TkGetDisplay(Display *display)
}
declare 35 {
Tcl_Size TkGetDisplayOf(Tcl_Interp *interp, Tcl_Size objc, Tcl_Obj *const objv[],
Tk_Window *tkwinPtr)
}
declare 36 {
TkWindow *TkGetFocusWin(TkWindow *winPtr)
}
declare 37 {
int TkGetInterpNames(Tcl_Interp *interp, Tk_Window tkwin)
}
declare 38 {
int TkGetMiterPoints(double p1[], double p2[], double p3[],
double width, double m1[], double m2[])
}
declare 39 {
void TkGetPointerCoords(Tk_Window tkwin, int *xPtr, int *yPtr)
}
declare 40 {
void TkGetServerInfo(Tcl_Interp *interp, Tk_Window tkwin)
}
declare 41 {
void TkGrabDeadWindow(TkWindow *winPtr)
}
declare 42 {
int TkGrabState(TkWindow *winPtr)
}
declare 43 {
void TkIncludePoint(Tk_Item *itemPtr, double *pointPtr)
}
declare 44 {
void TkInOutEvents(XEvent *eventPtr, TkWindow *sourcePtr,
TkWindow *destPtr, int leaveType, int enterType,
Tcl_QueuePosition position)
}
declare 45 {
void TkInstallFrameMenu(Tk_Window tkwin)
}
declare 46 {
const char *TkKeysymToString(KeySym keysym)
}
declare 47 {
int TkLineToArea(double end1Ptr[], double end2Ptr[], double rectPtr[])
}
declare 48 {
double TkLineToPoint(double end1Ptr[], double end2Ptr[], double pointPtr[])
}
declare 49 {
int TkMakeBezierCurve(Tk_Canvas canvas, double *pointPtr, int numPoints,
int numSteps, XPoint xPoints[], double dblPoints[])
}
declare 50 {
void TkMakeBezierPostscript(Tcl_Interp *interp,
Tk_Canvas canvas, double *pointPtr, int numPoints)
}
declare 51 {
void TkOptionClassChanged(TkWindow *winPtr)
}
declare 52 {
void TkOptionDeadWindow(TkWindow *winPtr)
}
declare 53 {
int TkOvalToArea(double *ovalPtr, double *rectPtr)
}
declare 54 {
double TkOvalToPoint(double ovalPtr[],
double width, int filled, double pointPtr[])
}
declare 55 {
int TkpChangeFocus(TkWindow *winPtr, int force)
}
declare 56 {
void TkpCloseDisplay(TkDisplay *dispPtr)
}
declare 57 {
void TkpClaimFocus(TkWindow *topLevelPtr, int force)
}
declare 58 {
void TkpDisplayWarning(const char *msg, const char *title)
}
declare 59 {
void TkpGetAppName(Tcl_Interp *interp, Tcl_DString *name)
}
declare 61 {
TkWindow *TkpGetWrapperWindow(TkWindow *winPtr)
}
declare 62 {
int TkpInit(Tcl_Interp *interp)
}
declare 63 {
void TkpInitializeMenuBindings(Tcl_Interp *interp,
Tk_BindingTable bindingTable)
}
declare 65 {
void TkpMakeMenuWindow(Tk_Window tkwin, int transient)
}
declare 67 {
void TkpMenuNotifyToplevelCreate(Tcl_Interp *interp, const char *menuName)
}
declare 68 {
TkDisplay *TkpOpenDisplay(const char *display_name)
}
declare 69 {
int TkPointerEvent(XEvent *eventPtr, TkWindow *winPtr)
}
declare 70 {
int TkPolygonToArea(double *polyPtr, int numPoints, double *rectPtr)
}
declare 71 {
double TkPolygonToPoint(double *polyPtr, int numPoints, double *pointPtr)
}
declare 72 {
int TkPositionInTree(TkWindow *winPtr, TkWindow *treePtr)
}
declare 73 {
void TkpRedirectKeyEvent(TkWindow *winPtr, XEvent *eventPtr)
}
declare 77 {
void TkQueueEventForAllChildren(TkWindow *winPtr, XEvent *eventPtr)
}
declare 78 {
int TkReadBitmapFile(Display *display, Drawable d, const char *filename,
unsigned int *width_return, unsigned int *height_return,
Pixmap *bitmap_return, int *x_hot_return, int *y_hot_return)
}
declare 79 {
int TkScrollWindow(Tk_Window tkwin, GC gc, int x, int y,
int width, int height, int dx, int dy, Region damageRgn)
}
declare 80 {
void TkSelDeadWindow(TkWindow *winPtr)
}
declare 81 {
void TkSelEventProc(Tk_Window tkwin, XEvent *eventPtr)
}
declare 82 {
void TkSelInit(Tk_Window tkwin)
}
declare 83 {
void TkSelPropProc(XEvent *eventPtr)
}
declare 86 {
KeySym TkStringToKeysym(const char *name)
}
declare 87 {
int TkThickPolyLineToArea(double *coordPtr, int numPoints,
double width, int capStyle, int joinStyle, double *rectPtr)
}
declare 88 {
void TkWmAddToColormapWindows(TkWindow *winPtr)
}
declare 89 {
void TkWmDeadWindow(TkWindow *winPtr)
}
declare 90 {
TkWindow *TkWmFocusToplevel(TkWindow *winPtr)
}
declare 91 {
void TkWmMapWindow(TkWindow *winPtr)
}
declare 92 {
void TkWmNewWindow(TkWindow *winPtr)
}
declare 93 {
void TkWmProtocolEventProc(TkWindow *winPtr, XEvent *evenvPtr)
}
declare 94 {
void TkWmRemoveFromColormapWindows(TkWindow *winPtr)
}
declare 95 {
void TkWmRestackToplevel(TkWindow *winPtr, int aboveBelow,
TkWindow *otherPtr)
}
declare 96 {
void TkWmSetClass(TkWindow *winPtr)
}
declare 97 {
void TkWmUnmapWindow(TkWindow *winPtr)
}
# new for 8.1
declare 98 {
Tcl_Obj *TkDebugBitmap(Tk_Window tkwin, const char *name)
}
declare 99 {
Tcl_Obj *TkDebugBorder(Tk_Window tkwin, const char *name)
}
declare 100 {
Tcl_Obj *TkDebugCursor(Tk_Window tkwin, const char *name)
}
declare 101 {
Tcl_Obj *TkDebugColor(Tk_Window tkwin, const char *name)
}
declare 102 {
Tcl_Obj *TkDebugConfig(Tcl_Interp *interp, Tk_OptionTable table)
}
declare 103 {
Tcl_Obj *TkDebugFont(Tk_Window tkwin, const char *name)
}
declare 104 {
int TkFindStateNumObj(Tcl_Interp *interp, Tcl_Obj *optionPtr,
const TkStateMap *mapPtr, Tcl_Obj *keyPtr)
}
declare 105 {
Tcl_HashTable *TkGetBitmapPredefTable(void)
}
declare 106 {
TkDisplay *TkGetDisplayList(void)
}
declare 107 {
TkMainInfo *TkGetMainInfoList(void)
}
declare 108 {
int TkGetWindowFromObj(Tcl_Interp *interp, Tk_Window tkwin,
Tcl_Obj *objPtr, Tk_Window *windowPtr)
}
declare 109 {
const char *TkpGetString(TkWindow *winPtr, XEvent *eventPtr, Tcl_DString *dsPtr)
}
declare 110 {
void TkpGetSubFonts(Tcl_Interp *interp, Tk_Font tkfont)
}
declare 112 {
void TkpMenuThreadInit(void)
}
declare 113 {
int XClipBox(Region rgn, XRectangle *rect_return)
}
declare 114 {
Region XCreateRegion(void)
}
declare 115 {
int XDestroyRegion(Region rgn)
}
declare 116 {
int XIntersectRegion(Region sra, Region srcb, Region dr_return)
}
declare 117 {
int XRectInRegion(Region rgn, int x, int y, unsigned int width,
unsigned int height)
}
declare 118 {
int XSetRegion(Display *display, GC gc, Region rgn)
}
declare 119 {
int XUnionRectWithRegion(XRectangle *rect,
Region src, Region dr_return)
}
declare 121 {
Pixmap TkpCreateNativeBitmap(Display *display, const void *source)
}
declare 122 {
void TkpDefineNativeBitmaps(void)
}
declare 124 {
Pixmap TkpGetNativeAppBitmap(Display *display,
const char *name, int *width, int *height)
}
declare 136 {
void TkSetFocusWin(TkWindow *winPtr, int force)
}
declare 137 {
void TkpSetKeycodeAndState(Tk_Window tkwin, KeySym keySym,
XEvent *eventPtr)
}
declare 138 {
KeySym TkpGetKeySym(TkDisplay *dispPtr, XEvent *eventPtr)
}
declare 139 {
void TkpInitKeymapInfo(TkDisplay *dispPtr)
}
declare 140 {
Region TkPhotoGetValidRegion(Tk_PhotoHandle handle)
}
declare 141 {
TkWindow **TkWmStackorderToplevel(TkWindow *parentPtr)
}
declare 142 {
void TkFocusFree(TkMainInfo *mainPtr)
}
declare 143 {
void TkClipCleanup(TkDisplay *dispPtr)
}
declare 144 {
void TkGCCleanup(TkDisplay *dispPtr)
}
declare 145 {
int XSubtractRegion(Region sra, Region srcb, Region dr_return)
}
declare 146 {
void TkStylePkgInit(TkMainInfo *mainPtr)
}
declare 147 {
void TkStylePkgFree(TkMainInfo *mainPtr)
}
declare 148 {
Tk_Window TkToplevelWindowForCommand(Tcl_Interp *interp,
const char *cmdName)
}
declare 149 {
const Tk_OptionSpec *TkGetOptionSpec(const char *name,
Tk_OptionTable optionTable)
}
# TIP#168
declare 150 {
int TkMakeRawCurve(Tk_Canvas canvas, double *pointPtr, int numPoints,
int numSteps, XPoint xPoints[], double dblPoints[])
}
declare 151 {
void TkMakeRawCurvePostscript(Tcl_Interp *interp,
Tk_Canvas canvas, double *pointPtr, int numPoints)
}
declare 152 {
void TkpDrawFrame(Tk_Window tkwin, Tk_3DBorder border,
int highlightWidth, int borderWidth, int relief)
}
declare 153 {
void TkCreateThreadExitHandler(Tcl_ExitProc *proc, void *clientData)
}
declare 154 {
void TkDeleteThreadExitHandler(Tcl_ExitProc *proc, void *clientData)
}
# entries needed only by tktest:
declare 156 {
int TkpTestembedCmd(void *clientData, Tcl_Interp *interp, Tcl_Size objc,
Tcl_Obj *const objv[])
}
declare 157 {
int TkpTesttextCmd(void *dummy, Tcl_Interp *interp, Tcl_Size objc,
Tcl_Obj *const objv[])
}
declare 158 {
int TkSelGetSelection(Tcl_Interp *interp, Tk_Window tkwin,
Atom selection, Atom target, Tk_GetSelProc *proc,
void *clientData)
}
declare 159 {
int TkTextGetIndex(Tcl_Interp *interp, struct TkText *textPtr,
const char *string, struct TkTextIndex *indexPtr)
}
declare 160 {
int TkTextIndexBackBytes(const struct TkText *textPtr,
const struct TkTextIndex *srcPtr, int count,
struct TkTextIndex *dstPtr)
}
declare 161 {
int TkTextIndexForwBytes(const struct TkText *textPtr,
const struct TkTextIndex *srcPtr, int count,
struct TkTextIndex *dstPtr)
}
declare 162 {
struct TkTextIndex *TkTextMakeByteIndex(TkTextBTree tree,
const struct TkText *textPtr, int lineIndex,
int byteIndex, struct TkTextIndex *indexPtr)
}
declare 163 {
Tcl_Size TkTextPrintIndex(const struct TkText *textPtr,
const struct TkTextIndex *indexPtr, char *string)
}
declare 164 {
struct TkTextSegment *TkTextSetMark(struct TkText *textPtr,
const char *name, struct TkTextIndex *indexPtr)
}
declare 165 {
int TkTextXviewCmd(struct TkText *textPtr, Tcl_Interp *interp,
Tcl_Size objc, Tcl_Obj *const objv[])
}
declare 166 {
void TkTextChanged(struct TkSharedText *sharedTextPtr,
struct TkText *textPtr, const struct TkTextIndex *index1Ptr,
const struct TkTextIndex *index2Ptr)
}
declare 167 {
int TkBTreeNumLines(TkTextBTree tree,
const struct TkText *textPtr)
}
declare 168 {
void TkTextInsertDisplayProc(struct TkText *textPtr,
struct TkTextDispChunk *chunkPtr, int x, int y,
int height, int baseline, Display *display,
Drawable dst, int screenY)
}
# Next group of functions exposed due to [Bug 2768945].
declare 169 {
int TkStateParseProc(void *clientData, Tcl_Interp *interp,
Tk_Window tkwin, const char *value, char *widgRec, Tcl_Size offset)
}
declare 170 {
const char *TkStatePrintProc(void *clientData, Tk_Window tkwin,
char *widgRec, Tcl_Size offset, Tcl_FreeProc **freeProcPtr)
}
declare 171 {
int TkCanvasDashParseProc(void *clientData, Tcl_Interp *interp,
Tk_Window tkwin, const char *value, char *widgRec, Tcl_Size offset)
}
declare 172 {
const char *TkCanvasDashPrintProc(void *clientData, Tk_Window tkwin,
char *widgRec, Tcl_Size offset, Tcl_FreeProc **freeProcPtr)
}
declare 173 {
int TkOffsetParseProc(void *clientData, Tcl_Interp *interp,
Tk_Window tkwin, const char *value, char *widgRec, Tcl_Size offset)
}
declare 174 {
const char *TkOffsetPrintProc(void *clientData, Tk_Window tkwin,
char *widgRec, Tcl_Size offset, Tcl_FreeProc **freeProcPtr)
}
declare 175 {
int TkPixelParseProc(void *clientData, Tcl_Interp *interp,
Tk_Window tkwin, const char *value, char *widgRec, Tcl_Size offset)
}
declare 176 {
const char *TkPixelPrintProc(void *clientData, Tk_Window tkwin,
char *widgRec, Tcl_Size offset, Tcl_FreeProc **freeProcPtr)
}
declare 177 {
int TkOrientParseProc(void *clientData, Tcl_Interp *interp,
Tk_Window tkwin, const char *value, char *widgRec, Tcl_Size offset)
}
declare 178 {
const char *TkOrientPrintProc(void *clientData, Tk_Window tkwin,
char *widgRec, Tcl_Size offset, Tcl_FreeProc **freeProcPtr)
}
declare 179 {
int TkSmoothParseProc(void *clientData, Tcl_Interp *interp,
Tk_Window tkwin, const char *value, char *widgRec, Tcl_Size offset)
}
declare 180 {
const char *TkSmoothPrintProc(void *clientData, Tk_Window tkwin,
char *widgRec, Tcl_Size offset, Tcl_FreeProc **freeProcPtr)
}
# Angled text API, exposed for Emiliano Gavilán's RBC work.
declare 181 {
void TkDrawAngledTextLayout(Display *display, Drawable drawable, GC gc,
Tk_TextLayout layout, int x, int y, double angle, int firstChar,
int lastChar)
}
declare 182 {
void TkUnderlineAngledTextLayout(Display *display, Drawable drawable,
GC gc, Tk_TextLayout layout, int x, int y, double angle,
int underline)
}
declare 183 {
int TkIntersectAngledTextLayout(Tk_TextLayout layout, int x, int y,
int width, int height, double angle)
}
declare 184 {
void TkDrawAngledChars(Display *display,Drawable drawable, GC gc,
Tk_Font tkfont, const char *source, Tcl_Size numBytes, double x,
double y, double angle)
}
# Support for aqua's inability to draw outside [NSView drawRect:]
declare 185 {
void TkpRedrawWidget(Tk_Window tkwin)
}
declare 186 {
int TkpWillDrawWidget(Tk_Window tkwin)
}
# Debugging / testing functions for photo images
declare 187 {
int TkDebugPhotoStringMatchDef(Tcl_Interp *inter, Tcl_Obj *data,
Tcl_Obj *formatString, int *widthPtr, int *heightPtr)
}
##############################################################################
# Define the platform specific internal Tcl interface. These functions are
# only available on the designated platform.
interface tkIntPlat
################################
# Unix specific functions
declare 0 x11 {
void TkCreateXEventSource(void)
}
declare 2 x11 {
void TkGenerateActivateEvents(TkWindow *winPtr, int active)
}
declare 6 x11 {
int TkpScanWindowId(Tcl_Interp *interp, const char *string, Window *idPtr)
}
declare 9 x11 {
int TkpWmSetState(TkWindow *winPtr, int state)
}
# only needed by tktest:
declare 38 x11 {
int TkpCmapStressed(Tk_Window tkwin, Colormap colormap)
}
declare 39 x11 {
void TkpSync(Display *display)
}
declare 40 x11 {
Window TkUnixContainerId(TkWindow *winPtr)
}
declare 41 x11 {
int TkUnixDoOneXEvent(Tcl_Time *timePtr)
}
declare 42 x11 {
void TkUnixSetMenubar(Tk_Window tkwin, Tk_Window menubar)
}
declare 43 x11 {
void TkWmCleanup(TkDisplay *dispPtr)
}
declare 44 x11 {
void TkSendCleanup(TkDisplay *dispPtr)
}
# only needed by tktest:
declare 45 x11 {
int TkpTestsendCmd(void *clientData, Tcl_Interp *interp, Tcl_Size objc,
Tcl_Obj *const objv[])
}
################################
# Windows specific functions
declare 0 win {
void TkCreateXEventSource(void)
}
declare 2 win {
void TkGenerateActivateEvents(TkWindow *winPtr, int active)
}
declare 3 win {
unsigned long TkpGetMS(void)
}
declare 4 win {
void TkPointerDeadWindow(TkWindow *winPtr)
}
declare 5 win {
void TkpPrintWindowId(char *buf, Window window)
}
declare 6 win {
int TkpScanWindowId(Tcl_Interp *interp, const char *string, Window *idPtr)
}
declare 7 win {
void TkpSetCapture(TkWindow *winPtr)
}
declare 8 win {
void TkpSetCursor(TkpCursor cursor)
}
declare 9 win {
int TkpWmSetState(TkWindow *winPtr, int state)
}
declare 10 win {
void TkSetPixmapColormap(Pixmap pixmap, Colormap colormap)
}
declare 11 win {
void TkWinCancelMouseTimer(void)
}
declare 12 win {
void TkWinClipboardRender(TkDisplay *dispPtr, UINT format)
}
declare 13 win {
LRESULT TkWinEmbeddedEventProc(HWND hwnd, UINT message,
WPARAM wParam, LPARAM lParam)
}
declare 14 win {
void TkWinFillRect(HDC dc, int x, int y, int width, int height, int pixel)
}
declare 15 win {
COLORREF TkWinGetBorderPixels(Tk_Window tkwin, Tk_3DBorder border,
int which)
}
declare 16 win {
HDC TkWinGetDrawableDC(Display *display, Drawable d, TkWinDCState *state)
}
declare 17 win {
int TkWinGetModifierState(void)
}
declare 18 win {
HPALETTE TkWinGetSystemPalette(void)
}
declare 19 win {
HWND TkWinGetWrapperWindow(Tk_Window tkwin)
}
declare 20 win {
int TkWinHandleMenuEvent(HWND *phwnd, UINT *pMessage, WPARAM *pwParam,
LPARAM *plParam, LRESULT *plResult)
}
declare 21 win {
int TkWinIndexOfColor(XColor *colorPtr)
}
declare 22 win {
void TkWinReleaseDrawableDC(Drawable d, HDC hdc, TkWinDCState *state)
}
declare 23 win {
LRESULT TkWinResendEvent(WNDPROC wndproc, HWND hwnd, XEvent *eventPtr)
}
declare 24 win {
HPALETTE TkWinSelectPalette(HDC dc, Colormap colormap)
}
declare 25 win {
void TkWinSetMenu(Tk_Window tkwin, HMENU hMenu)
}
declare 26 win {
void TkWinSetWindowPos(HWND hwnd, HWND siblingHwnd, int pos)
}
declare 27 win {
void TkWinWmCleanup(HINSTANCE hInstance)
}
declare 28 win {
void TkWinXCleanup(void *clientData)
}
declare 29 win {
void TkWinXInit(HINSTANCE hInstance)
}
# new for 8.1
declare 30 win {
void TkWinSetForegroundWindow(TkWindow *winPtr)
}
declare 31 win {
void TkWinDialogDebug(int debug)
}
declare 32 win {
Tcl_Obj *TkWinGetMenuSystemDefault(Tk_Window tkwin,
const char *dbName, const char *className)
}
declare 33 win {
char *TkAlignImageData(XImage *image, int alignment, int bitOrder)
}
# new for 8.4.1
declare 34 win {
void TkWinSetHINSTANCE(HINSTANCE hInstance)
}
declare 35 win {
int TkWinGetPlatformTheme(void)
}
# Exported through stub table since Tk 8.4.20/8.5.9
declare 36 win {
LRESULT __stdcall TkWinChildProc(HWND hwnd,
UINT message, WPARAM wParam, LPARAM lParam)
}
declare 38 win {
int TkpCmapStressed(Tk_Window tkwin, Colormap colormap)
}
declare 39 win {
void TkpSync(Display *display)
}
declare 40 win {
Window TkUnixContainerId(TkWindow *winPtr)
}
declare 41 win {
int TkUnixDoOneXEvent(Tcl_Time *timePtr)
}
declare 42 win {
void TkUnixSetMenubar(Tk_Window tkwin, Tk_Window menubar)
}
declare 43 win {
void TkWmCleanup(TkDisplay *dispPtr)
}
declare 44 win {
void TkSendCleanup(TkDisplay *dispPtr)
}
# only needed by tktest:
declare 45 win {
int TkpTestsendCmd(void *clientData, Tcl_Interp *interp, Tcl_Size objc,
Tcl_Obj *const objv[])
}
declare 47 win {
Tk_Window TkpGetCapture(void)
}
################################
# Aqua specific functions
declare 1 aqua {
void TkAboutDlg(void)
}
declare 2 aqua {
void TkGenerateActivateEvents(TkWindow *winPtr, int active)
}
declare 3 aqua {
unsigned long TkpGetMS(void)
}
declare 4 aqua {
void TkPointerDeadWindow(TkWindow *winPtr)
}
declare 5 aqua {
void TkpSetCursor(TkpCursor cursor)
}
declare 6 aqua {
int TkpScanWindowId(Tcl_Interp *interp, const char *string, Window *idPtr)
}
declare 7 aqua {
int TkpWmSetState(TkWindow *winPtr, int state)
}
declare 8 aqua {
unsigned int TkMacOSXButtonKeyState(void)
}
declare 9 aqua {
void TkMacOSXClearMenubarActive(void)
}
declare 10 aqua {
int TkMacOSXDispatchMenuEvent(int menuID, int index)
}
declare 11 aqua {
void TkpSetCapture(TkWindow *winPtr)
}
declare 12 aqua {
void TkMacOSXHandleTearoffMenu(void)
}
declare 14 aqua {
int TkMacOSXDoHLEvent(void *theEvent)
}
declare 16 aqua {
Window TkMacOSXGetXWindow(void *macWinPtr)
}
declare 17 aqua {
int TkMacOSXGrowToplevel(void *whichWindow, XPoint start)
}
declare 18 aqua {
void TkMacOSXHandleMenuSelect(short theMenu, unsigned short theItem,
int optionKeyPressed)
}
declare 21 aqua {
void TkMacOSXInvalidateWindow(MacDrawable *macWin, int flag)
}
declare 23 aqua {
void TkMacOSXMakeRealWindowExist(TkWindow *winPtr)
}
declare 24 aqua {
void *TkMacOSXMakeStippleMap(Drawable d1, Drawable d2)
}
declare 25 aqua {
void TkMacOSXMenuClick(void)
}
declare 27 aqua {
int TkMacOSXResizable(TkWindow *winPtr)
}
declare 28 aqua {
void TkMacOSXSetHelpMenuItemCount(void)
}
declare 29 aqua {
void TkMacOSXSetScrollbarGrow(TkWindow *winPtr, int flag)
}
declare 31 aqua {
void TkMacOSXSetUpGraphicsPort(GC gc, void *destPort)
}
declare 32 aqua {
void TkMacOSXUpdateClipRgn(TkWindow *winPtr)
}
declare 34 aqua {
int TkMacOSXUseMenuID(short macID)
}
declare 35 aqua {
Region TkMacOSXVisableClipRgn(TkWindow *winPtr)
}
declare 36 aqua {
void TkMacOSXWinBounds(TkWindow *winPtr, void *geometry)
}
declare 37 aqua {
void TkMacOSXWindowOffset(void *wRef, int *xOffset, int *yOffset)
}
declare 38 aqua {
int TkSetMacColor(unsigned long pixel, void *macColor)
}
declare 39 aqua {
void TkSetWMName(TkWindow *winPtr, Tk_Uid titleUid)
}
declare 41 aqua {
int TkMacOSXZoomToplevel(void *whichWindow, short zoomPart)
}
declare 42 aqua {
Tk_Window Tk_TopCoordsToWindow(Tk_Window tkwin, int rootX, int rootY,
int *newX, int *newY)
}
declare 43 aqua {
MacDrawable *TkMacOSXContainerId(TkWindow *winPtr)
}
declare 44 aqua {
MacDrawable *TkMacOSXGetHostToplevel(TkWindow *winPtr)
}
declare 45 aqua {
void TkMacOSXPreprocessMenu(void)
}
declare 46 aqua {
int TkpIsWindowFloating(void *window)
}
declare 47 aqua {
Tk_Window TkpGetCapture(void)
}
declare 49 aqua {
Tk_Window TkMacOSXGetContainer(TkWindow *winPtr)
}
declare 50 aqua {
int TkGenerateButtonEvent(int x, int y, Window window, unsigned int state)
}
declare 51 aqua {
void TkGenWMDestroyEvent(Tk_Window tkwin)
}
declare 52 aqua {
void TkMacOSXSetDrawingEnabled(TkWindow *winPtr, int flag)
}
# For Canvas3d, requested by Sean Woods
declare 54 aqua {
void *TkMacOSXDrawable(Drawable drawable)
}
##############################################################################
# Define the platform specific internal Xlib interfaces. These functions are
# only available on the designated platform.
interface tkIntXlib
################################
# X functions for Windows
declare 0 win {
int XSetDashes(Display *display, GC gc, int dash_offset,
_Xconst char *dash_list, int n)
}
declare 1 win {
XModifierKeymap *XGetModifierMapping(Display *d)
}
declare 2 win {
XImage *XCreateImage(Display *d, Visual *v, unsigned int ui1, int i1,
int i2, char *cp, unsigned int ui2, unsigned int ui3, int i3,
int i4)
}
declare 3 win {
XImage *XGetImage(Display *d, Drawable dr, int i1, int i2,
unsigned int ui1, unsigned int ui2, unsigned long ul, int i3)
}
declare 4 win {
char *XGetAtomName(Display *d, Atom a)
}
declare 5 win {
char *XKeysymToString(KeySym k)
}
declare 6 win {
Colormap XCreateColormap(Display *d, Window w, Visual *v, int i)
}
declare 7 win {
Cursor XCreatePixmapCursor(Display *d, Pixmap p1, Pixmap p2,
XColor *x1, XColor *x2, unsigned int ui1, unsigned int ui2)
}
declare 8 win {
Cursor XCreateGlyphCursor(Display *d, Font f1, Font f2,
unsigned int ui1, unsigned int ui2, XColor _Xconst *x1,
XColor _Xconst *x2)
}
declare 9 win {
GContext XGContextFromGC(GC g)
}
declare 10 win {
XHostAddress *XListHosts(Display *d, int *i, Bool *b)
}
# second parameter was of type KeyCode
declare 11 win {
KeySym XKeycodeToKeysym(Display *d, unsigned int k, int i)
}
declare 12 win {
KeySym XStringToKeysym(_Xconst char *c)
}
declare 13 win {
Window XRootWindow(Display *d, int i)
}
declare 14 win {
XErrorHandler XSetErrorHandler(XErrorHandler x)
}
declare 15 win {
Status XIconifyWindow(Display *d, Window w, int i)
}
declare 16 win {
Status XWithdrawWindow(Display *d, Window w, int i)
}
declare 17 win {
Status XGetWMColormapWindows(Display *d, Window w, Window **wpp, int *ip)
}
declare 18 win {
Status XAllocColor(Display *d, Colormap c, XColor *xp)
}
declare 19 win {
int XBell(Display *d, int i)
}
declare 20 win {
int XChangeProperty(Display *d, Window w, Atom a1, Atom a2, int i1,
int i2, _Xconst unsigned char *c, int i3)
}
declare 21 win {
int XChangeWindowAttributes(Display *d, Window w, unsigned long ul,
XSetWindowAttributes *x)
}
declare 22 win {
int XClearWindow(Display *d, Window w)
}
declare 23 win {
int XConfigureWindow(Display *d, Window w, unsigned int i,
XWindowChanges *x)
}
declare 24 win {
int XCopyArea(Display *d, Drawable dr1, Drawable dr2, GC g, int i1,
int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)
}
declare 25 win {
int XCopyPlane(Display *d, Drawable dr1, Drawable dr2, GC g, int i1,
int i2, unsigned int ui1, unsigned int ui2,
int i3, int i4, unsigned long ul)
}
declare 26 win {
Pixmap XCreateBitmapFromData(Display *display, Drawable d,
_Xconst char *data, unsigned int width, unsigned int height)
}
declare 27 win {
int XDefineCursor(Display *d, Window w, Cursor c)
}
declare 28 win {
int XDeleteProperty(Display *d, Window w, Atom a)
}
declare 29 win {
int XDestroyWindow(Display *d, Window w)
}
declare 30 win {
int XDrawArc(Display *d, Drawable dr, GC g, int i1, int i2,
unsigned int ui1, unsigned int ui2, int i3, int i4)
}
declare 31 win {
int XDrawLines(Display *d, Drawable dr, GC g, XPoint *x, int i1, int i2)
}
declare 32 win {
int XDrawRectangle(Display *d, Drawable dr, GC g, int i1, int i2,
unsigned int ui1, unsigned int ui2)
}
declare 33 win {
int XFillArc(Display *d, Drawable dr, GC g, int i1, int i2,
unsigned int ui1, unsigned int ui2, int i3, int i4)
}
declare 34 win {
int XFillPolygon(Display *d, Drawable dr, GC g, XPoint *x,
int i1, int i2, int i3)
}
declare 35 win {
int XFillRectangles(Display *d, Drawable dr, GC g, XRectangle *x, int i)
}
declare 36 win {
int XForceScreenSaver(Display *d, int i)
}
declare 37 win {
int XFreeColormap(Display *d, Colormap c)
}
declare 38 win {
int XFreeColors(Display *d, Colormap c,
unsigned long *ulp, int i, unsigned long ul)
}
declare 39 win {
int XFreeCursor(Display *d, Cursor c)
}
declare 40 win {
int XFreeModifiermap(XModifierKeymap *x)
}
declare 41 win {
Status XGetGeometry(Display *d, Drawable dr, Window *w, int *i1,
int *i2, unsigned int *ui1, unsigned int *ui2, unsigned int *ui3,
unsigned int *ui4)
}
declare 42 win {
int XGetInputFocus(Display *d, Window *w, int *i)
}
declare 43 win {
int XGetWindowProperty(Display *d, Window w, Atom a1, long l1, long l2,
Bool b, Atom a2, Atom *ap, int *ip, unsigned long *ulp1,
unsigned long *ulp2, unsigned char **cpp)
}
declare 44 win {
Status XGetWindowAttributes(Display *d, Window w, XWindowAttributes *x)
}
declare 45 win {
int XGrabKeyboard(Display *d, Window w, Bool b, int i1, int i2, Time t)
}
declare 46 win {
int XGrabPointer(Display *d, Window w1, Bool b, unsigned int ui,
int i1, int i2, Window w2, Cursor c, Time t)
}
declare 47 win {
KeyCode XKeysymToKeycode(Display *d, KeySym k)
}
declare 48 win {
Status XLookupColor(Display *d, Colormap c1, _Xconst char *c2,
XColor *x1, XColor *x2)
}
declare 49 win {
int XMapWindow(Display *d, Window w)
}
declare 50 win {
int XMoveResizeWindow(Display *d, Window w, int i1, int i2,
unsigned int ui1, unsigned int ui2)
}
declare 51 win {
int XMoveWindow(Display *d, Window w, int i1, int i2)
}
declare 52 win {
int XNextEvent(Display *d, XEvent *x)
}
declare 53 win {
int XPutBackEvent(Display *d, XEvent *x)
}
declare 54 win {
int XQueryColors(Display *d, Colormap c, XColor *x, int i)
}
declare 55 win {
Bool XQueryPointer(Display *d, Window w1, Window *w2, Window *w3,
int *i1, int *i2, int *i3, int *i4, unsigned int *ui)
}
declare 56 win {
Status XQueryTree(Display *d, Window w1, Window *w2, Window *w3,
Window **w4, unsigned int *ui)
}
declare 57 win {
int XRaiseWindow(Display *d, Window w)
}
declare 58 win {
int XRefreshKeyboardMapping(XMappingEvent *x)
}
declare 59 win {
int XResizeWindow(Display *d, Window w, unsigned int ui1,
unsigned int ui2)
}
declare 60 win {
int XSelectInput(Display *d, Window w, long l)
}
declare 61 win {
Status XSendEvent(Display *d, Window w, Bool b, long l, XEvent *x)
}
declare 62 win {
int XSetCommand(Display *d, Window w, char **c, int i)
}
declare 63 win {
int XSetIconName(Display *d, Window w, _Xconst char *c)
}
declare 64 win {
int XSetInputFocus(Display *d, Window w, int i, Time t)
}
declare 65 win {
int XSetSelectionOwner(Display *d, Atom a, Window w, Time t)
}
declare 66 win {
int XSetWindowBackground(Display *d, Window w, unsigned long ul)
}
declare 67 win {
int XSetWindowBackgroundPixmap(Display *d, Window w, Pixmap p)
}
declare 68 win {
int XSetWindowBorder(Display *d, Window w, unsigned long ul)
}
declare 69 win {
int XSetWindowBorderPixmap(Display *d, Window w, Pixmap p)
}
declare 70 win {
int XSetWindowBorderWidth(Display *d, Window w, unsigned int ui)
}
declare 71 win {
int XSetWindowColormap(Display *d, Window w, Colormap c)
}
declare 72 win {
Bool XTranslateCoordinates(Display *d, Window w1, Window w2, int i1,
int i2, int *i3, int *i4, Window *w3)
}
declare 73 win {
int XUngrabKeyboard(Display *d, Time t)
}
declare 74 win {
int XUngrabPointer(Display *d, Time t)
}
declare 75 win {
int XUnmapWindow(Display *d, Window w)
}
declare 76 win {
int XWindowEvent(Display *d, Window w, long l, XEvent *x)
}
declare 77 win {
void XDestroyIC(XIC x)
}
declare 78 win {
Bool XFilterEvent(XEvent *x, Window w)
}
declare 79 win {
int XmbLookupString(XIC xi, XKeyPressedEvent *xk, char *c, int i,
KeySym *k, Status *s)
}
declare 80 win {
int TkPutImage(unsigned long *colors, int ncolors, Display *display,
Drawable d, GC gc, XImage *image, int src_x, int src_y,
int dest_x, int dest_y, unsigned int width, unsigned int height)
}
declare 81 win {
int XSetClipRectangles(Display *display, GC gc, int clip_x_origin,
int clip_y_origin, XRectangle rectangles[], int n, int ordering)
}
declare 82 win {
Status XParseColor(Display *display, Colormap map,
_Xconst char *spec, XColor *colorPtr)
}
declare 83 win {
GC XCreateGC(Display *display, Drawable d,
unsigned long valuemask, XGCValues *values)
}
declare 84 win {
int XFreeGC(Display *display, GC gc)
}
declare 85 win {
Atom XInternAtom(Display *display, _Xconst char *atom_name,
Bool only_if_exists)
}
declare 86 win {
int XSetBackground(Display *display, GC gc, unsigned long foreground)
}
declare 87 win {
int XSetForeground(Display *display, GC gc, unsigned long foreground)
}
declare 88 win {
int XSetClipMask(Display *display, GC gc, Pixmap pixmap)
}
declare 89 win {
int XSetClipOrigin(Display *display, GC gc,
int clip_x_origin, int clip_y_origin)
}
declare 90 win {
int XSetTSOrigin(Display *display, GC gc,
int ts_x_origin, int ts_y_origin)
}
declare 91 win {
int XChangeGC(Display *d, GC gc, unsigned long mask, XGCValues *values)
}
declare 92 win {
int XSetFont(Display *display, GC gc, Font font)
}
declare 93 win {
int XSetArcMode(Display *display, GC gc, int arc_mode)
}
declare 94 win {
int XSetStipple(Display *display, GC gc, Pixmap stipple)
}
declare 95 win {
int XSetFillRule(Display *display, GC gc, int fill_rule)
}
declare 96 win {
int XSetFillStyle(Display *display, GC gc, int fill_style)
}
declare 97 win {
int XSetFunction(Display *display, GC gc, int function)
}
declare 98 win {
int XSetLineAttributes(Display *display, GC gc, unsigned int line_width,
int line_style, int cap_style, int join_style)
}
declare 99 win {
int _XInitImageFuncPtrs(XImage *image)
}
declare 100 win {
XIC XCreateIC(XIM xim, ...)
}
declare 101 win {
XVisualInfo *XGetVisualInfo(Display *display, long vinfo_mask,
XVisualInfo *vinfo_template, int *nitems_return)
}
declare 102 win {
void XSetWMClientMachine(Display *display, Window w,
XTextProperty *text_prop)
}
declare 103 win {
Status XStringListToTextProperty(char **list, int count,
XTextProperty *text_prop_return)
}
declare 104 win {
int XDrawLine(Display *d, Drawable dr, GC g, int x1, int y1,
int x2, int y2)
}
declare 105 win {
int XWarpPointer(Display *d, Window s, Window dw, int sx, int sy,
unsigned int sw, unsigned int sh, int dx, int dy)
}
declare 106 win {
int XFillRectangle(Display *display, Drawable d, GC gc,
int x, int y, unsigned int width, unsigned int height)
}
# New in Tk 8.6
declare 107 win {
int XFlush(Display *display)
}
declare 108 win {
int XGrabServer(Display *display)
}
declare 109 win {
int XUngrabServer(Display *display)
}
declare 110 win {
int XFree(void *data)
}
declare 111 win {
int XNoOp(Display *display)
}
declare 112 win {
XAfterFunction XSynchronize(Display *display, Bool onoff)
}
declare 113 win {
int XSync(Display *display, Bool discard)
}
declare 114 win {
VisualID XVisualIDFromVisual(Visual *visual)
}
# For tktreectrl
declare 120 win {
int XOffsetRegion(Region rgn, int dx, int dy)
}
declare 121 win {
int XUnionRegion(Region srca, Region srcb, Region dr_return)
}
# For 3dcanvas
declare 122 win {
Window XCreateWindow(Display *display, Window parent, int x, int y,
unsigned int width, unsigned int height,
unsigned int border_width, int depth, unsigned int clazz,
Visual *visual, unsigned long value_mask,
XSetWindowAttributes *attributes)
}
# Various, e.g. for stub-enabled BLT
declare 129 win {
int XLowerWindow(Display *d, Window w)
}
declare 130 win {
int XFillArcs(Display *d, Drawable dr, GC gc, XArc *a, int n)
}
declare 131 win {
int XDrawArcs(Display *d, Drawable dr, GC gc, XArc *a, int n)
}
declare 132 win {
int XDrawRectangles(Display *d, Drawable dr, GC gc, XRectangle *r, int n)
}
declare 133 win {
int XDrawSegments(Display *d, Drawable dr, GC gc, XSegment *s, int n)
}
declare 134 win {
int XDrawPoint(Display *d, Drawable dr, GC gc, int x, int y)
}
declare 135 win {
int XDrawPoints(Display *d, Drawable dr, GC gc, XPoint *p, int n, int m)
}
declare 136 win {
int XReparentWindow(Display *d, Window w, Window p, int x, int y)
}
declare 137 win {
int XPutImage(Display *d, Drawable dr, GC gc, XImage *im,
int sx, int sy, int dx, int dy,
unsigned int w, unsigned int h)
}
declare 138 win {
Region XPolygonRegion(XPoint *pts, int n, int rule)
}
declare 139 win {
int XPointInRegion(Region rgn, int x, int y)
}
# For XIM
declare 140 win {
XVaNestedList XVaCreateNestedList(int dummy, ...)
}
declare 141 win {
char *XSetICValues(XIC xic, ...)
}
declare 142 win {
char *XGetICValues(XIC xic, ...)
}
declare 143 win {
void XSetICFocus(XIC xic)
}
declare 147 win {
void XFreeFontSet(Display *display, XFontSet fontset)
}
declare 148 win {
int XCloseIM(XIM im)
}
declare 149 win {
Bool XRegisterIMInstantiateCallback(Display *dpy, struct _XrmHashBucketRec *rbd,
char *res_name, char *res_class, XIDProc callback, XPointer client_data)
}
declare 150 win {
Bool XUnregisterIMInstantiateCallback(Display *dpy, struct _XrmHashBucketRec *rbd,
char *res_name, char *res_class, XIDProc callback, XPointer client_data)
}
declare 151 win {
char *XSetLocaleModifiers(const char *modifier_list)
}
declare 152 win {
XIM XOpenIM(Display *dpy, struct _XrmHashBucketRec *rdb, char *res_name,
char *res_class)
}
declare 153 win {
char *XGetIMValues(XIM im, ...)
}
declare 154 win {
char *XSetIMValues(XIM im, ...)
}
declare 155 win {
XFontSet XCreateFontSet(Display *display, _Xconst char *base_font_name_list,
char ***missing_charset_list, int *missing_charset_count, char **def_string)
}
declare 156 win {
void XFreeStringList(char **list)
}
declare 157 win {
KeySym XkbKeycodeToKeysym(Display *d, unsigned int k, int g, int i)
}
declare 158 win {
Display *XkbOpenDisplay(const char *name, int *ev_rtrn, int *err_rtrn,
int *major_rtrn, int *minor_rtrn, int *reason)
}
################################
# X functions for MacOSX
declare 0 macosx {
int XSetDashes(Display *display, GC gc, int dash_offset,
_Xconst char *dash_list, int n)
}
declare 1 macosx {
XModifierKeymap *XGetModifierMapping(Display *d)
}
declare 2 macosx {
XImage *XCreateImage(Display *d, Visual *v, unsigned int ui1, int i1,
int i2, char *cp, unsigned int ui2, unsigned int ui3, int i3,
int i4)
}
declare 3 macosx {
XImage *XGetImage(Display *d, Drawable dr, int i1, int i2,
unsigned int ui1, unsigned int ui2, unsigned long ul, int i3)
}
declare 4 macosx {
char *XGetAtomName(Display *d, Atom a)
}
declare 5 macosx {
char *XKeysymToString(KeySym k)
}
declare 6 macosx {
Colormap XCreateColormap(Display *d, Window w, Visual *v, int i)
}
declare 7 macosx {
Cursor XCreatePixmapCursor(Display *d, Pixmap p1, Pixmap p2,
XColor *x1, XColor *x2, unsigned int ui1, unsigned int ui2)
}
declare 8 macosx {
Cursor XCreateGlyphCursor(Display *d, Font f1, Font f2,
unsigned int ui1, unsigned int ui2, XColor _Xconst *x1,
XColor _Xconst *x2)
}
declare 9 macosx {
GContext XGContextFromGC(GC g)
}
declare 10 macosx {
XHostAddress *XListHosts(Display *d, int *i, Bool *b)
}
# second parameter was of type KeyCode
declare 11 macosx {
KeySym XKeycodeToKeysym(Display *d, unsigned int k, int i)
}
declare 12 macosx {
KeySym XStringToKeysym(_Xconst char *c)
}
declare 13 macosx {
Window XRootWindow(Display *d, int i)
}
declare 14 macosx {
XErrorHandler XSetErrorHandler(XErrorHandler x)
}
declare 15 macosx {
Status XIconifyWindow(Display *d, Window w, int i)
}
declare 16 macosx {
Status XWithdrawWindow(Display *d, Window w, int i)
}
declare 17 macosx {
Status XGetWMColormapWindows(Display *d, Window w, Window **wpp, int *ip)
}
declare 18 macosx {
Status XAllocColor(Display *d, Colormap c, XColor *xp)
}
declare 19 macosx {
int XBell(Display *d, int i)
}
declare 20 macosx {
int XChangeProperty(Display *d, Window w, Atom a1, Atom a2, int i1,
int i2, _Xconst unsigned char *c, int i3)
}
declare 21 macosx {
int XChangeWindowAttributes(Display *d, Window w, unsigned long ul,
XSetWindowAttributes *x)
}
declare 22 macosx {
int XClearWindow(Display *d, Window w)
}
declare 23 macosx {
int XConfigureWindow(Display *d, Window w, unsigned int i,
XWindowChanges *x)
}
declare 24 macosx {
int XCopyArea(Display *d, Drawable dr1, Drawable dr2, GC g, int i1,
int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)
}
declare 25 macosx {
int XCopyPlane(Display *d, Drawable dr1, Drawable dr2, GC g, int i1,
int i2, unsigned int ui1, unsigned int ui2,
int i3, int i4, unsigned long ul)
}
declare 26 macosx {
Pixmap XCreateBitmapFromData(Display *display, Drawable d,
_Xconst char *data, unsigned int width, unsigned int height)
}
declare 27 macosx {
int XDefineCursor(Display *d, Window w, Cursor c)
}
declare 28 macosx {
int XDeleteProperty(Display *d, Window w, Atom a)
}
declare 29 macosx {
int XDestroyWindow(Display *d, Window w)
}
declare 30 macosx {
int XDrawArc(Display *d, Drawable dr, GC g, int i1, int i2,
unsigned int ui1, unsigned int ui2, int i3, int i4)
}
declare 31 macosx {
int XDrawLines(Display *d, Drawable dr, GC g, XPoint *x, int i1, int i2)
}
declare 32 macosx {
int XDrawRectangle(Display *d, Drawable dr, GC g, int i1, int i2,
unsigned int ui1, unsigned int ui2)
}
declare 33 macosx {
int XFillArc(Display *d, Drawable dr, GC g, int i1, int i2,
unsigned int ui1, unsigned int ui2, int i3, int i4)
}
declare 34 macosx {
int XFillPolygon(Display *d, Drawable dr, GC g, XPoint *x,
int i1, int i2, int i3)
}
declare 35 macosx {
int XFillRectangles(Display *d, Drawable dr, GC g, XRectangle *x, int i)
}
declare 36 macosx {
int XForceScreenSaver(Display *d, int i)
}
declare 37 macosx {
int XFreeColormap(Display *d, Colormap c)
}
declare 38 macosx {
int XFreeColors(Display *d, Colormap c,
unsigned long *ulp, int i, unsigned long ul)
}
declare 39 macosx {
int XFreeCursor(Display *d, Cursor c)
}
declare 40 macosx {
int XFreeModifiermap(XModifierKeymap *x)
}
declare 41 macosx {
Status XGetGeometry(Display *d, Drawable dr, Window *w, int *i1,
int *i2, unsigned int *ui1, unsigned int *ui2, unsigned int *ui3,
unsigned int *ui4)
}
declare 42 macosx {
int XGetInputFocus(Display *d, Window *w, int *i)
}
declare 43 macosx {
int XGetWindowProperty(Display *d, Window w, Atom a1, long l1, long l2,
Bool b, Atom a2, Atom *ap, int *ip, unsigned long *ulp1,
unsigned long *ulp2, unsigned char **cpp)
}
declare 44 macosx {
Status XGetWindowAttributes(Display *d, Window w, XWindowAttributes *x)
}
declare 45 macosx {
int XGrabKeyboard(Display *d, Window w, Bool b, int i1, int i2, Time t)
}
declare 46 macosx {
int XGrabPointer(Display *d, Window w1, Bool b, unsigned int ui,
int i1, int i2, Window w2, Cursor c, Time t)
}
declare 47 macosx {
KeyCode XKeysymToKeycode(Display *d, KeySym k)
}
declare 48 macosx {
Status XLookupColor(Display *d, Colormap c1, _Xconst char *c2,
XColor *x1, XColor *x2)
}
declare 49 macosx {
int XMapWindow(Display *d, Window w)
}
declare 50 macosx {
int XMoveResizeWindow(Display *d, Window w, int i1, int i2,
unsigned int ui1, unsigned int ui2)
}
declare 51 macosx {
int XMoveWindow(Display *d, Window w, int i1, int i2)
}
declare 52 macosx {
int XNextEvent(Display *d, XEvent *x)
}
declare 53 macosx {
int XPutBackEvent(Display *d, XEvent *x)
}
declare 54 macosx {
int XQueryColors(Display *d, Colormap c, XColor *x, int i)
}
declare 55 macosx {
Bool XQueryPointer(Display *d, Window w1, Window *w2, Window *w3,
int *i1, int *i2, int *i3, int *i4, unsigned int *ui)
}
declare 56 macosx {
Status XQueryTree(Display *d, Window w1, Window *w2, Window *w3,
Window **w4, unsigned int *ui)
}
declare 57 macosx {
int XRaiseWindow(Display *d, Window w)
}
declare 58 macosx {
int XRefreshKeyboardMapping(XMappingEvent *x)
}
declare 59 macosx {
int XResizeWindow(Display *d, Window w, unsigned int ui1,
unsigned int ui2)
}
declare 60 macosx {
int XSelectInput(Display *d, Window w, long l)
}
declare 61 macosx {
Status XSendEvent(Display *d, Window w, Bool b, long l, XEvent *x)
}
declare 62 macosx {
int XSetCommand(Display *d, Window w, char **c, int i)
}
declare 63 macosx {
int XSetIconName(Display *d, Window w, _Xconst char *c)
}
declare 64 macosx {
int XSetInputFocus(Display *d, Window w, int i, Time t)
}
declare 65 macosx {
int XSetSelectionOwner(Display *d, Atom a, Window w, Time t)
}
declare 66 macosx {
int XSetWindowBackground(Display *d, Window w, unsigned long ul)
}
declare 67 macosx {
int XSetWindowBackgroundPixmap(Display *d, Window w, Pixmap p)
}
declare 68 macosx {
int XSetWindowBorder(Display *d, Window w, unsigned long ul)
}
declare 69 macosx {
int XSetWindowBorderPixmap(Display *d, Window w, Pixmap p)
}
declare 70 macosx {
int XSetWindowBorderWidth(Display *d, Window w, unsigned int ui)
}
declare 71 macosx {
int XSetWindowColormap(Display *d, Window w, Colormap c)
}
declare 72 macosx {
Bool XTranslateCoordinates(Display *d, Window w1, Window w2, int i1,
int i2, int *i3, int *i4, Window *w3)
}
declare 73 macosx {
int XUngrabKeyboard(Display *d, Time t)
}
declare 74 macosx {
int XUngrabPointer(Display *d, Time t)
}
declare 75 macosx {
int XUnmapWindow(Display *d, Window w)
}
declare 76 macosx {
int XWindowEvent(Display *d, Window w, long l, XEvent *x)
}
declare 77 macosx {
void XDestroyIC(XIC x)
}
declare 78 macosx {
Bool XFilterEvent(XEvent *x, Window w)
}
declare 79 macosx {
int XmbLookupString(XIC xi, XKeyPressedEvent *xk, char *c, int i,
KeySym *k, Status *s)
}
declare 80 macosx {
int TkPutImage(unsigned long *colors, int ncolors, Display *display,
Drawable d, GC gc, XImage *image, int src_x, int src_y,
int dest_x, int dest_y, unsigned int width, unsigned int height)
}
declare 81 macosx {
int XSetClipRectangles(Display *display, GC gc, int clip_x_origin,
int clip_y_origin, XRectangle rectangles[], int n, int ordering)
}
declare 82 macosx {
Status XParseColor(Display *display, Colormap map,
_Xconst char *spec, XColor *colorPtr)
}
declare 83 macosx {
GC XCreateGC(Display *display, Drawable d,
unsigned long valuemask, XGCValues *values)
}
declare 84 macosx {
int XFreeGC(Display *display, GC gc)
}
declare 85 macosx {
Atom XInternAtom(Display *display, _Xconst char *atom_name,
Bool only_if_exists)
}
declare 86 macosx {
int XSetBackground(Display *display, GC gc, unsigned long foreground)
}
declare 87 macosx {
int XSetForeground(Display *display, GC gc, unsigned long foreground)
}
declare 88 macosx {
int XSetClipMask(Display *display, GC gc, Pixmap pixmap)
}
declare 89 macosx {
int XSetClipOrigin(Display *display, GC gc,
int clip_x_origin, int clip_y_origin)
}
declare 90 macosx {
int XSetTSOrigin(Display *display, GC gc,
int ts_x_origin, int ts_y_origin)
}
declare 91 macosx {
int XChangeGC(Display *d, GC gc, unsigned long mask, XGCValues *values)
}
declare 92 macosx {
int XSetFont(Display *display, GC gc, Font font)
}
declare 93 macosx {
int XSetArcMode(Display *display, GC gc, int arc_mode)
}
declare 94 macosx {
int XSetStipple(Display *display, GC gc, Pixmap stipple)
}
declare 95 macosx {
int XSetFillRule(Display *display, GC gc, int fill_rule)
}
declare 96 macosx {
int XSetFillStyle(Display *display, GC gc, int fill_style)
}
declare 97 macosx {
int XSetFunction(Display *display, GC gc, int function)
}
declare 98 macosx {
int XSetLineAttributes(Display *display, GC gc, unsigned int line_width,
int line_style, int cap_style, int join_style)
}
declare 99 macosx {
int _XInitImageFuncPtrs(XImage *image)
}
declare 100 macosx {
XIC XCreateIC(XIM xim, ...)
}
declare 101 macosx {
XVisualInfo *XGetVisualInfo(Display *display, long vinfo_mask,
XVisualInfo *vinfo_template, int *nitems_return)
}
declare 102 macosx {
void XSetWMClientMachine(Display *display, Window w,
XTextProperty *text_prop)
}
declare 103 macosx {
Status XStringListToTextProperty(char **list, int count,
XTextProperty *text_prop_return)
}
declare 104 macosx {
int XDrawLine(Display *d, Drawable dr, GC g, int x1, int y1,
int x2, int y2)
}
declare 105 macosx {
int XWarpPointer(Display *d, Window s, Window dw, int sx, int sy,
unsigned int sw, unsigned int sh, int dx, int dy)
}
declare 106 macosx {
int XFillRectangle(Display *display, Drawable d, GC gc,
int x, int y, unsigned int width, unsigned int height)
}
# New in Tk 8.6
declare 107 macosx {
int XFlush(Display *display)
}
declare 108 macosx {
int XGrabServer(Display *display)
}
declare 109 macosx {
int XUngrabServer(Display *display)
}
declare 110 macosx {
int XFree(void *data)
}
declare 111 macosx {
int XNoOp(Display *display)
}
declare 112 macosx {
XAfterFunction XSynchronize(Display *display, Bool onoff)
}
declare 113 macosx {
int XSync(Display *display, Bool discard)
}
declare 114 macosx {
VisualID XVisualIDFromVisual(Visual *visual)
}
# For tktreectrl
declare 120 macosx {
int XOffsetRegion(Region rgn, int dx, int dy)
}
declare 121 macosx {
int XUnionRegion(Region srca, Region srcb, Region dr_return)
}
# For 3dcanvas
declare 122 macosx {
Window XCreateWindow(Display *display, Window parent, int x, int y,
unsigned int width, unsigned int height,
unsigned int border_width, int depth, unsigned int clazz,
Visual *visual, unsigned long value_mask,
XSetWindowAttributes *attributes)
}
# Various, e.g. for stub-enabled BLT
declare 129 macosx {
int XLowerWindow(Display *d, Window w)
}
declare 130 macosx {
int XFillArcs(Display *d, Drawable dr, GC gc, XArc *a, int n)
}
declare 131 macosx {
int XDrawArcs(Display *d, Drawable dr, GC gc, XArc *a, int n)
}
declare 132 macosx {
int XDrawRectangles(Display *d, Drawable dr, GC gc, XRectangle *r, int n)
}
declare 133 macosx {
int XDrawSegments(Display *d, Drawable dr, GC gc, XSegment *s, int n)
}
declare 134 macosx {
int XDrawPoint(Display *d, Drawable dr, GC gc, int x, int y)
}
declare 135 macosx {
int XDrawPoints(Display *d, Drawable dr, GC gc, XPoint *p, int n, int m)
}
declare 136 macosx {
int XReparentWindow(Display *d, Window w, Window p, int x, int y)
}
declare 137 macosx {
int XPutImage(Display *d, Drawable dr, GC gc, XImage *im,
int sx, int sy, int dx, int dy,
unsigned int w, unsigned int h)
}
declare 138 macosx {
Region XPolygonRegion(XPoint *pts, int n, int rule)
}
declare 139 macosx {
int XPointInRegion(Region rgn, int x, int y)
}
# For XIM
declare 140 macosx {
XVaNestedList XVaCreateNestedList(int dummy, ...)
}
declare 141 macosx {
char *XSetICValues(XIC xic, ...)
}
declare 142 macosx {
char *XGetICValues(XIC xic, ...)
}
declare 143 macosx {
void XSetICFocus(XIC xic)
}
declare 147 macosx {
void XFreeFontSet(Display *display, XFontSet fontset)
}
declare 148 macosx {
int XCloseIM(XIM im)
}
declare 149 macosx {
Bool XRegisterIMInstantiateCallback(Display *dpy, struct _XrmHashBucketRec *rbd,
char *res_name, char *res_class, XIDProc callback, XPointer client_data)
}
declare 150 macosx {
Bool XUnregisterIMInstantiateCallback(Display *dpy, struct _XrmHashBucketRec *rbd,
char *res_name, char *res_class, XIDProc callback, XPointer client_data)
}
declare 151 macosx {
char *XSetLocaleModifiers(const char *modifier_list)
}
declare 152 macosx {
XIM XOpenIM(Display *dpy, struct _XrmHashBucketRec *rdb, char *res_name,
char *res_class)
}
declare 153 macosx {
char *XGetIMValues(XIM im, ...)
}
declare 154 macosx {
char *XSetIMValues(XIM im, ...)
}
declare 155 macosx {
XFontSet XCreateFontSet(Display *display, _Xconst char *base_font_name_list,
char ***missing_charset_list, int *missing_charset_count, char **def_string)
}
declare 156 macosx {
void XFreeStringList(char **list)
}
declare 157 macosx {
KeySym XkbKeycodeToKeysym(Display *d, unsigned int k, int g, int i)
}
declare 158 macosx {
Display *XkbOpenDisplay(const char *name, int *ev_rtrn, int *err_rtrn,
int *major_rtrn, int *minor_rtrn, int *reason)
}
# Local Variables:
# mode: tcl
# End:
|