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

Home » Public Forums » archive » Re: Beginners question on widgets
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Beginners question on widgets [message #14278] Tue, 16 February 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Nigel Wade (nmw@ion.le.ac.uk) writes:

> Christian Haas wrote:
>>
>> I would like to write a larger widget application for medical imaging
>> purposes. Since I have no experience with IDL widgets yet I need to
>> know if there is an easy way of hiding and showing text and draw
>> widgets that all belong to one widget base without destroying and
>> realizing them each time.
>
> It is possible, but only for a widget base. Look at the IDL help for
> WIDGET_CONTROL and the keyword MAP.
>
> Basically, you can call WIDGET_CONTROL, id, MAP=0 for any widget, but
> all widgets in the same base will be unmapped. Just create a new base
> which only contains the widgets you want to be able to map and un-map.

Look at a program like XLOADCT for an example of a program
that maps three different widget hierarchies into the same
physical space, changing them as the buttons along the top
of the program are selected.

If you are just starting to write widget programs try to
get some good examples to learn from. These are not always
found in the IDL distribution. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Unsupported X Windows visual
Next Topic: Re: Is a point in a 4 vertex polygon?

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

Current Time: Fri Oct 10 22:06:20 PDT 2025

Total time taken to generate the page: 0.16023 seconds