Hi Stefan,
could you please explain what you exactly mean with the layout root. For
me is the layout root the highest node in the layout hierarchy. So the
layout root would in my case the widget which I can get from the getRoot
method from the main application class (qx.application.Standalone).
Thanks,
Chris
Am 04.10.2010 12:23, schrieb Stefan Andersson:
Very often it is necessary to get the layout root which directs what
is happening within the layout children.
getLayoutParent().getLayoutParent().getLayoutParent().....
can be used to step upwards the layout tree. But if it is 4-6 steps
the line will be long. The other solution is to use
getApplicationRoot()
and step upwards, but then it is necessary to know the name of the widget.
Another one is a global variable.
What do you recommend today? Is there an idea of having a
getLayoutRoot() function?
As far as we can see there is no broadcast (forward/reverse) or
delegation message tech included in qooxdoo, is it?
Stefan
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security
easier or more difficult to achieve? Read this whitepaper to separate the
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel