xlib

  1. xlib
    1. Description
    2. Author
    3. Usage
    4. Documentation
      1. Procedures
      2. Symbolic constants
      3. Atom names
      4. Keycodes
      5. Cursor fonts
      6. Structures
    5. Examples
    6. Changelog
    7. License

Description

Bindings for Xlib

Author

Originally by Richard Mann, taken from the Stalin distribution and ported to Chicken by felix

Usage

(require-extension xlib)

Thus extension provides the xlib module.

Documentation

This extension provides a low-level binding to the functionality offered by Xlib, the programming interface to the X window system. This library uses the same names as their C counterparts, but function names are converted to lowercase and symbolic constants are uppercase. Only 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.

Procedures

 (xactivatescreensaver C-POINTER) -> INTEGER
 (xaddextension C-POINTER) -> C-POINTER
 (xaddhost C-POINTER C-POINTER) -> INTEGER
 (xaddhosts C-POINTER C-POINTER INTEGER) -> INTEGER
 (xaddtoextensionlist C-POINTER C-POINTER) -> INTEGER
 (xaddtosaveset C-POINTER UNSIGNED-LONG) -> INTEGER
 (xallocclasshint) -> C-POINTER
 (xalloccolor C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
 (xalloccolorcells C-POINTER UNSIGNED-LONG INTEGER C-POINTER UNSIGNED-INTEGER C-POINTER UNSIGNED-INTEGER) -> INTEGER
 (xalloccolorplanes C-POINTER UNSIGNED-LONG INTEGER C-POINTER INTEGER INTEGER INTEGER INTEGER C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xallociconsize) -> C-POINTER
 (xallocnamedcolor C-POINTER UNSIGNED-LONG C-STRING C-POINTER C-POINTER) -> INTEGER
 (xallocsizehints) -> C-POINTER
 (xallocstandardcolormap) -> C-POINTER
 (xallocwmhints) -> C-POINTER
 (xallowevents C-POINTER INTEGER UNSIGNED-LONG) -> INTEGER
 (xallplanes) -> UNSIGNED-LONG
 (xautorepeatoff C-POINTER) -> INTEGER
 (xautorepeaton C-POINTER) -> INTEGER
 (xbasefontnamelistoffontset C-POINTER) -> C-POINTER
 (xbell C-POINTER INTEGER) -> INTEGER
 (xbitmapbitorder C-POINTER) -> INTEGER
 (xbitmappad C-POINTER) -> INTEGER
 (xbitmapunit C-POINTER) -> INTEGER
 (xblackpixel C-POINTER INTEGER) -> UNSIGNED-LONG
 (xblackpixelofscreen C-POINTER) -> UNSIGNED-LONG
 (xcellsofscreen C-POINTER) -> INTEGER
 (xchangeactivepointergrab C-POINTER UNSIGNED-INTEGER UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
 (xchangegc C-POINTER C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
 (xchangekeyboardcontrol C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
 (xchangekeyboardmapping C-POINTER INTEGER INTEGER C-POINTER INTEGER) -> INTEGER
 (xchangepointercontrol C-POINTER INTEGER INTEGER INTEGER INTEGER INTEGER) -> INTEGER
 (xchangeproperty C-POINTER UNSIGNED-LONG UNSIGNED-LONG UNSIGNED-LONG INTEGER INTEGER C-POINTER INTEGER) -> INTEGER
 (xchangesaveset C-POINTER UNSIGNED-LONG INTEGER) -> INTEGER
 (xchangewindowattributes C-POINTER UNSIGNED-LONG UNSIGNED-LONG C-POINTER) -> INTEGER
 (xcheckifevent C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xcheckmaskevent C-POINTER INTEGER C-POINTER) -> INTEGER
 (xchecktypedevent C-POINTER INTEGER C-POINTER) -> INTEGER
 (xchecktypedwindowevent C-POINTER UNSIGNED-LONG INTEGER C-POINTER) -> INTEGER
 (xcheckwindowevent C-POINTER UNSIGNED-LONG INTEGER C-POINTER) -> INTEGER
 (xcirculatesubwindows C-POINTER UNSIGNED-LONG INTEGER) -> INTEGER
 (xcirculatesubwindowsdown C-POINTER UNSIGNED-LONG) -> INTEGER
 (xcirculatesubwindowsup C-POINTER UNSIGNED-LONG) -> INTEGER
 (xcleararea C-POINTER UNSIGNED-LONG INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER INTEGER) -> INTEGER
 (xclearwindow C-POINTER UNSIGNED-LONG) -> INTEGER
 (xclipbox C-POINTER C-POINTER) -> INTEGER
 (xclosedisplay C-POINTER) -> INTEGER
 (xcloseim C-POINTER) -> INTEGER
 (xconfigurewindow C-POINTER UNSIGNED-LONG UNSIGNED-INTEGER C-POINTER) -> INTEGER
 (xconnectionnumber C-POINTER) -> INTEGER
 (xcontextdependentdrawing C-POINTER) -> INTEGER
 (xconvertselection C-POINTER UNSIGNED-LONG UNSIGNED-LONG UNSIGNED-LONG UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
 (xcopyarea C-POINTER UNSIGNED-LONG UNSIGNED-LONG C-POINTER INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER INTEGER INTEGER) -> INTEGER
 (xcopycolormapandfree C-POINTER UNSIGNED-LONG) -> UNSIGNED-LONG
 (xcopygc C-POINTER C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
 (xcopyplane C-POINTER UNSIGNED-LONG UNSIGNED-LONG C-POINTER INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER INTEGER INTEGER UNSIGNED-LONG) -> INTEGER
 (xcreatebitmapfromdata C-POINTER UNSIGNED-LONG C-POINTER UNSIGNED-INTEGER UNSIGNED-INTEGER) -> UNSIGNED-LONG
 (xcreatecolormap C-POINTER UNSIGNED-LONG C-POINTER INTEGER) -> UNSIGNED-LONG
 (xcreatefontcursor C-POINTER UNSIGNED-INTEGER) -> UNSIGNED-LONG
 (xcreatefontset C-POINTER C-STRING C-POINTER)) C-POINTER C-POINTER)) -> C-POINTER
 (xcreategc C-POINTER UNSIGNED-LONG UNSIGNED-LONG C-POINTER) -> C-POINTER
 (xcreateglyphcursor C-POINTER UNSIGNED-LONG UNSIGNED-LONG UNSIGNED-INTEGER UNSIGNED-INTEGER C-POINTER C-POINTER) -> UNSIGNED-LONG
 (xcreateimage C-POINTER C-POINTER UNSIGNED-INTEGER INTEGER INTEGER C-POINTER UNSIGNED-INTEGER UNSIGNED-INTEGER INTEGER INTEGER) -> C-POINTER
 (xcreatepixmap C-POINTER UNSIGNED-LONG UNSIGNED-INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER) -> UNSIGNED-LONG
 (xcreatepixmapcursor C-POINTER UNSIGNED-LONG UNSIGNED-LONG C-POINTER C-POINTER UNSIGNED-INTEGER UNSIGNED-INTEGER) -> UNSIGNED-LONG
 (xcreatepixmapfrombitmapdata C-POINTER UNSIGNED-LONG C-POINTER UNSIGNED-INTEGER UNSIGNED-INTEGER UNSIGNED-LONG UNSIGNED-LONG UNSIGNED-INTEGER) -> UNSIGNED-LONG
 (xcreateregion) -> C-POINTER
 (xcreatesimplewindow C-POINTER UNSIGNED-LONG INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER UNSIGNED-LONG UNSIGNED-LONG) -> UNSIGNED-LONG
 (xcreatewindow C-POINTER UNSIGNED-LONG INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER INTEGER UNSIGNED-INTEGER C-POINTER UNSIGNED-LONG C-POINTER) -> UNSIGNED-LONG
 (xdefaultcolormap C-POINTER INTEGER) -> UNSIGNED-LONG
 (xdefaultcolormapofscreen C-POINTER) -> UNSIGNED-LONG
 (xdefaultdepth C-POINTER INTEGER) -> INTEGER
 (xdefaultdepthofscreen C-POINTER) -> INTEGER
 (xdefaultgc C-POINTER INTEGER) -> C-POINTER
 (xdefaultgcofscreen C-POINTER) -> C-POINTER
 (xdefaultrootwindow C-POINTER) -> UNSIGNED-LONG
 (xdefaultscreen C-POINTER) -> INTEGER
 (xdefaultscreenofdisplay C-POINTER) -> C-POINTER
 (xdefaultstring) -> C-STRING
 (xdefaultvisual C-POINTER INTEGER) -> C-POINTER
 (xdefaultvisualofscreen C-POINTER) -> C-POINTER
 (xdefinecursor C-POINTER UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
 (xdeletecontext C-POINTER UNSIGNED-LONG INTEGER) -> INTEGER
 (xdeletemodifiermapentry C-POINTER UNSIGNED-INTEGER INTEGER) -> C-POINTER
 (xdeleteproperty C-POINTER UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
 (xdestroyic C-POINTER)
 (xdestroyimage C-POINTER) -> INTEGER
 (xdestroyregion C-POINTER) -> INTEGER
 (xdestroysubwindows C-POINTER UNSIGNED-LONG) -> INTEGER
 (xdestroywindow C-POINTER UNSIGNED-LONG) -> INTEGER
 (xdisableaccesscontrol C-POINTER) -> INTEGER
 (xdisplaycells C-POINTER INTEGER) -> INTEGER
 (xdisplayheight C-POINTER INTEGER) -> INTEGER
 (xdisplayheightmm C-POINTER INTEGER) -> INTEGER
 (xdisplaykeycodes C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xdisplaymotionbuffersize C-POINTER) -> UNSIGNED-LONG
 (xdisplayname C-STRING) -> C-STRING
 (xdisplayofim C-POINTER) -> C-POINTER
 (xdisplayofscreen C-POINTER) -> C-POINTER
 (xdisplayplanes C-POINTER INTEGER) -> INTEGER
 (xdisplaystring C-POINTER) -> C-STRING
 (xdisplaywidth C-POINTER INTEGER) -> INTEGER
 (xdisplaywidthmm C-POINTER INTEGER) -> INTEGER
 (xdoesbackingstore C-POINTER) -> INTEGER
 (xdoessaveunders C-POINTER) -> INTEGER
 (xdrawarc C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER INTEGER INTEGER) -> INTEGER
 (xdrawarcs C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER) -> INTEGER
 (xdrawimagestring C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER C-STRING INTEGER) -> INTEGER
 (xdrawimagestring16 C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER C-POINTER INTEGER) -> INTEGER
 (xdrawline C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER INTEGER INTEGER) -> INTEGER
 (xdrawlines C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER INTEGER) -> INTEGER
 (xdrawpoint C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER) -> INTEGER
 (xdrawpoints C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER INTEGER) -> INTEGER
 (xdrawrectangle C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER) -> INTEGER
 (xdrawrectangles C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER) -> INTEGER
 (xdrawsegments C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER) -> INTEGER
 (xdrawstring C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER C-STRING INTEGER) -> INTEGER
 (xdrawstring16 C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER C-POINTER INTEGER) -> INTEGER
 (xdrawtext C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER C-POINTER INTEGER) -> INTEGER
 (xdrawtext16 C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER C-POINTER INTEGER) -> INTEGER
 (xemptyregion C-POINTER) -> INTEGER
 (xenableaccesscontrol C-POINTER) -> INTEGER
 (xequalregion C-POINTER C-POINTER) -> INTEGER
 (xeventmaskofscreen C-POINTER) -> INTEGER
 (xeventsqueued C-POINTER INTEGER) -> INTEGER
 (xextentsoffontset C-POINTER) -> C-POINTER
 (xfetchbuffer C-POINTER C-POINTER INTEGER) -> C-POINTER
 (xfetchbytes C-POINTER C-POINTER) -> C-POINTER
 (xfetchname C-POINTER UNSIGNED-LONG C-POINTER)) -> INTEGER
 (xfillarc C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER INTEGER INTEGER) -> INTEGER
 (xfillarcs C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER) -> INTEGER
 (xfillpolygon C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER INTEGER INTEGER) -> INTEGER
 (xfillrectangle C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER) -> INTEGER
 (xfillrectangles C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER) -> INTEGER
 (xfilterevent C-POINTER UNSIGNED-LONG) -> INTEGER
 (xfindcontext C-POINTER UNSIGNED-LONG INTEGER C-POINTER)) -> INTEGER
 (xfindonextensionlist C-POINTER INTEGER) -> C-POINTER
 (xflush C-POINTER) -> INTEGER
 (xflushgc C-POINTER C-POINTER)
 (xfontsoffontset C-POINTER C-POINTER) C-POINTER))) -> INTEGER
 (xforcescreensaver C-POINTER INTEGER) -> INTEGER
 (xfree C-POINTER) -> INTEGER
 (xfreecolormap C-POINTER UNSIGNED-LONG) -> INTEGER
 (xfreecolors C-POINTER UNSIGNED-LONG C-POINTER INTEGER UNSIGNED-LONG) -> INTEGER
 (xfreecursor C-POINTER UNSIGNED-LONG) -> INTEGER
 (xfreeextensionlist C-POINTER)) -> INTEGER
 (xfreefont C-POINTER C-POINTER) -> INTEGER
 (xfreefontinfo C-POINTER) C-POINTER INTEGER) -> INTEGER
 (xfreefontnames C-POINTER)) -> INTEGER
 (xfreefontpath C-POINTER)) -> INTEGER
 (xfreefontset C-POINTER C-POINTER)
 (xfreegc C-POINTER C-POINTER) -> INTEGER
 (xfreemodifiermap C-POINTER) -> INTEGER
 (xfreepixmap C-POINTER UNSIGNED-LONG) -> INTEGER
 (xfreestringlist C-POINTER))
 (xgcontextfromgc C-POINTER) -> UNSIGNED-LONG
 (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
 (xgetatomname C-POINTER UNSIGNED-LONG) -> C-STRING
 (xgetclasshint C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
 (xgetcommand C-POINTER UNSIGNED-LONG C-POINTER)) C-POINTER) -> INTEGER
 (xgetdefault C-POINTER C-STRING C-STRING) -> C-STRING
 (xgeterrordatabasetext C-POINTER C-STRING C-STRING C-STRING C-POINTER INTEGER) -> INTEGER
 (xgeterrortext C-POINTER INTEGER C-POINTER INTEGER) -> INTEGER
 (xgetfontpath C-POINTER C-POINTER) -> C-POINTER)
 (xgetfontproperty C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
 (xgetgcvalues C-POINTER C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
 (xgetgeometry C-POINTER UNSIGNED-LONG C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xgeticonname C-POINTER UNSIGNED-LONG C-POINTER)) -> INTEGER
 (xgeticonsizes C-POINTER UNSIGNED-LONG C-POINTER C-POINTER) -> INTEGER
 (xgetimage C-POINTER UNSIGNED-LONG INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER UNSIGNED-LONG INTEGER) -> C-POINTER
 (xgetinputfocus C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xgetkeyboardcontrol C-POINTER C-POINTER) -> INTEGER
 (xgetkeyboardmapping C-POINTER UNSIGNED-INTEGER INTEGER C-POINTER) -> C-POINTER
 (xgetmodifiermapping C-POINTER) -> C-POINTER
 (xgetmotionevents C-POINTER UNSIGNED-LONG UNSIGNED-LONG UNSIGNED-LONG C-POINTER) -> C-POINTER
 (xgetnormalhints C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
 (xgetpixel C-POINTER INTEGER INTEGER) -> UNSIGNED-LONG
 (xgetpointercontrol C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xgetpointermapping C-POINTER C-POINTER INTEGER) -> INTEGER
 (xgetrgbcolormaps C-POINTER UNSIGNED-LONG C-POINTER C-POINTER UNSIGNED-LONG) -> INTEGER
 (xgetscreensaver C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xgetselectionowner C-POINTER UNSIGNED-LONG) -> UNSIGNED-LONG
 (xgetsizehints C-POINTER UNSIGNED-LONG C-POINTER UNSIGNED-LONG) -> INTEGER
 (xgetstandardcolormap C-POINTER UNSIGNED-LONG C-POINTER UNSIGNED-LONG) -> INTEGER
 (xgetsubimage C-POINTER UNSIGNED-LONG INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER UNSIGNED-LONG INTEGER C-POINTER INTEGER INTEGER) -> C-POINTER
 (xgettextproperty C-POINTER UNSIGNED-LONG C-POINTER UNSIGNED-LONG) -> INTEGER
 (xgettransientforhint C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
 (xgetvisualinfo C-POINTER INTEGER C-POINTER C-POINTER) -> C-POINTER
 (xgetwindowattributes C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
 (xgetwindowproperty C-POINTER UNSIGNED-LONG UNSIGNED-LONG INTEGER INTEGER INTEGER UNSIGNED-LONG C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER)) -> INTEGER
 (xgetwmclientmachine C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
 (xgetwmcolormapwindows C-POINTER UNSIGNED-LONG C-POINTER) C-POINTER) -> INTEGER
 (xgetwmhints C-POINTER UNSIGNED-LONG) -> C-POINTER
 (xgetwmiconname C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
 (xgetwmname C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
 (xgetwmnormalhints C-POINTER UNSIGNED-LONG C-POINTER C-POINTER) -> INTEGER
 (xgetwmprotocols C-POINTER UNSIGNED-LONG C-POINTER) C-POINTER) -> INTEGER
 (xgetwmsizehints C-POINTER UNSIGNED-LONG C-POINTER C-POINTER UNSIGNED-LONG) -> INTEGER
 (xgetzoomhints C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
 (xgrabbutton C-POINTER UNSIGNED-INTEGER UNSIGNED-INTEGER UNSIGNED-LONG INTEGER UNSIGNED-INTEGER INTEGER INTEGER UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
 (xgrabkey C-POINTER INTEGER UNSIGNED-INTEGER UNSIGNED-LONG INTEGER INTEGER INTEGER) -> INTEGER
 (xgrabkeyboard C-POINTER UNSIGNED-LONG INTEGER INTEGER INTEGER UNSIGNED-LONG) -> INTEGER
 (xgrabpointer C-POINTER UNSIGNED-LONG INTEGER UNSIGNED-INTEGER INTEGER INTEGER UNSIGNED-LONG UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
 (xgrabserver C-POINTER) -> INTEGER
 (xheightmmofscreen C-POINTER) -> INTEGER
 (xheightofscreen C-POINTER) -> INTEGER
 (xiconifywindow C-POINTER UNSIGNED-LONG INTEGER) -> INTEGER
 (xifevent C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
 (ximagebyteorder C-POINTER) -> INTEGER
 (ximofic C-POINTER) -> C-POINTER
 (xinitextension C-POINTER C-STRING) -> C-POINTER
 (xinsertmodifiermapentry C-POINTER UNSIGNED-INTEGER INTEGER) -> C-POINTER
 (xinstallcolormap C-POINTER UNSIGNED-LONG) -> INTEGER
 (xinternatom C-POINTER C-STRING INTEGER) -> UNSIGNED-LONG
 (xintersectregion C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xkeycodetokeysym C-POINTER UNSIGNED-INTEGER INTEGER) -> UNSIGNED-LONG
 (xkeysymtokeycode C-POINTER UNSIGNED-LONG) -> UNSIGNED-CHAR
 (xkeysymtostring UNSIGNED-LONG) -> C-STRING
 (xkillclient C-POINTER UNSIGNED-LONG) -> INTEGER
 (xlastknownrequestprocessed C-POINTER) -> UNSIGNED-LONG
 (xlistdepths C-POINTER INTEGER C-POINTER) -> C-POINTER
 (xlistextensions C-POINTER C-POINTER) -> C-POINTER)
 (xlistfonts C-POINTER C-STRING INTEGER C-POINTER) -> C-POINTER)
 (xlistfontswithinfo C-POINTER C-STRING INTEGER C-POINTER C-POINTER) -> C-POINTER)
 (xlisthosts C-POINTER C-POINTER C-POINTER) -> C-POINTER
 (xlistinstalledcolormaps C-POINTER UNSIGNED-LONG C-POINTER) -> C-POINTER
 (xlistpixmapformats C-POINTER C-POINTER) -> C-POINTER
 (xlistproperties C-POINTER UNSIGNED-LONG C-POINTER) -> C-POINTER
 (xloadfont C-POINTER C-STRING) -> UNSIGNED-LONG
 (xloadqueryfont C-POINTER C-STRING) -> C-POINTER
 (xlocaleoffontset C-POINTER) -> C-POINTER
 (xlocaleofim C-POINTER) -> C-POINTER
 (xlookupcolor C-POINTER UNSIGNED-LONG C-STRING C-POINTER C-POINTER) -> INTEGER
 (xlookupkeysym C-POINTER INTEGER) -> UNSIGNED-LONG
 (xlookupstring C-POINTER C-STRING INTEGER C-POINTER C-POINTER) -> INTEGER
 (xlowerwindow C-POINTER UNSIGNED-LONG) -> INTEGER
 (xmapraised C-POINTER UNSIGNED-LONG) -> INTEGER
 (xmapsubwindows C-POINTER UNSIGNED-LONG) -> INTEGER
 (xmapwindow C-POINTER UNSIGNED-LONG) -> INTEGER
 (xmaskevent C-POINTER INTEGER C-POINTER) -> INTEGER
 (xmatchvisualinfo C-POINTER INTEGER INTEGER INTEGER C-POINTER) -> INTEGER
 (xmaxcmapsofscreen C-POINTER) -> INTEGER
 (xmaxrequestsize C-POINTER) -> INTEGER
 (xmbdrawimagestring C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER INTEGER C-STRING INTEGER)
 (xmbdrawstring C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER INTEGER C-STRING INTEGER)
 (xmbdrawtext C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER C-POINTER INTEGER)
 (xmblookupstring C-POINTER C-POINTER C-STRING INTEGER C-POINTER C-POINTER) -> INTEGER
 (xmbresetic C-POINTER) -> C-POINTER
 (xmbsetwmproperties C-POINTER UNSIGNED-LONG C-POINTER C-POINTER C-POINTER) INTEGER C-POINTER C-POINTER C-POINTER)
 (xmbtextescapement C-POINTER C-STRING INTEGER) -> INTEGER
 (xmbtextextents C-POINTER C-STRING INTEGER C-POINTER C-POINTER) -> INTEGER
 (xmbtextlisttotextproperty C-POINTER C-POINTER) INTEGER INTEGER C-POINTER) -> INTEGER
 (xmbtextpercharextents C-POINTER C-STRING INTEGER C-POINTER C-POINTER INTEGER C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xmbtextpropertytotextlist C-POINTER C-POINTER C-POINTER)) C-POINTER) -> INTEGER
 (xmincmapsofscreen C-POINTER) -> INTEGER
 (xmoveresizewindow C-POINTER UNSIGNED-LONG INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER) -> INTEGER
 (xmovewindow C-POINTER UNSIGNED-LONG INTEGER INTEGER) -> INTEGER
 (xnewmodifiermap INTEGER) -> C-POINTER
 (xnextevent C-POINTER C-POINTER) -> INTEGER
 (xnextrequest C-POINTER) -> UNSIGNED-LONG
 (xnoop C-POINTER) -> INTEGER
 (xoffsetregion C-POINTER INTEGER INTEGER) -> INTEGER
 (xopendisplay C-STRING) -> C-POINTER
 (xopenim C-POINTER C-POINTER C-POINTER C-POINTER) -> C-POINTER
 (xparsecolor C-POINTER UNSIGNED-LONG C-STRING C-POINTER) -> INTEGER
 (xparsegeometry C-STRING C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xpeekevent C-POINTER C-POINTER) -> INTEGER
 (xpeekifevent C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xpending C-POINTER) -> INTEGER
 (xplanesofscreen C-POINTER) -> INTEGER
 (xpointinregion C-POINTER INTEGER INTEGER) -> INTEGER
 (xpolygonregion C-POINTER INTEGER INTEGER) -> C-POINTER
 (xprotocolrevision C-POINTER) -> INTEGER
 (xprotocolversion C-POINTER) -> INTEGER
 (xputbackevent C-POINTER C-POINTER) -> INTEGER
 (xputimage C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER INTEGER INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER) -> INTEGER
 (xputpixel C-POINTER INTEGER INTEGER UNSIGNED-LONG) -> INTEGER
 (xqlength C-POINTER) -> INTEGER
 (xquerybestcursor C-POINTER UNSIGNED-LONG UNSIGNED-INTEGER UNSIGNED-INTEGER C-POINTER C-POINTER) -> INTEGER
 (xquerybestsize C-POINTER INTEGER UNSIGNED-LONG UNSIGNED-INTEGER UNSIGNED-INTEGER C-POINTER C-POINTER) -> INTEGER
 (xquerybeststipple C-POINTER UNSIGNED-LONG UNSIGNED-INTEGER UNSIGNED-INTEGER C-POINTER C-POINTER) -> INTEGER
 (xquerybesttile C-POINTER UNSIGNED-LONG UNSIGNED-INTEGER UNSIGNED-INTEGER C-POINTER C-POINTER) -> INTEGER
 (xquerycolor C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
 (xquerycolors C-POINTER UNSIGNED-LONG C-POINTER INTEGER) -> INTEGER
 (xqueryextension C-POINTER C-STRING C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xqueryfont C-POINTER UNSIGNED-LONG) -> C-POINTER
 (xquerykeymap C-POINTER C-POINTER) -> INTEGER
 (xquerypointer C-POINTER UNSIGNED-LONG C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xquerytextextents C-POINTER UNSIGNED-LONG C-STRING INTEGER C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xquerytextextents16 C-POINTER UNSIGNED-LONG C-POINTER INTEGER C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xquerytree C-POINTER UNSIGNED-LONG C-POINTER C-POINTER C-POINTER) C-POINTER) -> INTEGER
 (xraisewindow C-POINTER UNSIGNED-LONG) -> INTEGER
 (xreadbitmapfile C-POINTER UNSIGNED-LONG C-STRING C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xrebindkeysym C-POINTER UNSIGNED-LONG C-POINTER INTEGER C-POINTER INTEGER) -> INTEGER
 (xrecolorcursor C-POINTER UNSIGNED-LONG C-POINTER C-POINTER) -> INTEGER
 (xreconfigurewmwindow C-POINTER UNSIGNED-LONG INTEGER UNSIGNED-INTEGER C-POINTER) -> INTEGER
 (xrectinregion C-POINTER INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER) -> INTEGER
 (xrefreshkeyboardmapping C-POINTER) -> INTEGER
 (xremovefromsaveset C-POINTER UNSIGNED-LONG) -> INTEGER
 (xremovehost C-POINTER C-POINTER) -> INTEGER
 (xremovehosts C-POINTER C-POINTER INTEGER) -> INTEGER
 (xreparentwindow C-POINTER UNSIGNED-LONG UNSIGNED-LONG INTEGER INTEGER) -> INTEGER
 (xresetscreensaver C-POINTER) -> INTEGER
 (xresizewindow C-POINTER UNSIGNED-LONG UNSIGNED-INTEGER UNSIGNED-INTEGER) -> INTEGER
 (xresourcemanagerstring C-POINTER) -> C-STRING
 (xrestackwindows C-POINTER C-POINTER INTEGER) -> INTEGER
 (xrminitialize)
 (xrootwindow C-POINTER INTEGER) -> UNSIGNED-LONG
 (xrootwindowofscreen C-POINTER) -> UNSIGNED-LONG
 (xrotatebuffers C-POINTER INTEGER) -> INTEGER
 (xrotatewindowproperties C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER) -> INTEGER
 (xsavecontext C-POINTER UNSIGNED-LONG INTEGER C-POINTER) -> INTEGER
 (xscreencount C-POINTER) -> INTEGER
 (xscreennumberofscreen C-POINTER) -> INTEGER
 (xscreenofdisplay C-POINTER INTEGER) -> C-POINTER
 (xscreenresourcestring C-POINTER) -> C-STRING
 (xselectinput C-POINTER UNSIGNED-LONG INTEGER) -> INTEGER
 (xsendevent C-POINTER UNSIGNED-LONG INTEGER INTEGER C-POINTER) -> INTEGER
 (xservervendor C-POINTER) -> C-STRING
 (xsetaccesscontrol C-POINTER INTEGER) -> INTEGER
 (xsetarcmode C-POINTER C-POINTER INTEGER) -> INTEGER
 (xsetbackground C-POINTER C-POINTER UNSIGNED-LONG) -> INTEGER
 (xsetclasshint C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
 (xsetclipmask C-POINTER C-POINTER UNSIGNED-LONG) -> INTEGER
 (xsetcliporigin C-POINTER C-POINTER INTEGER INTEGER) -> INTEGER
 (xsetcliprectangles C-POINTER C-POINTER INTEGER INTEGER C-POINTER INTEGER INTEGER) -> INTEGER
 (xsetclosedownmode C-POINTER INTEGER) -> INTEGER
 (xsetcommand C-POINTER UNSIGNED-LONG C-POINTER) INTEGER) -> INTEGER
 (xsetdashes C-POINTER C-POINTER INTEGER C-POINTER INTEGER) -> INTEGER
 (xsetfillrule C-POINTER C-POINTER INTEGER) -> INTEGER
 (xsetfillstyle C-POINTER C-POINTER INTEGER) -> INTEGER
 (xsetfont C-POINTER C-POINTER UNSIGNED-LONG) -> INTEGER
 (xsetfontpath C-POINTER C-POINTER) INTEGER) -> INTEGER
 (xsetforeground C-POINTER C-POINTER UNSIGNED-LONG) -> INTEGER
 (xsetfunction C-POINTER C-POINTER INTEGER) -> INTEGER
 (xsetgraphicsexposures C-POINTER C-POINTER INTEGER) -> INTEGER
 (xseticfocus C-POINTER)
 (xseticonname C-POINTER UNSIGNED-LONG C-STRING) -> INTEGER
 (xseticonsizes C-POINTER UNSIGNED-LONG C-POINTER INTEGER) -> INTEGER
 (xsetinputfocus C-POINTER UNSIGNED-LONG INTEGER UNSIGNED-LONG) -> INTEGER
 (xsetlineattributes C-POINTER C-POINTER UNSIGNED-INTEGER INTEGER INTEGER INTEGER) -> INTEGER
 (xsetlocalemodifiers C-STRING) -> C-STRING
 (xsetmodifiermapping C-POINTER C-POINTER) -> INTEGER
 (xsetnormalhints C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
 (xsetplanemask C-POINTER C-POINTER UNSIGNED-LONG) -> INTEGER
 (xsetpointermapping C-POINTER C-POINTER INTEGER) -> INTEGER
 (xsetregion C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xsetrgbcolormaps C-POINTER UNSIGNED-LONG C-POINTER INTEGER UNSIGNED-LONG)
 (xsetscreensaver C-POINTER INTEGER INTEGER INTEGER INTEGER) -> INTEGER
 (xsetselectionowner C-POINTER UNSIGNED-LONG UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
 (xsetsizehints C-POINTER UNSIGNED-LONG C-POINTER UNSIGNED-LONG) -> INTEGER
 (xsetstandardcolormap C-POINTER UNSIGNED-LONG C-POINTER UNSIGNED-LONG)
 (xsetstandardproperties C-POINTER UNSIGNED-LONG C-POINTER C-POINTER UNSIGNED-LONG C-POINTER) INTEGER C-POINTER) -> INTEGER
 (xsetstate C-POINTER C-POINTER UNSIGNED-LONG UNSIGNED-LONG INTEGER UNSIGNED-LONG) -> INTEGER
 (xsetstipple C-POINTER C-POINTER UNSIGNED-LONG) -> INTEGER
 (xsetsubwindowmode C-POINTER C-POINTER INTEGER) -> INTEGER
 (xsettextproperty C-POINTER UNSIGNED-LONG C-POINTER UNSIGNED-LONG)
 (xsettile C-POINTER C-POINTER UNSIGNED-LONG) -> INTEGER
 (xsettransientforhint C-POINTER UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
 (xsettsorigin C-POINTER C-POINTER INTEGER INTEGER) -> INTEGER
 (xsetwindowbackground C-POINTER UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
 (xsetwindowbackgroundpixmap C-POINTER UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
 (xsetwindowborder C-POINTER UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
 (xsetwindowborderpixmap C-POINTER UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
 (xsetwindowborderwidth C-POINTER UNSIGNED-LONG UNSIGNED-INTEGER) -> INTEGER
 (xsetwindowcolormap C-POINTER UNSIGNED-LONG UNSIGNED-LONG) -> INTEGER
 (xsetwmclientmachine C-POINTER UNSIGNED-LONG C-POINTER)
 (xsetwmcolormapwindows C-POINTER UNSIGNED-LONG C-POINTER INTEGER) -> INTEGER
 (xsetwmhints C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
 (xsetwmiconname C-POINTER UNSIGNED-LONG C-POINTER)
 (xsetwmname C-POINTER UNSIGNED-LONG C-POINTER)
 (xsetwmnormalhints C-POINTER UNSIGNED-LONG C-POINTER)
 (xsetwmproperties C-POINTER UNSIGNED-LONG C-POINTER C-POINTER C-POINTER) INTEGER C-POINTER C-POINTER C-POINTER)
 (xsetwmprotocols C-POINTER UNSIGNED-LONG C-POINTER INTEGER) -> INTEGER
 (xsetwmsizehints C-POINTER UNSIGNED-LONG C-POINTER UNSIGNED-LONG)
 (xsetzoomhints C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
 (xshrinkregion C-POINTER INTEGER INTEGER) -> INTEGER
 (xstorebuffer C-POINTER C-POINTER INTEGER INTEGER) -> INTEGER
 (xstorebytes C-POINTER C-POINTER INTEGER) -> INTEGER
 (xstorecolor C-POINTER UNSIGNED-LONG C-POINTER) -> INTEGER
 (xstorecolors C-POINTER UNSIGNED-LONG C-POINTER INTEGER) -> INTEGER
 (xstorename C-POINTER UNSIGNED-LONG C-STRING) -> INTEGER
 (xstorenamedcolor C-POINTER UNSIGNED-LONG C-STRING UNSIGNED-LONG INTEGER) -> INTEGER
 (xstringlisttotextproperty C-POINTER) INTEGER C-POINTER) -> INTEGER
 (xstringtokeysym C-STRING) -> UNSIGNED-LONG
 (xsubimage C-POINTER INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER) -> C-POINTER
 (xsubtractregion C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xsupportslocale) -> INTEGER
 (xsync C-POINTER INTEGER) -> INTEGER
 (xtextextents C-POINTER C-STRING INTEGER C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xtextextents16 C-POINTER C-POINTER INTEGER C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xtextpropertytostringlist C-POINTER C-POINTER)) C-POINTER) -> INTEGER
 (xtextwidth C-POINTER C-STRING INTEGER) -> INTEGER
 (xtextwidth16 C-POINTER C-POINTER INTEGER) -> INTEGER
 (xtranslatecoordinates C-POINTER UNSIGNED-LONG UNSIGNED-LONG INTEGER INTEGER C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xundefinecursor C-POINTER UNSIGNED-LONG) -> INTEGER
 (xungrabbutton C-POINTER UNSIGNED-INTEGER UNSIGNED-INTEGER UNSIGNED-LONG) -> INTEGER
 (xungrabkey C-POINTER INTEGER UNSIGNED-INTEGER UNSIGNED-LONG) -> INTEGER
 (xungrabkeyboard C-POINTER UNSIGNED-LONG) -> INTEGER
 (xungrabpointer C-POINTER UNSIGNED-LONG) -> INTEGER
 (xungrabserver C-POINTER) -> INTEGER
 (xuninstallcolormap C-POINTER UNSIGNED-LONG) -> INTEGER
 (xunionrectwithregion C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xunionregion C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xunloadfont C-POINTER UNSIGNED-LONG) -> INTEGER
 (xunmapsubwindows C-POINTER UNSIGNED-LONG) -> INTEGER
 (xunmapwindow C-POINTER UNSIGNED-LONG) -> INTEGER
 (xunseticfocus C-POINTER)
 (xvendorrelease C-POINTER) -> INTEGER
 (xvisualidfromvisual C-POINTER) -> UNSIGNED-LONG
 (xwarppointer C-POINTER UNSIGNED-LONG UNSIGNED-LONG INTEGER INTEGER UNSIGNED-INTEGER UNSIGNED-INTEGER INTEGER INTEGER) -> INTEGER
 (xwcdrawimagestring C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER INTEGER C-POINTER INTEGER)
 (xwcdrawstring C-POINTER UNSIGNED-LONG C-POINTER C-POINTER INTEGER INTEGER C-POINTER INTEGER)
 (xwcdrawtext C-POINTER UNSIGNED-LONG C-POINTER INTEGER INTEGER C-POINTER INTEGER)
 (xwcfreestringlist C-POINTER))
 (xwclookupstring C-POINTER C-POINTER C-POINTER INTEGER C-POINTER C-POINTER) -> INTEGER
 (xwcresetic C-POINTER) -> C-POINTER
 (xwctextescapement C-POINTER C-POINTER INTEGER) -> INTEGER
 (xwctextextents C-POINTER C-POINTER INTEGER C-POINTER C-POINTER) -> INTEGER
 (xwctextlisttotextproperty C-POINTER C-POINTER) INTEGER INTEGER C-POINTER) -> INTEGER
 (xwctextpercharextents C-POINTER C-POINTER INTEGER C-POINTER C-POINTER INTEGER C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xwctextpropertytotextlist C-POINTER C-POINTER C-POINTER)) C-POINTER) -> INTEGER
 (xwhitepixel C-POINTER INTEGER) -> UNSIGNED-LONG
 (xwhitepixelofscreen C-POINTER) -> UNSIGNED-LONG
 (xwidthmmofscreen C-POINTER) -> INTEGER
 (xwidthofscreen C-POINTER) -> INTEGER
 (xwindowevent C-POINTER UNSIGNED-LONG INTEGER C-POINTER) -> INTEGER
 (xwithdrawwindow C-POINTER UNSIGNED-LONG INTEGER) -> INTEGER
 (xwmgeometry C-POINTER INTEGER C-STRING C-STRING UNSIGNED-INTEGER C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER C-POINTER) -> INTEGER
 (xwritebitmapfile C-POINTER C-STRING UNSIGNED-LONG UNSIGNED-INTEGER UNSIGNED-INTEGER INTEGER INTEGER) -> INTEGER
 (xxorregion C-POINTER C-POINTER C-POINTER) -> INTEGER

