[comp.windows.x] Defining cursors

nisse@isy.liu.se (Nils-Olof Johansson) (01/07/91)

I want to deineffine the cursor for the whole application, and not just for
a window. If I use XDefineCursor, the cursor will change in the spec. window,
but not e.g. in children windows that are shell widgets (popup windows
and such).

Thankful for any help!

Lars Linmarker
lars@sectra.se

etaylor@wilkins.iaims.bcm.tmc.edu (Eric Taylor) (01/08/91)

In article <1991Jan7.104122.14476@isy.liu.se>, nisse@isy.liu.se (Nils-Olof Johansson) writes:
|> I want to deineffine the cursor for the whole application, and not just for
|> a window. If I use XDefineCursor, the cursor will change in the spec. window,
|> but not e.g. in children windows that are shell widgets (popup windows
|> and such).
|> 
|> Thankful for any help!
|> 
|> Lars Linmarker
|> lars@sectra.se


I have also desired such a thing.  However, I don't think you can do 
it that way.  You  might try creating an input-only window
over all of your application windows and set the Cursor to whatever
you want for the input-only window.  This assumes, of course, that you
want to do somehting like display an hourglass while you do something
lengthy.  I don't know if this will work, but maybe it will.
--
					Eric Taylor
					Baylor College of Medicine
					etaylor@wilkins.bcm.tmc.edu
					(713) 798-3776