def METHOD_NAME(argv: list[str] | None = None) -> None:
    """Runs the application."""
    _create_aliases()
    _configure_widgets()
    args = _process_arguments(argv)
    with ptg.WindowManager() as manager:
        manager.layout = _define_layout()
        header = ptg.Window(
            "[app.header] Welcome to PyTermGUI ",
            box="EMPTY",
            is_persistant=True,
        )
        header.styles.fill = "app.header.fill"
        # Since header is the first defined slot, this will assign to the correct place
        manager.add(header)
        footer = ptg.Window(
            ptg.Button("Quit", lambda *_: _confirm_quit(manager)),
            box="EMPTY",
        )
        footer.styles.fill = "app.footer"
        # Since the second slot, body was not assigned to, we need to manually assign
        # to "footer"
        manager.add(footer, assign="footer")
        manager.add(
            ptg.Window("My sidebar"),
            assign="body_right",
        )
        manager.add(
            ptg.Window(
                "[app.title]Example widgets",
                "",
                ptg.Collapsible(
                    "Some sliders",
                    "",
                    ptg.Container(
                        ptg.Slider(),
                        ptg.Slider(),
                        ptg.Slider(),
                        static_width=40,
                    ),
                ),
                "",
                ptg.Collapsible(
                    "XTERM color picker",
                    "",
                    ptg.ColorPicker(),
                ),
                "",
                ptg.Collapsible(
                    "Some containers within a splitter",
                    "",
                    ptg.Container(
                        ptg.Splitter(
                            ptg.Container("One"),
                            ptg.Container("Two"),
                            ptg.Container("Three"),
                        ),
                        static_width=60,
                    ),
                ),
                vertical_align=ptg.VerticalAlignment.TOP,
                overflow=ptg.Overflow.SCROLL,
            ),
            assign="body",
        )
    ptg.tim.print(f"[{PALETTE_LIGHT}]Goodbye!")