glfwMaximizeWindow function

void glfwMaximizeWindow(
  1. Pointer<GLFWwindow> window
)

! @brief 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.

@paramin window 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

@since Added in GLFW 3.2.

@ingroup window

GLFWAPI void glfwMaximizeWindow(GLFWwindow* window)

Implementation

void glfwMaximizeWindow(Pointer<GLFWwindow> window) {
  final glfwMaximizeWindowLookupFunction = libglfw.lookupFunction<
      Void Function(Pointer<GLFWwindow> window),
      void Function(Pointer<GLFWwindow> window)>('glfwMaximizeWindow');
  return glfwMaximizeWindowLookupFunction(window);
}