Subject: Re: newbie graphics question
From: (Rob Warnock)
Date: Sun, 14 Dec 2003 06:41:40 -0600
Newsgroups: comp.lang.lisp
Message-ID: <>
Alan Crowe  <> wrote:
| I've been writing up my learning experience with CLX in
| 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


Rob Warnock			<>
627 26th Avenue			<URL:>
San Mateo, CA 94403		(650)572-2607