Widget events from the keyboard? [message #621] |
Wed, 30 December 1992 15:08 |
landsman
Messages: 93 Registered: August 1991
|
Member |
|
|
I am posting this question for someone without USENET access. Replies
can be posted to the net, sent to me, or sent to Marc Buie (buie@lowell.edu)
Is there anyway to trigger a widget event without using the mouse?
The situation is that I am roaming an image with the cursor and at a particular
position, I want the user to be able to select from a list of options,
--- say centroid at the position, display pixels at the position, plot a radial
profile at that position. I don't want to use a menu because that means
moving the cursor from the image position. I could use the mouse buttons
but there are only 3 of them, and I have a list of 10-15 options. Ideally,
I would use the keyboard (i.e. press 'C' for centroid) but I don't know
how to trigger a widget event from the keyboard. (Outside of widgets one
could use GET_KBRD). Any suggestions?
Wayne Landsman landsman@stars.gsfc.nasa.gov
|
|
|