Michail Zabolotko schrieb: > Hi. > I have a question to QxTransformer developers: > Are you going to add means to specify inheritance of a widget from another? > > For example: > <qx:widget > namespace="showcase" className="LoginWindow" > title="Login" authors="Nobody" > translate="true" > inherit="qx.ui.window.Window"> > .... > </qx:widget> > In this example, widget LoginWindow extends qx.ui.window.Window. > > Best regards. > Hello,
It is a bit tricky because <qx:widget> is a template construct and not a really a "normal" widget. However, such behaviour could be added with a bit of effort and should be done when the top-level node architecture will be rewritten some day. The current solution with qx:application and qx:widget is not very elegant, we know. We'll put it on our list. Until then, just add your window as the first node child. Cheers, Christian ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
