示例#1
0
文件: glfw.go 项目: andrebq/glfw
// IconifyWindow Iconifies (minimizes) a window. If the window is in fullscreen
// mode, then the desktop video mode will be restored.
func IconifyWindow() { C.glfwIconifyWindow() }
示例#2
0
文件: window.go 项目: juturnas/glfw3
//Iconfiy iconifies/minimizes the window, if it was previously restored. If it
//is a full screen window, the original monitor resolution is restored until the
//window is restored. If the window is already iconified, this function does
//nothing.
//
//This function may only be called from the main thread. See
//https://code.google.com/p/go-wiki/wiki/LockOSThread
func (w *Window) Iconify() {
	C.glfwIconifyWindow(w.data)
}
示例#3
0
文件: glfw.go 项目: maun/glfw
func IconifyWindow(window Window) { C.glfwIconifyWindow(C.GLFWwindow(window)) }
示例#4
0
文件: window.go 项目: godispy/glfw
// Iconfiy iconifies/minimizes the window, if it was previously restored. If it
// is a full screen window, the original monitor resolution is restored until the
// window is restored. If the window is already iconified, this function does
// nothing.
//
// This function may only be called from the main thread.
func (w *Window) Iconify() error {
	C.glfwIconifyWindow(w.data)
	return acceptError(APIUnavailable)
}