Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 404d46ca9bb341d7a0e7e04bc69da9df > files > 776

ghc-gtk-devel-0.12.0-4.fc15.i686.rpm

<!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.Gtk.Gdk.Pixmap</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-Gtk-Gdk-Pixmap.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-Gdk-Pixmap.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">gtk-0.12.0: Binding to the Gtk+ graphical user interface library.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable (depends on GHC)</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Maintainer</th><td>gtk2hs-users@lists.sourceforge.net</td></tr></table><p class="caption">Graphics.UI.Gtk.Gdk.Pixmap</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Detail
</a></li><li><a href="#g:2">Class Hierarchy
</a></li><li><a href="#g:3">Types
</a></li><li><a href="#g:4">Constructors
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Pixmaps -- Offscreen drawables
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span>  <a href="#t:Pixmap">Pixmap</a> </li><li class="src short"><span class="keyword">class</span> <a href="Graphics-UI-Gtk-Gdk-Drawable.html#t:DrawableClass">DrawableClass</a> o =&gt; <a href="#t:PixmapClass">PixmapClass</a> o </li><li class="src short"><span class="keyword">type</span> <a href="#t:Bitmap">Bitmap</a> = <a href="Graphics-UI-Gtk-Gdk-Pixmap.html#t:Pixmap">Pixmap</a></li><li class="src short"><a href="#v:pixmapNew">pixmapNew</a> :: <a href="Graphics-UI-Gtk-Gdk-Drawable.html#t:DrawableClass">DrawableClass</a> drawable =&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> drawable -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Gdk-Pixmap.html#t:Pixmap">Pixmap</a></li></ul></div><div id="interface"><h1 id="g:1">Detail
</h1><h1 id="g:2">Class Hierarchy
</h1><div class="doc"><pre>
 | <code><a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObject">GObject</a></code>
 | +----<code><a href="Graphics-UI-Gtk-Gdk-Drawable.html#t:Drawable">Drawable</a></code>
 | +----Pixmap
</pre></div><h1 id="g:3">Types
</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Pixmap" class="def">Pixmap</a>  <a href="src/Graphics-UI-Gtk-Types.html#Pixmap" class="link">Source</a></p><div class="subs instances"><p id="control.i:Pixmap" class="caption collapser" onclick="toggleSection('i:Pixmap')">Instances</p><div id="section.i:Pixmap" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-Gdk-Pixmap.html#t:Pixmap">Pixmap</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-UI-Gtk-Gdk-Pixmap.html#t:Pixmap">Pixmap</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="Graphics-UI-Gtk-Gdk-Pixmap.html#t:Pixmap">Pixmap</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Gdk-Pixmap.html#t:PixmapClass">PixmapClass</a> <a href="Graphics-UI-Gtk-Gdk-Pixmap.html#t:Pixmap">Pixmap</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Gdk-Drawable.html#t:DrawableClass">DrawableClass</a> <a href="Graphics-UI-Gtk-Gdk-Pixmap.html#t:Pixmap">Pixmap</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="Graphics-UI-Gtk-Gdk-Drawable.html#t:DrawableClass">DrawableClass</a> o =&gt; <a name="t:PixmapClass" class="def">PixmapClass</a> o <a href="src/Graphics-UI-Gtk-Types.html#PixmapClass" class="link">Source</a></p><div class="subs instances"><p id="control.i:PixmapClass" class="caption collapser" onclick="toggleSection('i:PixmapClass')">Instances</p><div id="section.i:PixmapClass" class="show"><table><tr><td class="src"><a href="Graphics-UI-Gtk-Gdk-Pixmap.html#t:PixmapClass">PixmapClass</a> <a href="Graphics-UI-Gtk-Gdk-Pixmap.html#t:Pixmap">Pixmap</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Bitmap" class="def">Bitmap</a> = <a href="Graphics-UI-Gtk-Gdk-Pixmap.html#t:Pixmap">Pixmap</a><a href="src/Graphics-UI-Gtk-Gdk-Pixmap.html#Bitmap" class="link">Source</a></p><div class="doc"><p>A <code><a href="Graphics-UI-Gtk-Gdk-Pixmap.html#t:Bitmap">Bitmap</a></code> is a special <code><a href="Graphics-UI-Gtk-Gdk-Pixmap.html#t:Pixmap">Pixmap</a></code> in that the number of bits per pixel
 is one, that is, a pixel is either set or unset. Whenever a function
 expects a <code><a href="Graphics-UI-Gtk-Gdk-Pixmap.html#t:Bitmap">Bitmap</a></code>, a <code><a href="Graphics-UI-Gtk-Gdk-Pixmap.html#t:Pixmap">Pixmap</a></code> of depth one must be supplied.
</p></div></div><h1 id="g:4">Constructors
</h1><div class="top"><p class="src"><a name="v:pixmapNew" class="def">pixmapNew</a><a href="src/Graphics-UI-Gtk-Gdk-Pixmap.html#pixmapNew" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Gdk-Drawable.html#t:DrawableClass">DrawableClass</a> drawable</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> drawable</td><td class="doc"><p><code>drawable</code> - drawable supplying default values for the
pixmap
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>width</code> - width of the pixmap
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>height</code> - height of the pixmap
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>depth</code> - depth of the pixmap
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Gdk-Pixmap.html#t:Pixmap">Pixmap</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Create a new pixmap.
</p><p>If <code>drawable</code> is <code>Nothing</code>, the depth of the pixmap is taken from the
 <code>depth</code> parameter, otherwise the pixmap has the same depth as the
 <code><a href="Graphics-UI-Gtk-Gdk-Drawable.html#t:Drawable">Drawable</a></code> specified by <code>drawable</code>. Therefore, at least one of <code>drawable</code>
 and <code>depth</code> must not be <code>Nothing</code>.
</p><ul><li> Note that in Gtk+ 2.0 the <code>drawable</code> can only be a <code><a href="Graphics-UI-Gtk-Gdk-DrawWindow.html#t:DrawWindow">DrawWindow</a></code>, not an
 arbitary <code><a href="Graphics-UI-Gtk-Gdk-Drawable.html#t:Drawable">Drawable</a></code>.
</li></ul></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>