[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objects with Widgets, Save/Restore



JD Smith writes:

> The main object would create the head of the tree --
> a node of form, say 
> 
> 	superinfo={INFO_TREE, sibling:ptr_new(), child:ptr_new(),$
> 		   info:ptr_new()}
> 
> This would create and hand down superinfo.child (with its sibling
> pointer suitably set), to the first child, and etc., all the way down. 
> The giant info tree could be lifted up over the restoration of the
> nested objects, and then pushed back down through the tree in the same
> fashion for reattachment.  Voila.

Geez, I was just browsing my web page and
I found a LINKEDLIST object! Just the thing. :-)

Cheers,

David

-- 
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155