[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
[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.
Send corrections/additions to the FAQ Maintainer:
Last Update May 13 2007 @ 00:23 AM