Sophie

Sophie

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

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.Layout.Layout</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-Layout-Layout.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-Layout-Layout.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.Layout.Layout</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><li><a href="#g:7">Child Attributes
</a></li><li><a href="#g:8">Signals
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Infinite scrollable area containing child widgets and/or custom drawing
</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:Layout">Layout</a> </li><li class="src short"><span class="keyword">class</span> <a href="Graphics-UI-Gtk-Abstract-Container.html#t:ContainerClass">ContainerClass</a> o =&gt; <a href="#t:LayoutClass">LayoutClass</a> o </li><li class="src short"><a href="#v:castToLayout">castToLayout</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-Layout-Layout.html#t:Layout">Layout</a></li><li class="src short"><a href="#v:gTypeLayout">gTypeLayout</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a></li><li class="src short"><a href="#v:toLayout">toLayout</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-Layout-Layout.html#t:Layout">Layout</a></li><li class="src short"><a href="#v:layoutNew">layoutNew</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <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/Data-Maybe.html#t:Maybe">Maybe</a> <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-Layout-Layout.html#t:Layout">Layout</a></li><li class="src short"><a href="#v:layoutPut">layoutPut</a> :: (<a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> childWidget) =&gt; self -&gt; childWidget -&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/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:layoutMove">layoutMove</a> :: (<a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> childWidget) =&gt; self -&gt; childWidget -&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/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:layoutSetSize">layoutSetSize</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</a> self =&gt; self -&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/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:layoutGetSize">layoutGetSize</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</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="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a>)</li><li class="src short"><a href="#v:layoutGetHAdjustment">layoutGetHAdjustment</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</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:layoutGetVAdjustment">layoutGetVAdjustment</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</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:layoutSetHAdjustment">layoutSetHAdjustment</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</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:layoutSetVAdjustment">layoutSetVAdjustment</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</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:layoutGetDrawWindow">layoutGetDrawWindow</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:Layout">Layout</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-DrawWindow.html#t:DrawWindow">DrawWindow</a></li><li class="src short"><a href="#v:layoutHAdjustment">layoutHAdjustment</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</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:layoutVAdjustment">layoutVAdjustment</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</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:layoutWidth">layoutWidth</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</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="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:layoutHeight">layoutHeight</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</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="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:layoutChildX">layoutChildX</a> :: (<a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> child) =&gt; child -&gt; <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:layoutChildY">layoutChildY</a> :: (<a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> child) =&gt; child -&gt; <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:onSetScrollAdjustments">onSetScrollAdjustments</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</a> self =&gt; self -&gt; (<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="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</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/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)</li><li class="src short"><a href="#v:afterSetScrollAdjustments">afterSetScrollAdjustments</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</a> self =&gt; self -&gt; (<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="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</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/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)</li></ul></div><div id="interface"><h1 id="g:1">Detail
</h1><div class="doc"><p><code><a href="Graphics-UI-Gtk-Layout-Layout.html#t:Layout">Layout</a></code> is similar to <code><a href="Graphics-UI-Gtk-Misc-DrawingArea.html#t:DrawingArea">DrawingArea</a></code> in that it's a &quot;blank slate&quot; and
 doesn't do anything but paint a blank background by default. It's different
 in that it supports scrolling natively (you can add it to a
 <code><a href="Graphics-UI-Gtk-Scrolling-ScrolledWindow.html#t:ScrolledWindow">ScrolledWindow</a></code>), and it can contain child widgets, since it's a
 <code><a href="Graphics-UI-Gtk-Abstract-Container.html#t:Container">Container</a></code>. However if you're just going to draw, a <code><a href="Graphics-UI-Gtk-Misc-DrawingArea.html#t:DrawingArea">DrawingArea</a></code> is a
 better choice since it has lower overhead.
</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>
 | +----Layout
