Beispiel #1
0
 def __delitem__(self, key):
     key = str(key)
     
     old_value = accessors.getitem(objects.itemsof(self), key, None)
     if old_value is not None:
         old_value.data_changed.unsubscribe(_notify)
     accessors.delitem(objects.itemsof(self), key)
Beispiel #2
0
 def touch_release(self, value):
     accessors.delitem(self._touches, value.identifier)
Beispiel #3
0
 def key_release(self, value):
     accessors.delitem(self._keys, value.identifier)
Beispiel #4
0
 def remove_mark(self, key):
     accessors.delitem(self.marks, key)
Beispiel #5
0
 def remove_axis(self, key):
     accessors.delitem(self.axes, key)
Beispiel #6
0
 def data(self):
     accessors.delitem(objects.attrsof(self), "data")
     self.data_changed(self, (), None)