Symbolic constants

All return an exact integer.

 ABOVE
 ALLHINTS
 ALLOCALL
 ALLOCNONE
 ALLOWEXPOSURES
 ALLPLANES
 ALLTEMPORARY
 ALLVALUES
 ALREADYGRABBED
 ALWAYS
 ANYBUTTON
 ANYKEY
 ANYMODIFIER
 ANYPROPERTYTYPE
 ARCCHORD
 ARCPIESLICE
 ASYNCBOTH
 ASYNCKEYBOARD
 ASYNCPOINTER
 AUTOREPEATMODEDEFAULT
 AUTOREPEATMODEOFF
 AUTOREPEATMODEON
 BADACCESS
 BADALLOC
 BADATOM
 BADCOLOR
 BADCURSOR
 BADDRAWABLE
 BADFONT
 BADGC
 BADIDCHOICE
 BADIMPLEMENTATION
 BADLENGTH
 BADMATCH
 BADNAME
 BADPIXMAP
 BADREQUEST
 BADVALUE
 BADWINDOW
 BELOW
 BITMAPFILEINVALID
 BITMAPNOMEMORY
 BITMAPOPENFAILED
 BITMAPSUCCESS
 BOTTOMIF
 BUTTON1
 BUTTON1MASK
 BUTTON1MOTIONMASK
 BUTTON2
 BUTTON2MASK
 BUTTON2MOTIONMASK
 BUTTON3
 BUTTON3MASK
 BUTTON3MOTIONMASK
 BUTTON4
 BUTTON4MASK
 BUTTON4MOTIONMASK
 BUTTON5
 BUTTON5MASK
 BUTTON5MOTIONMASK
 BUTTONMOTIONMASK
 BUTTONPRESS
 BUTTONPRESSMASK
 BUTTONRELEASE
 BUTTONRELEASEMASK
 CAPBUTT
 CAPNOTLAST
 CAPPROJECTING
 CAPROUND
 CENTERGRAVITY
 CIRCULATENOTIFY
 CIRCULATEREQUEST
 CLIENTMESSAGE
 CLIPBYCHILDREN
 COLORMAPCHANGEMASK
 COLORMAPINSTALLED
 COLORMAPNOTIFY
 COLORMAPUNINSTALLED
 COMPLEX
 CONFIGURENOTIFY
 CONFIGUREREQUEST
 CONTROLMAPINDEX
 CONTROLMASK
 CONVEX
 COORDMODEORIGIN
 COORDMODEPREVIOUS
 COPYFROMPARENT
 CREATENOTIFY
 CURRENTTIME
 CURSORSHAPE
 CWBACKINGPIXEL
 CWBACKINGPLANES
 CWBACKINGSTORE
 CWBACKPIXEL
 CWBACKPIXMAP
 CWBITGRAVITY
 CWBORDERPIXEL
 CWBORDERPIXMAP
 CWBORDERWIDTH
 CWCOLORMAP
 CWCURSOR
 CWDONTPROPAGATE
 CWEVENTMASK
 CWHEIGHT
 CWOVERRIDEREDIRECT
 CWSAVEUNDER
 CWSIBLING
 CWSTACKMODE
 CWWIDTH
 CWWINGRAVITY
 CWX
 CWY
 DEFAULTBLANKING
 DEFAULTEXPOSURES
 DESTROYALL
 DESTROYNOTIFY
 DIRECTCOLOR
 DISABLEACCESS
 DISABLESCREENINTERVAL
 DISABLESCREENSAVER
 DOBLUE
 DOGREEN
 DONTALLOWEXPOSURES
 DONTCARESTATE
 DONTPREFERBLANKING
 DORED
 EASTGRAVITY
 ENABLEACCESS
 ENTERNOTIFY
 ENTERWINDOWMASK
 EVENODDRULE
 EXPOSE
 EXPOSUREMASK
 FAMILYCHAOS
 FAMILYDECNET
 FAMILYINTERNET
 FILLOPAQUESTIPPLED
 FILLSOLID
 FILLSTIPPLED
 FILLTILED
 FIRSTEXTENSIONERROR
 FOCUSCHANGEMASK
 FOCUSIN
 FOCUSOUT
 FONTCHANGE
 FONTLEFTTORIGHT
 FONTRIGHTTOLEFT
 FORGETGRAVITY
 GCARCMODE
 GCBACKGROUND
 GCCAPSTYLE
 GCCLIPMASK
 GCCLIPXORIGIN
 GCCLIPYORIGIN
 GCDASHLIST
 GCDASHOFFSET
 GCFILLRULE
 GCFILLSTYLE
 GCFONT
 GCFOREGROUND
 GCFUNCTION
 GCGRAPHICSEXPOSURES
 GCJOINSTYLE
 GCLASTBIT
 GCLINESTYLE
 GCLINEWIDTH
 GCPLANEMASK
 GCSTIPPLE
 GCSUBWINDOWMODE
 GCTILE
 GCTILESTIPXORIGIN
 GCTILESTIPYORIGIN
 GRABFROZEN
 GRABINVALIDTIME
 GRABMODEASYNC
 GRABMODESYNC
 GRABNOTVIEWABLE
 GRABSUCCESS
 GRAPHICSEXPOSE
 GRAVITYNOTIFY
 GRAYSCALE
 GXAND
 GXANDINVERTED
 GXANDREVERSE
 GXCLEAR
 GXCOPY
 GXCOPYINVERTED
 GXEQUIV
 GXINVERT
 GXNAND
 GXNOOP
 GXNOR
 GXOR
 GXORINVERTED
 GXORREVERSE
 GXSET
 GXXOR
 HEIGHTVALUE
 HOSTDELETE
 HOSTINSERT
 ICONICSTATE
 ICONMASKHINT
 ICONPIXMAPHINT
 ICONPOSITIONHINT
 ICONWINDOWHINT
 INACTIVESTATE
 INCLUDEINFERIORS
 INPUTFOCUS
 INPUTHINT
 INPUTONLY
 INPUTOUTPUT
 ISUNMAPPED
 ISUNVIEWABLE
 ISVIEWABLE
 JOINBEVEL
 JOINMITER
 JOINROUND
 KBAUTOREPEATMODE
 KBBELLDURATION
 KBBELLPERCENT
 KBBELLPITCH
 KBKEY
 KBKEYCLICKPERCENT
 KBLED
 KBLEDMODE
 KEYMAPNOTIFY
 KEYMAPSTATEMASK
 KEYPRESS
 KEYPRESSMASK
 KEYRELEASE
 KEYRELEASEMASK
 LASTEVENT
 LASTEXTENSIONERROR
 LEAVENOTIFY
 LEAVEWINDOWMASK
 LEDMODEOFF
 LEDMODEON
 LINEDOUBLEDASH
 LINEONOFFDASH
 LINESOLID
 LOCKMAPINDEX
 LOCKMASK
 LOWERHIGHEST
 LSBFIRST
 MAPNOTIFY
 MAPPINGBUSY
 MAPPINGFAILED
 MAPPINGKEYBOARD
 MAPPINGMODIFIER
 MAPPINGNOTIFY
 MAPPINGPOINTER
 MAPPINGSUCCESS
 MAPREQUEST
 MOD1MAPINDEX
 MOD1MASK
 MOD2MAPINDEX
 MOD2MASK
 MOD3MAPINDEX
 MOD3MASK
 MOD4MAPINDEX
 MOD4MASK
 MOD5MAPINDEX
 MOD5MASK
 MOTIONNOTIFY
 MSBFIRST
 NOEVENTMASK
 NOEXPOSE
 NONCONVEX
 NONE
 NORMALSTATE
 NORTHEASTGRAVITY
 NORTHGRAVITY
 NORTHWESTGRAVITY
 NOSYMBOL
 NOTIFYANCESTOR
 NOTIFYDETAILNONE
 NOTIFYGRAB
 NOTIFYHINT
 NOTIFYINFERIOR
 NOTIFYNONLINEAR
 NOTIFYNONLINEARVIRTUAL
 NOTIFYNORMAL
 NOTIFYPOINTER
 NOTIFYPOINTERROOT
 NOTIFYUNGRAB
 NOTIFYVIRTUAL
 NOTIFYWHILEGRABBED
 NOTUSEFUL
 NOVALUE
 NULL
 NULLQUARK
 NULLSTRING
 OPPOSITE
 OWNERGRABBUTTONMASK
 PALLHINTS
 PARENTRELATIVE
 PASPECT
 PLACEONBOTTOM
 PLACEONTOP
 PMAXSIZE
 PMINSIZE
 POINTERMOTIONHINTMASK
 POINTERMOTIONMASK
 POINTERROOT
 POINTERWINDOW
 PPOSITION
 PREFERBLANKING
 PRESIZEINC
 PROPERTYCHANGEMASK
 PROPERTYDELETE
 PROPERTYNEWVALUE
 PROPERTYNOTIFY
 PROPMODEAPPEND
 PROPMODEPREPEND
 PROPMODEREPLACE
 PSEUDOCOLOR
 PSIZE
 QUEUEDAFTERFLUSH
 QUEUEDAFTERREADING
 QUEUEDALREADY
 RAISELOWEST
 RECTANGLEIN
 RECTANGLEOUT
 RECTANGLEPART
 REPARENTNOTIFY
 REPLAYKEYBOARD
 REPLAYPOINTER
 RESIZEREDIRECTMASK
 RESIZEREQUEST
 RETAINPERMANENT
 RETAINTEMPORARY
 REVERTTONONE
 REVERTTOPARENT
 REVERTTOPOINTERROOT
 SCREENSAVERACTIVE
 SCREENSAVERRESET
 SELECTIONCLEAR
 SELECTIONNOTIFY
 SELECTIONREQUEST
 SETMODEDELETE
 SETMODEINSERT
 SHIFTMAPINDEX
 SHIFTMASK
 SOUTHEASTGRAVITY
 SOUTHGRAVITY
 SOUTHWESTGRAVITY
 STATEHINT
 STATICCOLOR
 STATICGRAVITY
 STATICGRAY
 STIPPLESHAPE
 STRUCTURENOTIFYMASK
 SUBSTRUCTURENOTIFYMASK
 SUBSTRUCTUREREDIRECTMASK
 SUCCESS
 SYNCBOTH
 SYNCKEYBOARD
 SYNCPOINTER
 TILESHAPE
 TOPIF
 TRUECOLOR
 UNMAPGRAVITY
 UNMAPNOTIFY
 UNSORTED
 USPOSITION
 USSIZE
 VISIBILITYCHANGEMASK
 VISIBILITYFULLYOBSCURED
 VISIBILITYNOTIFY
 VISIBILITYPARTIALLYOBSCURED
 VISIBILITYUNOBSCURED
 VISUALALLMASK
 VISUALBITSPERRGBMASK
 VISUALBLUEMASKMASK
 VISUALCLASSMASK
 VISUALCOLORMAPSIZEMASK
 VISUALDEPTHMASK
 VISUALGREENMASKMASK
 VISUALIDMASK
 VISUALNOMASK
 VISUALREDMASKMASK
 VISUALSCREENMASK
 WESTGRAVITY
 WHENMAPPED
 WIDTHVALUE
 WINDINGRULE
 WINDOWGROUPHINT
 XCNOENT
 XCNOMEM
 XCSUCCESS
 XNEGATIVE
 XRMBINDLOOSELY
 XRMBINDTIGHTLY
 XRMOPTIONISARG
 XRMOPTIONNOARG
 XRMOPTIONRESARG
 XRMOPTIONSEPARG
 XRMOPTIONSKIPARG
 XRMOPTIONSKIPLINE
 XRMOPTIONSTICKYARG
 XVALUE
 XYBITMAP
 XYPIXMAP
 X_PROTOCOL
 X_PROTOCOL_REVISION
 YNEGATIVE
 YSORTED
 YVALUE
 YXBANDED
 YXSORTED
 ZOOMSTATE
 ZPIXMAP

