Re: XForms: fl_mouse_button in v 0.81

Michael Glickman (michg@alphalink.com.au)
Fri, 23 Apr 1999 06:58:05 +1000

# To subscribers of the xforms list from Michael Glickman <michg@alphalink.com.au> :

Dick Middleton wrote:

> # To subscribers of the xforms list from Dick Middleton <dick@sqf.hp.com> :
>
> > # 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/

Thanks I acually found the way out.
You can get what you need from fl_last_event.

Michael

_________________________________________________
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/