documentation index ◦ reference manual ◦ function index

# renpy.shown_window

Function: | renpy.shown_window | ():

This should be called when a window is shown on the screen. Calling this prevents config.empty_window from being called when _window is true. (And hence, prevents the empty window from being shown.)

    # This displays something like a window on the screen, so we don't want to display
    # the default window.
    python:
        ui.window()
        ui.text("Hello, World."

        renpy.shown_window()

        ui.interact() # Won't show empty window.

documentation index ◦ reference manual ◦ function index