comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Widget events from the keyboard?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Widget events from the keyboard? [message #621] Wed, 30 December 1992 15:08
landsman is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Minimization routine
Next Topic: tape I/O under Unix: eof always true?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:35:17 PDT 2025

Total time taken to generate the page: 0.00811 seconds