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

Home » Public Forums » archive » destroying graphics objects
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
destroying graphics objects [message #19557] Tue, 04 April 2000 00:00
Brad Gom is currently offline  Brad Gom
Messages: 49
Registered: August 1997
Member
I'm having a little conceptual difficulty with managing graphics
objects. I am making a plot object which can contain an arbitrary number
of IDLgrPlot objects. I need to be able to add and remove them from the
plot at will (and keep track of them in my code). Since this is going
to be an object-widget, the less things to keep track of in the code the
better.
My question is this: Is is better to store all the IDLgrPlot objects in
an IDLContainer object for ease of access, or to just search for them in
the IDLgrModel that they are linked to? If I keep them in a container,
and then destroy the container, do I have to let the IDLgrModel know
that I destroyed those objects? Should I remove an object from a model
before I destroy the object, or does it matter?

Thanks

Brad
[Message index]
 
Read Message
Previous Topic: Q: how to write the graphic output to a file
Next Topic: Re: Zooming and panning in plots

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

Current Time: Sat Oct 11 10:53:46 PDT 2025

Total time taken to generate the page: 0.96090 seconds