class root.Cancel(Exception)

Raising Cancel causes control to be returned silently to the event loop. It can be used to cancel an operation, for example in response to cancelling a modal dialog.

---