Hi, the window is not a flat widget, but it creates some sub widgets itself. One sub widget is the content container, where other child widgets are added to when calling the "add" method. If such a child widget calls the getLayoutParent method, it'll get the content container, not the window.
To solve your problem, you could add a property "parentWindow" to the child widget, and set it when adding the child widget. But I think the better way is to define an event in the child widget, which the window subscribes and add the logic to the event listener. Regards Alex -- View this message in context: http://qooxdoo.678.n2.nabble.com/How-to-access-user-defined-methods-of-widget-parent-tp7584648p7584661.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