Atom names

 XA_ARC
 XA_ATOM
 XA_BITMAP
 XA_CAP_HEIGHT
 XA_CARDINAL
 XA_COLORMAP
 XA_COPYRIGHT
 XA_CURSOR
 XA_CUT_BUFFER0
 XA_CUT_BUFFER1
 XA_CUT_BUFFER2
 XA_CUT_BUFFER3
 XA_CUT_BUFFER4
 XA_CUT_BUFFER5
 XA_CUT_BUFFER6
 XA_CUT_BUFFER7
 XA_DRAWABLE
 XA_END_SPACE
 XA_FAMILY_NAME
 XA_FONT
 XA_FONT_NAME
 XA_FULL_NAME
 XA_INTEGER
 XA_ITALIC_ANGLE
 XA_LAST_PREDEFINED
 XA_MAX_SPACE
 XA_MIN_SPACE
 XA_NORM_SPACE
 XA_NOTICE
 XA_PIXMAP
 XA_POINT
 XA_POINT_SIZE
 XA_PRIMARY
 XA_QUAD_WIDTH
 XA_RECTANGLE
 XA_RESOLUTION
 XA_RESOURCE_MANAGER
 XA_RGB_BEST_MAP
 XA_RGB_BLUE_MAP
 XA_RGB_COLOR_MAP
 XA_RGB_DEFAULT_MAP
 XA_RGB_GRAY_MAP
 XA_RGB_GREEN_MAP
 XA_RGB_RED_MAP
 XA_SECONDARY
 XA_STRIKEOUT_ASCENT
 XA_STRIKEOUT_DESCENT
 XA_STRING
 XA_SUBSCRIPT_X
 XA_SUBSCRIPT_Y
 XA_SUPERSCRIPT_X
 XA_SUPERSCRIPT_Y
 XA_UNDERLINE_POSITION
 XA_UNDERLINE_THICKNESS
 XA_VISUALID
 XA_WEIGHT
 XA_WINDOW
 XA_WM_CLASS
 XA_WM_CLIENT_MACHINE
 XA_WM_COMMAND
 XA_WM_HINTS
 XA_WM_ICON_NAME
 XA_WM_ICON_SIZE
 XA_WM_NAME
 XA_WM_NORMAL_HINTS
 XA_WM_SIZE_HINTS
 XA_WM_TRANSIENT_FOR
 XA_WM_ZOOM_HINTS
 XA_X_HEIGHT
 XK_BACKSPACE