</pre></div><h1 id="g:3">Types
</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Layout" class="def">Layout</a>  <a href="src/Graphics-UI-Gtk-Types.html#Layout" class="link">Source</a></p><div class="subs instances"><p id="control.i:Layout" class="caption collapser" onclick="toggleSection('i:Layout')">Instances</p><div id="section.i:Layout" 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-Layout-Layout.html#t:Layout">Layout</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-Layout-Layout.html#t:Layout">Layout</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-Layout-Layout.html#t:Layout">Layout</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</a> <a href="Graphics-UI-Gtk-Layout-Layout.html#t:Layout">Layout</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-Layout-Layout.html#t:Layout">Layout</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-Layout-Layout.html#t:Layout">Layout</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-Layout-Layout.html#t:Layout">Layout</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-Container.html#t:ContainerClass">ContainerClass</a> o =&gt; <a name="t:LayoutClass" class="def">LayoutClass</a> o <a href="src/Graphics-UI-Gtk-Types.html#LayoutClass" class="link">Source</a></p><div class="subs instances"><p id="control.i:LayoutClass" class="caption collapser" onclick="toggleSection('i:LayoutClass')">Instances</p><div id="section.i:LayoutClass" class="show"><table><tr><td class="src"><a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</a> <a href="Graphics-UI-Gtk-Layout-Layout.html#t:Layout">Layout</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:castToLayout" class="def">castToLayout</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-Layout-Layout.html#t:Layout">Layout</a><a href="src/Graphics-UI-Gtk-Types.html#castToLayout" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:gTypeLayout" class="def">gTypeLayout</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a><a href="src/Graphics-UI-Gtk-Types.html#gTypeLayout" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:toLayout" class="def">toLayout</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-Layout-Layout.html#t:Layout">Layout</a><a href="src/Graphics-UI-Gtk-Types.html#toLayout" class="link">Source</a></p></div><h1 id="g:4">Constructors
</h1><div class="top"><p class="src"><a name="v:layoutNew" class="def">layoutNew</a><a href="src/Graphics-UI-Gtk-Layout-Layout.html#layoutNew" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></td><td class="doc"><p><code>hadjustment</code> - horizontal scroll adjustment, or
 <code>Nothing</code>
</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="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></td><td class="doc"><p><code>vadjustment</code> - vertical scroll adjustment, or
 <code>Nothing</code>
</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-Layout-Layout.html#t:Layout">Layout</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Creates a new <code><a href="Graphics-UI-Gtk-Layout-Layout.html#t:Layout">Layout</a></code>. Unless you have a specific adjustment you'd like
 the layout to use for scrolling, pass <code>Nothing</code> for <code>hadjustment</code> and
 <code>vadjustment</code>.
</p></div></div><h1 id="g:5">Methods
</h1><div class="top"><p class="src"><a name="v:layoutPut" class="def">layoutPut</a><a href="src/Graphics-UI-Gtk-Layout-Layout.html#layoutPut" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> childWidget)</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; childWidget</td><td class="doc"><p><code>childWidget</code> - child widget
</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>x</code> - X position of child widget
</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>y</code> - Y position of child widget
</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>Adds <code>childWidget</code> to <code>layout</code>, at position <code>(x,y)</code>. <code>layout</code> becomes
 the new parent container of <code>childWidget</code>.
