(cls, data_property, path=lambda x: x, item_class=None)
Directly binds a child Node to a BoundData property

        :param data_property: property name to be created
        :param path: ``lambda self.node: PropertyNode``, can be used to point binding to another Node instead of ``self.node``.
        :param item_class: a :class:`BoundData` subclass to be used for the property value
Directly binds a child Node to a BoundData property
Directly binds a child Node to a BoundData property
def bind_child(cls, data_property, path=lambda x: x, item_class=None):
        """
        Directly binds a child Node to a BoundData property

        :param data_property: property name to be created
        :param path: ``lambda self.node: PropertyNode``, can be used to point binding to another Node instead of ``self.node``.
        :param item_class: a :class:`BoundData` subclass to be used for the property value
        """
        def pget(self):
            if not hasattr(self, '__' + data_property):
                setattr(self, '__' + data_property,
                    item_class(
                        path(self._node),
                    )
                )
            return getattr(self, '__' + data_property)

        cls.bind(data_property, pget, None)
def bind_child ( cls , data_property , path = lambda x : x , item_class = None ) : def pget ( self ) : if not hasattr ( self , '__' + data_property ) : setattr ( self , '__' + data_property , item_class ( path ( self . _node ) , ) ) return getattr ( self , '__' + data_property ) cls . bind ( data_property , pget , None )