windowTitle()
EnvironmentDescription
Sets the title of the sketch window.
Syntax
void windowTitle(std::string t)
Parameters
| Name | Type | Description |
|---|---|---|
| t | std::string | the title string |
Returns
voidUnder the Hood
From Processing.h:
void windowTitle(const std::string& t);
void setTitle(const std::string& t) { windowTitle(t);
Under the Hood
From Processing.cpp:
void PApplet::windowTitle(const std::string& t){if(gWindow)glfwSetWindowTitle(gWindow,t.c_str());}