parameters: (self, event)
docstring: Respond to the "Quit" menu command.
docstring_summary: Respond to the "Quit" menu command.
docstring_tokens: Respond to the Quit menu command .
function: def doExit(self, event):
          """ Respond to the "Quit" menu command.
          """
          global _docList, _app
          for doc in _docList:
              if not doc.dirty: continue
              doc.Raise()
              if not doc.askIfUserWantsToSave("quitting"): return
              _docList.remove(doc)
              doc.Destroy()
  
          _app.ExitMainLoop()
function_tokens: def doExit ( self , event ) : global _docList , _app for doc in _docList : if not doc . dirty : continue doc . Raise ( ) if not doc . askIfUserWantsToSave ( "quitting" ) : return _docList . remove ( doc ) doc . Destroy ( ) _app . ExitMainLoop ( )