Keycodes

(LC means "lowercase"):

 XK_0
 XK_1
 XK_2
 XK_3
 XK_4
 XK_5
 XK_6
 XK_7
 XK_8
 XK_9
 XK_A
 XK_AACUTE
 XK_ACIRCUMFLEX
 XK_ACUTE
 XK_ADIAERESIS
 XK_AE
 XK_AGRAVE
 XK_ALT_L
 XK_ALT_R
 XK_AMPERSAND
 XK_ARING
 XK_ASCIICIRCUM
 XK_ASCIITILDE
 XK_ASTERISK
 XK_AT
 XK_ATILDE
 XK_B
 XK_BACKSLASH
 XK_BAR
 XK_BEGIN
 XK_BRACELEFT
 XK_BRACERIGHT
 XK_BRACKETLEFT
 XK_BRACKETRIGHT
 XK_BREAK
 XK_BROKENBAR
 XK_C
 XK_CANCEL
 XK_CAPS_LOCK
 XK_CCEDILLA
 XK_CEDILLA
 XK_CENT
 XK_CLEAR
 XK_COLON
 XK_COMMA
 XK_CONTROL_L
 XK_CONTROL_R
 XK_COPYRIGHT
 XK_CURRENCY
 XK_D
 XK_DEGREE
 XK_DELETE
 XK_DIAERESIS
 XK_DIVISION
 XK_DOLLAR
 XK_DOWN
 XK_E
 XK_EACUTE
 XK_ECIRCUMFLEX
 XK_EDIAERESIS
 XK_EGRAVE
 XK_END
 XK_EQUAL
 XK_ESCAPE
 XK_ETH
 XK_EXCLAM
 XK_EXCLAMDOWN
 XK_EXECUTE
 XK_F
 XK_F1
 XK_F10
 XK_F11
 XK_F12
 XK_F13
 XK_F14
 XK_F15
 XK_F16
 XK_F17
 XK_F18
 XK_F19
 XK_F2
 XK_F20
 XK_F21
 XK_F22
 XK_F23
 XK_F24
 XK_F25
 XK_F26
 XK_F27
 XK_F28
 XK_F29
 XK_F3
 XK_F30
 XK_F31
 XK_F32
 XK_F33
 XK_F34
 XK_F35
 XK_F4
 XK_F5
 XK_F6
 XK_F7
 XK_F8
 XK_F9
 XK_FIND
 XK_G
 XK_GREATER
 XK_GUILLEMOTLEFT
 XK_GUILLEMOTRIGHT
 XK_H
 XK_HELP
 XK_HOME
 XK_HYPER_L
 XK_HYPER_R
 XK_HYPHEN
 XK_I
 XK_IACUTE
 XK_ICIRCUMFLEX
 XK_IDIAERESIS
 XK_IGRAVE
 XK_INSERT
 XK_J
 XK_K
 XK_KANJI
 XK_KP_0
 XK_KP_1
 XK_KP_2
 XK_KP_3
 XK_KP_4
 XK_KP_5
 XK_KP_6
 XK_KP_7
 XK_KP_8
 XK_KP_9
 XK_KP_ADD
 XK_KP_DECIMAL
 XK_KP_DIVIDE
 XK_KP_ENTER
 XK_KP_EQUAL
 XK_KP_F1
 XK_KP_F2
 XK_KP_F3
 XK_KP_F4
 XK_KP_MULTIPLY
 XK_KP_SEPARATOR
 XK_KP_SPACE
 XK_KP_SUBTRACT
 XK_KP_TAB
 XK_L
 XK_L1
 XK_L10
 XK_L2
 XK_L3
 XK_L4
 XK_L5
 XK_L6
 XK_L7
 XK_L8
 XK_L9
 XK_LCA
 XK_LCAACUTE
 XK_LCACIRCUMFLEX
 XK_LCADIAERESIS
 XK_LCAE
 XK_LCAGRAVE
 XK_LCARING
 XK_LCATILDE
 XK_LCB
 XK_LCC
 XK_LCCCEDILLA
 XK_LCD
 XK_LCE
 XK_LCEACUTE
 XK_LCECIRCUMFLEX
 XK_LCEDIAERESIS
 XK_LCEGRAVE
 XK_LCETH
 XK_LCF
 XK_LCG
 XK_LCH
 XK_LCI
 XK_LCIACUTE
 XK_LCICIRCUMFLEX
 XK_LCIDIAERESIS
 XK_LCIGRAVE
 XK_LCJ
 XK_LCK
 XK_LCL
 XK_LCM
 XK_LCN
 XK_LCNTILDE
 XK_LCO
 XK_LCOACUTE
 XK_LCOCIRCUMFLEX
 XK_LCODIAERESIS
 XK_LCOGRAVE
 XK_LCOTILDE
 XK_LCP
 XK_LCQ
 XK_LCR
 XK_LCS
 XK_LCT
 XK_LCTHORN
 XK_LCU
 XK_LCUACUTE
 XK_LCUCIRCUMFLEX
 XK_LCUDIAERESIS
 XK_LCUGRAVE
 XK_LCV
 XK_LCW
 XK_LCX
 XK_LCY
 XK_LCYACUTE
 XK_LCZ
 XK_LEFT
 XK_LESS
 XK_LINEFEED
 XK_M
 XK_MACRON
 XK_MASCULINE
 XK_MENU
 XK_META_L
 XK_META_R
 XK_MINUS
 XK_MODE_SWITCH
 XK_MU
 XK_MULTIPLY
 XK_MULTI_KEY
 XK_N
 XK_NEXT
 XK_NOBREAKSPACE
 XK_NOTSIGN
 XK_NTILDE
 XK_NUMBERSIGN
 XK_NUM_LOCK
 XK_O
 XK_OACUTE
 XK_OCIRCUMFLEX
 XK_ODIAERESIS
 XK_OGRAVE
 XK_ONEHALF
 XK_ONEQUARTER
 XK_ONESUPERIOR
 XK_OOBLIQUE
 XK_ORDFEMININE
 XK_OSLASH
 XK_OTILDE
 XK_P
 XK_PARAGRAPH
 XK_PARENLEFT
 XK_PARENRIGHT
 XK_PAUSE
 XK_PERCENT
 XK_PERIOD
 XK_PERIODCENTERED
 XK_PLUS
 XK_PLUSMINUS
 XK_PRINT
 XK_PRIOR
 XK_Q
 XK_QUESTION
 XK_QUESTIONDOWN
 XK_QUOTEDBL
 XK_QUOTELEFT
 XK_QUOTERIGHT
 XK_R
 XK_R1
 XK_R10
 XK_R11
 XK_R12
 XK_R13
 XK_R14
 XK_R15
 XK_R2
 XK_R3
 XK_R4
 XK_R5
 XK_R6
 XK_R7
 XK_R8
 XK_R9
 XK_REDO
 XK_REGISTERED
 XK_RETURN
 XK_RIGHT
 XK_S
 XK_SCRIPT_SWITCH
 XK_SECTION
 XK_SELECT
 XK_SEMICOLON
 XK_SHIFT_L
 XK_SHIFT_LOCK
 XK_SHIFT_R
 XK_SLASH
 XK_SPACE
 XK_SSHARP
 XK_STERLING
 XK_SUPER_L
 XK_SUPER_R
 XK_T
 XK_TAB
 XK_THORN
 XK_THREEQUARTERS
 XK_THREESUPERIOR
 XK_TWOSUPERIOR
 XK_U
 XK_UACUTE
 XK_UCIRCUMFLEX
 XK_UDIAERESIS
 XK_UGRAVE
 XK_UNDERSCORE
 XK_UNDO
 XK_UP
 XK_V
 XK_W
 XK_X
 XK_Y
 XK_YACUTE
 XK_YDIAERESIS
 XK_YEN
 XK_Z
 DXK_ACUTE_ACCENT
 DXK_CEDILLA_ACCENT
 DXK_CIRCUMFLEX_ACCENT
 DXK_DIAERESIS
 DXK_GRAVE_ACCENT
 DXK_REMOVE
 DXK_RING_ACCENT
 DXK_TILDE

