windowTitle()

Environment

Description

Sets the title of the sketch window.

Syntax

void windowTitle(std::string t)

Parameters

NameTypeDescription
tstd::stringthe title string

Returns

void

Under 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());}