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.

  1. idleCallback :: SettableStateVar (Maybe IdleCallback)

    GLUT Graphics.UI.GLUT.Callbacks.Global

    Controls the global idle callback so a GLUT program can perform background processing tasks or continuous animation when window system events are not being received. If enabled, the idle callback is continuously called when events are not being received. The current window and current menu will not be changed before the idle callback. Programs with multiple windows and/or menus should explicitly set the current window and/or /current menu/ and not rely on its current setting. The amount of computation and rendering done in an idle callback should be minimized to avoid affecting the program's interactive response. In general, not more than a single frame of rendering should be done in an idle callback.

  2. menuStatusCallback :: SettableStateVar (Maybe MenuStatusCallback)

    GLUT Graphics.UI.GLUT.Callbacks.Global

    Controls the global menu status callback so a GLUT program can determine when a menu is in use or not. When a menu status callback is registered, it will be called with the value InUse when pop-up menus are in use by the user; and the callback will be called with the value NotInUse when pop-up menus are no longer in use. Additionally, the location in window coordinates of the button press that caused the menu to go into use, or the location where the menu was released (maybe outside the window). Other callbacks continue to operate (except mouse motion callbacks) when pop-up menus are in use so the menu status callback allows a program to suspend animation or other tasks when menus are in use. The cascading and unmapping of sub-menus from an initial pop-up menu does not generate menu status callbacks. There is a single menu status callback for GLUT. When the menu status callback is called, the current menu will be set to the initial pop-up menu in both the InUse and NotInUse cases. The current window will be set to the window from which the initial menu was popped up from, also in both cases.

  3. type AppStatusCallback = AppStatus -> IO ()

    GLUT Graphics.UI.GLUT.Callbacks.Window

    An application status callback

  4. type CloseCallback = IO ()

    GLUT Graphics.UI.GLUT.Callbacks.Window

    A window close callback

  5. type CrossingCallback = Crossing -> IO ()

    GLUT Graphics.UI.GLUT.Callbacks.Window

    An enter/leave callback

  6. type DialAndButtonBoxCallback = DialAndButtonBoxInput -> IO ()

    GLUT Graphics.UI.GLUT.Callbacks.Window

    A dial & button box callback

  7. type DisplayCallback = IO ()

    GLUT Graphics.UI.GLUT.Callbacks.Window

    A display callback

  8. type InitContextCallback = IO ()

    GLUT Graphics.UI.GLUT.Callbacks.Window

    An initialize context callback

  9. type JoystickCallback = JoystickButtons -> JoystickPosition -> IO ()

    GLUT Graphics.UI.GLUT.Callbacks.Window

    A joystick callback

  10. type KeyboardCallback = Char -> Position -> IO ()

    GLUT Graphics.UI.GLUT.Callbacks.Window

    A keyboard callback

Page 635 of many | Previous | Next