MacOS
Note the capitalisation of the module name, this is a historical artefact.
Note that your event handler is currently only called dependably if your main event loop is in stdwin.
(sender,
refcon, data)
.
The default values, which are based on nothing at all, are 12, 6, 1 and 12 respectively.
Note that based on the compiler used to build python it is still
possible to loose events even with the python event loop disabled. If
you have a sys.stdout
window its handler will often also look
in the event queue. Making sure nothing is ever printed works around
this.
ev
back to the python event loop, or
possibly to the handler for the sys.stdout
window (based on the
compiler used to build python). This allows python programs that do
their own event handling to still have some command-period and
window-switching capability.