Re: XForms: drawing on my canvas with the mouse

AMIT BHATNAGAR (amit@cs.dal.ca)
Tue, 17 Feb 1998 20:57:58 -0400 (AST)

# To subscribers of the xforms list from AMIT BHATNAGAR <amit@cs.dal.ca> :

I have finally figured out how to get mouse events to work with my
canvas,, thanks Steve (both of you!)

Now.. I have (so far) 2 notify handlers.. a button press handler which
will execute my line/circle/polygon algos with the proper x & y values
necessary.

My second is a motion notify handler.. and what I would like to do is
this: Print out the current position of the mouse somewhere on my form
itself.. not to stdout, (and not to the canvas either). I can accomplish
this by printing to stdout.. but I'd rather print to the program window. I
can't seem to get fl_draw_text to work..

any ideas?

_________________________________________________
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://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/