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

Home » Public Forums » archive » Re: /ALIAS and drawing in different draw_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: /ALIAS and drawing in different draw_widgets [message #31687 is a reply to message #31683] Mon, 05 August 2002 13:29 Go to previous messageGo to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
David Fanning wrote:

> So, if the IDL system works anything like ours, what happens when
> you add an alias object to a model is that you simply add the
> object reference to the model container. I suspect that both
> models are then working with the same object. If you change it
> one place, you change it somewhere else.

Most obviously so, I think. Isn't that the whole idea of the og system?
In fact, I find it so convenient to not have to drag data and other
information around these days that I have given up on State structures
in the ad-hoc widget programs. The entire /NO_COPY business becomes
unnecessary once you make your State an object, since it is persistent
in the heap memory and fairly static.
I definitely agree that object widgets is the way to go but I write
little new code these days, and some small improvements like State
objects do simplify the classic widget development.
We are inevidably coming back to the same old question of objects'
self-awareness, in other words, being able to pass information on an
object to other objects, preferably without having to explicitly specify
their IDs as parameters in routine calls.
Cheers,
Pavel
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: converting Png files to Double
Next Topic: ARROW in 3d?

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

Current Time: Sun Oct 12 04:51:44 PDT 2025

Total time taken to generate the page: 0.70223 seconds