Newsgroups: comp.windows.x
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!stan!marvin!toml
From: toml@marvin.Solbourne.COM (Tom LaStrange)
Subject: Re: how do you do an hourglass cursor?
In-Reply-To: tomt@maui.coral.COM's message of 21 May 91 21:22:02 GMT
Message-ID: <TOML.91May22071124@marvin.Solbourne.COM>
Sender: toml@solbourne.com (Tom LaStrange)
Organization: Solbourne Computer, Inc.
References: <9105212122.AA04364@maui.coral.com>
Date: 22 May 91 07:11:24

|> I want to change the cursor to an hourglass while our application does
|> something that takes a while.  It is  a Motif application with many
|> widgets.  Do I have to do an XDefineCursor on the window of every
|> widget in the program??  This seems like a Royal Pain.  
|> 
|> XtGrabPointer would do it in one call, but it would block input to all
|> other applications.

Create an InputOnly window as a child of your top-level window with the
cursor set to the hourglass.  Then simply XMapRaised the thing and unmap
it when you're through.

--
(I kid you not)Tom LaStrange        toml@Solbourne.COM
