Home »
Public Forums »
archive »
Re: Cursor Position with Draw Widget
| Re: Cursor Position with Draw Widget [message #3058] |
Sat, 05 November 1994 22:00 |
rouse
Messages: 17 Registered: July 1994
|
Junior Member |
|
|
Draw widgets don't return events unless you specified /BUTTON_EVENTS and/or
/MOTION_EVENTS in the call to WIDGET_DRAW.
The events returned are data structures, and the device coordinates are stored in event.x and event.y. You can convert them to data coordinates using
CONVERT_COORD.
Cheers, Roger
+----------------------------------------------------------- -+
|Roger B. Rouse + # # # . |
| # . + |
|Arizona State University # + + # |
|Dept. Physics & Astronomy + + + # + |
|Tempe, Az, 85287-1504 + + # |
| . . @ . . |
|rouse@sevens.la.asu.edu # + + |
| + # + + + |
|"The AscII Galaxy found # + + . |
| in the Local Network." + . # |
| . # + # . Rouse|
+----------------------------------------------------------- -+
|
|
|
|
Current Time: Mon Dec 01 08:19:50 PST 2025
Total time taken to generate the page: 1.11725 seconds