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

Home » Public Forums » archive » Mouse and keyboard events in a draw widget
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Mouse and keyboard events in a draw widget [message #10544] Wed, 17 December 1997 00:00 Go to previous message
James Albert is currently offline  James Albert
Messages: 4
Registered: September 1996
Junior Member
Hi
I'm new here, and fairly new to IDL programming. I have a problem,
which probably has an easy solution, but I can't find any references to
the problem area in the manuals. If anyone here can help me, I would be
most appreciative

Here's the bzz:

I have a draw widget that I do a bunch of image/coastline plotting in.
I am currently currently working on a tool that will let the user
measure a target in the image, in pixels. The tool has a vernier which
should open and close (imagine a C-clamp) and the tool should rotate.
I have all the code in place with one exception; no user interface to
the actions. I think I have two choices;
1) an additional base with four buttons on it:open,close,rotate
clockwise, rotate counter clockwise.
This should be relatively easy to implement, but it's not my first
choice
2) using the cursor keys to hook the actions. Unfortunately, I can't
find any information on getting keyboard events in DrawWidgets -
get_kbrd() just doesn't work until the widget is destroyed

Any ideas?
--
James Albert
Programmer/Analyst
Satlantic Inc.
902-492-4780 (voice)
902-492-4781 (fax)
james@satlantic.com
[Message index]
 
Read Message
Read Message
Previous Topic: resizing draw widget
Next Topic: IDL verses other interpertative languages (tcl/tk, khouros, pv_wave, etc).

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

Current Time: Fri Oct 10 13:59:51 PDT 2025

Total time taken to generate the page: 1.60111 seconds