</p></div></div><div class="top"><p class="src"><a name="v:layoutMove" class="def">layoutMove</a><a href="src/Graphics-UI-Gtk-Layout-Layout.html#layoutMove" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> childWidget)</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; childWidget</td><td class="doc"><p><code>childWidget</code> - a current child of <code>layout</code>
</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>x</code> - X position to move to
</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>y</code> - Y position to move to
</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>Moves a current child of <code>layout</code> to a new position.
</p></div></div><div class="top"><p class="src"><a name="v:layoutSetSize" class="def">layoutSetSize</a><a href="src/Graphics-UI-Gtk-Layout-Layout.html#layoutSetSize" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</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/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>width</code> - width of entire scrollable area
</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 entire scrollable area
</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 size of the scrollable area of the layout.
</p></div></div><div class="top"><p class="src"><a name="v:layoutGetSize" class="def">layoutGetSize</a><a href="src/Graphics-UI-Gtk-Layout-Layout.html#layoutGetSize" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</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="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</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"><pre>(width, height)</pre></td></tr></table></div><div class="doc"><p>Gets the size that has been set on the layout, and that determines the
 total extents of the layout's scrollbar area. See <code><a href="Graphics-UI-Gtk-Layout-Layout.html#v:layoutSetSize">layoutSetSize</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:layoutGetHAdjustment" class="def">layoutGetHAdjustment</a><a href="src/Graphics-UI-Gtk-Layout-Layout.html#layoutGetHAdjustment" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</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-Adjustment.html#t:Adjustment">Adjustment</a></td><td class="doc"><p>returns horizontal scroll adjustment
</p></td></tr></table></div><div class="doc"><p>This function should only be called after the layout has been placed in a
 <code><a href="Graphics-UI-Gtk-Scrolling-ScrolledWindow.html#t:ScrolledWindow">ScrolledWindow</a></code> or otherwise configured for scrolling. It returns the
 <code><a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></code> used for communication between the horizontal scrollbar and
 <code>layout</code>.
</p><p>See <code><a href="Graphics-UI-Gtk-Scrolling-ScrolledWindow.html#t:ScrolledWindow">ScrolledWindow</a></code>, <code><a href="Graphics-UI-Gtk-Abstract-Scrollbar.html#t:Scrollbar">Scrollbar</a></code>, <code><a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></code> for details.
</p></div></div><div class="top"><p class="src"><a name="v:layoutGetVAdjustment" class="def">layoutGetVAdjustment</a><a href="src/Graphics-UI-Gtk-Layout-Layout.html#layoutGetVAdjustment" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</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-Adjustment.html#t:Adjustment">Adjustment</a></td><td class="doc"><p>returns vertical scroll adjustment
</p></td></tr></table></div><div class="doc"><p>This function should only be called after the layout has been placed in a
 <code><a href="Graphics-UI-Gtk-Scrolling-ScrolledWindow.html#t:ScrolledWindow">ScrolledWindow</a></code> or otherwise configured for scrolling. It returns the
 <code><a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></code> used for communication between the vertical scrollbar and
 <code>layout</code>.