Cursor fonts

 XC_ARROW
 XC_BASED_ARROW_DOWN
 XC_BASED_ARROW_UP
 XC_BOAT
 XC_BOGOSITY
 XC_BOTTOM_LEFT_CORNER
 XC_BOTTOM_RIGHT_CORNER
 XC_BOTTOM_SIDE
 XC_BOTTOM_TEE
 XC_BOX_SPIRAL
 XC_CENTER_PTR
 XC_CIRCLE
 XC_CLOCK
 XC_COFFEE_MUG
 XC_CROSS
 XC_CROSSHAIR
 XC_CROSS_REVERSE
 XC_DIAMOND_CROSS
 XC_DOT
 XC_DOTBOX
 XC_DOUBLE_ARROW
 XC_DRAFT_LARGE
 XC_DRAFT_SMALL
 XC_DRAPED_BOX
 XC_EXCHANGE
 XC_FLEUR
 XC_GOBBLER
 XC_GUMBY
 XC_HAND1
 XC_HAND2
 XC_HEART
 XC_ICON
 XC_IRON_CROSS
 XC_LEFTBUTTON
 XC_LEFT_PTR
 XC_LEFT_SIDE
 XC_LEFT_TEE
 XC_LL_ANGLE
 XC_LR_ANGLE
 XC_MAN
 XC_MIDDLEBUTTON
 XC_MOUSE
 XC_NUM_GLYPHS
 XC_PENCIL
 XC_PIRATE
 XC_PLUS
 XC_QUESTION_ARROW
 XC_RIGHTBUTTON
 XC_RIGHT_PTR
 XC_RIGHT_SIDE
 XC_RIGHT_TEE
 XC_RTL_LOGO
 XC_SAILBOAT
 XC_SB_DOWN_ARROW
 XC_SB_H_DOUBLE_ARROW
 XC_SB_LEFT_ARROW
 XC_SB_RIGHT_ARROW
 XC_SB_UP_ARROW
 XC_SB_V_DOUBLE_ARROW
 XC_SHUTTLE
 XC_SIZING
 XC_SPIDER
 XC_SPRAYCAN
 XC_STAR
 XC_TARGET
 XC_TCROSS
 XC_TOP_LEFT_ARROW
 XC_TOP_LEFT_CORNER
 XC_TOP_RIGHT_CORNER
 XC_TOP_SIDE
 XC_TOP_TEE
 XC_TREK
 XC_UL_ANGLE
 XC_UMBRELLA
 XC_UR_ANGLE
 XC_WATCH
 XC_XTERM
 XC_X_CURSOR

