import ltk

def show_tutorial():
    ltk.Tutorial([
        (
            "#show-button",
             "click",
             ltk.Preformatted("This is an LTK Tutorial")
        )
    ]).run()
    
(
    ltk.VBox(
        ltk.Text("Tutorial Demo"),
        ltk.Button("Show the tutorial", lambda event: show_tutorial())
            .attr("id", "show-button")
    )
    .appendTo(ltk.window.document.body)
)