# To subscribers of the xforms list from Steve Lamont <spl@ncmir.ucsd.edu> :
> This might be a little simple, but i am sort of stuck. I am using the
> glcanvas to draw some stuff. Whenever a mouse button event occurs the
> fl_mouse_button(), inside the callback always returns a 0. Any idea as
> to what i am doing wrong here.
Cast the event to a XButtonEvent and use that data structure. Once
you're in a canvas handler, you're pretty much in Xlib territory.
spl
_________________________________________________
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://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Wed Mar 14 2001 - 21:56:41 EST