documentation index ◦ reference manual ◦ function index

# layout.navigation

Function: | layout.navigation | (screen):

This function is intended to be set by a navigation layout. It's legitimate to replace this function with one of your choosing, provided the signature remains the same.

This function displays the navigation on the game menu. It's expected to set the background of the game menu. If screen is not None, it's also expected to display the navigation buttons defined in config.game_menu, highlighting the one named in screen.

    python:
        layout.navigation("load")

documentation index ◦ reference manual ◦ function index