Hey Richard,

2008/9/3 Richard Dale <[EMAIL PROTECTED]>:
> In the Qt api, the QObject class has a public children() method and I use
> the method in the QtRuby bindings for marking ruby instances as not needing
> garbage collection. In RubyWt I am having problems with some widgets being
> garbage collected early because I have no means of walking the trees of
> children in the mark phase of GC. Would it be possible to add these
> children() methods to Wt?

That makes sense. What I did is I added the children() method as you
suggest to WObject, and I moved the WContainerWidget::children()
method to WWebWidget (since they would be returning the same list).
So, you only need to deal with two lists, really.

Regards,
koen

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to