(cls, data_property, getter=lambda x: x, setter=lambda x: x)
Binds the value of node's ``name`` attribute to a property

        :param data_property: property name to be created
        :param getter: ``lambda object: object``, used to transform value when getting
        :param setter: ``lambda object: object``, used to transform value when setting
Binds the value of node's ``name`` attribute to a property
Binds the value of node s name attribute to a property
def bind_name(cls, data_property, getter=lambda x: x, setter=lambda x: x):
        """
        Binds the value of node's ``name`` attribute to a property

        :param data_property: property name to be created
        :param getter: ``lambda object: object``, used to transform value when getting
        :param setter: ``lambda object: object``, used to transform value when setting
        """
        def pget(self):
            return getter(self._node.name)

        def pset(self, value):
            self._node.name = setter(value)

        cls.bind(data_property, pget, pset)
def bind_name ( cls , data_property , getter = lambda x : x , setter = lambda x : x ) : def pget ( self ) : return getter ( self . _node . name ) def pset ( self , value ) : self . _node . name = setter ( value ) cls . bind ( data_property , pget , pset )