[comp.windows.x] Modal and Spring-loaded popups! Could someone explain

sm@GATOR.CACS.USL.EDU (Srinivas Madhur) (03/21/90)

Hello world,

Note:
I am sending this to xpert since rws says the gateway was disconnected till
Monday. I posted this to comp.windows.x on Sunday. Sorry for any confusion!

Excuse me if this topic has already been beaten to death before but I don't
recollect seeing this topic before.

Could someone explain when to use XtGrabExclusive and XtGrabNonexclusive?
I am pretty confused as to the differences between modal and spring-loaded 
popups. Xt (R4) manual says spring-loaded popups lock out input to *all* other
applications. This doesn't seem to happen i.e., with a dialog popped
up with Exclusive grab, when I move the cursor to the window of another
client (say, xterm), the other window is still getting Key events. In other
words, I cannot see differences between a modal and a spring-loaded popup.

Also, the manual (chapter 7) says that the remap events are sent to the
most recent spring-loaded child in the modal cacade. What happens if there is
no spring-loaded child in the cacade? How can we implement pushpin menus? I 
believe these are modal menus. The chapter on shell (chapter 4) says 
pinup widgets can be implemented by using the shell widget resources
appropriately.

Any help would be greatly appreciated. Trying to read Xt intrinsics manual 
between lines does not seem to help ;-)

Thanks in advance,

Srinivas
--
Srinivas Madhur
sm@gator.cacs.usl.edu
sm@cacs.usl.edu
..!dalsqnt!gator!sm