Re: [qooxdoo-devel] How to access user defined methods of widget parent

2013-09-25 Thread Alex Gölkel
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

Re: [qooxdoo-devel] How to access user defined methods of widget parent

2013-09-25 Thread bharath
Hi Daniel, Thanks for the suggestion. Now I am able to access the methods of the parent widget. However, the layout of the window is not the same anymore when I use the protected add method. Is there any reason why is this happening ? In addition to *_add* method, do I need to call any other me

Re: [qooxdoo-devel] How to access user defined methods of widget parent

2013-09-24 Thread Daniel Wagner
Hi, in your overridden _createChildControlImpl method, you use the public "add" method. This is the API intended for children added from *outside* the class, which inserts the child into the Window's children container. All you have to do is replace this.add with this._add, then the child cont

[qooxdoo-devel] How to access user defined methods of widget parent

2013-09-24 Thread bharath
I have a parent widget which extends Window class (qx.ui.window.Window) and this window now has couple of children (I have created the children by overriding *createChildControlImpl*). Now I would like to access my methods in Parent class from one of the child classes. I don't want to create an ob