window_title()
Contents
window_title()¶
Set the Sketch window’s title.
Examples¶
1 2 3 | 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 funcationality as Py5Surface.set_title() but without the need to interact directly with the Py5Surface object.
Underlying Processing method: windowTitle
Syntax¶
window_title(title: str, /) -> None