I have to correct a bit of what I wrote yesterday: > qx.ui.core.ClientDocument.getInstance() > > you will get the top-most object representing your running app, created > by qooxdoo. All "living" objects of your qooxdoo app are beneath this > root. With 'getChildren()' you can retreive an array of the top-level > objects you have actually created in your code (e.g. the top-level > application class, ... >
As I learned now this is not quite true. The ClientDocument holds the top-level *widgets* (ie. classes descending from qx.ui.core.Widget), and these are probably the objects you're interested in. But it doesn't necessarily hold the top-level application class you've written, which usually extends some subclass of qx.application. The canonical way to get to your top-level application class would be through qx.core.Init.getInstance().getApplication() (This might also partially answer Bill's question). Obviously, all objects (transitively) attached to the application object are accessible this way. =Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
