source: project/wiki/xlib @ 12962

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

fixed doc bug (Thanks to William Ramsay)

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