With this function you can pass a Python event-handler function that will be called if an event is available. Setting an event handler while one is already set is an error. Influence the interpreter inner loop event handling. The besocial flag gives other processes a chance to run. They are granted minimal runtime when Python is in the foreground and bgyield seconds per interval when Python runs in the background.
All parameters are optional, and default to the current value.
The return value of this function is a tuple with the old values of these options. Initial defaults are that all processing is enabled, checking is done every quarter second and the CPU is given up for a quarter second when in the background. Return the textual description of MacOS error code errno . This function will put a splash window on-screen, with the contents of the DLOG resource specified by resid . Calling with a zero argument will remove the splash screen.