/usr/share/doc/libghc-glut-doc/html/Graphics-UI-GLUT-Callbacks.html is in libghc-glut-doc 2.7.0.1-3build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Graphics.UI.GLUT.Callbacks</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Graphics-UI-GLUT-Callbacks.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-GLUT-Callbacks.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">GLUT-2.7.0.1: A binding for the OpenGL Utility Toolkit</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>(c) Sven Panne 2002-2013</td></tr><tr><th>License</th><td>BSD3</td></tr><tr><th>Maintainer</th><td>Sven Panne <svenpanne@gmail.com></td></tr><tr><th>Stability</th><td>stable</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Graphics.UI.GLUT.Callbacks</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>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
<a href="Graphics-UI-GLUT-Menu.html">Graphics.UI.GLUT.Menu</a>. The global callbacks manage the passing of time and
menu usage. The calling order of callbacks between different windows is
undefined.</p><p>Callbacks for input events should be delivered to the window the event occurs
in. Events should not propagate to parent windows.</p><p>A callback of type <code>Foo</code> can registered by setting <code>fooCallback</code> to <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#v:Just">Just</a></code>
the callback. Almost all callbacks can be de-registered by setting
the corresponding <code>fooCallback</code> to <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#v:Nothing">Nothing</a></code>, the only exceptions being
<code><a href="Graphics-UI-GLUT-Callbacks-Window.html#t:DisplayCallback">DisplayCallback</a></code> (can only be
re-registered) and <code><a href="Graphics-UI-GLUT-Callbacks-Global.html#t:TimerCallback">TimerCallback</a></code> (can't
be unregistered).</p><p><em>X Implementation Notes:</em> 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.</p></div></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src">module <a href="Graphics-UI-GLUT-Callbacks-Window.html">Graphics.UI.GLUT.Callbacks.Window</a></p></div><div class="top"><p class="src">module <a href="Graphics-UI-GLUT-Callbacks-Global.html">Graphics.UI.GLUT.Callbacks.Global</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>
|