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

Home » Public Forums » archive » Re: Multiple Widget_draws
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: Multiple Widget_draws [message #48233] Wed, 05 April 2006 08:35 Go to previous message
mchinand is currently offline  mchinand
Messages: 66
Registered: September 1996
Member
In article <1144250972.381807.44770@v46g2000cwv.googlegroups.com>,
<rchughes@gmail.com> wrote:
> Hey All,
>
> Does anyone know how to switch between different Draw widgets? I only
> need to access one at at time.
>
> I've tried saving and restoring the !X, !Y and !P variables but I think
> it's more than that.
>
> Thanks,
> Ryan.
>

You need to get the value of the window ID of the draw widget you want to use.


widget_control, w_draw1, get_value=winID1

then switch to that window:

wset, winID1


--Mike

--
Michael Chinander
m-chinander@uchicago.edu
Department of Radiology
University of Chicago
[Message index]
 
Read Message
Read Message
Previous Topic: Multiple Widget_draws
Next Topic: IDL w/ 12-bit grayscale?

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

Current Time: Fri Oct 10 10:23:47 PDT 2025

Total time taken to generate the page: 0.64003 seconds