Sophie

Sophie

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

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.Misc.Viewport</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-Misc-Viewport.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-Misc-Viewport.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.Misc.Viewport</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><li><a href="#g:5">Methods
</a></li><li><a href="#g:6">Attributes
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>An adapter which makes widgets scrollable
</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:Viewport">Viewport</a> </li><li class="src short"><span class="keyword">class</span> <a href="Graphics-UI-Gtk-Abstract-Bin.html#t:BinClass">BinClass</a> o =&gt; <a href="#t:ViewportClass">ViewportClass</a> o </li><li class="src short"><span class="keyword">data</span>  <a href="#t:ShadowType">ShadowType</a> <ul class="subs"><li>= <a href="#v:ShadowNone">ShadowNone</a>  </li><li>| <a href="#v:ShadowIn">ShadowIn</a>  </li><li>| <a href="#v:ShadowOut">ShadowOut</a>  </li><li>| <a href="#v:ShadowEtchedIn">ShadowEtchedIn</a>  </li><li>| <a href="#v:ShadowEtchedOut">ShadowEtchedOut</a>  </li></ul></li><li class="src short"><a href="#v:castToViewport">castToViewport</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj =&gt; obj -&gt; <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:Viewport">Viewport</a></li><li class="src short"><a href="#v:gTypeViewport">gTypeViewport</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a></li><li class="src short"><a href="#v:toViewport">toViewport</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:Viewport">Viewport</a></li><li class="src short"><a href="#v:viewportNew">viewportNew</a> :: <a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a> -&gt; <a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</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-Misc-Viewport.html#t:Viewport">Viewport</a></li><li class="src short"><a href="#v:viewportGetHAdjustment">viewportGetHAdjustment</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self =&gt; self -&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-Misc-Adjustment.html#t:Adjustment">Adjustment</a></li><li class="src short"><a href="#v:viewportGetVAdjustment">viewportGetVAdjustment</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self =&gt; self -&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-Misc-Adjustment.html#t:Adjustment">Adjustment</a></li><li class="src short"><a href="#v:viewportSetHAdjustment">viewportSetHAdjustment</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:viewportSetVAdjustment">viewportSetVAdjustment</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:viewportSetShadowType">viewportSetShadowType</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ShadowType">ShadowType</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:viewportGetShadowType">viewportGetShadowType</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self =&gt; self -&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-Misc-Viewport.html#t:ShadowType">ShadowType</a></li><li class="src short"><a href="#v:viewportGetBinWindow">viewportGetBinWindow</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self =&gt; self -&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-DrawWindow.html#t:DrawWindow">DrawWindow</a></li><li class="src short"><a href="#v:viewportGetViewWindow">viewportGetViewWindow</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self =&gt; self -&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-DrawWindow.html#t:DrawWindow">DrawWindow</a></li><li class="src short"><a href="#v:viewportHAdjustment">viewportHAdjustment</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self =&gt; <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></li><li class="src short"><a href="#v:viewportVAdjustment">viewportVAdjustment</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self =&gt; <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></li><li class="src short"><a href="#v:viewportShadowType">viewportShadowType</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self =&gt; <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ShadowType">ShadowType</a></li></ul></div><div id="interface"><h1 id="g:1">Detail
</h1><div class="doc"><p>A <code><a href="Graphics-UI-Gtk-Misc-Viewport.html#t:Viewport">Viewport</a></code> is a helper widget that adds Adjustment slots to a
 widget, i.e. the widget becomes scrollable. It can then be put into
 <code><a href="Graphics-UI-Gtk-Scrolling-ScrolledWindow.html#t:ScrolledWindow">ScrolledWindow</a></code> and will behave as expected.
</p></div><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-Abstract-Object.html#t:Object">Object</a></code>
 | +----<code><a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Widget">Widget</a></code>
 | +----<code><a href="Graphics-UI-Gtk-Abstract-Container.html#t:Container">Container</a></code>
 | +----<code><a href="Graphics-UI-Gtk-Abstract-Bin.html#t:Bin">Bin</a></code>
 | +----Viewport
