# To subscribers of the xforms list from Steve Lamont <firstname.lastname@example.org> :
> 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.
To unsubscribe, send the message "unsubscribe" to
email@example.com or see
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