windowResizable()

Environment

Description

Makes the window resizable by the user.

Syntax

void windowResizable(bool r)

Parameters

NameTypeDescription
rbooltrue to allow resizing

Returns

void

Related

Under the Hood

From Processing.h:

void windowResizable(bool r); void setResizable(bool r) { windowResizable(r);

Under the Hood

From Processing.cpp:

void PApplet::windowResizable(bool r){isResizable=r;if(gWindow)glfwSetWindowAttrib(gWindow,GLFW_RESIZABLE,r?GLFW_TRUE:GLFW_FALSE);}