Application objects have the following methods, among others:
self.menubar
.
do_about
method for
more elaborate about messages.
self
to exit the mainloop is still
supported it is not recommended, call self._quit
instead.
The event loop is split into many small parts, each of which can be overridden. The default methods take care of dispatching events to windows and dialogs, handling drags and resizes, Apple Events, events for non-FrameWork windows, etc.
mainloop
at the next convenient moment.
Window
object, which overrides the
application-wide handler if the window is frontmost.
DialogWindow
object involved). Override if you
need special handling of dialog events (keyboard shortcuts, etc).