X11
_X11_
===============
By Jon Rafkind (jon at rafkind dot com)
Keywords: _graphics_
Introduction
============
A set of bindings to libX11, the graphics/windowing library for Unix. These
bindings will probably work with any version of X11 but were made with X11R6.
Main library:
(require (planet "x11.ss" ("kazzmir" "x11.plt" 1 0)))
Example:
(require (planet "xsnow.ss" ("kazzmir "x11.plt" 1 0)))
(run)
_X11_
=========
The bindings follow the same semantics and overall style of the X11 library.
It is best to refer to the X11 documentation. Useful resources:
http://www.the-labs.com/X11/XLib-Manual/
http://tronche.com/gui/x/xlib/
So far the provided functions/types are:
XID Window Pixmap ColorMap GContext KeySym)
XEvent-type make-XEvent make-dummy-XEvent
XExposeEvent-tag XExposeEvent-x XExposeEvent-y
XExposeEvent-width XExposeEvent-height
_XGCValues XGCValues-tag make-dummy-XGCValues
make-XRectangle XRectangle-width XRectangle-height XRectangle-x XRectangle-y
set-XRectangle-height! set-XRectangle-width! set-XRectangle-x! set-XRectangle-y!)
XWindowAttributes-save-under XWindowAttributes-map-state
make-XWindowAttributes
AllocNamedColor
BlackPixel
DefaultColorMap
DefaultScreen
DisplayHeight
DisplayWidth
NextEvent
RootWindow
WhitePixel
XClearArea
XCopyGC
XCreateBitmapFromData
XCreateGC
XCreateRegion
XDestroyRegion
XEventsQueued
XFillRectangle
XFree
XGetGCValues
XGetGeometry
XGetWindowAttributes
XGetWindowProperty
XGrabServer
XInternAtom
XNextEvent
XOpenDisplay
XPending
XPointInRegion
XQueryTree
XRectInRegion
XSelectInput
XSetErrorHandler
XSetFillStyle
XSetForeground
XSetStipple
XSetTSOrigin
XSubtractRegion
XUngrabServer
XUnionRectWithRegion