Xlib global variables and misc functions
x:*display* [variable]
-
- X's display ID (integer).
x:*root* [variable]
-
- default root window object.
x:*screen* [variable]
-
- default screen ID (integer).
x:*visual* [variable]
-
- default visual ID (integer).
x:*blackpixel* [variable]
-
- black pixel = 1
x:*whitepixel* [variable]
-
- white pixel = 0
x:*fg-pixel* [variable]
-
- default foreground pixel referenced at window creation,
normally *blackpixel*.
x:*bg-pixel* [variable]
-
- background pixel referenced at window creation,
normally *whitepixel*
x:*color-map* [variable]
-
- the system's default color-map
x:*defaultGC* [variable]
-
- the default gcontext referenced at pixmap creation.
x:*whitegc* [variable]
-
- GC whose foreground color is white.
x:*blackgc* [variable]
-
- GC whose foreground color is black.
*gray-pixmap* [variable]
-
- the result of (make-gray-pixmap 0.5)
*gray25-pixmap* [variable]
-
- 16x16 pixmap,
a quarter of pixels are *fg-pixel* and three quarters *bg-pixel*.
*gray50-pixmap* [variable]
-
- 16x16 pixmap, a half of pixels are *fg-pixel*.
*gray75-pixmap* [variable]
-
- 16x16 pixmap, three quarters of pixels are black.
*gray25-gc* [variable]
-
- 25% gray GC made from *gray25-pixmap*.
*gray50-gc* [variable]
-
- 50% gray GC made from *gray50-pixmap*.
*gray75-gc* [variable]
-
- 75% gray GC made from *gray75-pixmap*.
*gray* [variable]
-
- "#b0b0b0"
*bisque1* [variable]
-
- "#ffe4c4"
*bisque2* [variable]
-
- "#eed5b7"
*bisque3* [variable]
-
- "#cdb79e"
*lightblue2* [variable]
-
- "#b2dfee"
*lightpink1* [variable]
-
- "#ffaeb9"
*maroon* [variable]
-
- "#b03060"
*max-intensity* [variable]
-
- 65535
font-cour8 [variable]
-
- (font-id "*-courier-medium-r-*-8-*")
font-cour10 [variable]
-
- (font-id "*-courier-medium-r-*-10-*")
font-cour12 [variable]
-
- (font-id "*-courier-medium-r-*-12-*")
font-cour14 [variable]
-
- (font-id "*-courier-medium-r-*-14-*")
font-cour18 [variable]
-
- (font-id "*-courier-medium-r-*-18-*")
font-courb12 [variable]
-
- (font-id "*-courier-bold-r-*-12-*")
font-courb14 [variable]
-
- (font-id "*-courier-bold-r-*-14-*")
font-courb18 [variable]
-
- (font-id "*-courier-bold-r-*-18-*")
font-helvetica-12 [variable]
-
- (font-id "*-Helvetica-Medium-R-Normal-*-12-*")
font-lucidasans-bold-12 [variable]
-
- (font-id "lucidasans-bold-12")
font-lucidasans-bold-14 [variable]
-
- (font-id "lucidasans-bold-14")
font-helvetica-bold-12 [variable]
-
- (font-id "*-Helvetica-Bold-R-Normal-*-12-*")
font-a14 [variable]
-
- (font-id "*-fixed-medium-r-normal-*-14-*")
x:*xwindows* [variable]
-
- a list of all windows including subwindows
created and maintained by EusLisp.
x:*xwindow-hash-tab* [variable]
-
- a hash table to look up the xwindow object
by its drawable ID.
In the event structure obtained by x:nextevent is a window ID,
and x:window-main-loop calls x:event-window to know
the corresponding xwindow object using this table.
xflush [function]
-
-
sends all commands retained in the Xlib command buffer to Xserver.
Since Xlib buffers output to Xserver,
commands you issued commands to Xserver are not executed immediately.
This is necessary to decrease network traffic and the frequency
of process switching.
To flush the command buffer to see the effects of the commands,
use xflush or send :flush
message to xwindow objects.
find-xwindow subname [function]
-
-
Each xwindow may have name specified at the creation time.
Find-xwindow looks in the *xwindows* list and returns a list
of windows that have 'subname' as a substring
of its name.
k-okada
2013-05-21