Re: Mouse Events

Steve Lamont (spl@szechuan.ucsd.edu)
Fri, 28 Mar 97 12:15:03 PST

To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> Is there a way to bind different mouse buttons to an object? I want to
> add two callbacks to a single button - one for the left mouse button, one
> for the right. Is it possible?

Indirectly, yes.

The function fl_get_button_numb() can be used by your callback to
determine which button was pressed and act accordingly.

spl
_________________________________________________
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/xforms-archive/