windowResizable()
EnvironmentDescription
Makes the window resizable by the user.
Syntax
void windowResizable(bool r)
Parameters
| Name | Type | Description |
|---|---|---|
| r | bool | true to allow resizing |
Returns
voidRelated
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);}