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

Home » Public Forums » archive » Help with widgets code
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Help with widgets code [message #651] Mon, 07 December 1992 11:49
scowen is currently offline  scowen
Messages: 11
Registered: December 1992
Junior Member
Hi,

I need to talk to some kind individual who can help me with the complex world
of widget coding. Please don't groan, I'm not a complete beginner, but I am
running into problems that I can't seem to cirumvent. Please find a short
description of the problem below. Any responses would be appreciated.

I am attempting to create a generic image display interface within IDL using
the widgets available in that environment. Following the prototypical
description used for most of the example widget proc's I have split the code
into two parts, one the widget description and realisation, and the second
the event handler.

Now, what I'm faced with is a lack of communication between the two proc's.
For instance, if I have displayed my fabulous image into the draw widget,
and then hand off control to the xmanager, but then decide that I want a
button (already defined) to initiate a redraw of the image but using the log
of the data, how do I tell the event proc what the original image array was?
There appears to be no way to pass this information across the xmanager call?

This is just one specific example of this problem, there are numerous cases
where re-accessing the original dataset for whatever reason due to functions
implemented by button clicks in the widget are likely. I look foward to some
educated person helping this floundering novice. Thanks.

--
------------------------------------------------------------ -------------------
Paul A. Scowen INTERNET: scowen@wfpc3.la.asu.edu
Department of Physics & Astronomy uk1@spacsun.rice.edu
Arizona State University Tel: (602) 965-0938
Tempe, AZ 85287-1504 FAX: (602) 965-7954
------------------------------------------------------------ -------------------
[Message index]
 
Read Message
Previous Topic: Bug in System Variables v2.4
Next Topic: Complex SVD needed

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

Current Time: Wed Oct 08 17:26:33 PDT 2025

Total time taken to generate the page: 0.00384 seconds