CLIM mail archive


Re: Positioning a pointer on the screen

    Date: Thu, 16 Sep 1993 04:55 EDT
    From: Markus Fischer <>

	    From @BBN.COM, Wed Sep 15 23:21:15 1993

	    I am having trouble using the following code on ACL and MCL, but not in GENE=

	    (clim:stream-set-pointer-position* *clim-root* 100 150)

	    *clim-root* is defined as follows:

	    (setf *clim-root* (clim:open-root-window
				   #+:genera :sheet
				   #+:allegro :clx
				   #+:mcl :mcl))

    Well, you get the same error if you use the CLX port on Genera,
    like you did on Allegro.
    Also, on Genera (sheet) root windows, you can directly draw something,
    on CLX root windows, you cannot; the latter makes more sense to me.

It is true that, for the most part, most operations (including
stream ops, graphics, and mouse ops) do not work on the root window
in CLIM 1.1.  It's an accident that any work under Genera.

I presume that you want to set the pointer at an "absolute" location.
In CLIM 2.0, you can use POINTER-SET-NATIVE-POSITION to do this.
In CLIM 1.1, you are out of luck.


Main Index | Thread Index