comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: Multiple Widget_draws

Re: Multiple Widget_draws
type: item
description: rchughes@gmail.com writes: > 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. Well, the window index number would be handy. :-) Cheers, David -- David Fanning, Ph.D. Fanning Software Consulting, Inc. Coyote's Guide to IDL Programming: http://www.dfanning.com/
creator: David Fanning
date: 2006-04-05T15:32:46-00:00

Re: Multiple Widget_draws
type: item
description: 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
creator: mchinand
date: 2006-04-05T15:35:29-00:00