packages/pyglGA/GUI/Viewer.py
def event_input_process(self, running = True):
        """
        process SDL2 basic events and input
        """
        events = sdl2.ext.get_events()
        for event in events:
            if event.type == sdl2.SDL_KEYDOWN:
                if event.key.keysym.sym == sdl2.SDLK_ESCAPE:
                    running = False
            if event.type == sdl2.SDL_QUIT:
                running = False
            #imgui event
            self._imguiRenderer.process_event(event)
        #imgui input
        self._imguiRenderer.process_inputs()
        return running

        process SDL2 basic events and input
        
process SDL2 basic events and input
process SDL2 basic events and input
def event_input_process(self, running = True):
        events = sdl2.ext.get_events()
        for event in events:
            if event.type == sdl2.SDL_KEYDOWN:
                if event.key.keysym.sym == sdl2.SDLK_ESCAPE:
                    running = False
            if event.type == sdl2.SDL_QUIT:
                running = False
            self._imguiRenderer.process_event(event)
        self._imguiRenderer.process_inputs()
        return running
def event_input_process ( self , running = True ) : events = sdl2 . ext . get_events ( ) for event in events : if event . type == sdl2 . SDL_KEYDOWN : if event . key . keysym . sym == sdl2 . SDLK_ESCAPE : running = False if event . type == sdl2 . SDL_QUIT : running = False self . _imguiRenderer . process_event ( event ) self . _imguiRenderer . process_inputs ( ) return running
process SDL2 basic events and input
process SDL2 basic events and input
"""
        process SDL2 basic events and input
        """ #imgui event #imgui input
self
running