source: project/wiki/eggref/4/xlib @ 13306

Last change on this file since 13306 was 13306, checked in by felix winkelmann, 12 years ago

added xlib page and removed download links

File size: 71.1 KB
Line 
1[[tags: eggs]]
2
3== xlib
4
5[[toc:]]
6
7=== Description
8
9Bindings for Xlib
10
11=== Author
12
13Originally by Richard Mann, taken from the Stalin distribution and ported to Chicken by felix
14
15=== Usage
16
17(require-extension xlib)
18
19Thus extension provides the {{xlib}} module.
20
21=== Documentation
22
23This extension provides a low-level binding to the functionality offered by Xlib, the programming interface to the X window system.
24This library uses the same names as their C counterparts, but function names are converted to lowercase and symbolic constants are uppercase.
25Only minimal error checking is done. Pointer arguments are generally not checked. Arguments that are specified as C-POINTER also accept #f (false) and treat it as the NULL pointer. What follows is only a list of all exported identifiers, for more information consult a proper Xlib manual.
26
27==== Procedures
28
29  (xactivatescreensaver C-POINTER) -> INTEGER
30  (xaddextension C-POINTER) -> C-POINTER
31  (xaddhost C-POINTER C-POINTER) -> INTEGER
32  (xaddhosts C-POINTER C-POINTER INTEGER) -> INTEGER
33  (xaddtoextensionlist C-POINTER C-POINTER) -> INTEGER
34  (xaddtosaveset C-POINTER UNSIGNED-LONG) -> INTEGER
35  (xallocclasshint) -> C-POINTER
36  (xalloccolor C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
37  (xalloccolorcells C-POINTER UNSIGNED-LONG INTEGER C-POINTER UNSIGNED-INTEGER C-POINTER UNSIGNED-INTEGER) -> INTEGER
38  (xalloccolorplanes C-POINTER UNSIGNED-LONG INTEGER C-POINTER INTEGER INTEGER INTEGER INTEGER C-POINTER C-POINTER C-POINTER) -> INTEGER
39  (xallociconsize) -> C-POINTER
40  (xallocnamedcolor C-POINTER UNSIGNED-LONG C-STRING C-POINTER C-POINTER) -> INTEGER
41  (xallocsizehints) -> C-POINTER
42  (xallocstandardcolormap) -> C-POINTER
43  (xallocwmhints) -> C-POINTER
44  (xallowevents C-POINTER INTEGER UNSIGNED-LONG) -> INTEGER
45  (xallplanes) -> UNSIGNED-LONG
46  (xautorepeatoff C-POINTER) -> INTEGER
47  (xautorepeaton C-POINTER) -> INTEGER
48  (xbasefontnamelistoffontset C-POINTER) -> C-POINTER
49  (xbell C-POINTER INTEGER) -> INTEGER
50  (xbitmapbitorder C-POINTER) -> INTEGER
51  (xbitmappad C-POINTER) -> INTEGER
52  (xbitmapunit C-POINTER) -> INTEGER
53  (xblackpixel C-POINTER INTEGER) -> UNSIGNED-LONG
54  (xblackpixelofscreen C-POINTER) -> UNSIGNED-LONG
55  (xcellsofscreen C-POINTER) -> INTEGER
56  (xchangeactivepointergrab C-POINTER UNSIGNED-INTEGER UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
57  (xchangegc C-POINTER C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
58  (xchangekeyboardcontrol C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
59  (xchangekeyboardmapping C-POINTER INTEGER INTEGER C-POINTER INTEGER) -> INTEGER
60  (xchangepointercontrol C-POINTER INTEGER INTEGER INTEGER INTEGER INTEGER) -> INTEGER
61  (xchangeproperty C-POINTER UNSIGNED-LONG UNSIGNED-LONG UNSIGNED-LONG INTEGER INTEGER C-POINTER INTEGER) -> INTEGER
62  (xchangesaveset C-POINTER UNSIGNED-LONG INTEGER) -> INTEGER
63  (xchangewindowattributes C-POINTER UNSIGNED-LONG UNSIGNED-LONG C-POINTER) -> INTEGER
64  (xcheckifevent C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
65  (xcheckmaskevent C-POINTER INTEGER C-POINTER) -> INTEGER
66  (xchecktypedevent C-POINTER INTEGER C-POINTER) -> INTEGER
67  (xchecktypedwindowevent C-POINTER UNSIGNED-LONG INTEGER C-POINTER) -> INTEGER
68  (xcheckwindowevent C-POINTER UNSIGNED-LONG INTEGER C-POINTER) -> INTEGER
69  (xcirculatesubwindows C-POINTER UNSIGNED-LONG INTEGER) -> INTEGER
70  (xcirculatesubwindowsdown C-POINTER UNSIGNED-LONG) -> INTEGER
71  (xcirculatesubwindowsup C-POINTER UNSIGNED-LONG) -> INTEGER
72  (xcleararea C-POINTER UNSIGNED-LONG INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER INTEGER) -> INTEGER
73  (xclearwindow C-POINTER UNSIGNED-LONG) -> INTEGER
74  (xclipbox C-POINTER C-POINTER) -> INTEGER
75  (xclosedisplay C-POINTER) -> INTEGER
76  (xcloseim C-POINTER) -> INTEGER
77  (xconfigurewindow C-POINTER UNSIGNED-LONG UNSIGNED-INTEGER C-POINTER) -> INTEGER
78  (xconnectionnumber C-POINTER) -> INTEGER
79  (xcontextdependentdrawing C-POINTER) -> INTEGER
80  (xconvertselection C-POINTER UNSIGNED-LONG UNSIGNED-LONG UNSIGNED-LONG UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
81  (xcopyarea C-POINTER UNSIGNED-LONG UNSIGNED-LONG C-POINTER INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER INTEGER INTEGER) -> INTEGER
82  (xcopycolormapandfree C-POINTER UNSIGNED-LONG) -> UNSIGNED-LONG
83  (xcopygc C-POINTER C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
84  (xcopyplane C-POINTER UNSIGNED-LONG UNSIGNED-LONG C-POINTER INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER INTEGER INTEGER UNSIGNED-LONG) -> INTEGER
85  (xcreatebitmapfromdata C-POINTER UNSIGNED-LONG C-POINTER UNSIGNED-INTEGER UNSIGNED-INTEGER) -> UNSIGNED-LONG
86  (xcreatecolormap C-POINTER UNSIGNED-LONG C-POINTER INTEGER) -> UNSIGNED-LONG
87  (xcreatefontcursor C-POINTER UNSIGNED-INTEGER) -> UNSIGNED-LONG
88  (xcreatefontset C-POINTER C-STRING C-POINTER)) C-POINTER C-POINTER)) -> C-POINTER
89  (xcreategc C-POINTER UNSIGNED-LONG UNSIGNED-LONG C-POINTER) -> C-POINTER
90  (xcreateglyphcursor C-POINTER UNSIGNED-LONG UNSIGNED-LONG UNSIGNED-INTEGER UNSIGNED-INTEGER C-POINTER C-POINTER) -> UNSIGNED-LONG
91  (xcreateimage C-POINTER C-POINTER UNSIGNED-INTEGER INTEGER INTEGER C-POINTER UNSIGNED-INTEGER UNSIGNED-INTEGER INTEGER INTEGER) -> C-POINTER
92  (xcreatepixmap C-POINTER UNSIGNED-LONG UNSIGNED-INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER) -> UNSIGNED-LONG
93  (xcreatepixmapcursor C-POINTER UNSIGNED-LONG UNSIGNED-LONG C-POINTER C-POINTER UNSIGNED-INTEGER UNSIGNED-INTEGER) -> UNSIGNED-LONG
94  (xcreatepixmapfrombitmapdata C-POINTER UNSIGNED-LONG C-POINTER UNSIGNED-INTEGER UNSIGNED-INTEGER UNSIGNED-LONG UNSIGNED-LONG UNSIGNED-INTEGER) -> UNSIGNED-LONG
95  (xcreateregion) -> C-POINTER
96  (xcreatesimplewindow C-POINTER UNSIGNED-LONG INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER UNSIGNED-LONG UNSIGNED-LONG) -> UNSIGNED-LONG
97  (xcreatewindow C-POINTER UNSIGNED-LONG INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER INTEGER UNSIGNED-INTEGER C-POINTER UNSIGNED-LONG C-POINTER) -> UNSIGNED-LONG
98  (xdefaultcolormap C-POINTER INTEGER) -> UNSIGNED-LONG
99  (xdefaultcolormapofscreen C-POINTER) -> UNSIGNED-LONG
100  (xdefaultdepth C-POINTER INTEGER) -> INTEGER
101  (xdefaultdepthofscreen C-POINTER) -> INTEGER
102  (xdefaultgc C-POINTER INTEGER) -> C-POINTER
103  (xdefaultgcofscreen C-POINTER) -> C-POINTER
104  (xdefaultrootwindow C-POINTER) -> UNSIGNED-LONG
105  (xdefaultscreen C-POINTER) -> INTEGER
106  (xdefaultscreenofdisplay C-POINTER) -> C-POINTER
107  (xdefaultstring) -> C-STRING
108  (xdefaultvisual C-POINTER INTEGER) -> C-POINTER
109  (xdefaultvisualofscreen C-POINTER) -> C-POINTER
110  (xdefinecursor C-POINTER UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
111  (xdeletecontext C-POINTER UNSIGNED-LONG INTEGER) -> INTEGER
112  (xdeletemodifiermapentry C-POINTER UNSIGNED-INTEGER INTEGER) -> C-POINTER
113  (xdeleteproperty C-POINTER UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
114  (xdestroyic C-POINTER)
115  (xdestroyimage C-POINTER) -> INTEGER
116  (xdestroyregion C-POINTER) -> INTEGER
117  (xdestroysubwindows C-POINTER UNSIGNED-LONG) -> INTEGER
118  (xdestroywindow C-POINTER UNSIGNED-LONG) -> INTEGER
119  (xdisableaccesscontrol C-POINTER) -> INTEGER
120  (xdisplaycells C-POINTER INTEGER) -> INTEGER
121  (xdisplayheight C-POINTER INTEGER) -> INTEGER
122  (xdisplayheightmm C-POINTER INTEGER) -> INTEGER
123  (xdisplaykeycodes C-POINTER C-POINTER C-POINTER) -> INTEGER
124  (xdisplaymotionbuffersize C-POINTER) -> UNSIGNED-LONG
125  (xdisplayname C-STRING) -> C-STRING
126  (xdisplayofim C-POINTER) -> C-POINTER
127  (xdisplayofscreen C-POINTER) -> C-POINTER
128  (xdisplayplanes C-POINTER INTEGER) -> INTEGER
129  (xdisplaystring C-POINTER) -> C-STRING
130  (xdisplaywidth C-POINTER INTEGER) -> INTEGER
131  (xdisplaywidthmm C-POINTER INTEGER) -> INTEGER
132  (xdoesbackingstore C-POINTER) -> INTEGER
133  (xdoessaveunders C-POINTER) -> INTEGER
134  (xdrawarc C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER INTEGER INTEGER) -> INTEGER
135  (xdrawarcs C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER) -> INTEGER
136  (xdrawimagestring C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER C-STRING INTEGER) -> INTEGER
137  (xdrawimagestring16 C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER C-POINTER INTEGER) -> INTEGER
138  (xdrawline C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER INTEGER INTEGER) -> INTEGER
139  (xdrawlines C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER INTEGER) -> INTEGER
140  (xdrawpoint C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER) -> INTEGER
141  (xdrawpoints C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER INTEGER) -> INTEGER
142  (xdrawrectangle C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER) -> INTEGER
143  (xdrawrectangles C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER) -> INTEGER
144  (xdrawsegments C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER) -> INTEGER
145  (xdrawstring C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER C-STRING INTEGER) -> INTEGER
146  (xdrawstring16 C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER C-POINTER INTEGER) -> INTEGER
147  (xdrawtext C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER C-POINTER INTEGER) -> INTEGER
148  (xdrawtext16 C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER C-POINTER INTEGER) -> INTEGER
149  (xemptyregion C-POINTER) -> INTEGER
150  (xenableaccesscontrol C-POINTER) -> INTEGER
151  (xequalregion C-POINTER C-POINTER) -> INTEGER
152  (xeventmaskofscreen C-POINTER) -> INTEGER
153  (xeventsqueued C-POINTER INTEGER) -> INTEGER
154  (xextentsoffontset C-POINTER) -> C-POINTER
155  (xfetchbuffer C-POINTER C-POINTER INTEGER) -> C-POINTER
156  (xfetchbytes C-POINTER C-POINTER) -> C-POINTER
157  (xfetchname C-POINTER UNSIGNED-LONG C-POINTER)) -> INTEGER
158  (xfillarc C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER INTEGER INTEGER) -> INTEGER
159  (xfillarcs C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER) -> INTEGER
160  (xfillpolygon C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER INTEGER INTEGER) -> INTEGER
161  (xfillrectangle C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER) -> INTEGER
162  (xfillrectangles C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER) -> INTEGER
163  (xfilterevent C-POINTER UNSIGNED-LONG) -> INTEGER
164  (xfindcontext C-POINTER UNSIGNED-LONG INTEGER C-POINTER)) -> INTEGER
165  (xfindonextensionlist C-POINTER INTEGER) -> C-POINTER
166  (xflush C-POINTER) -> INTEGER
167  (xflushgc C-POINTER C-POINTER)
168  (xfontsoffontset C-POINTER C-POINTER) C-POINTER))) -> INTEGER
169  (xforcescreensaver C-POINTER INTEGER) -> INTEGER
170  (xfree C-POINTER) -> INTEGER
171  (xfreecolormap C-POINTER UNSIGNED-LONG) -> INTEGER
172  (xfreecolors C-POINTER UNSIGNED-LONG C-POINTER INTEGER UNSIGNED-LONG) -> INTEGER
173  (xfreecursor C-POINTER UNSIGNED-LONG) -> INTEGER
174  (xfreeextensionlist C-POINTER)) -> INTEGER
175  (xfreefont C-POINTER C-POINTER) -> INTEGER
176  (xfreefontinfo C-POINTER) C-POINTER INTEGER) -> INTEGER
177  (xfreefontnames C-POINTER)) -> INTEGER
178  (xfreefontpath C-POINTER)) -> INTEGER
179  (xfreefontset C-POINTER C-POINTER)
180  (xfreegc C-POINTER C-POINTER) -> INTEGER
181  (xfreemodifiermap C-POINTER) -> INTEGER
182  (xfreepixmap C-POINTER UNSIGNED-LONG) -> INTEGER
183  (xfreestringlist C-POINTER))
184  (xgcontextfromgc C-POINTER) -> UNSIGNED-LONG
185  (xgeometry C-POINTER INTEGER C-STRING C-STRING UNSIGNED-INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER INTEGER INTEGER C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
186  (xgetatomname C-POINTER UNSIGNED-LONG) -> C-STRING
187  (xgetclasshint C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
188  (xgetcommand C-POINTER UNSIGNED-LONG C-POINTER)) C-POINTER) -> INTEGER
189  (xgetdefault C-POINTER C-STRING C-STRING) -> C-STRING
190  (xgeterrordatabasetext C-POINTER C-STRING C-STRING C-STRING C-POINTER INTEGER) -> INTEGER
191  (xgeterrortext C-POINTER INTEGER C-POINTER INTEGER) -> INTEGER
192  (xgetfontpath C-POINTER C-POINTER) -> C-POINTER)
193  (xgetfontproperty C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
194  (xgetgcvalues C-POINTER C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
195  (xgetgeometry C-POINTER UNSIGNED-LONG C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
196  (xgeticonname C-POINTER UNSIGNED-LONG C-POINTER)) -> INTEGER
197  (xgeticonsizes C-POINTER UNSIGNED-LONG C-POINTER C-POINTER) -> INTEGER
198  (xgetimage C-POINTER UNSIGNED-LONG INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER UNSIGNED-LONG INTEGER) -> C-POINTER
199  (xgetinputfocus C-POINTER C-POINTER C-POINTER) -> INTEGER
200  (xgetkeyboardcontrol C-POINTER C-POINTER) -> INTEGER
201  (xgetkeyboardmapping C-POINTER UNSIGNED-INTEGER INTEGER C-POINTER) -> C-POINTER
202  (xgetmodifiermapping C-POINTER) -> C-POINTER
203  (xgetmotionevents C-POINTER UNSIGNED-LONG UNSIGNED-LONG UNSIGNED-LONG C-POINTER) -> C-POINTER
204  (xgetnormalhints C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
205  (xgetpixel C-POINTER INTEGER INTEGER) -> UNSIGNED-LONG
206  (xgetpointercontrol C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
207  (xgetpointermapping C-POINTER C-POINTER INTEGER) -> INTEGER
208  (xgetrgbcolormaps C-POINTER UNSIGNED-LONG C-POINTER C-POINTER UNSIGNED-LONG) -> INTEGER
209  (xgetscreensaver C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
210  (xgetselectionowner C-POINTER UNSIGNED-LONG) -> UNSIGNED-LONG
211  (xgetsizehints C-POINTER UNSIGNED-LONG C-POINTER UNSIGNED-LONG) -> INTEGER
212  (xgetstandardcolormap C-POINTER UNSIGNED-LONG C-POINTER UNSIGNED-LONG) -> INTEGER
213  (xgetsubimage C-POINTER UNSIGNED-LONG INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER UNSIGNED-LONG INTEGER C-POINTER INTEGER INTEGER) -> C-POINTER
214  (xgettextproperty C-POINTER UNSIGNED-LONG C-POINTER UNSIGNED-LONG) -> INTEGER
215  (xgettransientforhint C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
216  (xgetvisualinfo C-POINTER INTEGER C-POINTER C-POINTER) -> C-POINTER
217  (xgetwindowattributes C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
218  (xgetwindowproperty C-POINTER UNSIGNED-LONG UNSIGNED-LONG INTEGER INTEGER INTEGER UNSIGNED-LONG C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER)) -> INTEGER
219  (xgetwmclientmachine C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
220  (xgetwmcolormapwindows C-POINTER UNSIGNED-LONG C-POINTER) C-POINTER) -> INTEGER
221  (xgetwmhints C-POINTER UNSIGNED-LONG) -> C-POINTER
222  (xgetwmiconname C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
223  (xgetwmname C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
224  (xgetwmnormalhints C-POINTER UNSIGNED-LONG C-POINTER C-POINTER) -> INTEGER
225  (xgetwmprotocols C-POINTER UNSIGNED-LONG C-POINTER) C-POINTER) -> INTEGER
226  (xgetwmsizehints C-POINTER UNSIGNED-LONG C-POINTER C-POINTER UNSIGNED-LONG) -> INTEGER
227  (xgetzoomhints C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
228  (xgrabbutton C-POINTER UNSIGNED-INTEGER UNSIGNED-INTEGER UNSIGNED-LONG INTEGER UNSIGNED-INTEGER INTEGER INTEGER UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
229  (xgrabkey C-POINTER INTEGER UNSIGNED-INTEGER UNSIGNED-LONG INTEGER INTEGER INTEGER) -> INTEGER
230  (xgrabkeyboard C-POINTER UNSIGNED-LONG INTEGER INTEGER INTEGER UNSIGNED-LONG) -> INTEGER
231  (xgrabpointer C-POINTER UNSIGNED-LONG INTEGER UNSIGNED-INTEGER INTEGER INTEGER UNSIGNED-LONG UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
232  (xgrabserver C-POINTER) -> INTEGER
233  (xheightmmofscreen C-POINTER) -> INTEGER
234  (xheightofscreen C-POINTER) -> INTEGER
235  (xiconifywindow C-POINTER UNSIGNED-LONG INTEGER) -> INTEGER
236  (xifevent C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
237  (ximagebyteorder C-POINTER) -> INTEGER
238  (ximofic C-POINTER) -> C-POINTER
239  (xinitextension C-POINTER C-STRING) -> C-POINTER
240  (xinsertmodifiermapentry C-POINTER UNSIGNED-INTEGER INTEGER) -> C-POINTER
241  (xinstallcolormap C-POINTER UNSIGNED-LONG) -> INTEGER
242  (xinternatom C-POINTER C-STRING INTEGER) -> UNSIGNED-LONG
243  (xintersectregion C-POINTER C-POINTER C-POINTER) -> INTEGER
244  (xkeycodetokeysym C-POINTER UNSIGNED-INTEGER INTEGER) -> UNSIGNED-LONG
245  (xkeysymtokeycode C-POINTER UNSIGNED-LONG) -> UNSIGNED-CHAR
246  (xkeysymtostring UNSIGNED-LONG) -> C-STRING
247  (xkillclient C-POINTER UNSIGNED-LONG) -> INTEGER
248  (xlastknownrequestprocessed C-POINTER) -> UNSIGNED-LONG
249  (xlistdepths C-POINTER INTEGER C-POINTER) -> C-POINTER
250  (xlistextensions C-POINTER C-POINTER) -> C-POINTER)
251  (xlistfonts C-POINTER C-STRING INTEGER C-POINTER) -> C-POINTER)
252  (xlistfontswithinfo C-POINTER C-STRING INTEGER C-POINTER C-POINTER) -> C-POINTER)
253  (xlisthosts C-POINTER C-POINTER C-POINTER) -> C-POINTER
254  (xlistinstalledcolormaps C-POINTER UNSIGNED-LONG C-POINTER) -> C-POINTER
255  (xlistpixmapformats C-POINTER C-POINTER) -> C-POINTER
256  (xlistproperties C-POINTER UNSIGNED-LONG C-POINTER) -> C-POINTER
257  (xloadfont C-POINTER C-STRING) -> UNSIGNED-LONG
258  (xloadqueryfont C-POINTER C-STRING) -> C-POINTER
259  (xlocaleoffontset C-POINTER) -> C-POINTER
260  (xlocaleofim C-POINTER) -> C-POINTER
261  (xlookupcolor C-POINTER UNSIGNED-LONG C-STRING C-POINTER C-POINTER) -> INTEGER
262  (xlookupkeysym C-POINTER INTEGER) -> UNSIGNED-LONG
263  (xlookupstring C-POINTER C-STRING INTEGER C-POINTER C-POINTER) -> INTEGER
264  (xlowerwindow C-POINTER UNSIGNED-LONG) -> INTEGER
265  (xmapraised C-POINTER UNSIGNED-LONG) -> INTEGER
266  (xmapsubwindows C-POINTER UNSIGNED-LONG) -> INTEGER
267  (xmapwindow C-POINTER UNSIGNED-LONG) -> INTEGER
268  (xmaskevent C-POINTER INTEGER C-POINTER) -> INTEGER
269  (xmatchvisualinfo C-POINTER INTEGER INTEGER INTEGER C-POINTER) -> INTEGER
270  (xmaxcmapsofscreen C-POINTER) -> INTEGER
271  (xmaxrequestsize C-POINTER) -> INTEGER
272  (xmbdrawimagestring C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER INTEGER C-STRING INTEGER)
273  (xmbdrawstring C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER INTEGER C-STRING INTEGER)
274  (xmbdrawtext C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER C-POINTER INTEGER)
275  (xmblookupstring C-POINTER C-POINTER C-STRING INTEGER C-POINTER C-POINTER) -> INTEGER
276  (xmbresetic C-POINTER) -> C-POINTER
277  (xmbsetwmproperties C-POINTER UNSIGNED-LONG C-POINTER C-POINTER C-POINTER) INTEGER C-POINTER C-POINTER C-POINTER)
278  (xmbtextescapement C-POINTER C-STRING INTEGER) -> INTEGER
279  (xmbtextextents C-POINTER C-STRING INTEGER C-POINTER C-POINTER) -> INTEGER
280  (xmbtextlisttotextproperty C-POINTER C-POINTER) INTEGER INTEGER C-POINTER) -> INTEGER
281  (xmbtextpercharextents C-POINTER C-STRING INTEGER C-POINTER C-POINTER INTEGER C-POINTER C-POINTER C-POINTER) -> INTEGER
282  (xmbtextpropertytotextlist C-POINTER C-POINTER C-POINTER)) C-POINTER) -> INTEGER
283  (xmincmapsofscreen C-POINTER) -> INTEGER
284  (xmoveresizewindow C-POINTER UNSIGNED-LONG INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER) -> INTEGER
285  (xmovewindow C-POINTER UNSIGNED-LONG INTEGER INTEGER) -> INTEGER
286  (xnewmodifiermap INTEGER) -> C-POINTER
287  (xnextevent C-POINTER C-POINTER) -> INTEGER
288  (xnextrequest C-POINTER) -> UNSIGNED-LONG
289  (xnoop C-POINTER) -> INTEGER
290  (xoffsetregion C-POINTER INTEGER INTEGER) -> INTEGER
291  (xopendisplay C-STRING) -> C-POINTER
292  (xopenim C-POINTER C-POINTER C-POINTER C-POINTER) -> C-POINTER
293  (xparsecolor C-POINTER UNSIGNED-LONG C-STRING C-POINTER) -> INTEGER
294  (xparsegeometry C-STRING C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
295  (xpeekevent C-POINTER C-POINTER) -> INTEGER
296  (xpeekifevent C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
297  (xpending C-POINTER) -> INTEGER
298  (xplanesofscreen C-POINTER) -> INTEGER
299  (xpointinregion C-POINTER INTEGER INTEGER) -> INTEGER
300  (xpolygonregion C-POINTER INTEGER INTEGER) -> C-POINTER
301  (xprotocolrevision C-POINTER) -> INTEGER
302  (xprotocolversion C-POINTER) -> INTEGER
303  (xputbackevent C-POINTER C-POINTER) -> INTEGER
304  (xputimage C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER INTEGER INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER) -> INTEGER
305  (xputpixel C-POINTER INTEGER INTEGER UNSIGNED-LONG) -> INTEGER
306  (xqlength C-POINTER) -> INTEGER
307  (xquerybestcursor C-POINTER UNSIGNED-LONG UNSIGNED-INTEGER UNSIGNED-INTEGER C-POINTER C-POINTER) -> INTEGER
308  (xquerybestsize C-POINTER INTEGER UNSIGNED-LONG UNSIGNED-INTEGER UNSIGNED-INTEGER C-POINTER C-POINTER) -> INTEGER
309  (xquerybeststipple C-POINTER UNSIGNED-LONG UNSIGNED-INTEGER UNSIGNED-INTEGER C-POINTER C-POINTER) -> INTEGER
310  (xquerybesttile C-POINTER UNSIGNED-LONG UNSIGNED-INTEGER UNSIGNED-INTEGER C-POINTER C-POINTER) -> INTEGER
311  (xquerycolor C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
312  (xquerycolors C-POINTER UNSIGNED-LONG C-POINTER INTEGER) -> INTEGER
313  (xqueryextension C-POINTER C-STRING C-POINTER C-POINTER C-POINTER) -> INTEGER
314  (xqueryfont C-POINTER UNSIGNED-LONG) -> C-POINTER
315  (xquerykeymap C-POINTER C-POINTER) -> INTEGER
316  (xquerypointer C-POINTER UNSIGNED-LONG C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
317  (xquerytextextents C-POINTER UNSIGNED-LONG C-STRING INTEGER C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
318  (xquerytextextents16 C-POINTER UNSIGNED-LONG C-POINTER INTEGER C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
319  (xquerytree C-POINTER UNSIGNED-LONG C-POINTER C-POINTER C-POINTER) C-POINTER) -> INTEGER
320  (xraisewindow C-POINTER UNSIGNED-LONG) -> INTEGER
321  (xreadbitmapfile C-POINTER UNSIGNED-LONG C-STRING C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
322  (xrebindkeysym C-POINTER UNSIGNED-LONG C-POINTER INTEGER C-POINTER INTEGER) -> INTEGER
323  (xrecolorcursor C-POINTER UNSIGNED-LONG C-POINTER C-POINTER) -> INTEGER
324  (xreconfigurewmwindow C-POINTER UNSIGNED-LONG INTEGER UNSIGNED-INTEGER C-POINTER) -> INTEGER
325  (xrectinregion C-POINTER INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER) -> INTEGER
326  (xrefreshkeyboardmapping C-POINTER) -> INTEGER
327  (xremovefromsaveset C-POINTER UNSIGNED-LONG) -> INTEGER
328  (xremovehost C-POINTER C-POINTER) -> INTEGER
329  (xremovehosts C-POINTER C-POINTER INTEGER) -> INTEGER
330  (xreparentwindow C-POINTER UNSIGNED-LONG UNSIGNED-LONG INTEGER INTEGER) -> INTEGER
331  (xresetscreensaver C-POINTER) -> INTEGER
332  (xresizewindow C-POINTER UNSIGNED-LONG UNSIGNED-INTEGER UNSIGNED-INTEGER) -> INTEGER
333  (xresourcemanagerstring C-POINTER) -> C-STRING
334  (xrestackwindows C-POINTER C-POINTER INTEGER) -> INTEGER
335  (xrminitialize)
336  (xrootwindow C-POINTER INTEGER) -> UNSIGNED-LONG
337  (xrootwindowofscreen C-POINTER) -> UNSIGNED-LONG
338  (xrotatebuffers C-POINTER INTEGER) -> INTEGER
339  (xrotatewindowproperties C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER) -> INTEGER
340  (xsavecontext C-POINTER UNSIGNED-LONG INTEGER C-POINTER) -> INTEGER
341  (xscreencount C-POINTER) -> INTEGER
342  (xscreennumberofscreen C-POINTER) -> INTEGER
343  (xscreenofdisplay C-POINTER INTEGER) -> C-POINTER
344  (xscreenresourcestring C-POINTER) -> C-STRING
345  (xselectinput C-POINTER UNSIGNED-LONG INTEGER) -> INTEGER
346  (xsendevent C-POINTER UNSIGNED-LONG INTEGER INTEGER C-POINTER) -> INTEGER
347  (xservervendor C-POINTER) -> C-STRING
348  (xsetaccesscontrol C-POINTER INTEGER) -> INTEGER
349  (xsetarcmode C-POINTER C-POINTER INTEGER) -> INTEGER
350  (xsetbackground C-POINTER C-POINTER UNSIGNED-LONG) -> INTEGER
351  (xsetclasshint C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
352  (xsetclipmask C-POINTER C-POINTER UNSIGNED-LONG) -> INTEGER
353  (xsetcliporigin C-POINTER C-POINTER INTEGER INTEGER) -> INTEGER
354  (xsetcliprectangles C-POINTER C-POINTER INTEGER INTEGER C-POINTER INTEGER INTEGER) -> INTEGER
355  (xsetclosedownmode C-POINTER INTEGER) -> INTEGER
356  (xsetcommand C-POINTER UNSIGNED-LONG C-POINTER) INTEGER) -> INTEGER
357  (xsetdashes C-POINTER C-POINTER INTEGER C-POINTER INTEGER) -> INTEGER
358  (xsetfillrule C-POINTER C-POINTER INTEGER) -> INTEGER
359  (xsetfillstyle C-POINTER C-POINTER INTEGER) -> INTEGER
360  (xsetfont C-POINTER C-POINTER UNSIGNED-LONG) -> INTEGER
361  (xsetfontpath C-POINTER C-POINTER) INTEGER) -> INTEGER
362  (xsetforeground C-POINTER C-POINTER UNSIGNED-LONG) -> INTEGER
363  (xsetfunction C-POINTER C-POINTER INTEGER) -> INTEGER
364  (xsetgraphicsexposures C-POINTER C-POINTER INTEGER) -> INTEGER
365  (xseticfocus C-POINTER)
366  (xseticonname C-POINTER UNSIGNED-LONG C-STRING) -> INTEGER
367  (xseticonsizes C-POINTER UNSIGNED-LONG C-POINTER INTEGER) -> INTEGER
368  (xsetinputfocus C-POINTER UNSIGNED-LONG INTEGER UNSIGNED-LONG) -> INTEGER
369  (xsetlineattributes C-POINTER C-POINTER UNSIGNED-INTEGER INTEGER INTEGER INTEGER) -> INTEGER
370  (xsetlocalemodifiers C-STRING) -> C-STRING
371  (xsetmodifiermapping C-POINTER C-POINTER) -> INTEGER
372  (xsetnormalhints C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
373  (xsetplanemask C-POINTER C-POINTER UNSIGNED-LONG) -> INTEGER
374  (xsetpointermapping C-POINTER C-POINTER INTEGER) -> INTEGER
375  (xsetregion C-POINTER C-POINTER C-POINTER) -> INTEGER
376  (xsetrgbcolormaps C-POINTER UNSIGNED-LONG C-POINTER INTEGER UNSIGNED-LONG)
377  (xsetscreensaver C-POINTER INTEGER INTEGER INTEGER INTEGER) -> INTEGER
378  (xsetselectionowner C-POINTER UNSIGNED-LONG UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
379  (xsetsizehints C-POINTER UNSIGNED-LONG C-POINTER UNSIGNED-LONG) -> INTEGER
380  (xsetstandardcolormap C-POINTER UNSIGNED-LONG C-POINTER UNSIGNED-LONG)
381  (xsetstandardproperties C-POINTER UNSIGNED-LONG C-POINTER C-POINTER UNSIGNED-LONG C-POINTER) INTEGER C-POINTER) -> INTEGER
382  (xsetstate C-POINTER C-POINTER UNSIGNED-LONG UNSIGNED-LONG INTEGER UNSIGNED-LONG) -> INTEGER
383  (xsetstipple C-POINTER C-POINTER UNSIGNED-LONG) -> INTEGER
384  (xsetsubwindowmode C-POINTER C-POINTER INTEGER) -> INTEGER
385  (xsettextproperty C-POINTER UNSIGNED-LONG C-POINTER UNSIGNED-LONG)
386  (xsettile C-POINTER C-POINTER UNSIGNED-LONG) -> INTEGER
387  (xsettransientforhint C-POINTER UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
388  (xsettsorigin C-POINTER C-POINTER INTEGER INTEGER) -> INTEGER
389  (xsetwindowbackground C-POINTER UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
390  (xsetwindowbackgroundpixmap C-POINTER UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
391  (xsetwindowborder C-POINTER UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
392  (xsetwindowborderpixmap C-POINTER UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
393  (xsetwindowborderwidth C-POINTER UNSIGNED-LONG UNSIGNED-INTEGER) -> INTEGER
394  (xsetwindowcolormap C-POINTER UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
395  (xsetwmclientmachine C-POINTER UNSIGNED-LONG C-POINTER)
396  (xsetwmcolormapwindows C-POINTER UNSIGNED-LONG C-POINTER INTEGER) -> INTEGER
397  (xsetwmhints C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
398  (xsetwmiconname C-POINTER UNSIGNED-LONG C-POINTER)
399  (xsetwmname C-POINTER UNSIGNED-LONG C-POINTER)
400  (xsetwmnormalhints C-POINTER UNSIGNED-LONG C-POINTER)
401  (xsetwmproperties C-POINTER UNSIGNED-LONG C-POINTER C-POINTER C-POINTER) INTEGER C-POINTER C-POINTER C-POINTER)
402  (xsetwmprotocols C-POINTER UNSIGNED-LONG C-POINTER INTEGER) -> INTEGER
403  (xsetwmsizehints C-POINTER UNSIGNED-LONG C-POINTER UNSIGNED-LONG)
404  (xsetzoomhints C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
405  (xshrinkregion C-POINTER INTEGER INTEGER) -> INTEGER
406  (xstorebuffer C-POINTER C-POINTER INTEGER INTEGER) -> INTEGER
407  (xstorebytes C-POINTER C-POINTER INTEGER) -> INTEGER
408  (xstorecolor C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
409  (xstorecolors C-POINTER UNSIGNED-LONG C-POINTER INTEGER) -> INTEGER
410  (xstorename C-POINTER UNSIGNED-LONG C-STRING) -> INTEGER
411  (xstorenamedcolor C-POINTER UNSIGNED-LONG C-STRING UNSIGNED-LONG INTEGER) -> INTEGER
412  (xstringlisttotextproperty C-POINTER) INTEGER C-POINTER) -> INTEGER
413  (xstringtokeysym C-STRING) -> UNSIGNED-LONG
414  (xsubimage C-POINTER INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER) -> C-POINTER
415  (xsubtractregion C-POINTER C-POINTER C-POINTER) -> INTEGER
416  (xsupportslocale) -> INTEGER
417  (xsync C-POINTER INTEGER) -> INTEGER
418  (xtextextents C-POINTER C-STRING INTEGER C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
419  (xtextextents16 C-POINTER C-POINTER INTEGER C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
420  (xtextpropertytostringlist C-POINTER C-POINTER)) C-POINTER) -> INTEGER
421  (xtextwidth C-POINTER C-STRING INTEGER) -> INTEGER
422  (xtextwidth16 C-POINTER C-POINTER INTEGER) -> INTEGER
423  (xtranslatecoordinates C-POINTER UNSIGNED-LONG UNSIGNED-LONG INTEGER INTEGER C-POINTER C-POINTER C-POINTER) -> INTEGER
424  (xundefinecursor C-POINTER UNSIGNED-LONG) -> INTEGER
425  (xungrabbutton C-POINTER UNSIGNED-INTEGER UNSIGNED-INTEGER UNSIGNED-LONG) -> INTEGER
426  (xungrabkey C-POINTER INTEGER UNSIGNED-INTEGER UNSIGNED-LONG) -> INTEGER
427  (xungrabkeyboard C-POINTER UNSIGNED-LONG) -> INTEGER
428  (xungrabpointer C-POINTER UNSIGNED-LONG) -> INTEGER
429  (xungrabserver C-POINTER) -> INTEGER
430  (xuninstallcolormap C-POINTER UNSIGNED-LONG) -> INTEGER
431  (xunionrectwithregion C-POINTER C-POINTER C-POINTER) -> INTEGER
432  (xunionregion C-POINTER C-POINTER C-POINTER) -> INTEGER
433  (xunloadfont C-POINTER UNSIGNED-LONG) -> INTEGER
434  (xunmapsubwindows C-POINTER UNSIGNED-LONG) -> INTEGER
435  (xunmapwindow C-POINTER UNSIGNED-LONG) -> INTEGER
436  (xunseticfocus C-POINTER)
437  (xvendorrelease C-POINTER) -> INTEGER
438  (xvisualidfromvisual C-POINTER) -> UNSIGNED-LONG
439  (xwarppointer C-POINTER UNSIGNED-LONG UNSIGNED-LONG INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER INTEGER INTEGER) -> INTEGER
440  (xwcdrawimagestring C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER INTEGER C-POINTER INTEGER)
441  (xwcdrawstring C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER INTEGER C-POINTER INTEGER)
442  (xwcdrawtext C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER C-POINTER INTEGER)
443  (xwcfreestringlist C-POINTER))
444  (xwclookupstring C-POINTER C-POINTER C-POINTER INTEGER C-POINTER C-POINTER) -> INTEGER
445  (xwcresetic C-POINTER) -> C-POINTER
446  (xwctextescapement C-POINTER C-POINTER INTEGER) -> INTEGER
447  (xwctextextents C-POINTER C-POINTER INTEGER C-POINTER C-POINTER) -> INTEGER
448  (xwctextlisttotextproperty C-POINTER C-POINTER) INTEGER INTEGER C-POINTER) -> INTEGER
449  (xwctextpercharextents C-POINTER C-POINTER INTEGER C-POINTER C-POINTER INTEGER C-POINTER C-POINTER C-POINTER) -> INTEGER
450  (xwctextpropertytotextlist C-POINTER C-POINTER C-POINTER)) C-POINTER) -> INTEGER
451  (xwhitepixel C-POINTER INTEGER) -> UNSIGNED-LONG
452  (xwhitepixelofscreen C-POINTER) -> UNSIGNED-LONG
453  (xwidthmmofscreen C-POINTER) -> INTEGER
454  (xwidthofscreen C-POINTER) -> INTEGER
455  (xwindowevent C-POINTER UNSIGNED-LONG INTEGER C-POINTER) -> INTEGER
456  (xwithdrawwindow C-POINTER UNSIGNED-LONG INTEGER) -> INTEGER
457  (xwmgeometry C-POINTER INTEGER C-STRING C-STRING UNSIGNED-INTEGER C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
458  (xwritebitmapfile C-POINTER C-STRING UNSIGNED-LONG UNSIGNED-INTEGER UNSIGNED-INTEGER INTEGER INTEGER) -> INTEGER
459  (xxorregion C-POINTER C-POINTER C-POINTER) -> INTEGER
460
461==== Symbolic constants
462
463All return an exact integer.
464
465  ABOVE
466  ALLHINTS
467  ALLOCALL
468  ALLOCNONE
469  ALLOWEXPOSURES
470  ALLPLANES
471  ALLTEMPORARY
472  ALLVALUES
473  ALREADYGRABBED
474  ALWAYS
475  ANYBUTTON
476  ANYKEY
477  ANYMODIFIER
478  ANYPROPERTYTYPE
479  ARCCHORD
480  ARCPIESLICE
481  ASYNCBOTH
482  ASYNCKEYBOARD
483  ASYNCPOINTER
484  AUTOREPEATMODEDEFAULT
485  AUTOREPEATMODEOFF
486  AUTOREPEATMODEON
487  BADACCESS
488  BADALLOC
489  BADATOM
490  BADCOLOR
491  BADCURSOR
492  BADDRAWABLE
493  BADFONT
494  BADGC
495  BADIDCHOICE
496  BADIMPLEMENTATION
497  BADLENGTH
498  BADMATCH
499  BADNAME
500  BADPIXMAP
501  BADREQUEST
502  BADVALUE
503  BADWINDOW
504  BELOW
505  BITMAPFILEINVALID
506  BITMAPNOMEMORY
507  BITMAPOPENFAILED
508  BITMAPSUCCESS
509  BOTTOMIF
510  BUTTON1
511  BUTTON1MASK
512  BUTTON1MOTIONMASK
513  BUTTON2
514  BUTTON2MASK
515  BUTTON2MOTIONMASK
516  BUTTON3
517  BUTTON3MASK
518  BUTTON3MOTIONMASK
519  BUTTON4
520  BUTTON4MASK
521  BUTTON4MOTIONMASK
522  BUTTON5
523  BUTTON5MASK
524  BUTTON5MOTIONMASK
525  BUTTONMOTIONMASK
526  BUTTONPRESS
527  BUTTONPRESSMASK
528  BUTTONRELEASE
529  BUTTONRELEASEMASK
530  CAPBUTT
531  CAPNOTLAST
532  CAPPROJECTING
533  CAPROUND
534  CENTERGRAVITY
535  CIRCULATENOTIFY
536  CIRCULATEREQUEST
537  CLIENTMESSAGE
538  CLIPBYCHILDREN
539  COLORMAPCHANGEMASK
540  COLORMAPINSTALLED
541  COLORMAPNOTIFY
542  COLORMAPUNINSTALLED
543  COMPLEX
544  CONFIGURENOTIFY
545  CONFIGUREREQUEST
546  CONTROLMAPINDEX
547  CONTROLMASK
548  CONVEX
549  COORDMODEORIGIN
550  COORDMODEPREVIOUS
551  COPYFROMPARENT
552  CREATENOTIFY
553  CURRENTTIME
554  CURSORSHAPE
555  CWBACKINGPIXEL
556  CWBACKINGPLANES
557  CWBACKINGSTORE
558  CWBACKPIXEL
559  CWBACKPIXMAP
560  CWBITGRAVITY
561  CWBORDERPIXEL
562  CWBORDERPIXMAP
563  CWBORDERWIDTH
564  CWCOLORMAP
565  CWCURSOR
566  CWDONTPROPAGATE
567  CWEVENTMASK
568  CWHEIGHT
569  CWOVERRIDEREDIRECT
570  CWSAVEUNDER
571  CWSIBLING
572  CWSTACKMODE
573  CWWIDTH
574  CWWINGRAVITY
575  CWX
576  CWY
577  DEFAULTBLANKING
578  DEFAULTEXPOSURES
579  DESTROYALL
580  DESTROYNOTIFY
581  DIRECTCOLOR
582  DISABLEACCESS
583  DISABLESCREENINTERVAL
584  DISABLESCREENSAVER
585  DOBLUE
586  DOGREEN
587  DONTALLOWEXPOSURES
588  DONTCARESTATE
589  DONTPREFERBLANKING
590  DORED
591  EASTGRAVITY
592  ENABLEACCESS
593  ENTERNOTIFY
594  ENTERWINDOWMASK
595  EVENODDRULE
596  EXPOSE
597  EXPOSUREMASK
598  FAMILYCHAOS
599  FAMILYDECNET
600  FAMILYINTERNET
601  FILLOPAQUESTIPPLED
602  FILLSOLID
603  FILLSTIPPLED
604  FILLTILED
605  FIRSTEXTENSIONERROR
606  FOCUSCHANGEMASK
607  FOCUSIN
608  FOCUSOUT
609  FONTCHANGE
610  FONTLEFTTORIGHT
611  FONTRIGHTTOLEFT
612  FORGETGRAVITY
613  GCARCMODE
614  GCBACKGROUND
615  GCCAPSTYLE
616  GCCLIPMASK
617  GCCLIPXORIGIN
618  GCCLIPYORIGIN
619  GCDASHLIST
620  GCDASHOFFSET
621  GCFILLRULE
622  GCFILLSTYLE
623  GCFONT
624  GCFOREGROUND
625  GCFUNCTION
626  GCGRAPHICSEXPOSURES
627  GCJOINSTYLE
628  GCLASTBIT
629  GCLINESTYLE
630  GCLINEWIDTH
631  GCPLANEMASK
632  GCSTIPPLE
633  GCSUBWINDOWMODE
634  GCTILE
635  GCTILESTIPXORIGIN
636  GCTILESTIPYORIGIN
637  GRABFROZEN
638  GRABINVALIDTIME
639  GRABMODEASYNC
640  GRABMODESYNC
641  GRABNOTVIEWABLE
642  GRABSUCCESS
643  GRAPHICSEXPOSE
644  GRAVITYNOTIFY
645  GRAYSCALE
646  GXAND
647  GXANDINVERTED
648  GXANDREVERSE
649  GXCLEAR
650  GXCOPY
651  GXCOPYINVERTED
652  GXEQUIV
653  GXINVERT
654  GXNAND
655  GXNOOP
656  GXNOR
657  GXOR
658  GXORINVERTED
659  GXORREVERSE
660  GXSET
661  GXXOR
662  HEIGHTVALUE
663  HOSTDELETE
664  HOSTINSERT
665  ICONICSTATE
666  ICONMASKHINT
667  ICONPIXMAPHINT
668  ICONPOSITIONHINT
669  ICONWINDOWHINT
670  INACTIVESTATE
671  INCLUDEINFERIORS
672  INPUTFOCUS
673  INPUTHINT
674  INPUTONLY
675  INPUTOUTPUT
676  ISUNMAPPED
677  ISUNVIEWABLE
678  ISVIEWABLE
679  JOINBEVEL
680  JOINMITER
681  JOINROUND
682  KBAUTOREPEATMODE
683  KBBELLDURATION
684  KBBELLPERCENT
685  KBBELLPITCH
686  KBKEY
687  KBKEYCLICKPERCENT
688  KBLED
689  KBLEDMODE
690  KEYMAPNOTIFY
691  KEYMAPSTATEMASK
692  KEYPRESS
693  KEYPRESSMASK
694  KEYRELEASE
695  KEYRELEASEMASK
696  LASTEVENT
697  LASTEXTENSIONERROR
698  LEAVENOTIFY
699  LEAVEWINDOWMASK
700  LEDMODEOFF
701  LEDMODEON
702  LINEDOUBLEDASH
703  LINEONOFFDASH
704  LINESOLID
705  LOCKMAPINDEX
706  LOCKMASK
707  LOWERHIGHEST
708  LSBFIRST
709  MAPNOTIFY
710  MAPPINGBUSY
711  MAPPINGFAILED
712  MAPPINGKEYBOARD
713  MAPPINGMODIFIER
714  MAPPINGNOTIFY
715  MAPPINGPOINTER
716  MAPPINGSUCCESS
717  MAPREQUEST
718  MOD1MAPINDEX
719  MOD1MASK
720  MOD2MAPINDEX
721  MOD2MASK
722  MOD3MAPINDEX
723  MOD3MASK
724  MOD4MAPINDEX
725  MOD4MASK
726  MOD5MAPINDEX
727  MOD5MASK
728  MOTIONNOTIFY
729  MSBFIRST
730  NOEVENTMASK
731  NOEXPOSE
732  NONCONVEX
733  NONE
734  NORMALSTATE
735  NORTHEASTGRAVITY
736  NORTHGRAVITY
737  NORTHWESTGRAVITY
738  NOSYMBOL
739  NOTIFYANCESTOR
740  NOTIFYDETAILNONE
741  NOTIFYGRAB
742  NOTIFYHINT
743  NOTIFYINFERIOR
744  NOTIFYNONLINEAR
745  NOTIFYNONLINEARVIRTUAL
746  NOTIFYNORMAL
747  NOTIFYPOINTER
748  NOTIFYPOINTERROOT
749  NOTIFYUNGRAB
750  NOTIFYVIRTUAL
751  NOTIFYWHILEGRABBED
752  NOTUSEFUL
753  NOVALUE
754  NULL
755  NULLQUARK
756  NULLSTRING
757  OPPOSITE
758  OWNERGRABBUTTONMASK
759  PALLHINTS
760  PARENTRELATIVE
761  PASPECT
762  PLACEONBOTTOM
763  PLACEONTOP
764  PMAXSIZE
765  PMINSIZE
766  POINTERMOTIONHINTMASK
767  POINTERMOTIONMASK
768  POINTERROOT
769  POINTERWINDOW
770  PPOSITION
771  PREFERBLANKING
772  PRESIZEINC
773  PROPERTYCHANGEMASK
774  PROPERTYDELETE
775  PROPERTYNEWVALUE
776  PROPERTYNOTIFY
777  PROPMODEAPPEND
778  PROPMODEPREPEND
779  PROPMODEREPLACE
780  PSEUDOCOLOR
781  PSIZE
782  QUEUEDAFTERFLUSH
783  QUEUEDAFTERREADING
784  QUEUEDALREADY
785  RAISELOWEST
786  RECTANGLEIN
787  RECTANGLEOUT
788  RECTANGLEPART
789  REPARENTNOTIFY
790  REPLAYKEYBOARD
791  REPLAYPOINTER
792  RESIZEREDIRECTMASK
793  RESIZEREQUEST
794  RETAINPERMANENT
795  RETAINTEMPORARY
796  REVERTTONONE
797  REVERTTOPARENT
798  REVERTTOPOINTERROOT
799  SCREENSAVERACTIVE
800  SCREENSAVERRESET
801  SELECTIONCLEAR
802  SELECTIONNOTIFY
803  SELECTIONREQUEST
804  SETMODEDELETE
805  SETMODEINSERT
806  SHIFTMAPINDEX
807  SHIFTMASK
808  SOUTHEASTGRAVITY
809  SOUTHGRAVITY
810  SOUTHWESTGRAVITY
811  STATEHINT
812  STATICCOLOR
813  STATICGRAVITY
814  STATICGRAY
815  STIPPLESHAPE
816  STRUCTURENOTIFYMASK
817  SUBSTRUCTURENOTIFYMASK
818  SUBSTRUCTUREREDIRECTMASK
819  SUCCESS
820  SYNCBOTH
821  SYNCKEYBOARD
822  SYNCPOINTER
823  TILESHAPE
824  TOPIF
825  TRUECOLOR
826  UNMAPGRAVITY
827  UNMAPNOTIFY
828  UNSORTED
829  USPOSITION
830  USSIZE
831  VISIBILITYCHANGEMASK
832  VISIBILITYFULLYOBSCURED
833  VISIBILITYNOTIFY
834  VISIBILITYPARTIALLYOBSCURED
835  VISIBILITYUNOBSCURED
836  VISUALALLMASK
837  VISUALBITSPERRGBMASK
838  VISUALBLUEMASKMASK
839  VISUALCLASSMASK
840  VISUALCOLORMAPSIZEMASK
841  VISUALDEPTHMASK
842  VISUALGREENMASKMASK
843  VISUALIDMASK
844  VISUALNOMASK
845  VISUALREDMASKMASK
846  VISUALSCREENMASK
847  WESTGRAVITY
848  WHENMAPPED
849  WIDTHVALUE
850  WINDINGRULE
851  WINDOWGROUPHINT
852  XCNOENT
853  XCNOMEM
854  XCSUCCESS
855  XNEGATIVE
856  XRMBINDLOOSELY
857  XRMBINDTIGHTLY
858  XRMOPTIONISARG
859  XRMOPTIONNOARG
860  XRMOPTIONRESARG
861  XRMOPTIONSEPARG
862  XRMOPTIONSKIPARG
863  XRMOPTIONSKIPLINE
864  XRMOPTIONSTICKYARG
865  XVALUE
866  XYBITMAP
867  XYPIXMAP
868  X_PROTOCOL
869  X_PROTOCOL_REVISION
870  YNEGATIVE
871  YSORTED
872  YVALUE
873  YXBANDED
874  YXSORTED
875  ZOOMSTATE
876  ZPIXMAP
877
878==== Atom names
879
880  XA_ARC
881  XA_ATOM
882  XA_BITMAP
883  XA_CAP_HEIGHT
884  XA_CARDINAL
885  XA_COLORMAP
886  XA_COPYRIGHT
887  XA_CURSOR
888  XA_CUT_BUFFER0
889  XA_CUT_BUFFER1
890  XA_CUT_BUFFER2
891  XA_CUT_BUFFER3
892  XA_CUT_BUFFER4
893  XA_CUT_BUFFER5
894  XA_CUT_BUFFER6
895  XA_CUT_BUFFER7
896  XA_DRAWABLE
897  XA_END_SPACE
898  XA_FAMILY_NAME
899  XA_FONT
900  XA_FONT_NAME
901  XA_FULL_NAME
902  XA_INTEGER
903  XA_ITALIC_ANGLE
904  XA_LAST_PREDEFINED
905  XA_MAX_SPACE
906  XA_MIN_SPACE
907  XA_NORM_SPACE
908  XA_NOTICE
909  XA_PIXMAP
910  XA_POINT
911  XA_POINT_SIZE
912  XA_PRIMARY
913  XA_QUAD_WIDTH
914  XA_RECTANGLE
915  XA_RESOLUTION
916  XA_RESOURCE_MANAGER
917  XA_RGB_BEST_MAP
918  XA_RGB_BLUE_MAP
919  XA_RGB_COLOR_MAP
920  XA_RGB_DEFAULT_MAP
921  XA_RGB_GRAY_MAP
922  XA_RGB_GREEN_MAP
923  XA_RGB_RED_MAP
924  XA_SECONDARY
925  XA_STRIKEOUT_ASCENT
926  XA_STRIKEOUT_DESCENT
927  XA_STRING
928  XA_SUBSCRIPT_X
929  XA_SUBSCRIPT_Y
930  XA_SUPERSCRIPT_X
931  XA_SUPERSCRIPT_Y
932  XA_UNDERLINE_POSITION
933  XA_UNDERLINE_THICKNESS
934  XA_VISUALID
935  XA_WEIGHT
936  XA_WINDOW
937  XA_WM_CLASS
938  XA_WM_CLIENT_MACHINE
939  XA_WM_COMMAND
940  XA_WM_HINTS
941  XA_WM_ICON_NAME
942  XA_WM_ICON_SIZE
943  XA_WM_NAME
944  XA_WM_NORMAL_HINTS
945  XA_WM_SIZE_HINTS
946  XA_WM_TRANSIENT_FOR
947  XA_WM_ZOOM_HINTS
948  XA_X_HEIGHT
949  XK_BACKSPACE
950
951==== Keycodes
952
953(LC means "lowercase"):
954
955  XK_0
956  XK_1
957  XK_2
958  XK_3
959  XK_4
960  XK_5
961  XK_6
962  XK_7
963  XK_8
964  XK_9
965  XK_A
966  XK_AACUTE
967  XK_ACIRCUMFLEX
968  XK_ACUTE
969  XK_ADIAERESIS
970  XK_AE
971  XK_AGRAVE
972  XK_ALT_L
973  XK_ALT_R
974  XK_AMPERSAND
975  XK_ARING
976  XK_ASCIICIRCUM
977  XK_ASCIITILDE
978  XK_ASTERISK
979  XK_AT
980  XK_ATILDE
981  XK_B
982  XK_BACKSLASH
983  XK_BAR
984  XK_BEGIN
985  XK_BRACELEFT
986  XK_BRACERIGHT
987  XK_BRACKETLEFT
988  XK_BRACKETRIGHT
989  XK_BREAK
990  XK_BROKENBAR
991  XK_C
992  XK_CANCEL
993  XK_CAPS_LOCK
994  XK_CCEDILLA
995  XK_CEDILLA
996  XK_CENT
997  XK_CLEAR
998  XK_COLON
999  XK_COMMA
1000  XK_CONTROL_L
1001  XK_CONTROL_R
1002  XK_COPYRIGHT
1003  XK_CURRENCY
1004  XK_D
1005  XK_DEGREE
1006  XK_DELETE
1007  XK_DIAERESIS
1008  XK_DIVISION
1009  XK_DOLLAR
1010  XK_DOWN
1011  XK_E
1012  XK_EACUTE
1013  XK_ECIRCUMFLEX
1014  XK_EDIAERESIS
1015  XK_EGRAVE
1016  XK_END
1017  XK_EQUAL
1018  XK_ESCAPE
1019  XK_ETH
1020  XK_EXCLAM
1021  XK_EXCLAMDOWN
1022  XK_EXECUTE
1023  XK_F
1024  XK_F1
1025  XK_F10
1026  XK_F11
1027  XK_F12
1028  XK_F13
1029  XK_F14
1030  XK_F15
1031  XK_F16
1032  XK_F17
1033  XK_F18
1034  XK_F19
1035  XK_F2
1036  XK_F20
1037  XK_F21
1038  XK_F22
1039  XK_F23
1040  XK_F24
1041  XK_F25
1042  XK_F26
1043  XK_F27
1044  XK_F28
1045  XK_F29
1046  XK_F3
1047  XK_F30
1048  XK_F31
1049  XK_F32
1050  XK_F33
1051  XK_F34
1052  XK_F35
1053  XK_F4
1054  XK_F5
1055  XK_F6
1056  XK_F7
1057  XK_F8
1058  XK_F9
1059  XK_FIND
1060  XK_G
1061  XK_GREATER
1062  XK_GUILLEMOTLEFT
1063  XK_GUILLEMOTRIGHT
1064  XK_H
1065  XK_HELP
1066  XK_HOME
1067  XK_HYPER_L
1068  XK_HYPER_R
1069  XK_HYPHEN
1070  XK_I
1071  XK_IACUTE
1072  XK_ICIRCUMFLEX
1073  XK_IDIAERESIS
1074  XK_IGRAVE
1075  XK_INSERT
1076  XK_J
1077  XK_K
1078  XK_KANJI
1079  XK_KP_0
1080  XK_KP_1
1081  XK_KP_2
1082  XK_KP_3
1083  XK_KP_4
1084  XK_KP_5
1085  XK_KP_6
1086  XK_KP_7
1087  XK_KP_8
1088  XK_KP_9
1089  XK_KP_ADD
1090  XK_KP_DECIMAL
1091  XK_KP_DIVIDE
1092  XK_KP_ENTER
1093  XK_KP_EQUAL
1094  XK_KP_F1
1095  XK_KP_F2
1096  XK_KP_F3
1097  XK_KP_F4
1098  XK_KP_MULTIPLY
1099  XK_KP_SEPARATOR
1100  XK_KP_SPACE
1101  XK_KP_SUBTRACT
1102  XK_KP_TAB
1103  XK_L
1104  XK_L1
1105  XK_L10
1106  XK_L2
1107  XK_L3
1108  XK_L4
1109  XK_L5
1110  XK_L6
1111  XK_L7
1112  XK_L8
1113  XK_L9
1114  XK_LCA
1115  XK_LCAACUTE
1116  XK_LCACIRCUMFLEX
1117  XK_LCADIAERESIS
1118  XK_LCAE
1119  XK_LCAGRAVE
1120  XK_LCARING
1121  XK_LCATILDE
1122  XK_LCB
1123  XK_LCC
1124  XK_LCCCEDILLA
1125  XK_LCD
1126  XK_LCE
1127  XK_LCEACUTE
1128  XK_LCECIRCUMFLEX
1129  XK_LCEDIAERESIS
1130  XK_LCEGRAVE
1131  XK_LCETH
1132  XK_LCF
1133  XK_LCG
1134  XK_LCH
1135  XK_LCI
1136  XK_LCIACUTE
1137  XK_LCICIRCUMFLEX
1138  XK_LCIDIAERESIS
1139  XK_LCIGRAVE
1140  XK_LCJ
1141  XK_LCK
1142  XK_LCL
1143  XK_LCM
1144  XK_LCN
1145  XK_LCNTILDE
1146  XK_LCO
1147  XK_LCOACUTE
1148  XK_LCOCIRCUMFLEX
1149  XK_LCODIAERESIS
1150  XK_LCOGRAVE
1151  XK_LCOTILDE
1152  XK_LCP
1153  XK_LCQ
1154  XK_LCR
1155  XK_LCS
1156  XK_LCT
1157  XK_LCTHORN
1158  XK_LCU
1159  XK_LCUACUTE
1160  XK_LCUCIRCUMFLEX
1161  XK_LCUDIAERESIS
1162  XK_LCUGRAVE
1163  XK_LCV
1164  XK_LCW
1165  XK_LCX
1166  XK_LCY
1167  XK_LCYACUTE
1168  XK_LCZ
1169  XK_LEFT
1170  XK_LESS
1171  XK_LINEFEED
1172  XK_M
1173  XK_MACRON
1174  XK_MASCULINE
1175  XK_MENU
1176  XK_META_L
1177  XK_META_R
1178  XK_MINUS
1179  XK_MODE_SWITCH
1180  XK_MU
1181  XK_MULTIPLY
1182  XK_MULTI_KEY
1183  XK_N
1184  XK_NEXT
1185  XK_NOBREAKSPACE
1186  XK_NOTSIGN
1187  XK_NTILDE
1188  XK_NUMBERSIGN
1189  XK_NUM_LOCK
1190  XK_O
1191  XK_OACUTE
1192  XK_OCIRCUMFLEX
1193  XK_ODIAERESIS
1194  XK_OGRAVE
1195  XK_ONEHALF
1196  XK_ONEQUARTER
1197  XK_ONESUPERIOR
1198  XK_OOBLIQUE
1199  XK_ORDFEMININE
1200  XK_OSLASH
1201  XK_OTILDE
1202  XK_P
1203  XK_PARAGRAPH
1204  XK_PARENLEFT
1205  XK_PARENRIGHT
1206  XK_PAUSE
1207  XK_PERCENT
1208  XK_PERIOD
1209  XK_PERIODCENTERED
1210  XK_PLUS
1211  XK_PLUSMINUS
1212  XK_PRINT
1213  XK_PRIOR
1214  XK_Q
1215  XK_QUESTION
1216  XK_QUESTIONDOWN
1217  XK_QUOTEDBL
1218  XK_QUOTELEFT
1219  XK_QUOTERIGHT
1220  XK_R
1221  XK_R1
1222  XK_R10
1223  XK_R11
1224  XK_R12
1225  XK_R13
1226  XK_R14
1227  XK_R15
1228  XK_R2
1229  XK_R3
1230  XK_R4
1231  XK_R5
1232  XK_R6
1233  XK_R7
1234  XK_R8
1235  XK_R9
1236  XK_REDO
1237  XK_REGISTERED
1238  XK_RETURN
1239  XK_RIGHT
1240  XK_S
1241  XK_SCRIPT_SWITCH
1242  XK_SECTION
1243  XK_SELECT
1244  XK_SEMICOLON
1245  XK_SHIFT_L
1246  XK_SHIFT_LOCK
1247  XK_SHIFT_R
1248  XK_SLASH
1249  XK_SPACE
1250  XK_SSHARP
1251  XK_STERLING
1252  XK_SUPER_L
1253  XK_SUPER_R
1254  XK_T
1255  XK_TAB
1256  XK_THORN
1257  XK_THREEQUARTERS
1258  XK_THREESUPERIOR
1259  XK_TWOSUPERIOR
1260  XK_U
1261  XK_UACUTE
1262  XK_UCIRCUMFLEX
1263  XK_UDIAERESIS
1264  XK_UGRAVE
1265  XK_UNDERSCORE
1266  XK_UNDO
1267  XK_UP
1268  XK_V
1269  XK_W
1270  XK_X
1271  XK_Y
1272  XK_YACUTE
1273  XK_YDIAERESIS
1274  XK_YEN
1275  XK_Z
1276  DXK_ACUTE_ACCENT
1277  DXK_CEDILLA_ACCENT
1278  DXK_CIRCUMFLEX_ACCENT
1279  DXK_DIAERESIS
1280  DXK_GRAVE_ACCENT
1281  DXK_REMOVE
1282  DXK_RING_ACCENT
1283  DXK_TILDE
1284
1285==== Cursor fonts
1286
1287  XC_ARROW
1288  XC_BASED_ARROW_DOWN
1289  XC_BASED_ARROW_UP
1290  XC_BOAT
1291  XC_BOGOSITY
1292  XC_BOTTOM_LEFT_CORNER
1293  XC_BOTTOM_RIGHT_CORNER
1294  XC_BOTTOM_SIDE
1295  XC_BOTTOM_TEE
1296  XC_BOX_SPIRAL
1297  XC_CENTER_PTR
1298  XC_CIRCLE
1299  XC_CLOCK
1300  XC_COFFEE_MUG
1301  XC_CROSS
1302  XC_CROSSHAIR
1303  XC_CROSS_REVERSE
1304  XC_DIAMOND_CROSS
1305  XC_DOT
1306  XC_DOTBOX
1307  XC_DOUBLE_ARROW
1308  XC_DRAFT_LARGE
1309  XC_DRAFT_SMALL
1310  XC_DRAPED_BOX
1311  XC_EXCHANGE
1312  XC_FLEUR
1313  XC_GOBBLER
1314  XC_GUMBY
1315  XC_HAND1
1316  XC_HAND2
1317  XC_HEART
1318  XC_ICON
1319  XC_IRON_CROSS
1320  XC_LEFTBUTTON
1321  XC_LEFT_PTR
1322  XC_LEFT_SIDE
1323  XC_LEFT_TEE
1324  XC_LL_ANGLE
1325  XC_LR_ANGLE
1326  XC_MAN
1327  XC_MIDDLEBUTTON
1328  XC_MOUSE
1329  XC_NUM_GLYPHS
1330  XC_PENCIL
1331  XC_PIRATE
1332  XC_PLUS
1333  XC_QUESTION_ARROW
1334  XC_RIGHTBUTTON
1335  XC_RIGHT_PTR
1336  XC_RIGHT_SIDE
1337  XC_RIGHT_TEE
1338  XC_RTL_LOGO
1339  XC_SAILBOAT
1340  XC_SB_DOWN_ARROW
1341  XC_SB_H_DOUBLE_ARROW
1342  XC_SB_LEFT_ARROW
1343  XC_SB_RIGHT_ARROW
1344  XC_SB_UP_ARROW
1345  XC_SB_V_DOUBLE_ARROW
1346  XC_SHUTTLE
1347  XC_SIZING
1348  XC_SPIDER
1349  XC_SPRAYCAN
1350  XC_STAR
1351  XC_TARGET
1352  XC_TCROSS
1353  XC_TOP_LEFT_ARROW
1354  XC_TOP_LEFT_CORNER
1355  XC_TOP_RIGHT_CORNER
1356  XC_TOP_SIDE
1357  XC_TOP_TEE
1358  XC_TREK
1359  XC_UL_ANGLE
1360  XC_UMBRELLA
1361  XC_UR_ANGLE
1362  XC_WATCH
1363  XC_XTERM
1364  XC_X_CURSOR
1365
1366==== Structures
1367
1368Structures are allocated by
1369
1370  (make-<NAME>) -> C-POINTER
1371
1372and freed by
1373
1374  (free-<NAME> <C-POINTER>)
1375
1376Elements of a structure can be accessed usign accessors that follow this pattern:
1377
1378  (<NAME>-<ELEMENT-NAME> C-POINTER) -> <TYPE>
1379  (set-<NAME>-<ELEMENT-NAME>! C-POINTER <TYPE>)
1380
1381The following structures are defined:
1382
1383xextdata
1384
1385  number -> INTEGER
1386  next -> C-POINTER
1387  private_data -> C-POINTER
1388
1389xextcodes
1390 
1391  extension -> INTEGER
1392  major_opcode -> INTEGER
1393  first_event -> INTEGER
1394  first_error -> INTEGER
1395 
1396xpixmapformatvalues
1397 
1398  depth -> INTEGER
1399  bits_per_pixel -> INTEGER
1400  scanline_pad -> INTEGER
1401 
1402xgcvalues
1403
1404  function -> INTEGER
1405  plane_mask -> INTEGER
1406  foreground -> INTEGER
1407  background -> INTEGER
1408  line_width -> INTEGER
1409  line_style -> INTEGER
1410  cap_style -> INTEGER
1411  join_style -> INTEGER
1412  fill_style -> INTEGER
1413  fill_rule -> INTEGER
1414  arc_mode -> INTEGER
1415  tile -> UNSIGNED-LONG
1416  stipple -> UNSIGNED-LONG
1417  ts_x_origin -> INTEGER
1418  ts_y_origin -> INTEGER
1419  font -> UNSIGNED-LONG
1420  subwindow_mode -> INTEGER
1421  graphics_exposures -> INTEGER
1422  clip_x_origin -> INTEGER
1423  clip_y_origin -> INTEGER
1424  clip_mask -> UNSIGNED-LONG
1425  dash_offset -> INTEGER
1426  dashes -> CHAR
1427 
1428visual
1429 
1430  ext_data -> C-POINTER
1431  visualid -> UNSIGNED-LONG
1432  class -> INTEGER
1433  red_mask -> UNSIGNED-LONG
1434  green_mask -> UNSIGNED-LONG
1435  blue_mask -> UNSIGNED-LONG
1436  bits_per_rgb -> INTEGER
1437  map_entries -> INTEGER
1438 
1439depth
1440 
1441  depth -> INTEGER
1442  nvisuals -> INTEGER
1443  visuals -> C-POINTER
1444 
1445screen
1446 
1447  ext_data -> C-POINTER
1448  display -> C-POINTER
1449  root -> UNSIGNED-LONG
1450  width -> INTEGER
1451  height -> INTEGER
1452  mwidth -> INTEGER
1453  mheight -> INTEGER
1454  ndepths -> INTEGER
1455  depths -> C-POINTER
1456  root_depth -> INTEGER
1457  root_visual -> C-POINTER
1458  default_gc -> C-POINTER
1459  cmap -> UNSIGNED-LONG
1460  white_pixel -> UNSIGNED-LONG
1461  black_pixel -> UNSIGNED-LONG
1462  max_maps -> INTEGER
1463  min_maps -> INTEGER
1464  backing_store -> INTEGER
1465  save_unders -> INTEGER
1466  root_input_mask -> INTEGER
1467 
1468screenformat
1469 
1470  ext_data -> C-POINTER
1471  depth -> INTEGER
1472  bits_per_pixel -> INTEGER
1473  scanline_pad -> INTEGER
1474 
1475xsetwindowattributes
1476 
1477  xbackground_pixmap -> UNSIGNED-LONG
1478  background_pixel -> UNSIGNED-LONG
1479  border_pixmap -> UNSIGNED-LONG
1480  border_pixel -> UNSIGNED-LONG
1481  bit_gravity -> INTEGER
1482  win_gravity -> INTEGER
1483  backing_store -> INTEGER
1484  backing_planes -> UNSIGNED-LONG
1485  backing_pixel -> UNSIGNED-LONG
1486  save_under -> INTEGER
1487  event_mask -> INTEGER
1488  do_not_propagate_mask -> INTEGER
1489  override_redirect -> INTEGER
1490  colormap -> UNSIGNED-LONG
1491  cursor -> UNSIGNED-LONG
1492 
1493xwindowattributes
1494 
1495  x -> INTEGER
1496  y -> INTEGER
1497  width -> INTEGER
1498  height -> INTEGER
1499  border_width -> INTEGER
1500  depth -> INTEGER
1501  visual -> C-POINTER
1502  root -> UNSIGNED-LONG
1503  class -> INTEGER
1504  bit_gravity -> INTEGER
1505  win_gravity -> INTEGER
1506  backing_store -> INTEGER
1507  backing_planes -> UNSIGNED-LONG
1508  backing_pixel -> UNSIGNED-LONG
1509  save_under -> INTEGER
1510  colormap -> UNSIGNED-LONG
1511  map_installed -> INTEGER
1512  map_state -> INTEGER
1513  all_event_masks -> INTEGER
1514  your_event_mask -> INTEGER
1515  do_not_propagate_mask -> INTEGER
1516  override_redirect -> INTEGER
1517  screen -> C-POINTER
1518 
1519xhostaddress
1520 
1521  family -> INTEGER
1522  length -> INTEGER
1523  address -> C-POINTER
1524 
1525ximage
1526 
1527  width -> INTEGER
1528  height -> INTEGER
1529  xoffset -> INTEGER
1530  format -> INTEGER
1531  data -> C-POINTER
1532  byte_order -> INTEGER
1533  bitmap_unit -> INTEGER
1534  bitmap_bit_order -> INTEGER
1535  bitmap_pad -> INTEGER
1536  depth -> INTEGER
1537  bytes_per_line -> INTEGER
1538  bits_per_pixel -> INTEGER
1539  red_mask -> UNSIGNED-LONG
1540  green_mask -> UNSIGNED-LONG
1541  blue_mask -> UNSIGNED-LONG
1542  obdata -> C-POINTER
1543 
1544xwindowchanges
1545 
1546  x -> INTEGER
1547  y -> INTEGER
1548  width -> INTEGER
1549  height -> INTEGER
1550  border_width -> INTEGER
1551  sibling -> UNSIGNED-LONG
1552  stack_mode -> INTEGER
1553 
1554xcolor
1555 
1556  pixel -> UNSIGNED-LONG
1557  red -> UNSIGNED-SHORT
1558  green -> UNSIGNED-SHORT
1559  blue -> UNSIGNED-SHORT
1560  flags -> CHAR
1561  pad -> CHAR
1562 
1563xsegment
1564 
1565  x1 -> SHORT
1566  y1 -> SHORT
1567  x2 -> SHORT
1568  y2 -> SHORT
1569 
1570xpoint
1571 
1572  x -> SHORT
1573  y -> SHORT
1574  xrectangle
1575  x -> SHORT
1576  y -> SHORT
1577  width -> UNSIGNED-SHORT
1578  height -> UNSIGNED-SHORT
1579 
1580xarc
1581 
1582  x -> SHORT
1583  y -> SHORT
1584  width -> UNSIGNED-SHORT
1585  height -> UNSIGNED-SHORT
1586  angle1 -> SHORT
1587  angle2 -> SHORT
1588 
1589xkeyboardcontrol
1590 
1591  key_click_percent -> INTEGER
1592  bell_percent -> INTEGER
1593  bell_pitch -> INTEGER
1594  bell_duration -> INTEGER
1595  led -> INTEGER
1596  led_mode -> INTEGER
1597  key -> INTEGER
1598  auto_repeat_mode -> INTEGER
1599 
1600xkeyboardstate
1601 
1602  key_click_percent -> INTEGER
1603  bell_percent -> INTEGER
1604  bell_pitch -> UNSIGNED-INTEGER
1605  bell_duration -> UNSIGNED-INTEGER
1606  led_mask -> UNSIGNED-LONG
1607  global_auto_repeat -> INTEGER
1608  auto_repeats -> C-POINTER
1609 
1610xtimecoord
1611 
1612  time -> UNSIGNED-LONG
1613  x -> SHORT
1614  y -> SHORT
1615 
1616xmodifierkeymap
1617 
1618  max_keypermod -> INTEGER
1619  modifiermap -> C-POINTER
1620 
1621xkeyreleasedevent
1622 
1623  type -> INTEGER
1624  serial -> UNSIGNED-LONG
1625  send_event -> INTEGER
1626  display -> C-POINTER
1627  window -> UNSIGNED-LONG
1628  root -> UNSIGNED-LONG
1629  subwindow -> UNSIGNED-LONG
1630  time -> UNSIGNED-LONG
1631  x -> INTEGER
1632  y -> INTEGER
1633  x_root -> INTEGER
1634  y_root -> INTEGER
1635  state -> UNSIGNED-INTEGER
1636  keycode -> UNSIGNED-INTEGER
1637  same_screen -> INTEGER
1638 
1639xkeypressedevent
1640 
1641  type -> INTEGER
1642  serial -> UNSIGNED-LONG
1643  send_event -> INTEGER
1644  display -> C-POINTER
1645  window -> UNSIGNED-LONG
1646  root -> UNSIGNED-LONG
1647  subwindow -> UNSIGNED-LONG
1648  time -> UNSIGNED-LONG
1649  x -> INTEGER
1650  y -> INTEGER
1651  x_root -> INTEGER
1652  y_root -> INTEGER
1653  state -> UNSIGNED-INTEGER
1654  keycode -> UNSIGNED-INTEGER
1655  same_screen -> INTEGER
1656 
1657xkeyevent
1658 
1659  type -> INTEGER
1660  serial -> UNSIGNED-LONG
1661  send_event -> INTEGER
1662  display -> C-POINTER
1663  window -> UNSIGNED-LONG
1664  root -> UNSIGNED-LONG
1665  subwindow -> UNSIGNED-LONG
1666  time -> UNSIGNED-LONG
1667  x -> INTEGER
1668  y -> INTEGER
1669  x_root -> INTEGER
1670  y_root -> INTEGER
1671  state -> UNSIGNED-INTEGER
1672  keycode -> UNSIGNED-INTEGER
1673  same_screen -> INTEGER
1674 
1675xbuttonreleasedevent
1676 
1677  type -> INTEGER
1678  serial -> UNSIGNED-LONG
1679  send_event -> INTEGER
1680  display -> C-POINTER
1681  window -> UNSIGNED-LONG
1682  root -> UNSIGNED-LONG
1683  subwindow -> UNSIGNED-LONG
1684  time -> UNSIGNED-LONG
1685  x -> INTEGER
1686  y -> INTEGER
1687  x_root -> INTEGER
1688  y_root -> INTEGER
1689  state -> UNSIGNED-INTEGER
1690  button -> UNSIGNED-INTEGER
1691  same_screen -> INTEGER
1692 
1693xbuttonpressedevent
1694 
1695  type -> INTEGER
1696  serial -> UNSIGNED-LONG
1697  send_event -> INTEGER
1698  display -> C-POINTER
1699  window -> UNSIGNED-LONG
1700  root -> UNSIGNED-LONG
1701  subwindow -> UNSIGNED-LONG
1702  time -> UNSIGNED-LONG
1703  x -> INTEGER
1704  y -> INTEGER
1705  x_root -> INTEGER
1706  y_root -> INTEGER
1707  state -> UNSIGNED-INTEGER
1708  button -> UNSIGNED-INTEGER
1709  same_screen -> INTEGER
1710 
1711xbuttonevent
1712 
1713  type -> INTEGER
1714  serial -> UNSIGNED-LONG
1715  send_event -> INTEGER
1716  display -> C-POINTER
1717  window -> UNSIGNED-LONG
1718  root -> UNSIGNED-LONG
1719  subwindow -> UNSIGNED-LONG
1720  time -> UNSIGNED-LONG
1721  x -> INTEGER
1722  y -> INTEGER
1723  x_root -> INTEGER
1724  y_root -> INTEGER
1725  state -> UNSIGNED-INTEGER
1726  button -> UNSIGNED-INTEGER
1727  same_screen -> INTEGER
1728 
1729xpointermovedevent
1730 
1731  type -> INTEGER
1732  serial -> UNSIGNED-LONG
1733  send_event -> INTEGER
1734  display -> C-POINTER
1735  window -> UNSIGNED-LONG
1736  root -> UNSIGNED-LONG
1737  subwindow -> UNSIGNED-LONG
1738  time -> UNSIGNED-LONG
1739  x -> INTEGER
1740  y -> INTEGER
1741  x_root -> INTEGER
1742  y_root -> INTEGER
1743  state -> UNSIGNED-INTEGER
1744  is_hint -> CHAR
1745  same_screen -> INTEGER
1746 
1747xmotionevent
1748 
1749  type -> INTEGER
1750  serial -> UNSIGNED-LONG
1751  send_event -> INTEGER
1752  display -> C-POINTER
1753  window -> UNSIGNED-LONG
1754  root -> UNSIGNED-LONG
1755  subwindow -> UNSIGNED-LONG
1756  time -> UNSIGNED-LONG
1757  x -> INTEGER
1758  y -> INTEGER
1759  x_root -> INTEGER
1760  y_root -> INTEGER
1761  state -> UNSIGNED-INTEGER
1762  is_hint -> CHAR
1763  same_screen -> INTEGER
1764 
1765xleavewindowevent
1766 
1767  type -> INTEGER
1768  serial -> UNSIGNED-LONG
1769  send_event -> INTEGER
1770  display -> C-POINTER
1771  window -> UNSIGNED-LONG
1772  root -> UNSIGNED-LONG
1773  subwindow -> UNSIGNED-LONG
1774  time -> UNSIGNED-LONG
1775  x -> INTEGER
1776  y -> INTEGER
1777  x_root -> INTEGER
1778  y_root -> INTEGER
1779  mode -> INTEGER
1780  detail -> INTEGER
1781  same_screen -> INTEGER
1782  focus -> INTEGER
1783  state -> UNSIGNED-INTEGER
1784 
1785xenterwindowevent
1786 
1787  type -> INTEGER
1788  serial -> UNSIGNED-LONG
1789  send_event -> INTEGER
1790  display -> C-POINTER
1791  window -> UNSIGNED-LONG
1792  root -> UNSIGNED-LONG
1793  subwindow -> UNSIGNED-LONG
1794  time -> UNSIGNED-LONG
1795  x -> INTEGER
1796  y -> INTEGER
1797  x_root -> INTEGER
1798  y_root -> INTEGER
1799  mode -> INTEGER
1800  detail -> INTEGER
1801  same_screen -> INTEGER
1802  focus -> INTEGER
1803  state -> UNSIGNED-INTEGER
1804 
1805xcrossingevent
1806 
1807  type -> INTEGER
1808  serial -> UNSIGNED-LONG
1809  send_event -> INTEGER
1810  display -> C-POINTER
1811  window -> UNSIGNED-LONG
1812  root -> UNSIGNED-LONG
1813  subwindow -> UNSIGNED-LONG
1814  time -> UNSIGNED-LONG
1815  x -> INTEGER
1816  y -> INTEGER
1817  x_root -> INTEGER
1818  y_root -> INTEGER
1819  mode -> INTEGER
1820  detail -> INTEGER
1821  same_screen -> INTEGER
1822  focus -> INTEGER
1823  state -> UNSIGNED-INTEGER
1824 
1825xfocusoutevent
1826 
1827  type -> INTEGER
1828  serial -> UNSIGNED-LONG
1829  send_event -> INTEGER
1830  display -> C-POINTER
1831  window -> UNSIGNED-LONG
1832  mode -> INTEGER
1833  detail -> INTEGER
1834 
1835xfocusinevent
1836 
1837  type -> INTEGER
1838  serial -> UNSIGNED-LONG
1839  send_event -> INTEGER
1840  display -> C-POINTER
1841  window -> UNSIGNED-LONG
1842  mode -> INTEGER
1843  detail -> INTEGER
1844 
1845xfocuschangeevent
1846 
1847  type -> INTEGER
1848  serial -> UNSIGNED-LONG
1849  send_event -> INTEGER
1850  display -> C-POINTER
1851  window -> UNSIGNED-LONG
1852  mode -> INTEGER
1853  detail -> INTEGER
1854 
1855xkeymapevent
1856 
1857  type -> INTEGER
1858  serial -> UNSIGNED-LONG
1859  send_event -> INTEGER
1860  display -> C-POINTER
1861  window -> UNSIGNED-LONG
1862  key_vector -> C-POINTER
1863 
1864xexposeevent
1865 
1866  type -> INTEGER
1867  serial -> UNSIGNED-LONG
1868  send_event -> INTEGER
1869  display -> C-POINTER
1870  window -> UNSIGNED-LONG
1871  x -> INTEGER
1872  y -> INTEGER
1873  width -> INTEGER
1874  height -> INTEGER
1875  count -> INTEGER
1876 
1877xgraphicsexposeevent
1878 
1879  type -> INTEGER
1880  serial -> UNSIGNED-LONG
1881  send_event -> INTEGER
1882  display -> C-POINTER
1883  drawable -> UNSIGNED-LONG
1884  x -> INTEGER
1885  y -> INTEGER
1886  width -> INTEGER
1887  height -> INTEGER
1888  count -> INTEGER
1889  major_code -> INTEGER
1890  minor_code -> INTEGER
1891 
1892xnoexposeevent
1893 
1894  type -> INTEGER
1895  serial -> UNSIGNED-LONG
1896  send_event -> INTEGER
1897  display -> C-POINTER
1898  drawable -> UNSIGNED-LONG
1899  major_code -> INTEGER
1900  minor_code -> INTEGER
1901 
1902xvisibilityevent
1903 
1904  type -> INTEGER
1905  serial -> UNSIGNED-LONG
1906  send_event -> INTEGER
1907  display -> C-POINTER
1908  window -> UNSIGNED-LONG
1909  state -> INTEGER
1910 
1911xcreatewindowevent
1912 
1913  type -> INTEGER
1914  serial -> UNSIGNED-LONG
1915  send_event -> INTEGER
1916  display -> C-POINTER
1917  parent -> UNSIGNED-LONG
1918  window -> UNSIGNED-LONG
1919  x -> INTEGER
1920  y -> INTEGER
1921  width -> INTEGER
1922  height -> INTEGER
1923  border_width -> INTEGER
1924  override_redirect -> INTEGER
1925 
1926xdestroywindowevent
1927 
1928  type -> INTEGER
1929  serial -> UNSIGNED-LONG
1930  send_event -> INTEGER
1931  display -> C-POINTER
1932  event -> UNSIGNED-LONG
1933  window -> UNSIGNED-LONG
1934 
1935xunmapevent
1936 
1937  type -> INTEGER
1938  serial -> UNSIGNED-LONG
1939  send_event -> INTEGER
1940  display -> C-POINTER
1941  event -> UNSIGNED-LONG
1942  window -> UNSIGNED-LONG
1943  from_configure -> INTEGER
1944 
1945xmapevent
1946 
1947  type -> INTEGER
1948  serial -> UNSIGNED-LONG
1949  send_event -> INTEGER
1950  display -> C-POINTER
1951  event -> UNSIGNED-LONG
1952  window -> UNSIGNED-LONG
1953  override_redirect -> INTEGER
1954 
1955xmaprequestevent
1956 
1957  type -> INTEGER
1958  serial -> UNSIGNED-LONG
1959  send_event -> INTEGER
1960  display -> C-POINTER
1961  parent -> UNSIGNED-LONG
1962  window -> UNSIGNED-LONG
1963 
1964xreparentevent
1965 
1966  type -> INTEGER
1967  serial -> UNSIGNED-LONG
1968  send_event -> INTEGER
1969  display -> C-POINTER
1970  event -> UNSIGNED-LONG
1971  window -> UNSIGNED-LONG
1972  parent -> UNSIGNED-LONG
1973  x -> INTEGER
1974  y -> INTEGER
1975  override_redirect -> INTEGER
1976 
1977xconfigureevent
1978 
1979  type -> INTEGER
1980  serial -> UNSIGNED-LONG
1981  send_event -> INTEGER
1982  display -> C-POINTER
1983  event -> UNSIGNED-LONG
1984  window -> UNSIGNED-LONG
1985  x -> INTEGER
1986  y -> INTEGER
1987  width -> INTEGER
1988  height -> INTEGER
1989  border_width -> INTEGER
1990  above -> UNSIGNED-LONG
1991  override_redirect -> INTEGER
1992 
1993xgravityevent
1994 
1995  type -> INTEGER
1996  serial -> UNSIGNED-LONG
1997  send_event -> INTEGER
1998  display -> C-POINTER
1999  event -> UNSIGNED-LONG
2000  window -> UNSIGNED-LONG
2001  x -> INTEGER
2002  y -> INTEGER
2003 
2004xresizerequestevent
2005 
2006  type -> INTEGER
2007  serial -> UNSIGNED-LONG
2008  send_event -> INTEGER
2009  display -> C-POINTER
2010  window -> UNSIGNED-LONG
2011  width -> INTEGER
2012  height -> INTEGER
2013 
2014xconfigurerequestevent
2015 
2016  type -> INTEGER
2017  serial -> UNSIGNED-LONG
2018  send_event -> INTEGER
2019  display -> C-POINTER
2020  parent -> UNSIGNED-LONG
2021  window -> UNSIGNED-LONG
2022  x -> INTEGER
2023  y -> INTEGER
2024  width -> INTEGER
2025  height -> INTEGER
2026  border_width -> INTEGER
2027  above -> UNSIGNED-LONG
2028  detail -> INTEGER
2029  value_mask -> UNSIGNED-LONG
2030 
2031xcirculateevent
2032 
2033  type -> INTEGER
2034  serial -> UNSIGNED-LONG
2035  send_event -> INTEGER
2036  display -> C-POINTER
2037  event -> UNSIGNED-LONG
2038  window -> UNSIGNED-LONG
2039  place -> INTEGER
2040 
2041xcirculaterequestevent
2042 
2043  type -> INTEGER
2044  serial -> UNSIGNED-LONG
2045  send_event -> INTEGER
2046  display -> C-POINTER
2047  parent -> UNSIGNED-LONG
2048  window -> UNSIGNED-LONG
2049  place -> INTEGER
2050 
2051xpropertyevent
2052 
2053  type -> INTEGER
2054  serial -> UNSIGNED-LONG
2055  send_event -> INTEGER
2056  display -> C-POINTER
2057  window -> UNSIGNED-LONG
2058  atom -> UNSIGNED-LONG
2059  time -> UNSIGNED-LONG
2060  state -> INTEGER
2061 
2062xselectionclearevent
2063 
2064  type -> INTEGER
2065  serial -> UNSIGNED-LONG
2066  send_event -> INTEGER
2067  display -> C-POINTER
2068  window -> UNSIGNED-LONG
2069  selection -> UNSIGNED-LONG
2070  time -> UNSIGNED-LONG
2071 
2072xselectionrequestevent
2073 
2074  type -> INTEGER
2075  serial -> UNSIGNED-LONG
2076  send_event -> INTEGER
2077  display -> C-POINTER
2078  owner -> UNSIGNED-LONG
2079  requestor -> UNSIGNED-LONG
2080  selection -> UNSIGNED-LONG
2081  target -> UNSIGNED-LONG
2082  property -> UNSIGNED-LONG
2083  time -> UNSIGNED-LONG
2084 
2085xselectionevent
2086 
2087  type -> INTEGER
2088  serial -> UNSIGNED-LONG
2089  send_event -> INTEGER
2090  display -> C-POINTER
2091  requestor -> UNSIGNED-LONG
2092  selection -> UNSIGNED-LONG
2093  target -> UNSIGNED-LONG
2094  property -> UNSIGNED-LONG
2095  time -> UNSIGNED-LONG
2096 
2097xcolormapevent
2098 
2099  type -> INTEGER
2100  serial -> UNSIGNED-LONG
2101  send_event -> INTEGER
2102  display -> C-POINTER
2103  window -> UNSIGNED-LONG
2104  colormap -> UNSIGNED-LONG
2105  new -> INTEGER
2106  state -> INTEGER
2107 
2108xclientmessageevent
2109 
2110  type -> INTEGER
2111  serial -> UNSIGNED-LONG
2112  send_event -> INTEGER
2113  display -> C-POINTER
2114  window -> UNSIGNED-LONG
2115  message_type -> UNSIGNED-LONG
2116  format -> INTEGER
2117  b -> C-POINTER
2118  s -> C-POINTER
2119  l -> C-POINTER
2120 
2121xmappingevent
2122 
2123  type -> INTEGER
2124  serial -> UNSIGNED-LONG
2125  send_event -> INTEGER
2126  display -> C-POINTER
2127  window -> UNSIGNED-LONG
2128  request -> INTEGER
2129  first_keycode -> INTEGER
2130  count -> INTEGER
2131 
2132xerrorevent
2133 
2134  type -> INTEGER
2135  display -> C-POINTER
2136  resourceid -> UNSIGNED-LONG
2137  serial -> UNSIGNED-LONG
2138  error_code -> UNSIGNED-CHAR
2139  request_code -> UNSIGNED-CHAR
2140  minor_code -> UNSIGNED-CHAR
2141 
2142xanyevent
2143 
2144  type -> INTEGER
2145  serial -> UNSIGNED-LONG
2146  send_event -> INTEGER
2147  display -> C-POINTER
2148  window -> UNSIGNED-LONG
2149 
2150xcharstruct
2151 
2152  lbearing -> SHORT
2153  rbearing -> SHORT
2154  width -> SHORT
2155  ascent -> SHORT
2156  descent -> SHORT
2157  attributes -> UNSIGNED-SHORT
2158 
2159xfontprop
2160 
2161  name -> UNSIGNED-LONG
2162  card32 -> UNSIGNED-LONG
2163 
2164xfontstruct
2165 
2166  ext_data -> C-POINTER
2167  fid -> UNSIGNED-LONG
2168  direction -> UNSIGNED-INTEGER
2169  min_char_or_byte2 -> UNSIGNED-INTEGER
2170  max_char_or_byte2 -> UNSIGNED-INTEGER
2171  min_byte1 -> UNSIGNED-INTEGER
2172  max_byte1 -> UNSIGNED-INTEGER
2173  all_chars_exist -> INTEGER
2174  default_char -> UNSIGNED-INTEGER
2175  n_properties -> INTEGER
2176  properties -> C-POINTER
2177  min_bounds-lbearing -> SHORT
2178  min_bounds-rbearing -> SHORT
2179  min_bounds-width -> SHORT
2180  min_bounds-ascent -> SHORT
2181  min_bounds-descent -> SHORT
2182  min_bounds-attributes -> UNSIGNED-SHORT
2183  max_bounds-lbearing -> SHORT
2184  max_bounds-rbearing -> SHORT
2185  max_bounds-width -> SHORT
2186  max_bounds-ascent -> SHORT
2187  max_bounds-descent -> SHORT
2188  max_bounds-attributes -> UNSIGNED-SHORT
2189  per_char -> C-POINTER
2190  ascent -> INTEGER
2191  descent -> INTEGER
2192 
2193xtextitem
2194 
2195  chars -> C-POINTER
2196  nchars -> INTEGER
2197  delta -> INTEGER
2198  font -> UNSIGNED-LONG
2199 
2200xchar2b
2201 
2202  byte1 -> UNSIGNED-CHAR
2203  byte2 -> UNSIGNED-CHAR
2204 
2205xtextitem16
2206 
2207  chars -> C-POINTER
2208  nchars -> INTEGER
2209  delta -> INTEGER
2210  font -> UNSIGNED-LONG
2211 
2212xfontsetextents
2213 
2214  max_ink_extent-x -> SHORT
2215  max_ink_extent-y -> SHORT
2216  max_ink_extent-width -> UNSIGNED-SHORT
2217  max_ink_extent-height -> UNSIGNED-SHORT
2218  max_logical_extent_x -> SHORT
2219  max_logical_extent_y -> SHORT
2220  max_logical_extent_width -> UNSIGNED-SHORT
2221  max_logical_extent_height -> UNSIGNED-SHORT
2222 
2223xmbtextitem
2224 
2225  chars -> C-POINTER
2226  nchars -> INTEGER
2227  delta -> INTEGER
2228  font_set -> C-POINTER
2229 
2230xwctextitem
2231 
2232  chars -> C-POINTER
2233  nchars -> INTEGER
2234  delta -> INTEGER
2235  font_set -> C-POINTER
2236 
2237ximstyles
2238 
2239  count_styles -> UNSIGNED-SHORT
2240  supported_styles -> C-POINTER
2241 
2242ximcallback
2243 
2244  client_data -> C-POINTER
2245 
2246ximtext
2247 
2248  length -> UNSIGNED-SHORT
2249  feedback -> C-POINTER
2250  encoding_is_wchar -> INTEGER
2251  multi_byte -> C-POINTER
2252  wide_char -> C-POINTER
2253 
2254ximpreeditdrawcallbackstruct
2255 
2256  caret -> INTEGER
2257  chg_first -> INTEGER
2258  chg_length -> INTEGER
2259  text -> C-POINTER
2260 
2261ximpreeditcaretcallbackstruct
2262 
2263  position -> INTEGER
2264  direction -> INTEGER
2265  style -> INTEGER
2266 
2267ximstatusdrawcallbackstruct
2268 
2269  type -> INTEGER
2270  text -> C-POINTER
2271  bitmap -> UNSIGNED-LONG
2272 
2273xsizehints
2274 
2275  flags -> INTEGER
2276  x -> INTEGER
2277  y -> INTEGER
2278  width -> INTEGER
2279  height -> INTEGER
2280  min_width -> INTEGER
2281  min_height -> INTEGER
2282  max_width -> INTEGER
2283  max_height -> INTEGER
2284  width_inc -> INTEGER
2285  height_inc -> INTEGER
2286  min_aspect-x -> INTEGER
2287  min_aspect-y -> INTEGER
2288  max_aspect-x -> INTEGER
2289  max_aspect-y -> INTEGER
2290  base_width -> INTEGER
2291  base_height -> INTEGER
2292  win_gravity -> INTEGER
2293 
2294xwmhints
2295 
2296  flags -> INTEGER
2297  input -> INTEGER
2298  initial_state -> INTEGER
2299  icon_pixmap -> UNSIGNED-LONG
2300  icon_window -> UNSIGNED-LONG
2301  icon_x -> INTEGER
2302  icon_y -> INTEGER
2303  icon_mask -> UNSIGNED-LONG
2304  window_group -> UNSIGNED-LONG
2305 
2306xtextproperty
2307 
2308  value -> C-POINTER
2309  encoding -> UNSIGNED-LONG
2310  format -> INTEGER
2311  nitems -> UNSIGNED-LONG
2312 
2313xiconsize
2314 
2315  min_width -> INTEGER
2316  min_height -> INTEGER
2317  max_width -> INTEGER
2318  max_height -> INTEGER
2319  width_inc -> INTEGER
2320  height_inc -> INTEGER
2321 
2322xclasshint
2323 
2324  res_name -> C-POINTER
2325  res_class -> C-POINTER
2326 
2327xcomposestatus
2328 
2329  compose_ptr -> C-POINTER
2330  chars_matched -> INTEGER
2331 
2332xvisualinfo
2333 
2334  visual -> C-POINTER
2335  visualid -> UNSIGNED-LONG
2336  screen -> INTEGER
2337  depth -> INTEGER
2338  class -> INTEGER
2339  red_mask -> UNSIGNED-LONG
2340  green_mask -> UNSIGNED-LONG
2341  blue_mask -> UNSIGNED-LONG
2342  colormap_size -> INTEGER
2343  bits_per_rgb -> INTEGER
2344 
2345xstandardcolormap
2346 
2347  colormap -> UNSIGNED-LONG
2348  red_max -> UNSIGNED-LONG
2349  red_mult -> UNSIGNED-LONG
2350  green_max -> UNSIGNED-LONG
2351  green_mult -> UNSIGNED-LONG
2352  blue_max -> UNSIGNED-LONG
2353  blue_mult -> UNSIGNED-LONG
2354  base_pixel -> UNSIGNED-LONG
2355  visualid -> UNSIGNED-LONG
2356  killid -> UNSIGNED-LONG
2357 
2358xevent
2359 
2360  type -> INTEGER
2361  xany-type -> INTEGER
2362  xany-serial -> UNSIGNED-LONG
2363  xany-send_event -> INTEGER
2364  xany-display -> C-POINTER
2365  xany-window -> UNSIGNED-LONG
2366  xkey-type -> INTEGER
2367  xkey-serial -> UNSIGNED-LONG
2368  xkey-send_event -> INTEGER
2369  xkey-display -> C-POINTER
2370  xkey-window -> UNSIGNED-LONG
2371  xkey-root -> UNSIGNED-LONG
2372  xkey-subwindow -> UNSIGNED-LONG
2373  xkey-time -> UNSIGNED-LONG
2374  xkey-x -> INTEGER
2375  xkey-y -> INTEGER
2376  xkey-x_root -> INTEGER
2377  xkey-y_root -> INTEGER
2378  xkey-state -> UNSIGNED-INTEGER
2379  xkey-keycode -> UNSIGNED-INTEGER
2380  xkey-same_screen -> INTEGER
2381  xbutton-type -> INTEGER
2382  xbutton-serial -> UNSIGNED-LONG
2383  xbutton-send_event -> INTEGER
2384  xbutton-display -> C-POINTER
2385  xbutton-window -> UNSIGNED-LONG
2386  xbutton-root -> UNSIGNED-LONG
2387  xbutton-subwindow -> UNSIGNED-LONG
2388  xbutton-time -> UNSIGNED-LONG
2389  xbutton-x -> INTEGER
2390  xbutton-y -> INTEGER
2391  xbutton-x_root -> INTEGER
2392  xbutton-y_root -> INTEGER
2393  xbutton-state -> UNSIGNED-INTEGER
2394  xbutton-button -> UNSIGNED-INTEGER
2395  xbutton-same_screen -> INTEGER
2396  xmotion-type -> INTEGER
2397  xmotion-serial -> UNSIGNED-LONG
2398  xmotion-send_event -> INTEGER
2399  xmotion-display -> C-POINTER
2400  xmotion-window -> UNSIGNED-LONG
2401  xmotion-root -> UNSIGNED-LONG
2402  xmotion-subwindow -> UNSIGNED-LONG
2403  xmotion-time -> UNSIGNED-LONG
2404  xmotion-x -> INTEGER
2405  xmotion-y -> INTEGER
2406  xmotion-x_root -> INTEGER
2407  xmotion-y_root -> INTEGER
2408  xmotion-state -> UNSIGNED-INTEGER
2409  xmotion-is_hint -> CHAR
2410  xmotion-same_screen -> INTEGER
2411  xcrossing-type -> INTEGER
2412  xcrossing-serial -> UNSIGNED-LONG
2413  xcrossing-send_event -> INTEGER
2414  xcrossing-display -> C-POINTER
2415  xcrossing-window -> UNSIGNED-LONG
2416  xcrossing-root -> UNSIGNED-LONG
2417  xcrossing-subwindow -> UNSIGNED-LONG
2418  xcrossing-time -> UNSIGNED-LONG
2419  xcrossing-x -> INTEGER
2420  xcrossing-y -> INTEGER
2421  xcrossing-x_root -> INTEGER
2422  xcrossing-y_root -> INTEGER
2423  xcrossing-mode -> INTEGER
2424  xcrossing-detail -> INTEGER
2425  xcrossing-same_screen -> INTEGER
2426  xcrossing-focus -> INTEGER
2427  xcrossing-state -> UNSIGNED-INTEGER
2428  xfocus-type -> INTEGER
2429  xfocus-serial -> UNSIGNED-LONG
2430  xfocus-send_event -> INTEGER
2431  xfocus-display -> C-POINTER
2432  xfocus-window -> UNSIGNED-LONG
2433  xfocus-mode -> INTEGER
2434  xfocus-detail -> INTEGER
2435  xexpose-type -> INTEGER
2436  xexpose-serial -> UNSIGNED-LONG
2437  xexpose-send_event -> INTEGER
2438  xexpose-display -> C-POINTER
2439  xexpose-window -> UNSIGNED-LONG
2440  xexpose-x -> INTEGER
2441  xexpose-y -> INTEGER
2442  xexpose-width -> INTEGER
2443  xexpose-height -> INTEGER
2444  xexpose-count -> INTEGER
2445  xgraphicsexpose-type -> INTEGER
2446  xgraphicsexpose-serial -> UNSIGNED-LONG
2447  xgraphicsexpose-send_event -> INTEGER
2448  xgraphicsexpose-display -> C-POINTER
2449  xgraphicsexpose-drawable -> UNSIGNED-LONG
2450  xgraphicsexpose-x -> INTEGER
2451  xgraphicsexpose-y -> INTEGER
2452  xgraphicsexpose-width -> INTEGER
2453  xgraphicsexpose-height -> INTEGER
2454  xgraphicsexpose-count -> INTEGER
2455  xgraphicsexpose-major_code -> INTEGER
2456  xgraphicsexpose-minor_code -> INTEGER
2457  xnoexpose-type -> INTEGER
2458  xnoexpose-serial -> UNSIGNED-LONG
2459  xnoexpose-send_event -> INTEGER
2460  xnoexpose-display -> C-POINTER
2461  xnoexpose-drawable -> UNSIGNED-LONG
2462  xnoexpose-major_code -> INTEGER
2463  xnoexpose-minor_code -> INTEGER
2464  xvisibility-type -> INTEGER
2465  xvisibility-serial -> UNSIGNED-LONG
2466  xvisibility-send_event -> INTEGER
2467  xvisibility-display -> C-POINTER
2468  xvisibility-window -> UNSIGNED-LONG
2469  xvisibility-state -> INTEGER
2470  xcreatewindow-type -> INTEGER
2471  xcreatewindow-serial -> UNSIGNED-LONG
2472  xcreatewindow-send_event -> INTEGER
2473  xcreatewindow-display -> C-POINTER
2474  xcreatewindow-parent -> UNSIGNED-LONG
2475  xcreatewindow-window -> UNSIGNED-LONG
2476  xcreatewindow-x -> INTEGER
2477  xcreatewindow-y -> INTEGER
2478  xcreatewindow-width -> INTEGER
2479  xcreatewindow-height -> INTEGER
2480  xcreatewindow-border_width -> INTEGER
2481  xcreatewindow-override_redirect -> INTEGER
2482  xdestroywindow-type -> INTEGER
2483  xdestroywindow-serial -> UNSIGNED-LONG
2484  xdestroywindow-send_event -> INTEGER
2485  xdestroywindow-display -> C-POINTER
2486  xdestroywindow-event -> UNSIGNED-LONG
2487  xdestroywindow-window -> UNSIGNED-LONG
2488  xunmap-type -> INTEGER
2489  xunmap-serial -> UNSIGNED-LONG
2490  xunmap-send_event -> INTEGER
2491  xunmap-display -> C-POINTER
2492  xunmap-event -> UNSIGNED-LONG
2493  xunmap-window -> UNSIGNED-LONG
2494  xunmap-from_configure -> INTEGER
2495  xmap-type -> INTEGER
2496  xmap-serial -> UNSIGNED-LONG
2497  xmap-send_event -> INTEGER
2498  xmap-display -> C-POINTER
2499  xmap-event -> UNSIGNED-LONG
2500  xmap-window -> UNSIGNED-LONG
2501  xmap-override_redirect -> INTEGER
2502  xmaprequest-type -> INTEGER
2503  xmaprequest-serial -> UNSIGNED-LONG
2504  xmaprequest-send_event -> INTEGER
2505  xmaprequest-display -> C-POINTER
2506  xmaprequest-parent -> UNSIGNED-LONG
2507  xmaprequest-window -> UNSIGNED-LONG
2508  xreparent-type -> INTEGER
2509  xreparent-serial -> UNSIGNED-LONG
2510  xreparent-send_event -> INTEGER
2511  xreparent-display -> C-POINTER
2512  xreparent-event -> UNSIGNED-LONG
2513  xreparent-window -> UNSIGNED-LONG
2514  xreparent-parent -> UNSIGNED-LONG
2515  xreparent-x -> INTEGER
2516  xreparent-y -> INTEGER
2517  xreparent-override_redirect -> INTEGER
2518  xconfigure-type -> INTEGER
2519  xconfigure-serial -> UNSIGNED-LONG
2520  xconfigure-send_event -> INTEGER
2521  xconfigure-display -> C-POINTER
2522  xconfigure-event -> UNSIGNED-LONG
2523  xconfigure-window -> UNSIGNED-LONG
2524  xconfigure-x -> INTEGER
2525  xconfigure-y -> INTEGER
2526  xconfigure-width -> INTEGER
2527  xconfigure-height -> INTEGER
2528  xconfigure-border_width -> INTEGER
2529  xconfigure-above -> UNSIGNED-LONG
2530  xconfigure-override_redirect -> INTEGER
2531  xgravity-type -> INTEGER
2532  xgravity-serial -> UNSIGNED-LONG
2533  xgravity-send_event -> INTEGER
2534  xgravity-display -> C-POINTER
2535  xgravity-event -> UNSIGNED-LONG
2536  xgravity-window -> UNSIGNED-LONG
2537  xgravity-x -> INTEGER
2538  xgravity-y -> INTEGER
2539  xresizerequest-type -> INTEGER
2540  xresizerequest-serial -> UNSIGNED-LONG
2541  xresizerequest-send_event -> INTEGER
2542  xresizerequest-display -> C-POINTER
2543  xresizerequest-window -> UNSIGNED-LONG
2544  xresizerequest-width -> INTEGER
2545  xresizerequest-height -> INTEGER
2546  xconfigurerequest-type -> INTEGER
2547  xconfigurerequest-serial -> UNSIGNED-LONG
2548  xconfigurerequest-send_event -> INTEGER
2549  xconfigurerequest-display -> C-POINTER
2550  xconfigurerequest-parent -> UNSIGNED-LONG
2551  xconfigurerequest-window -> UNSIGNED-LONG
2552  xconfigurerequest-x -> INTEGER
2553  xconfigurerequest-y -> INTEGER
2554  xconfigurerequest-width -> INTEGER
2555  xconfigurerequest-height -> INTEGER
2556  xconfigurerequest-border_width -> INTEGER
2557  xconfigurerequest-above -> UNSIGNED-LONG
2558  xconfigurerequest-detail -> INTEGER
2559  xconfigurerequest-value_mask -> UNSIGNED-LONG
2560  xcirculate-type -> INTEGER
2561  xcirculate-serial -> UNSIGNED-LONG
2562  xcirculate-send_event -> INTEGER
2563  xcirculate-display -> C-POINTER
2564  xcirculate-event -> UNSIGNED-LONG
2565  xcirculate-window -> UNSIGNED-LONG
2566  xcirculate-place -> INTEGER
2567  xcirculaterequest-type -> INTEGER
2568  xcirculaterequest-serial -> UNSIGNED-LONG
2569  xcirculaterequest-send_event -> INTEGER
2570  xcirculaterequest-display -> C-POINTER
2571  xcirculaterequest-parent -> UNSIGNED-LONG
2572  xcirculaterequest-window -> UNSIGNED-LONG
2573  xcirculaterequest-place -> INTEGER
2574  xproperty-type -> INTEGER
2575  xproperty-serial -> UNSIGNED-LONG
2576  xproperty-send_event -> INTEGER
2577  xproperty-display -> C-POINTER
2578  xproperty-window -> UNSIGNED-LONG
2579  xproperty-atom -> UNSIGNED-LONG
2580  xproperty-time -> UNSIGNED-LONG
2581  xproperty-state -> INTEGER
2582  xselectionclear-type -> INTEGER
2583  xselectionclear-serial -> UNSIGNED-LONG
2584  xselectionclear-send_event -> INTEGER
2585  xselectionclear-display -> C-POINTER
2586  xselectionclear-window -> UNSIGNED-LONG
2587  xselectionclear-selection -> UNSIGNED-LONG
2588  xselectionclear-time -> UNSIGNED-LONG
2589  xselectionrequest-type -> INTEGER
2590  xselectionrequest-serial -> UNSIGNED-LONG
2591  xselectionrequest-send_event -> INTEGER
2592  xselectionrequest-display -> C-POINTER
2593  xselectionrequest-owner -> UNSIGNED-LONG
2594  xselectionrequest-requestor -> UNSIGNED-LONG
2595  xselectionrequest-selection -> UNSIGNED-LONG
2596  xselectionrequest-target -> UNSIGNED-LONG
2597  xselectionrequest-property -> UNSIGNED-LONG
2598  xselectionrequest-time -> UNSIGNED-LONG
2599  xselection-type -> INTEGER
2600  xselection-serial -> UNSIGNED-LONG
2601  xselection-send_event -> INTEGER
2602  xselection-display -> C-POINTER
2603  xselection-requestor -> UNSIGNED-LONG
2604  xselection-selection -> UNSIGNED-LONG
2605  xselection-target -> UNSIGNED-LONG
2606  xselection-property -> UNSIGNED-LONG
2607  xselection-time -> UNSIGNED-LONG
2608  xcolormap-type -> INTEGER
2609  xcolormap-serial -> UNSIGNED-LONG
2610  xcolormap-send_event -> INTEGER
2611  xcolormap-display -> C-POINTER
2612  xcolormap-window -> UNSIGNED-LONG
2613  xcolormap-colormap -> UNSIGNED-LONG
2614  xcolormap-new -> INTEGER
2615  xcolormap-state -> INTEGER
2616  xclient-type -> INTEGER
2617  xclient-serial -> UNSIGNED-LONG
2618  xclient-send_event -> INTEGER
2619  xclient-display -> C-POINTER
2620  xclient-window -> UNSIGNED-LONG
2621  xclient-message_type -> UNSIGNED-LONG
2622  xclient-format -> INTEGER
2623  xclient-data-b -> C-POINTER
2624  xclient-data-s -> C-POINTER
2625  xclient-data-l -> C-POINTER
2626  xmapping-type -> INTEGER
2627  xmapping-serial -> UNSIGNED-LONG
2628  xmapping-send_event -> INTEGER
2629  xmapping-display -> C-POINTER
2630  xmapping-window -> UNSIGNED-LONG
2631  xmapping-request -> INTEGER
2632  xmapping-first_keycode -> INTEGER
2633  xmapping-count -> INTEGER
2634  xerror-type -> INTEGER
2635  xerror-display -> C-POINTER
2636  xerror-resourceid -> UNSIGNED-LONG
2637  xerror-serial -> UNSIGNED-LONG
2638  xerror-error_code -> UNSIGNED-CHAR
2639  xerror-request_code -> UNSIGNED-CHAR
2640  xerror-minor_code -> UNSIGNED-CHAR
2641  xkeymap-type -> INTEGER
2642  xkeymap-serial -> UNSIGNED-LONG
2643  xkeymap-send_event -> INTEGER
2644  xkeymap-display -> C-POINTER
2645  xkeymap-window -> UNSIGNED-LONG
2646  xkeymap-key_vector -> C-POINTER
2647  pad -> C-POINTER
2648 
2649xedataobject
2650 
2651  display -> C-POINTER
2652  gc -> C-POINTER
2653  visual -> C-POINTER
2654  screen -> C-POINTER
2655  pixmap_format -> C-POINTER
2656  font -> C-POINTER
2657
2658=== Examples
2659
2660The canonical "Hello World" program:
2661
2662  ;;; Shows a window and terminates after a button-press
2663  ;   (or after the second exposure event)
2664 
2665  (require-extension xlib)
2666 
2667  (let ((display (xopendisplay #f)))
2668   (assert display)
2669   (let* ((screen (xdefaultscreen display))
2670        (root (xrootwindow display screen))
2671        (window (xcreatesimplewindow
2672                 display root 100 200 300 50 0
2673                 (xblackpixel display screen)
2674                 (xwhitepixel display screen))))
2675    (assert window)
2676    (let ((font (xloadfont display "10x20")))
2677      (assert font)
2678      (let ((gc (xcreategc display window 0 #f))
2679          (event (make-xevent)))
2680        (xsetforeground display gc (xblackpixel display screen))
2681        (xsetbackground display gc (xwhitepixel display screen))
2682        (xsetfunction display gc GXCOPY)
2683        (xsetfont display gc font)
2684        (xselectinput display window (bitwise-ior EXPOSUREMASK BUTTONPRESSMASK))
2685        (xmapwindow display window)
2686        (xnextevent display event)
2687        (xdrawstring display window gc 100 30 "Hello World!" 12)
2688        (xflush display)
2689        (xnextevent display event)))))
2690
2691=== Changelog
2692
26931.2 Replaced uses of foreign-callback-lambda with foreign-safe-lambda
26941.1 Fixed bug in setup script
26951.0
2696
2697=== License
2698
2699  Copyright 1996 and 1997 University of Toronto. All rights reserved.
2700  Copyright 1998 NEC Research Institute, Inc. All rights reserved.
Note: See TracBrowser for help on using the repository browser.