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

Home » Public Forums » archive » returning values from widget hierarchy
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
returning values from widget hierarchy [message #20140] Fri, 19 May 2000 00:00
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
First, forgive my ignorance of widget programming ;^)

How can I return values from a "temporary" widget hierarchy. That is:

I have a widget program that creates a new widget for users to adjust
color settings. When they select a menu item, I do something like,

...build widgets for color settings...
widget_control, cs_base, /realize
xmanager, 'color_settings', cs_base

Then in color_settings_event I handle the various sliders and buttons in
the cs_base widget. Then when the user clicks on 'Accept' on the
cs_base widget, I do widget_control, event.top, /destroy

What I'd like to do is NOW be able to see what those settings are back
in the procedure that created the cs_base in the first place. I would
like to avoid using COMMON blocks if possible. I'm familiar with using
widget_control to store a structure to contain all the information
needed, but can't seem to figure out how to make it work in this
instance.

IDL> print, !version
{ sparc sunos unix 5.1 Apr 13 1998}

Thanks,

Vince
[Message index]
 
Read Message
Previous Topic: Re: Formatting strings to coordinates
Next Topic: returning values from widget hierarchy

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

Current Time: Sat Oct 11 05:23:40 PDT 2025

Total time taken to generate the page: 0.72080 seconds