Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
type
WindowIconifyCallback = Window -> Bool -> IO ()GLFW-b Graphics.UI.GLFW Fires when the window is iconified (minimized) or not.
type
WindowMaximizeCallback = Window -> Bool -> IO ()GLFW-b Graphics.UI.GLFW Fires when a window is maximized or restored. Returns True if the window was maximized and False if the window was restored.
type
WindowPosCallback = Window -> Int -> Int -> IO ()GLFW-b Graphics.UI.GLFW Fires when the window position changes.
type
WindowRefreshCallback = Window -> IO ()GLFW-b Graphics.UI.GLFW Fires when the contents of the window are damaged and they must be refreshed.
type
WindowSizeCallback = Window -> Int -> Int -> IO ()GLFW-b Graphics.UI.GLFW Fires when the window is resized (in Screen Coordinates, which might not map 1:1 with pixels).
setCharCallback :: Window -> Maybe CharCallback -> IO ()GLFW-b Graphics.UI.GLFW Sets the callback to use when the user types a character See glfwSetCharCallback
setCharModsCallback :: Window -> Maybe CharModsCallback -> IO ()GLFW-b Graphics.UI.GLFW Sets the callback to use with Unicode characters regardless of what modifier keys are used. See glfwSetCharModsCallback
setCursorEnterCallback :: Window -> Maybe CursorEnterCallback -> IO ()GLFW-b Graphics.UI.GLFW Sets the callback for when the cursor enters or leaves the client area. See Cursor Enter/Leave Events
setCursorPosCallback :: Window -> Maybe CursorPosCallback -> IO ()GLFW-b Graphics.UI.GLFW Assigns the callback to run whenver the cursor position changes. See glfwSetCursorPosCallback
setDropCallback :: Window -> Maybe DropCallback -> IO ()GLFW-b Graphics.UI.GLFW Sets the file drop callback of the specified window, which is called when one or more dragged files are dropped on the window.