(self)
Handle GUI events until the main window is closed.
Handle GUI events until the main window is closed.
Handle GUI events until the main window is closed .
def _tick(self):
    """Handle GUI events until the main window is closed."""
    if self._deferred_reload_request:
      self._perform_deferred_reload(self._deferred_reload_request)
      self._deferred_reload_request = None
    time_elapsed = self._frame_timer.tick() * self._time_multiplier.get()
    if self._runtime:
      with self._viewer.perturbation.apply(self._pause_subject.value):
        self._runtime.tick(time_elapsed, self._pause_subject.value)
    self._viewer.render()
def _tick ( self ) : if self . _deferred_reload_request : self . _perform_deferred_reload ( self . _deferred_reload_request ) self . _deferred_reload_request = None time_elapsed = self . _frame_timer . tick ( ) * self . _time_multiplier . get ( ) if self . _runtime : with self . _viewer . perturbation . apply ( self . _pause_subject . value ) : self . _runtime . tick ( time_elapsed , self . _pause_subject . value ) self . _viewer . render ( )