parameters: (self)
docstring: Runs the application.
  
          .. note::
              This is a blocking call. It won't return until the window is closed
  
          Runs an event loop, where it process user input and updates window.
          Call callback method  :meth:`on_update`.
  
          Example:
              >>> app = App()
              >>> app.run()
docstring_summary: Runs the application.
docstring_tokens: Runs the application .
function: def run(self):
          """Runs the application.
  
          .. note::
              This is a blocking call. It won't return until the window is closed
  
          Runs an event loop, where it process user input and updates window.
          Call callback method  :meth:`on_update`.
  
          Example:
              >>> app = App()
              >>> app.run()
          """
          while not self._ctx.should_close():
              with self._ctx:
                  for k, v in self.keys.items():
                      self.keys[k] += 1
                      if v > 50:
                          self.on_keyboard(k, True, 0)
                          self.keys[k] = 45
  
                  bimpy.begin_root()
                  self.on_update()
                  bimpy.end()
function_tokens: def run ( self ) : while not self . _ctx . should_close ( ) : with self . _ctx : for k , v in self . keys . items ( ) : self . keys [ k ] += 1 if v > 50 : self . on_keyboard ( k , True , 0 ) self . keys [ k ] = 45 bimpy . begin_root ( ) self . on_update ( ) bimpy . end ( )