kit@ATHENA.MIT.EDU (Chris D. Peterson) (03/29/89)
> I seem to be having a problem with Popup widgets. I have a toplevel widget, > that is created with XtInitialize, that has several children widget. Each Toplevel ( or Shell ) Widget should have only one direct child, I do not think this is causing your problems, but it is worth noting. [ long discussion of problem deleted. ] > Is there a fundamental concept of popup widgets that I am > not grasping???? I don't think so, it appears you have found a real bug, if you can come up with a simple test case that demonstrates the problem, and send it to me, I will take a look. > Another question is what does the grab_kind argument to > the XtPopup() function refer to and what does each of the possible args > (XtGrabNone,XtGrabNonexclusive, and XtGrabExclusive) mean???? XtGrabNone means that events will still be passed to all widgets in the application. XtGrabExclusive means that events will be sent to no other widget in the application, as long as this widget is popped up. XtGrabNonExclusive means that other widgets on the grab list, Those that used XtAddGrab() or XtPopop(XtGrabNonexclusive) will also be able to receive events, but no other widgets in the applicaion will receive events. When a widget is popped down, all grabs it made are removed. Read the sections on XtPopup() and XtAddGrab() in the Xt Intrinsics Documentaion for a more detailed explanation of Grabs. Chris D. Peterson MIT X Consortium / Project Athena Net: kit@athena.mit.edu Phone: (617) 253 - 1326 USMail: MIT - Room E40-321 77 Massachusetts Ave. Cambridge, MA 02139