</p><p>See <code><a href="Graphics-UI-Gtk-Scrolling-ScrolledWindow.html#t:ScrolledWindow">ScrolledWindow</a></code>, <code><a href="Graphics-UI-Gtk-Abstract-Scrollbar.html#t:Scrollbar">Scrollbar</a></code>, <code><a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></code> for details.
</p></div></div><div class="top"><p class="src"><a name="v:layoutSetHAdjustment" class="def">layoutSetHAdjustment</a><a href="src/Graphics-UI-Gtk-Layout-Layout.html#layoutSetHAdjustment" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</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-Adjustment.html#t:Adjustment">Adjustment</a></td><td class="doc"><p><code>adjustment</code> - new scroll 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="/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 horizontal scroll adjustment for the layout.
</p><p>See <code><a href="Graphics-UI-Gtk-Scrolling-ScrolledWindow.html#t:ScrolledWindow">ScrolledWindow</a></code>, <code><a href="Graphics-UI-Gtk-Abstract-Scrollbar.html#t:Scrollbar">Scrollbar</a></code>, <code><a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></code> for details.
</p></div></div><div class="top"><p class="src"><a name="v:layoutSetVAdjustment" class="def">layoutSetVAdjustment</a><a href="src/Graphics-UI-Gtk-Layout-Layout.html#layoutSetVAdjustment" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</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-Adjustment.html#t:Adjustment">Adjustment</a></td><td class="doc"><p><code>adjustment</code> - new scroll 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="/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 vertical scroll adjustment for the layout.
</p><p>See <code><a href="Graphics-UI-Gtk-Scrolling-ScrolledWindow.html#t:ScrolledWindow">ScrolledWindow</a></code>, <code><a href="Graphics-UI-Gtk-Abstract-Scrollbar.html#t:Scrollbar">Scrollbar</a></code>, <code><a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></code> for details.
</p></div></div><div class="top"><p class="src"><a name="v:layoutGetDrawWindow" class="def">layoutGetDrawWindow</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:Layout">Layout</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-DrawWindow.html#t:DrawWindow">DrawWindow</a><a href="src/Graphics-UI-Gtk-General-Structs.html#layoutGetDrawWindow" class="link">Source</a></p><div class="doc"><p>Retrieves the <code><a href="Graphics-UI-Gtk-Gdk-Drawable.html#t:Drawable">Drawable</a></code> part.
</p></div></div><h1 id="g:6">Attributes
</h1><div class="top"><p class="src"><a name="v:layoutHAdjustment" class="def">layoutHAdjustment</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</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-Layout-Layout.html#layoutHAdjustment" class="link">Source</a></p><div class="doc"><p>The <code><a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></code> for the horizontal position.
</p></div></div><div class="top"><p class="src"><a name="v:layoutVAdjustment" class="def">layoutVAdjustment</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</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-Layout-Layout.html#layoutVAdjustment" class="link">Source</a></p><div class="doc"><p>The <code><a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></code> for the vertical position.
</p></div></div><div class="top"><p class="src"><a name="v:layoutWidth" class="def">layoutWidth</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</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="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a><a href="src/Graphics-UI-Gtk-Layout-Layout.html#layoutWidth" class="link">Source</a></p><div class="doc"><p>The width of the layout.
</p><p>Allowed values: &lt;= <code>(<code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#v:maxBound">maxBound</a></code> :: Int)</code>
</p><p>Default value: 100
</p></div></div><div class="top"><p class="src"><a name="v:layoutHeight" class="def">layoutHeight</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</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="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a><a href="src/Graphics-UI-Gtk-Layout-Layout.html#layoutHeight" class="link">Source</a></p><div class="doc"><p>The height of the layout.
</p><p>Allowed values: &lt;= <code>(<code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#v:maxBound">maxBound</a></code> :: Int)</code>
</p><p>Default value: 100
</p></div></div><h1 id="g:7">Child Attributes
</h1><div class="top"><p class="src"><a name="v:layoutChildX" class="def">layoutChildX</a> :: (<a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> child) =&gt; child -&gt; <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a><a href="src/Graphics-UI-Gtk-Layout-Layout.html#layoutChildX" class="link">Source</a></p><div class="doc"><p>X position of child widget.
</p><p>Default value: 0
</p></div></div><div class="top"><p class="src"><a name="v:layoutChildY" class="def">layoutChildY</a> :: (<a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</a> self, <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> child) =&gt; child -&gt; <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a><a href="src/Graphics-UI-Gtk-Layout-Layout.html#layoutChildY" class="link">Source</a></p><div class="doc"><p>Y position of child widget.
</p><p>Default value: 0
</p></div></div><h1 id="g:8">Signals
</h1><div class="top"><p class="src"><a name="v:onSetScrollAdjustments" class="def">onSetScrollAdjustments</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</a> self =&gt; self -&gt; (<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="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</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/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)<a href="src/Graphics-UI-Gtk-Layout-Layout.html#onSetScrollAdjustments" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:afterSetScrollAdjustments" class="def">afterSetScrollAdjustments</a> :: <a href="Graphics-UI-Gtk-Layout-Layout.html#t:LayoutClass">LayoutClass</a> self =&gt; self -&gt; (<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="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</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/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)<a href="src/Graphics-UI-Gtk-Layout-Layout.html#afterSetScrollAdjustments" class="link">Source</a></p><div class="doc"><p>In case the adjustments are replaced, this signal is emitted.
</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>