glfwMaximizeWindow

Maximizes the specified window.

This function maximizes the specified window if it was previously not maximized. If the window is already maximized, this function does nothing.

If the specified window is a full screen window, this function does nothing.

extern (C) @nogc nothrow __gshared
void
glfwMaximizeWindow

Parameters

window GLFWwindow*

The window to maximize.

Errors: Possible errors include @ref GLFW_NOT_INITIALIZED and @ref GLFW_PLATFORM_ERROR.

@par Thread Safety This function may only be called from the main thread.

@sa @ref window_iconify @sa @ref glfwIconifyWindow @sa @ref glfwRestoreWindow

Meta

Since

Added in GLFW 3.2.

Ingroup: window