def test_hide_window(self): window = video.create_window("test_hide_window", 200, 200, 200, 200, 0) video.show_window(window) doprint("""Please check, if a window with the title 'test_hide_window' is shown""") video.hide_window(window) doprint("Please check, that the window is not shown anymore") video.show_window(window) doprint("Please check, if the window is shown again") video.destroy_window(window)
def hide(self): """Hides the window.""" sdlvideo.hide_window(self.window)