glfwHideWindow function

void glfwHideWindow(
  1. Pointer<GLFWwindow> window
)

! @brief Hides the specified window.

This function hides the specified window if it was previously visible. If the window is already hidden or is in full screen mode, this function does nothing.

@paramin window The window to hide.

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

@thread_safety This function must only be called from the main thread.

@sa @ref window_hide @sa @ref glfwShowWindow

@since Added in version 3.0.

@ingroup window

GLFWAPI void glfwHideWindow(GLFWwindow* window)

Implementation

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