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

Home » Public Forums » archive » wset equivalent in obj graphics?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
wset equivalent in obj graphics? [message #21265] Fri, 11 August 2000 00:00 Go to next message
T Bowers is currently offline  T Bowers
Messages: 56
Registered: May 1998
Member
What's the object graphics version of direct graphics'
wset command (IDL 5.2a) to make the desired window the
active one? I'm doing alot of processing and occasionally
the software spits out some data to a map_set, map_grid,
map_continents combo plotting thingy.
I originally used direct graphics for the plotting widget,
so I could use wset, e.g.

drawWID = widget_draw(baseWID, ...)
widget_control, drawWID, get_value=drawWindow
wset, drawWindow

Then, I decided to add printing and other cool capability
so I went to obj. graphics (Graphics_Level=2). Now get_value
returns an obj. reference and wset says nope. I can't seem
to tell my app which window to go to cause I can't wset it
so my plotting stuff goes to a wrong window (a direct
graphics window I also have up).

tia
Re: wset equivalent in obj graphics? [message #21384 is a reply to message #21265] Fri, 25 August 2000 00:48 Go to previous message
marc schellens[1] is currently offline  marc schellens[1]
Messages: 183
Registered: January 2000
Senior Member
tb wrote:
>
> What's the object graphics version of direct graphics'
> wset command (IDL 5.2a) to make the desired window the
> active one? I'm doing alot of processing and occasionally
> the software spits out some data to a map_set, map_grid,
> map_continents combo plotting thingy.
> I originally used direct graphics for the plotting widget,
> so I could use wset, e.g.
>
> drawWID = widget_draw(baseWID, ...)
> widget_control, drawWID, get_value=drawWindow
> wset, drawWindow
>
> Then, I decided to add printing and other cool capability
> so I went to obj. graphics (Graphics_Level=2). Now get_value
> returns an obj. reference and wset says nope. I can't seem
> to tell my app which window to go to cause I can't wset it
> so my plotting stuff goes to a wrong window (a direct
> graphics window I also have up).
>
> tia

Hae???
How do you draw at all if not: windowObj->Draw,IDLgrViewObject ?
The object reference returned from widget_control IS your window
(object).
But as there isn't another way of drawing object graphics I nearly
suspect I miss something here? (perhaps a joke?)
To an object graphics window you cannot draw direct graphics.
cheers,
:-) marc
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: drop array elements
Next Topic: digitize a curve from an image

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

Current Time: Wed Oct 08 14:01:04 PDT 2025

Total time taken to generate the page: 0.00594 seconds