def start_event_loop_default(self,timeout=<NUM_LIT:0>):
str = "<STR_LIT>"<EOL>str += "<STR_LIT>"<EOL>warnings.warn(str,DeprecationWarning)<EOL>if timeout <= <NUM_LIT:0>: timeout = np.inf<EOL>timestep = <NUM_LIT><EOL>counter = <NUM_LIT:0><EOL>self._looping = True<EOL>while self._looping and counter*timestep < timeout:<EOL><INDENT>self.flush_events()<EOL>time.sleep(timestep)<EOL>counter += <NUM_LIT:1><EOL><DEDENT>
Start an event loop.  This is used to start a blocking event
loop so that interactive functions, such as ginput and
waitforbuttonpress, can wait for events.  This should not be
confused with the main GUI event loop, which is always running
and has nothing to do with this.

This function provides default event loop functionality based
on time.sleep that is meant to be used until event loop
functions for each of the GUI backends can be written.  As
such, it throws a deprecated warning.

Call signature::

    start_event_loop_default(self,timeout=0)

This call blocks until a callback function triggers
stop_event_loop() or *timeout* is reached.  If *timeout* is
<=0, never timeout.