[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page
Top Document: Motif FAQ (Part 9 of 9)
Previous Document: 328) How can I dump my widget instance tree in a way that reflects
Next Document: 330) Can I set the foreground and background colors of gadgets
-
Search the FAQ Archives
Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page
Top Document: Motif FAQ (Part 9 of 9)
Previous Document: 328) How can I dump my widget instance tree in a way that reflects
Next Document: 330) Can I set the foreground and background colors of gadgets
329) How do I get the events for gadgets? Or the name of the gadget?
[Last modified: July 96] Answer: Get events from the gadget's parent. Ken Lee A related question is "How the name of a gadget an event is directed to?" Daniel Dardailler (daniel@x.org) writes: Motif 2.0 provides a XmObjectAtPoint public function that support this functionality. For earlier version, something like the undocumented _XmInputInGadget( wid, x, y ) should do it. _XmInputInGadget Given a composite widget and an (x, y) coordinate, see if the (x, y) lies within one of the gadgets contained within the composite. Return the gadget if found, otherwise return NULL.
Top Document: Motif FAQ (Part 9 of 9)
Previous Document: 328) How can I dump my widget instance tree in a way that reflects
Next Document: 330) Can I set the foreground and background colors of gadgets
Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page
[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
Send corrections/additions to the FAQ Maintainer:
kenton@rahul.net (Ken Lee)
Last Update October 22 2009 @ 05:27 AM