Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

X Window Programming/CLX

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

CLX (Common Lisp) CLX is the standard X Window System protocol client library for Common Lisp. You can preface all commands with xlib: or have xlib become the current package with (in-package :xlib). Connecting to the X display To be able to interface with X we will first need to connect to a server: (xlib:open-default-display) ; #<XLIB:DISPLAY localhost:0 (The X.Org Foundation R10707000) X11.0 #x2160C2CE> or you can supply the hostname and display number yourself (if the hostname is an empty string it will connect to your localhost by default): ;; Connect to localhost:0 (xlib:open-display "" :display 0) ; #<DISPLAY localhost:0 (The X.Org Foundation R10707000) X11.0 #x2161AF16> External links CLX on the CLiki CLX — Common LISP X Interface Simple Examples of Driving X11 From Common Lisp Using CLX