sm@gator.cacs.usl.edu (Srinivas Madhur) (03/19/90)
Hello world, 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 pinup 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