window_title()#

Set the Sketch window’s title.

Examples#

def setup():
    py5.size(200, 200)
    py5.window_title("py5 window")

Description#

Set the Sketch window’s title. This will typically appear at the window’s title bar. The default window title is “Sketch”.

This method provides the same functionality as Py5Surface.set_title() but without the need to interact directly with the Py5Surface object.

Underlying Processing method: windowTitle

Signatures#

window_title(
    title: str,  # new window title
    /,
) -> None

Updated on September 01, 2022 16:36:02pm UTC