CLIM mail archive
Re: mouse cursors
Subject: Re: mouse cursors
From: Colin Meldrum <firstname.lastname@example.org>
Date: Mon, 13 Dec 93 19:20:56 -0800
In-Reply-To: Your message of Thu, 09 Dec 93 19:00:07 EST. <9312100008.AA06523@hyper.Franz.COM>
Date: Thu, 9 Dec 93 19:00:07 EST
I want some more choices for mouse-cursors. at the moment, i need the
"i-beam" text-insertion cursor. later I will probably want more.
any suggestions as to how to get more? I've tried out the entire list
mentioned in the book, and I'me using a bunch of them, but they're not
enough. is there a way to get access to more of them?
In CLIM 2 on Allegro, the mapping of CLIM cursor names to X mouse cursors
is given in the variable tk-silica::*xt-cursor-type-alist*. By default this
If you want to add any other cursor types, first find the code in
/usr/include/X11/cursorfont.h and add it to the above alist
For example the "i-beam" cursor is XC_xterm which is 152. So adding the
following association to *xt-cursor-type-alist* should work:
Hope this is of some use.
Colin Meldrum, Franz Inc. 1995 University Avenue, Suite 275
colin@Franz.COM (internet) Berkeley, CA 94704
uunet!franz!colin (uucp) Phone: (510) 548-3600; FAX: (510) 548-8253
Main Index |