def test_maximize_window(self): window = video.create_window("test_maximize_window", 200, 200, 200, 200, video.SDL_WINDOW_RESIZABLE) video.show_window(window) doprint("""Please check, that a window with the title 'test_maximize_window' is shown""") video.maximize_window(window) doprint("Please check, if the window was maximized properly") video.destroy_window(window)
def maximize(self): """Maximizes the window to the display's dimensions.""" sdlvideo.maximize_window(self.window)