XForms: XEvent question ( I think?)

John Prinos (t47851@perf2.dehavilland.ca)
Wed, 12 Nov 1997 12:21:30 -0500

To subscribers of the xforms list from "John Prinos" <t47851@perf2.dehavilland.ca> :

Let's say that I have a form with an arbitrary number of xyplots. If I wanted
to detect a mouse click and determine which xyplot was clicked on, would I use:

fl_add_event callback()

and then try to determine which xyplot was clicked on by getting the mouse
coordinates and use logic to make the determination?

Or, is there some way to determine which xyplot on the form was clicked on and
then act?

The reason I'm asking is that I'd like to use an xyplot as if it were active
without actually needing to click on a datapoint. Unfortunately, my knowledge
of X is still limited (but it's growing)

J0hn

-- 
 *       *     **    *****   *     ***   ***
 *       *    *  *       *   *    *   * *   *
 *       *     **        *   *   *     *     *
  *******    ******   ****   *   *     *     *
   *   *       **        *   *   *     *     *
    * *       *  *       *        *   * *   *
     *        *  *   *****   *     ***   ***
 
 John Prinos
 Aircraft Performance 
 Bombardier DeHavilland
 (416) 375-3574
 <jprinos@dehavilland.ca>
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/