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.
setWindowIconifyCallback :: Window -> Maybe WindowIconifyCallback -> IO ()GLFW-b Graphics.UI.GLFW Sets the callback to use when the window is iconified or not (aka, minimized or not). See glfwSetWindowIconifyCallback
setWindowMaximizeCallback :: Window -> Maybe WindowMaximizeCallback -> IO ()GLFW-b Graphics.UI.GLFW Sets the maximization callback of the specified window, which is called when the window is maximized or restored. See Window maximization
setWindowPosCallback :: Window -> Maybe WindowPosCallback -> IO ()GLFW-b Graphics.UI.GLFW Sets the callback to use when the window position changes. See glfwSetWindowPosCallback
setWindowRefreshCallback :: Window -> Maybe WindowRefreshCallback -> IO ()GLFW-b Graphics.UI.GLFW Sets the callback to use when the window's data is partly dead and it should refresh. See glfwSetWindowRefreshCallback
setWindowSizeCallback :: Window -> Maybe WindowSizeCallback -> IO ()GLFW-b Graphics.UI.GLFW Sets the callback to use when the window's size changes. See glfwSetWindowSizeCallback
module Graphics.UI.GLUT.
Callbacks GLUT supports a number of callbacks to respond to events. There are three types of callbacks: window, menu, and global. Window callbacks indicate when to redisplay or reshape a window, when the visibility of the window changes, and when input is available for the window. Menu callbacks are described in Graphics.UI.GLUT.Menu. The global callbacks manage the passing of time and menu usage. The calling order of callbacks between different windows is undefined. Callbacks for input events should be delivered to the window the event occurs in. Events should not propagate to parent windows. A callback of type Foo can registered by setting fooCallback to Just the callback. Almost all callbacks can be de-registered by setting the corresponding fooCallback to Nothing, the only exceptions being DisplayCallback (can only be re-registered) and TimerCallback (can't be unregistered). X Implementation Notes: The X GLUT implementation uses the X Input extension to support sophisticated input devices: Spaceball, dial & button box, and digitizing tablet. Because the X Input extension does not mandate how particular types of devices are advertised through the extension, it is possible GLUT for X may not correctly support input devices that would otherwise be of the correct type. The X GLUT implementation will support the Silicon Graphics Spaceball, dial & button box, and digitizing tablet as advertised through the X Input extension.
-
GLUT Graphics.UI.GLUT.Callbacks.Global No documentation available.
type
MenuStatusCallback = MenuUsage -> Position -> IO ()GLUT Graphics.UI.GLUT.Callbacks.Global No documentation available.
-
GLUT Graphics.UI.GLUT.Callbacks.Global No documentation available.
addTimerCallback :: Timeout -> TimerCallback -> IO ()GLUT Graphics.UI.GLUT.Callbacks.Global Register a one-shot timer callback to be triggered after at least the given amount of time. Multiple timer callbacks at same or differing times may be registered simultaneously. There is no support for canceling a registered callback. The number of milliseconds is a lower bound on the time before the callback is generated. GLUT attempts to deliver the timer callback as soon as possible after the expiration of the callback's time interval.