</pre></div><h1 id="g:3">Types
</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Viewport" class="def">Viewport</a>  <a href="src/Graphics-UI-Gtk-Types.html#Viewport" class="link">Source</a></p><div class="subs instances"><p id="control.i:Viewport" class="caption collapser" onclick="toggleSection('i:Viewport')">Instances</p><div id="section.i:Viewport" 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-Misc-Viewport.html#t:Viewport">Viewport</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-Misc-Viewport.html#t:Viewport">Viewport</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-Misc-Viewport.html#t:Viewport">Viewport</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:Viewport">Viewport</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Abstract-Bin.html#t:BinClass">BinClass</a> <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:Viewport">Viewport</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Abstract-Container.html#t:ContainerClass">ContainerClass</a> <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:Viewport">Viewport</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:Viewport">Viewport</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Abstract-Object.html#t:ObjectClass">ObjectClass</a> <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:Viewport">Viewport</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-Abstract-Bin.html#t:BinClass">BinClass</a> o =&gt; <a name="t:ViewportClass" class="def">ViewportClass</a> o <a href="src/Graphics-UI-Gtk-Types.html#ViewportClass" class="link">Source</a></p><div class="subs instances"><p id="control.i:ViewportClass" class="caption collapser" onclick="toggleSection('i:ViewportClass')">Instances</p><div id="section.i:ViewportClass" class="show"><table><tr><td class="src"><a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:Viewport">Viewport</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:ShadowType" class="def">ShadowType</a>  <a href="src/Graphics-UI-Gtk-General-Enums.html#ShadowType" class="link">Source</a></p><div class="doc"><p>Shadow types
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ShadowNone" class="def">ShadowNone</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:ShadowIn" class="def">ShadowIn</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:ShadowOut" class="def">ShadowOut</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:ShadowEtchedIn" class="def">ShadowEtchedIn</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:ShadowEtchedOut" class="def">ShadowEtchedOut</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:ShadowType" class="caption collapser" onclick="toggleSection('i:ShadowType')">Instances</p><div id="section.i:ShadowType" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ShadowType">ShadowType</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-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ShadowType">ShadowType</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/Text-Show.html#t:Show">Show</a> <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ShadowType">ShadowType</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:castToViewport" class="def">castToViewport</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj =&gt; obj -&gt; <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:Viewport">Viewport</a><a href="src/Graphics-UI-Gtk-Types.html#castToViewport" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:gTypeViewport" class="def">gTypeViewport</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a><a href="src/Graphics-UI-Gtk-Types.html#gTypeViewport" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:toViewport" class="def">toViewport</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:Viewport">Viewport</a><a href="src/Graphics-UI-Gtk-Types.html#toViewport" class="link">Source</a></p></div><h1 id="g:4">Constructors
</h1><div class="top"><p class="src"><a name="v:viewportNew" class="def">viewportNew</a><a href="src/Graphics-UI-Gtk-Misc-Viewport.html#viewportNew" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></td><td class="doc"><p><code>hadjustment</code> - horizontal adjustment.
</p></td></tr><tr><td class="src">-&gt; <a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></td><td class="doc"><p><code>vadjustment</code> - vertical adjustment.
</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-Misc-Viewport.html#t:Viewport">Viewport</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Creates a new <code><a href="Graphics-UI-Gtk-Misc-Viewport.html#t:Viewport">Viewport</a></code> with the given adjustments.
</p></div></div><h1 id="g:5">Methods
</h1><div class="top"><p class="src"><a name="v:viewportGetHAdjustment" class="def">viewportGetHAdjustment</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self =&gt; self -&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-Misc-Adjustment.html#t:Adjustment">Adjustment</a><a href="src/Graphics-UI-Gtk-Misc-Viewport.html#viewportGetHAdjustment" class="link">Source</a></p><div class="doc"><p>Returns the horizontal adjustment of the viewport.
</p></div></div><div class="top"><p class="src"><a name="v:viewportGetVAdjustment" class="def">viewportGetVAdjustment</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self =&gt; self -&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-Misc-Adjustment.html#t:Adjustment">Adjustment</a><a href="src/Graphics-UI-Gtk-Misc-Viewport.html#viewportGetVAdjustment" class="link">Source</a></p><div class="doc"><p>Returns the vertical adjustment of the viewport.
</p></div></div><div class="top"><p class="src"><a name="v:viewportSetHAdjustment" class="def">viewportSetHAdjustment</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-Misc-Viewport.html#viewportSetHAdjustment" class="link">Source</a></p><div class="doc"><p>Sets the horizontal adjustment of the viewport.
</p></div></div><div class="top"><p class="src"><a name="v:viewportSetVAdjustment" class="def">viewportSetVAdjustment</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self =&gt; self -&gt; <a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-Misc-Viewport.html#viewportSetVAdjustment" class="link">Source</a></p><div class="doc"><p>Sets the vertical adjustment of the viewport.
</p></div></div><div class="top"><p class="src"><a name="v:viewportSetShadowType" class="def">viewportSetShadowType</a><a href="src/Graphics-UI-Gtk-Misc-Viewport.html#viewportSetShadowType" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ShadowType">ShadowType</a></td><td class="doc"><p><code>type</code> - the new shadow type.
</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="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Sets the shadow type of the viewport.
</p></div></div><div class="top"><p class="src"><a name="v:viewportGetShadowType" class="def">viewportGetShadowType</a><a href="src/Graphics-UI-Gtk-Misc-Viewport.html#viewportGetShadowType" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</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/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ShadowType">ShadowType</a></td><td class="doc"><p>returns the shadow type
</p></td></tr></table></div><div class="doc"><p>Gets the shadow type of the <code><a href="Graphics-UI-Gtk-Misc-Viewport.html#t:Viewport">Viewport</a></code>. See <code><a href="Graphics-UI-Gtk-Misc-Viewport.html#v:viewportSetShadowType">viewportSetShadowType</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:viewportGetBinWindow" class="def">viewportGetBinWindow</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self =&gt; self -&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-DrawWindow.html#t:DrawWindow">DrawWindow</a><a href="src/Graphics-UI-Gtk-Misc-Viewport.html#viewportGetBinWindow" class="link">Source</a></p><div class="doc"><p>Gets the bin window of the <code><a href="Graphics-UI-Gtk-Misc-Viewport.html#t:Viewport">Viewport</a></code>.
</p><ul><li> Available since Gtk version 2.20
</li></ul></div></div><div class="top"><p class="src"><a name="v:viewportGetViewWindow" class="def">viewportGetViewWindow</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self =&gt; self -&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-DrawWindow.html#t:DrawWindow">DrawWindow</a><a href="src/Graphics-UI-Gtk-Misc-Viewport.html#viewportGetViewWindow" class="link">Source</a></p><div class="doc"><p>Gets the view window of the <code><a href="Graphics-UI-Gtk-Misc-Viewport.html#t:Viewport">Viewport</a></code>.
</p><ul><li> Available since Gtk+ version 2.22
</li></ul></div></div><h1 id="g:6">Attributes
</h1><div class="top"><p class="src"><a name="v:viewportHAdjustment" class="def">viewportHAdjustment</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self =&gt; <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a><a href="src/Graphics-UI-Gtk-Misc-Viewport.html#viewportHAdjustment" class="link">Source</a></p><div class="doc"><p>The <code><a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></code> that determines the values of the horizontal position
 for this viewport.
</p></div></div><div class="top"><p class="src"><a name="v:viewportVAdjustment" class="def">viewportVAdjustment</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self =&gt; <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a><a href="src/Graphics-UI-Gtk-Misc-Viewport.html#viewportVAdjustment" class="link">Source</a></p><div class="doc"><p>The <code><a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></code> that determines the values of the vertical position for
 this viewport.
</p></div></div><div class="top"><p class="src"><a name="v:viewportShadowType" class="def">viewportShadowType</a> :: <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ViewportClass">ViewportClass</a> self =&gt; <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="Graphics-UI-Gtk-Misc-Viewport.html#t:ShadowType">ShadowType</a><a href="src/Graphics-UI-Gtk-Misc-Viewport.html#viewportShadowType" class="link">Source</a></p><div class="doc"><p>Determines how the shadowed box around the viewport is drawn.
</p><p>Default value: <code><a href="Graphics-UI-Gtk-Misc-Viewport.html#v:ShadowIn">ShadowIn</a></code>
</p></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>