Structures

Structures are allocated by

 (make-<NAME>) -> C-POINTER

and freed by

 (free-<NAME> <C-POINTER>)

Elements of a structure can be accessed usign accessors that follow this pattern:

 (<NAME>-<ELEMENT-NAME> C-POINTER) -> <TYPE>
 (set-<NAME>-<ELEMENT-NAME>! C-POINTER <TYPE>)

The following structures are defined:

xextdata

 number -> INTEGER
 next -> C-POINTER
 private_data -> C-POINTER

xextcodes

 
 extension -> INTEGER
 major_opcode -> INTEGER
 first_event -> INTEGER
 first_error -> INTEGER
 

xpixmapformatvalues

 
 depth -> INTEGER
 bits_per_pixel -> INTEGER
 scanline_pad -> INTEGER
 

xgcvalues

 function -> INTEGER
 plane_mask -> INTEGER
 foreground -> INTEGER
 background -> INTEGER
 line_width -> INTEGER
 line_style -> INTEGER
 cap_style -> INTEGER
 join_style -> INTEGER
 fill_style -> INTEGER
 fill_rule -> INTEGER
 arc_mode -> INTEGER
 tile -> UNSIGNED-LONG
 stipple -> UNSIGNED-LONG
 ts_x_origin -> INTEGER
 ts_y_origin -> INTEGER
 font -> UNSIGNED-LONG
 subwindow_mode -> INTEGER
 graphics_exposures -> INTEGER
 clip_x_origin -> INTEGER
 clip_y_origin -> INTEGER
 clip_mask -> UNSIGNED-LONG
 dash_offset -> INTEGER
 dashes -> CHAR
 

visual

 
 ext_data -> C-POINTER
 visualid -> UNSIGNED-LONG
 class -> INTEGER
 red_mask -> UNSIGNED-LONG
 green_mask -> UNSIGNED-LONG
 blue_mask -> UNSIGNED-LONG
 bits_per_rgb -> INTEGER
 map_entries -> INTEGER
 

depth

 
 depth -> INTEGER
 nvisuals -> INTEGER
 visuals -> C-POINTER
 

screen

 
 ext_data -> C-POINTER
 display -> C-POINTER
 root -> UNSIGNED-LONG
 width -> INTEGER
 height -> INTEGER
 mwidth -> INTEGER
 mheight -> INTEGER
 ndepths -> INTEGER
 depths -> C-POINTER
 root_depth -> INTEGER
 root_visual -> C-POINTER
 default_gc -> C-POINTER
 cmap -> UNSIGNED-LONG
 white_pixel -> UNSIGNED-LONG
 black_pixel -> UNSIGNED-LONG
 max_maps -> INTEGER
 min_maps -> INTEGER
 backing_store -> INTEGER
 save_unders -> INTEGER
 root_input_mask -> INTEGER
 

screenformat

 
 ext_data -> C-POINTER
 depth -> INTEGER
 bits_per_pixel -> INTEGER
 scanline_pad -> INTEGER
 

xsetwindowattributes

 
 xbackground_pixmap -> UNSIGNED-LONG
 background_pixel -> UNSIGNED-LONG
 border_pixmap -> UNSIGNED-LONG
 border_pixel -> UNSIGNED-LONG
 bit_gravity -> INTEGER
 win_gravity -> INTEGER
 backing_store -> INTEGER
 backing_planes -> UNSIGNED-LONG
 backing_pixel -> UNSIGNED-LONG
 save_under -> INTEGER
 event_mask -> INTEGER
 do_not_propagate_mask -> INTEGER
 override_redirect -> INTEGER
 colormap -> UNSIGNED-LONG
 cursor -> UNSIGNED-LONG
 

xwindowattributes

 
 x -> INTEGER
 y -> INTEGER
 width -> INTEGER
 height -> INTEGER
 border_width -> INTEGER
 depth -> INTEGER
 visual -> C-POINTER
 root -> UNSIGNED-LONG
 class -> INTEGER
 bit_gravity -> INTEGER
 win_gravity -> INTEGER
 backing_store -> INTEGER
 backing_planes -> UNSIGNED-LONG
 backing_pixel -> UNSIGNED-LONG
 save_under -> INTEGER
 colormap -> UNSIGNED-LONG
 map_installed -> INTEGER
 map_state -> INTEGER
 all_event_masks -> INTEGER
 your_event_mask -> INTEGER
 do_not_propagate_mask -> INTEGER
 override_redirect -> INTEGER
 screen -> C-POINTER
 

xhostaddress

 
 family -> INTEGER
 length -> INTEGER
 address -> C-POINTER
 

ximage

 
 width -> INTEGER
 height -> INTEGER
 xoffset -> INTEGER
 format -> INTEGER
 data -> C-POINTER
 byte_order -> INTEGER
 bitmap_unit -> INTEGER
 bitmap_bit_order -> INTEGER
 bitmap_pad -> INTEGER
 depth -> INTEGER
 bytes_per_line -> INTEGER
 bits_per_pixel -> INTEGER
 red_mask -> UNSIGNED-LONG
 green_mask -> UNSIGNED-LONG
 blue_mask -> UNSIGNED-LONG
 obdata -> C-POINTER
 

xwindowchanges

 
 x -> INTEGER
 y -> INTEGER
 width -> INTEGER
 height -> INTEGER
 border_width -> INTEGER
 sibling -> UNSIGNED-LONG
 stack_mode -> INTEGER
 

xcolor

 
 pixel -> UNSIGNED-LONG
 red -> UNSIGNED-SHORT
 green -> UNSIGNED-SHORT
 blue -> UNSIGNED-SHORT
 flags -> CHAR
 pad -> CHAR
 

xsegment

 
 x1 -> SHORT
 y1 -> SHORT
 x2 -> SHORT
 y2 -> SHORT
 

xpoint

 
 x -> SHORT
 y -> SHORT

xrectangle

 x -> SHORT
 y -> SHORT
 width -> UNSIGNED-SHORT
 height -> UNSIGNED-SHORT
 

xarc

 
 x -> SHORT
 y -> SHORT
 width -> UNSIGNED-SHORT
 height -> UNSIGNED-SHORT
 angle1 -> SHORT
 angle2 -> SHORT
 

xkeyboardcontrol

 
 key_click_percent -> INTEGER
 bell_percent -> INTEGER
 bell_pitch -> INTEGER
 bell_duration -> INTEGER
 led -> INTEGER
 led_mode -> INTEGER
 key -> INTEGER
 auto_repeat_mode -> INTEGER
 

xkeyboardstate

 
 key_click_percent -> INTEGER
 bell_percent -> INTEGER
 bell_pitch -> UNSIGNED-INTEGER
 bell_duration -> UNSIGNED-INTEGER
 led_mask -> UNSIGNED-LONG
 global_auto_repeat -> INTEGER
 auto_repeats -> C-POINTER
 

xtimecoord

 
 time -> UNSIGNED-LONG
 x -> SHORT
 y -> SHORT
 

xmodifierkeymap

 
 max_keypermod -> INTEGER
 modifiermap -> C-POINTER
 

xkeyreleasedevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 root -> UNSIGNED-LONG
 subwindow -> UNSIGNED-LONG
 time -> UNSIGNED-LONG
 x -> INTEGER
 y -> INTEGER
 x_root -> INTEGER
 y_root -> INTEGER
 state -> UNSIGNED-INTEGER
 keycode -> UNSIGNED-INTEGER
 same_screen -> INTEGER
 

xkeypressedevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 root -> UNSIGNED-LONG
 subwindow -> UNSIGNED-LONG
 time -> UNSIGNED-LONG
 x -> INTEGER
 y -> INTEGER
 x_root -> INTEGER
 y_root -> INTEGER
 state -> UNSIGNED-INTEGER
 keycode -> UNSIGNED-INTEGER
 same_screen -> INTEGER
 

xkeyevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 root -> UNSIGNED-LONG
 subwindow -> UNSIGNED-LONG
 time -> UNSIGNED-LONG
 x -> INTEGER
 y -> INTEGER
 x_root -> INTEGER
 y_root -> INTEGER
 state -> UNSIGNED-INTEGER
 keycode -> UNSIGNED-INTEGER
 same_screen -> INTEGER
 

xbuttonreleasedevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 root -> UNSIGNED-LONG
 subwindow -> UNSIGNED-LONG
 time -> UNSIGNED-LONG
 x -> INTEGER
 y -> INTEGER
 x_root -> INTEGER
 y_root -> INTEGER
 state -> UNSIGNED-INTEGER
 button -> UNSIGNED-INTEGER
 same_screen -> INTEGER
 

xbuttonpressedevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 root -> UNSIGNED-LONG
 subwindow -> UNSIGNED-LONG
 time -> UNSIGNED-LONG
 x -> INTEGER
 y -> INTEGER
 x_root -> INTEGER
 y_root -> INTEGER
 state -> UNSIGNED-INTEGER
 button -> UNSIGNED-INTEGER
 same_screen -> INTEGER
 

xbuttonevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 root -> UNSIGNED-LONG
 subwindow -> UNSIGNED-LONG
 time -> UNSIGNED-LONG
 x -> INTEGER
 y -> INTEGER
 x_root -> INTEGER
 y_root -> INTEGER
 state -> UNSIGNED-INTEGER
 button -> UNSIGNED-INTEGER
 same_screen -> INTEGER
 

xpointermovedevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 root -> UNSIGNED-LONG
 subwindow -> UNSIGNED-LONG
 time -> UNSIGNED-LONG
 x -> INTEGER
 y -> INTEGER
 x_root -> INTEGER
 y_root -> INTEGER
 state -> UNSIGNED-INTEGER
 is_hint -> CHAR
 same_screen -> INTEGER
 

xmotionevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 root -> UNSIGNED-LONG
 subwindow -> UNSIGNED-LONG
 time -> UNSIGNED-LONG
 x -> INTEGER
 y -> INTEGER
 x_root -> INTEGER
 y_root -> INTEGER
 state -> UNSIGNED-INTEGER
 is_hint -> CHAR
 same_screen -> INTEGER
 

xleavewindowevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 root -> UNSIGNED-LONG
 subwindow -> UNSIGNED-LONG
 time -> UNSIGNED-LONG
 x -> INTEGER
 y -> INTEGER
 x_root -> INTEGER
 y_root -> INTEGER
 mode -> INTEGER
 detail -> INTEGER
 same_screen -> INTEGER
 focus -> INTEGER
 state -> UNSIGNED-INTEGER
 

xenterwindowevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 root -> UNSIGNED-LONG
 subwindow -> UNSIGNED-LONG
 time -> UNSIGNED-LONG
 x -> INTEGER
 y -> INTEGER
 x_root -> INTEGER
 y_root -> INTEGER
 mode -> INTEGER
 detail -> INTEGER
 same_screen -> INTEGER
 focus -> INTEGER
 state -> UNSIGNED-INTEGER
 

xcrossingevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 root -> UNSIGNED-LONG
 subwindow -> UNSIGNED-LONG
 time -> UNSIGNED-LONG
 x -> INTEGER
 y -> INTEGER
 x_root -> INTEGER
 y_root -> INTEGER
 mode -> INTEGER
 detail -> INTEGER
 same_screen -> INTEGER
 focus -> INTEGER
 state -> UNSIGNED-INTEGER
 

xfocusoutevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 mode -> INTEGER
 detail -> INTEGER
 

xfocusinevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 mode -> INTEGER
 detail -> INTEGER
 

xfocuschangeevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 mode -> INTEGER
 detail -> INTEGER
 

xkeymapevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 key_vector -> C-POINTER
 

xexposeevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 x -> INTEGER
 y -> INTEGER
 width -> INTEGER
 height -> INTEGER
 count -> INTEGER
 

xgraphicsexposeevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 drawable -> UNSIGNED-LONG
 x -> INTEGER
 y -> INTEGER
 width -> INTEGER
 height -> INTEGER
 count -> INTEGER
 major_code -> INTEGER
 minor_code -> INTEGER
 

xnoexposeevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 drawable -> UNSIGNED-LONG
 major_code -> INTEGER
 minor_code -> INTEGER
 

xvisibilityevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 state -> INTEGER
 

xcreatewindowevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 parent -> UNSIGNED-LONG
 window -> UNSIGNED-LONG
 x -> INTEGER
 y -> INTEGER
 width -> INTEGER
 height -> INTEGER
 border_width -> INTEGER
 override_redirect -> INTEGER
 

xdestroywindowevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 event -> UNSIGNED-LONG
 window -> UNSIGNED-LONG
 

xunmapevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 event -> UNSIGNED-LONG
 window -> UNSIGNED-LONG
 from_configure -> INTEGER
 

xmapevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 event -> UNSIGNED-LONG
 window -> UNSIGNED-LONG
 override_redirect -> INTEGER
 

xmaprequestevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 parent -> UNSIGNED-LONG
 window -> UNSIGNED-LONG
 

xreparentevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 event -> UNSIGNED-LONG
 window -> UNSIGNED-LONG
 parent -> UNSIGNED-LONG
 x -> INTEGER
 y -> INTEGER
 override_redirect -> INTEGER
 

xconfigureevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 event -> UNSIGNED-LONG
 window -> UNSIGNED-LONG
 x -> INTEGER
 y -> INTEGER
 width -> INTEGER
 height -> INTEGER
 border_width -> INTEGER
 above -> UNSIGNED-LONG
 override_redirect -> INTEGER
 

xgravityevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 event -> UNSIGNED-LONG
 window -> UNSIGNED-LONG
 x -> INTEGER
 y -> INTEGER
 

xresizerequestevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 width -> INTEGER
 height -> INTEGER
 

xconfigurerequestevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 parent -> UNSIGNED-LONG
 window -> UNSIGNED-LONG
 x -> INTEGER
 y -> INTEGER
 width -> INTEGER
 height -> INTEGER
 border_width -> INTEGER
 above -> UNSIGNED-LONG
 detail -> INTEGER
 value_mask -> UNSIGNED-LONG
 

xcirculateevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 event -> UNSIGNED-LONG
 window -> UNSIGNED-LONG
 place -> INTEGER
 

xcirculaterequestevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 parent -> UNSIGNED-LONG
 window -> UNSIGNED-LONG
 place -> INTEGER
 

xpropertyevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 atom -> UNSIGNED-LONG
 time -> UNSIGNED-LONG
 state -> INTEGER
 

xselectionclearevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 selection -> UNSIGNED-LONG
 time -> UNSIGNED-LONG
 

xselectionrequestevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 owner -> UNSIGNED-LONG
 requestor -> UNSIGNED-LONG
 selection -> UNSIGNED-LONG
 target -> UNSIGNED-LONG
 property -> UNSIGNED-LONG
 time -> UNSIGNED-LONG
 

xselectionevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 requestor -> UNSIGNED-LONG
 selection -> UNSIGNED-LONG
 target -> UNSIGNED-LONG
 property -> UNSIGNED-LONG
 time -> UNSIGNED-LONG
 

xcolormapevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 colormap -> UNSIGNED-LONG
 new -> INTEGER
 state -> INTEGER
 

xclientmessageevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 message_type -> UNSIGNED-LONG
 format -> INTEGER
 b -> C-POINTER
 s -> C-POINTER
 l -> C-POINTER
 

xmappingevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 request -> INTEGER
 first_keycode -> INTEGER
 count -> INTEGER
 

xerrorevent

 
 type -> INTEGER
 display -> C-POINTER
 resourceid -> UNSIGNED-LONG
 serial -> UNSIGNED-LONG
 error_code -> UNSIGNED-CHAR
 request_code -> UNSIGNED-CHAR
 minor_code -> UNSIGNED-CHAR
 

xanyevent

 
 type -> INTEGER
 serial -> UNSIGNED-LONG
 send_event -> INTEGER
 display -> C-POINTER
 window -> UNSIGNED-LONG
 

xcharstruct

 
 lbearing -> SHORT
 rbearing -> SHORT
 width -> SHORT
 ascent -> SHORT
 descent -> SHORT
 attributes -> UNSIGNED-SHORT
 

xfontprop

 
 name -> UNSIGNED-LONG
 card32 -> UNSIGNED-LONG
 

xfontstruct

 
 ext_data -> C-POINTER
 fid -> UNSIGNED-LONG
 direction -> UNSIGNED-INTEGER
 min_char_or_byte2 -> UNSIGNED-INTEGER
 max_char_or_byte2 -> UNSIGNED-INTEGER
 min_byte1 -> UNSIGNED-INTEGER
 max_byte1 -> UNSIGNED-INTEGER
 all_chars_exist -> INTEGER
 default_char -> UNSIGNED-INTEGER
 n_properties -> INTEGER
 properties -> C-POINTER
 min_bounds-lbearing -> SHORT
 min_bounds-rbearing -> SHORT
 min_bounds-width -> SHORT
 min_bounds-ascent -> SHORT
 min_bounds-descent -> SHORT
 min_bounds-attributes -> UNSIGNED-SHORT
 max_bounds-lbearing -> SHORT
 max_bounds-rbearing -> SHORT
 max_bounds-width -> SHORT
 max_bounds-ascent -> SHORT
 max_bounds-descent -> SHORT
 max_bounds-attributes -> UNSIGNED-SHORT
 per_char -> C-POINTER
 ascent -> INTEGER
 descent -> INTEGER
 

xtextitem

 
 chars -> C-POINTER
 nchars -> INTEGER
 delta -> INTEGER
 font -> UNSIGNED-LONG
 

xchar2b

 
 byte1 -> UNSIGNED-CHAR
 byte2 -> UNSIGNED-CHAR
 

xtextitem16

 
 chars -> C-POINTER
 nchars -> INTEGER
 delta -> INTEGER
 font -> UNSIGNED-LONG
 

xfontsetextents

 
 max_ink_extent-x -> SHORT
 max_ink_extent-y -> SHORT
 max_ink_extent-width -> UNSIGNED-SHORT
 max_ink_extent-height -> UNSIGNED-SHORT
 max_logical_extent_x -> SHORT
 max_logical_extent_y -> SHORT
 max_logical_extent_width -> UNSIGNED-SHORT
 max_logical_extent_height -> UNSIGNED-SHORT
 

xmbtextitem

 
 chars -> C-POINTER
 nchars -> INTEGER
 delta -> INTEGER
 font_set -> C-POINTER
 

xwctextitem

 
 chars -> C-POINTER
 nchars -> INTEGER
 delta -> INTEGER
 font_set -> C-POINTER
 

ximstyles

 
 count_styles -> UNSIGNED-SHORT
 supported_styles -> C-POINTER
 

ximcallback

 
 client_data -> C-POINTER
 

ximtext

 
 length -> UNSIGNED-SHORT
 feedback -> C-POINTER
 encoding_is_wchar -> INTEGER
 multi_byte -> C-POINTER
 wide_char -> C-POINTER
 

ximpreeditdrawcallbackstruct

 
 caret -> INTEGER
 chg_first -> INTEGER
 chg_length -> INTEGER
 text -> C-POINTER
 

ximpreeditcaretcallbackstruct

 
 position -> INTEGER
 direction -> INTEGER
 style -> INTEGER
 

ximstatusdrawcallbackstruct

 
 type -> INTEGER
 text -> C-POINTER
 bitmap -> UNSIGNED-LONG
 

xsizehints

 
 flags -> INTEGER
 x -> INTEGER
 y -> INTEGER
 width -> INTEGER
 height -> INTEGER
 min_width -> INTEGER
 min_height -> INTEGER
 max_width -> INTEGER
 max_height -> INTEGER
 width_inc -> INTEGER
 height_inc -> INTEGER
 min_aspect-x -> INTEGER
 min_aspect-y -> INTEGER
 max_aspect-x -> INTEGER
 max_aspect-y -> INTEGER
 base_width -> INTEGER
 base_height -> INTEGER
 win_gravity -> INTEGER
 

xwmhints

 
 flags -> INTEGER
 input -> INTEGER
 initial_state -> INTEGER
 icon_pixmap -> UNSIGNED-LONG
 icon_window -> UNSIGNED-LONG
 icon_x -> INTEGER
 icon_y -> INTEGER
 icon_mask -> UNSIGNED-LONG
 window_group -> UNSIGNED-LONG
 

xtextproperty

 
 value -> C-POINTER
 encoding -> UNSIGNED-LONG
 format -> INTEGER
 nitems -> UNSIGNED-LONG
 

xiconsize

 
 min_width -> INTEGER
 min_height -> INTEGER
 max_width -> INTEGER
 max_height -> INTEGER
 width_inc -> INTEGER
 height_inc -> INTEGER
 

xclasshint

 
 res_name -> C-POINTER
 res_class -> C-POINTER
 

xcomposestatus

 
 compose_ptr -> C-POINTER
 chars_matched -> INTEGER
 

xvisualinfo

 
 visual -> C-POINTER
 visualid -> UNSIGNED-LONG
 screen -> INTEGER
 depth -> INTEGER
 class -> INTEGER
 red_mask -> UNSIGNED-LONG
 green_mask -> UNSIGNED-LONG
 blue_mask -> UNSIGNED-LONG
 colormap_size -> INTEGER
 bits_per_rgb -> INTEGER
 

xstandardcolormap

 
 colormap -> UNSIGNED-LONG
 red_max -> UNSIGNED-LONG
 red_mult -> UNSIGNED-LONG
 green_max -> UNSIGNED-LONG
 green_mult -> UNSIGNED-LONG
 blue_max -> UNSIGNED-LONG
 blue_mult -> UNSIGNED-LONG
 base_pixel -> UNSIGNED-LONG
 visualid -> UNSIGNED-LONG
 killid -> UNSIGNED-LONG
 

