parameters: (self)
return_statement: return True
docstring: Run when clicking the Cancel button.
docstring_summary: Run when clicking the Cancel button.
docstring_tokens: Run when clicking the Cancel button .
function: def reject(self):
          """Run when clicking the Cancel button."""
          if self.call:
              self.view.removeEventCallback("SoEvent", self.call)
          Gui.ActiveDocument.resetEdit()
          Gui.Snapper.off()
          self.sourceCmd.creator.finish(self.sourceCmd)
          self.platWinDialog("Restore")
          return True
function_tokens: def reject ( self ) : if self . call : self . view . removeEventCallback ( "SoEvent" , self . call ) Gui . ActiveDocument . resetEdit ( ) Gui . Snapper . off ( ) self . sourceCmd . creator . finish ( self . sourceCmd ) self . platWinDialog ( "Restore" ) return True