tomt@maui.coral.COM (Tom Tulinsky) (05/22/91)
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. Coral * ** Tom Tulinsky 508 460-6010 * ** Coral Network Corporation fax 508 481-6258 * ** 734 Forest St net: tomt@coral.com *** Marlboro, MA 01752 ** U S A ********* Overheard in a BART station: NETWORKS "I was the only NORM there!"
toml@marvin.Solbourne.COM (Tom LaStrange) (05/22/91)
|> 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