xevent

 
 type -> INTEGER
 xany-type -> INTEGER
 xany-serial -> UNSIGNED-LONG
 xany-send_event -> INTEGER
 xany-display -> C-POINTER
 xany-window -> UNSIGNED-LONG
 xkey-type -> INTEGER
 xkey-serial -> UNSIGNED-LONG
 xkey-send_event -> INTEGER
 xkey-display -> C-POINTER
 xkey-window -> UNSIGNED-LONG
 xkey-root -> UNSIGNED-LONG
 xkey-subwindow -> UNSIGNED-LONG
 xkey-time -> UNSIGNED-LONG
 xkey-x -> INTEGER
 xkey-y -> INTEGER
 xkey-x_root -> INTEGER
 xkey-y_root -> INTEGER
 xkey-state -> UNSIGNED-INTEGER
 xkey-keycode -> UNSIGNED-INTEGER
 xkey-same_screen -> INTEGER
 xbutton-type -> INTEGER
 xbutton-serial -> UNSIGNED-LONG
 xbutton-send_event -> INTEGER
 xbutton-display -> C-POINTER
 xbutton-window -> UNSIGNED-LONG
 xbutton-root -> UNSIGNED-LONG
 xbutton-subwindow -> UNSIGNED-LONG
 xbutton-time -> UNSIGNED-LONG
 xbutton-x -> INTEGER
 xbutton-y -> INTEGER
 xbutton-x_root -> INTEGER
 xbutton-y_root -> INTEGER
 xbutton-state -> UNSIGNED-INTEGER
 xbutton-button -> UNSIGNED-INTEGER
 xbutton-same_screen -> INTEGER
 xmotion-type -> INTEGER
 xmotion-serial -> UNSIGNED-LONG
 xmotion-send_event -> INTEGER
 xmotion-display -> C-POINTER
 xmotion-window -> UNSIGNED-LONG
 xmotion-root -> UNSIGNED-LONG
 xmotion-subwindow -> UNSIGNED-LONG
 xmotion-time -> UNSIGNED-LONG
 xmotion-x -> INTEGER
 xmotion-y -> INTEGER
 xmotion-x_root -> INTEGER
 xmotion-y_root -> INTEGER
 xmotion-state -> UNSIGNED-INTEGER
 xmotion-is_hint -> CHAR
 xmotion-same_screen -> INTEGER
 xcrossing-type -> INTEGER
 xcrossing-serial -> UNSIGNED-LONG
 xcrossing-send_event -> INTEGER
 xcrossing-display -> C-POINTER
 xcrossing-window -> UNSIGNED-LONG
 xcrossing-root -> UNSIGNED-LONG
 xcrossing-subwindow -> UNSIGNED-LONG
 xcrossing-time -> UNSIGNED-LONG
 xcrossing-x -> INTEGER
 xcrossing-y -> INTEGER
 xcrossing-x_root -> INTEGER
 xcrossing-y_root -> INTEGER
 xcrossing-mode -> INTEGER
 xcrossing-detail -> INTEGER
 xcrossing-same_screen -> INTEGER
 xcrossing-focus -> INTEGER
 xcrossing-state -> UNSIGNED-INTEGER
 xfocus-type -> INTEGER
 xfocus-serial -> UNSIGNED-LONG
 xfocus-send_event -> INTEGER
 xfocus-display -> C-POINTER
 xfocus-window -> UNSIGNED-LONG
 xfocus-mode -> INTEGER
 xfocus-detail -> INTEGER
 xexpose-type -> INTEGER
 xexpose-serial -> UNSIGNED-LONG
 xexpose-send_event -> INTEGER
 xexpose-display -> C-POINTER
 xexpose-window -> UNSIGNED-LONG
 xexpose-x -> INTEGER
 xexpose-y -> INTEGER
 xexpose-width -> INTEGER
 xexpose-height -> INTEGER
 xexpose-count -> INTEGER
 xgraphicsexpose-type -> INTEGER
 xgraphicsexpose-serial -> UNSIGNED-LONG
 xgraphicsexpose-send_event -> INTEGER
 xgraphicsexpose-display -> C-POINTER
 xgraphicsexpose-drawable -> UNSIGNED-LONG
 xgraphicsexpose-x -> INTEGER
 xgraphicsexpose-y -> INTEGER
 xgraphicsexpose-width -> INTEGER
 xgraphicsexpose-height -> INTEGER
 xgraphicsexpose-count -> INTEGER
 xgraphicsexpose-major_code -> INTEGER
 xgraphicsexpose-minor_code -> INTEGER
 xnoexpose-type -> INTEGER
 xnoexpose-serial -> UNSIGNED-LONG
 xnoexpose-send_event -> INTEGER
 xnoexpose-display -> C-POINTER
 xnoexpose-drawable -> UNSIGNED-LONG
 xnoexpose-major_code -> INTEGER
 xnoexpose-minor_code -> INTEGER
 xvisibility-type -> INTEGER
 xvisibility-serial -> UNSIGNED-LONG
 xvisibility-send_event -> INTEGER
 xvisibility-display -> C-POINTER
 xvisibility-window -> UNSIGNED-LONG
 xvisibility-state -> INTEGER
 xcreatewindow-type -> INTEGER
 xcreatewindow-serial -> UNSIGNED-LONG
 xcreatewindow-send_event -> INTEGER
 xcreatewindow-display -> C-POINTER
 xcreatewindow-parent -> UNSIGNED-LONG
 xcreatewindow-window -> UNSIGNED-LONG
 xcreatewindow-x -> INTEGER
 xcreatewindow-y -> INTEGER
 xcreatewindow-width -> INTEGER
 xcreatewindow-height -> INTEGER
 xcreatewindow-border_width -> INTEGER
 xcreatewindow-override_redirect -> INTEGER
 xdestroywindow-type -> INTEGER
 xdestroywindow-serial -> UNSIGNED-LONG
 xdestroywindow-send_event -> INTEGER
 xdestroywindow-display -> C-POINTER
 xdestroywindow-event -> UNSIGNED-LONG
 xdestroywindow-window -> UNSIGNED-LONG
 xunmap-type -> INTEGER
 xunmap-serial -> UNSIGNED-LONG
 xunmap-send_event -> INTEGER
 xunmap-display -> C-POINTER
 xunmap-event -> UNSIGNED-LONG
 xunmap-window -> UNSIGNED-LONG
 xunmap-from_configure -> INTEGER
 xmap-type -> INTEGER
 xmap-serial -> UNSIGNED-LONG
 xmap-send_event -> INTEGER
 xmap-display -> C-POINTER
 xmap-event -> UNSIGNED-LONG
 xmap-window -> UNSIGNED-LONG
 xmap-override_redirect -> INTEGER
 xmaprequest-type -> INTEGER
 xmaprequest-serial -> UNSIGNED-LONG
 xmaprequest-send_event -> INTEGER
 xmaprequest-display -> C-POINTER
 xmaprequest-parent -> UNSIGNED-LONG
 xmaprequest-window -> UNSIGNED-LONG
 xreparent-type -> INTEGER
 xreparent-serial -> UNSIGNED-LONG
 xreparent-send_event -> INTEGER
 xreparent-display -> C-POINTER
 xreparent-event -> UNSIGNED-LONG
 xreparent-window -> UNSIGNED-LONG
 xreparent-parent -> UNSIGNED-LONG
 xreparent-x -> INTEGER
 xreparent-y -> INTEGER
 xreparent-override_redirect -> INTEGER
 xconfigure-type -> INTEGER
 xconfigure-serial -> UNSIGNED-LONG
 xconfigure-send_event -> INTEGER
 xconfigure-display -> C-POINTER
 xconfigure-event -> UNSIGNED-LONG
 xconfigure-window -> UNSIGNED-LONG
 xconfigure-x -> INTEGER
 xconfigure-y -> INTEGER
 xconfigure-width -> INTEGER
 xconfigure-height -> INTEGER
 xconfigure-border_width -> INTEGER
 xconfigure-above -> UNSIGNED-LONG
 xconfigure-override_redirect -> INTEGER
 xgravity-type -> INTEGER
 xgravity-serial -> UNSIGNED-LONG
 xgravity-send_event -> INTEGER
 xgravity-display -> C-POINTER
 xgravity-event -> UNSIGNED-LONG
 xgravity-window -> UNSIGNED-LONG
 xgravity-x -> INTEGER
 xgravity-y -> INTEGER
 xresizerequest-type -> INTEGER
 xresizerequest-serial -> UNSIGNED-LONG
 xresizerequest-send_event -> INTEGER
 xresizerequest-display -> C-POINTER
 xresizerequest-window -> UNSIGNED-LONG
 xresizerequest-width -> INTEGER
 xresizerequest-height -> INTEGER
 xconfigurerequest-type -> INTEGER
 xconfigurerequest-serial -> UNSIGNED-LONG
 xconfigurerequest-send_event -> INTEGER
 xconfigurerequest-display -> C-POINTER
 xconfigurerequest-parent -> UNSIGNED-LONG
 xconfigurerequest-window -> UNSIGNED-LONG
 xconfigurerequest-x -> INTEGER
 xconfigurerequest-y -> INTEGER
 xconfigurerequest-width -> INTEGER
 xconfigurerequest-height -> INTEGER
 xconfigurerequest-border_width -> INTEGER
 xconfigurerequest-above -> UNSIGNED-LONG
 xconfigurerequest-detail -> INTEGER
 xconfigurerequest-value_mask -> UNSIGNED-LONG
 xcirculate-type -> INTEGER
 xcirculate-serial -> UNSIGNED-LONG
 xcirculate-send_event -> INTEGER
 xcirculate-display -> C-POINTER
 xcirculate-event -> UNSIGNED-LONG
 xcirculate-window -> UNSIGNED-LONG
 xcirculate-place -> INTEGER
 xcirculaterequest-type -> INTEGER
 xcirculaterequest-serial -> UNSIGNED-LONG
 xcirculaterequest-send_event -> INTEGER
 xcirculaterequest-display -> C-POINTER
 xcirculaterequest-parent -> UNSIGNED-LONG
 xcirculaterequest-window -> UNSIGNED-LONG
 xcirculaterequest-place -> INTEGER
 xproperty-type -> INTEGER
 xproperty-serial -> UNSIGNED-LONG
 xproperty-send_event -> INTEGER
 xproperty-display -> C-POINTER
 xproperty-window -> UNSIGNED-LONG
 xproperty-atom -> UNSIGNED-LONG
 xproperty-time -> UNSIGNED-LONG
 xproperty-state -> INTEGER
 xselectionclear-type -> INTEGER
 xselectionclear-serial -> UNSIGNED-LONG
 xselectionclear-send_event -> INTEGER
 xselectionclear-display -> C-POINTER
 xselectionclear-window -> UNSIGNED-LONG
 xselectionclear-selection -> UNSIGNED-LONG
 xselectionclear-time -> UNSIGNED-LONG
 xselectionrequest-type -> INTEGER
 xselectionrequest-serial -> UNSIGNED-LONG
 xselectionrequest-send_event -> INTEGER
 xselectionrequest-display -> C-POINTER
 xselectionrequest-owner -> UNSIGNED-LONG
 xselectionrequest-requestor -> UNSIGNED-LONG
 xselectionrequest-selection -> UNSIGNED-LONG
 xselectionrequest-target -> UNSIGNED-LONG
 xselectionrequest-property -> UNSIGNED-LONG
 xselectionrequest-time -> UNSIGNED-LONG
 xselection-type -> INTEGER
 xselection-serial -> UNSIGNED-LONG
 xselection-send_event -> INTEGER
 xselection-display -> C-POINTER
 xselection-requestor -> UNSIGNED-LONG
 xselection-selection -> UNSIGNED-LONG
 xselection-target -> UNSIGNED-LONG
 xselection-property -> UNSIGNED-LONG
 xselection-time -> UNSIGNED-LONG
 xcolormap-type -> INTEGER
 xcolormap-serial -> UNSIGNED-LONG
 xcolormap-send_event -> INTEGER
 xcolormap-display -> C-POINTER
 xcolormap-window -> UNSIGNED-LONG
 xcolormap-colormap -> UNSIGNED-LONG
 xcolormap-new -> INTEGER
 xcolormap-state -> INTEGER
 xclient-type -> INTEGER
 xclient-serial -> UNSIGNED-LONG
 xclient-send_event -> INTEGER
 xclient-display -> C-POINTER
 xclient-window -> UNSIGNED-LONG
 xclient-message_type -> UNSIGNED-LONG
 xclient-format -> INTEGER
 xclient-data-b -> C-POINTER
 xclient-data-s -> C-POINTER
 xclient-data-l -> C-POINTER
 xmapping-type -> INTEGER
 xmapping-serial -> UNSIGNED-LONG
 xmapping-send_event -> INTEGER
 xmapping-display -> C-POINTER
 xmapping-window -> UNSIGNED-LONG
 xmapping-request -> INTEGER
 xmapping-first_keycode -> INTEGER
 xmapping-count -> INTEGER
 xerror-type -> INTEGER
 xerror-display -> C-POINTER
 xerror-resourceid -> UNSIGNED-LONG
 xerror-serial -> UNSIGNED-LONG
 xerror-error_code -> UNSIGNED-CHAR
 xerror-request_code -> UNSIGNED-CHAR
 xerror-minor_code -> UNSIGNED-CHAR
 xkeymap-type -> INTEGER
 xkeymap-serial -> UNSIGNED-LONG
 xkeymap-send_event -> INTEGER
 xkeymap-display -> C-POINTER
 xkeymap-window -> UNSIGNED-LONG
 xkeymap-key_vector -> C-POINTER
 pad -> C-POINTER
 

xedataobject

 
 display -> C-POINTER
 gc -> C-POINTER
 visual -> C-POINTER
 screen -> C-POINTER
 pixmap_format -> C-POINTER
 font -> C-POINTER

Examples

The canonical "Hello World" program:

 ;;; Shows a window and terminates after a button-press 
 ;   (or after the second exposure event)
 
 (require-extension xlib)
 
 (let ((display (xopendisplay #f)))
  (assert display)
  (let* ((screen (xdefaultscreen display))
 	(root (xrootwindow display screen))
 	(window (xcreatesimplewindow
 		 display root 100 200 300 50 0
 		 (xblackpixel display screen)
 		 (xwhitepixel display screen))))
   (assert window)
   (let ((font (xloadfont display "10x20")))
     (assert font)
     (let ((gc (xcreategc display window 0 #f))
 	  (event (make-xevent)))
       (xsetforeground display gc (xblackpixel display screen))
       (xsetbackground display gc (xwhitepixel display screen))
       (xsetfunction display gc GXCOPY)
       (xsetfont display gc font)
       (xselectinput display window (bitwise-ior EXPOSUREMASK BUTTONPRESSMASK))
       (xmapwindow display window)
       (xnextevent display event)
       (xdrawstring display window gc 100 30 "Hello World!" 12)
       (xflush display)
       (xnextevent display event)))))

Changelog

1.2 Replaced uses of foreign-callback-lambda with foreign-safe-lambda 1.1 Fixed bug in setup script 1.0

License

 Copyright 1996 and 1997 University of Toronto. All rights reserved.
 Copyright 1998 NEC Research Institute, Inc. All rights reserved.