home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.idl-pvwave
- Path: sparky!uunet!think.com!ames!nsisrv!stars.gsfc.nasa.gov!landsman
- From: landsman@stars.gsfc.nasa.gov (Wayne Landsman (301)-286-3625)
- Subject: Widget events from the keyboard?
- Message-ID: <30DEC199219081657@stars.gsfc.nasa.gov>
- News-Software: VAX/VMS VNEWS 1.4-b1
- Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
- Nntp-Posting-Host: stars.gsfc.nasa.gov
- Organization: NASA/GSFC-Laboratory for Astronomy and Solar Physics
- Date: Wed, 30 Dec 1992 23:08:00 GMT
- Lines: 19
-
- 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
-
-
-
-
-