Re: [Fxruby-users] How to show stuff created at run time (not the easy question)
Status: Inactive
Brought to you by:
lyle
From: Lyle J. <ly...@kn...> - 2003-12-10 12:54:42
|
On Dec 9, 2003, at 7:27 PM, Will Merrell wrote: > Now, does the @propertyFrame.removeChild(@matrix) call also clean up > all of > the elements contained in @matrix, or do I also need to clear them out? Yes, removeChild() first unlinks that child widget (@matrix) from its parent's list of child widgets, and then it blows the child and all of its children away. > Further, how does Ruby's garbage collection play into this? What gets > automatically cleaned up, and what do I need to explicityl clean up? The garbage collector should do the right thing; you shouldn't need to explicitly clean up anything in this case. |