def stop_event_loop(self, event=None):
if hasattr(self,'<STR_LIT>'):<EOL><INDENT>if self._event_loop.IsRunning():<EOL><INDENT>self._event_loop.Exit()<EOL><DEDENT>del self._event_loop<EOL><DEDENT>
Stop an event loop.  This is used to stop a blocking event
loop so that interactive functions, such as ginput and
waitforbuttonpress, can wait for events.

Call signature::

stop_event_loop_default(self)