Alan Crowe <alan@cawtech.freeserve.co.uk> wrote:
+---------------
| I've been writing up my learning experience with CLX in
| http://www.cawtech.demon.co.uk/examples.txt
| which is structured as simple examples of CLX programming to
| help others get started too.
+---------------
Nice introduction! One thing you might want to add, though, in the
section on CREATE-WINDOW, where you say:
You have to say where you want it, even though, as a top level
window, the window manager will intervene and put it where it
thinks best. The window manager can also overrule your chosen
width and height, though that is less common.
You can *usually* put it where you want it by executing the following
after the CREATE-WINDOW but before the MAP-WINDOW:
(set-wm-properties window :user-specified-position-p t
:name title ; optional
:icon-name icon-title) ; optional
[Note: As of X11R5 (R4?), the X & Y parameters of SET-WM-PROPERTIES no
longer do anything useful. It's only the X & Y from CREATE-WINDOW that
matter.]
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607