Hello All,

I am drawing objects in a Motif drawing area using X libraries routinres
such as drawRectangle/line/... Every object has 4 coordinates: x1,y1 and
x2,y2.
I need to be able to: Whenever I detect a mouse click, see what are its
coordinates, and if it falls within the borders of some object, then I would 
popup an information window using XtAddCallback(). So, my questions are:
How to detect a mouse click? and how to know its coordinates?

Any other information/comments is mostly welcomed.

Thank you very much in advance,

Best Regards,

-ibrahim

Reply via email to