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
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
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
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