'Set the value of the attribute ``attr`` to ``value``.  See the
class documentation for a list of attributes supported by this
canvas widget.
:rtype: None'

def __setitem__(self, attr, value):

    if (attr == 'draggable'):
        self.__draggable = value
    else:
        raise ValueError(('Unknown    attribute    %r' % attr))
