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
ErrorCallback = Error -> String -> IO ()GLFW-b Graphics.UI.GLFW The error code and also a human-readable error message.
type
FramebufferSizeCallback = Window -> Int -> Int -> IO ()GLFW-b Graphics.UI.GLFW Fires when the size of the framebuffer for the window changes (in Pixels).
type
JoystickCallback = Joystick -> JoystickState -> IO ()GLFW-b Graphics.UI.GLFW Fires when a joystick is connected or disconnected.
type
KeyCallback = Window -> Key -> Int -> KeyState -> ModifierKeys -> IO ()GLFW-b Graphics.UI.GLFW Fires for each press or repeat of keyboard keys (regardless of if it has textual meaning or not, eg Shift)
type
MonitorCallback = Monitor -> MonitorState -> IO ()GLFW-b Graphics.UI.GLFW Fires when a monitor is connected or disconnected.
type
MouseButtonCallback = Window -> MouseButton -> MouseButtonState -> ModifierKeys -> IO ()GLFW-b Graphics.UI.GLFW Fires whenever a mouse button is clicked.
type
ScrollCallback = Window -> Double -> Double -> IO ()GLFW-b Graphics.UI.GLFW Fires when the user scrolls the mouse wheel or via touch gesture.
type
WindowCloseCallback = Window -> IO ()GLFW-b Graphics.UI.GLFW Fires when the user is attempting to close the window
type
WindowContentScaleCallback = Window -> Float -> Float -> IO ()GLFW-b Graphics.UI.GLFW Fires when a window is rescaled
type
WindowFocusCallback = Window -> Bool -> IO ()GLFW-b Graphics.UI.GLFW Fires when the window gains or loses input focus.