> # To subscribers of the xforms list from Michael Glickman <michg@alphalink.com.au> :
> Is there an equivalent for fl_mouse_button()
> that works in XForms 0.81 ? I use it to find
> a keystroke that caused a callback.
I don't think so. You get the mouse info from the Xevent structure passed to
the handler. The button number is ev->xbutton.button, cursor position is
ev->xbutton.x and y etc. Check the X docs for details.
Dick
-------------------------------------------------------------------------------
Dick Middleton
Phone: +44 131-331 7530
Fax: +44 131-331 7443 ( )
email: dickm@cheerful.com ( )
( )
( ) . ~ ~ ~ ~~ .
( ) _______
( ) |
. ~ ~ ~ ~~ . |
/O\
-------------------------------------( o )-------------------------------------
- I'd rather be soaring
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/