Is it possible to forward a property to a child widget?
For example I have a widget that inherits of qx.ui.conainer.Composite with
two images as child widgets (__img1 and __img2). Now it would be fine, if I
can define two properties to the container widget that are directly
forwarded to the childs:

properties : {
        imageSource1 : {
            forward : "__img1.source"
        },

        imageSource2 : {
            forward : "__img2.source"
        }
}

All getter, setter, resetter, ... calls should be forwarded to the
childcontrols, as well as the changed event.

This would make my life much easier, cause I often make complex widgets out
of standard ones.


--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Forwarding-Properties-to-child-widgets-tp6724009p6724009.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to