Esempio n. 1
0
 def resetAttribute(self, attribute):
     """ Reset 'attribute' to its default value """
     self.push(
         commands.SetAttributeCommand(self._graph, attribute,
                                      attribute.defaultValue()))
Esempio n. 2
0
 def setAttribute(self, attribute, value):
     self.push(commands.SetAttributeCommand(self._graph, attribute, value))