Hello List, while trying to do some optimizations the add() method showed up as time consuming in the firebug profiler.
Having a look at qx.ui.core.Widget I found the add() implementation which allows a variable argument list with one or more widgets to add and a test if the passed object is addable at all. The addition itself is done by calling the setParent to the widget which should be added passing the parents ref as parameter. When I know that the widget which should be added is correct and I know that I just want to add one widget: Is it sufficient and safe to call setParent instead of add? I mean is child.setParent(parent); equivalent to parent.add(child); ? -- Mit freundlichen Grüßen Dietrich Streifert -- Visionet GmbH Firmensitz: Am Weichselgarten 7, 91058 Erlangen Registergericht: Handelsregister Fürth, HRB 6573 Geschäftsführer: Stefan Lindner ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel