This file is indexed.

/usr/share/doc/libghc-gtk3-doc/html/Graphics-UI-Gtk-Abstract-Misc.html is in libghc-gtk3-doc 0.14.8-1build1.

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
24
25
<!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.Abstract.Misc</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Graphics-UI-Gtk-Abstract-Misc.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-Abstract-Misc.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">gtk3-0.14.8: Binding to the Gtk+ 3 graphical user interface library</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Maintainer</th><td>gtk2hs-users@lists.sourceforge.net</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Portability</th><td>portable (depends on GHC)</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Graphics.UI.Gtk.Abstract.Misc</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">Methods</a></li><li><a href="#g:5">Attributes</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Base class for widgets with alignments and padding</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:Misc">Misc</a></li><li class="src short"><span class="keyword">class</span> <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> o =&gt; <a href="#t:MiscClass">MiscClass</a> o</li><li class="src short"><a href="#v:castToMisc">castToMisc</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj =&gt; obj -&gt; <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a></li><li class="src short"><a href="#v:gTypeMisc">gTypeMisc</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a></li><li class="src short"><a href="#v:toMisc">toMisc</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a></li><li class="src short"><a href="#v:miscSetAlignment">miscSetAlignment</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> self =&gt; self -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:miscGetAlignment">miscGetAlignment</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> self =&gt; self -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a>)</li><li class="src short"><a href="#v:miscSetPadding">miscSetPadding</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> self =&gt; self -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:miscGetPadding">miscGetPadding</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> self =&gt; self -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a>)</li><li class="src short"><a href="#v:miscXalign">miscXalign</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> self =&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a></li><li class="src short"><a href="#v:miscYalign">miscYalign</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> self =&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a></li><li class="src short"><a href="#v:miscXpad">miscXpad</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> self =&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:miscYpad">miscYpad</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> self =&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li></ul></div><div id="interface"><h1 id="g:1">Detail</h1><div class="doc"><p>The <code><a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a></code> widget is an abstract widget which is not useful itself, but
 is used to derive subclasses which have alignment and padding attributes.</p><p>The horizontal and vertical padding attributes allows extra space to be
 added around the widget.</p><p>The horizontal and vertical alignment attributes enable the widget to be
 positioned within its allocated area. Note that if the widget is added to a
 container in such a way that it expands automatically to fill its allocated
 area, the alignment settings will not alter the widgets position.</p></div><h1 id="g:2">Class Hierarchy</h1><div class="doc"><pre>| <code><a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a></code>
| +----<code>Object</code>
| +----<code><a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Widget">Widget</a></code>
| +----Misc
| +----<code><a href="Graphics-UI-Gtk-Display-Label.html#t:Label">Label</a></code>
| +----<code><a href="Graphics-UI-Gtk-Misc-Arrow.html#t:Arrow">Arrow</a></code>
| +----<code><a href="Graphics-UI-Gtk-Display-Image.html#t:Image">Image</a></code>
| +----<code>Pixmap</code>
</pre></div><h1 id="g:3">Types</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Misc" class="def">Misc</a> <a href="src/Graphics-UI-Gtk-Types.html#Misc" class="link">Source</a> <a href="#t:Misc" class="selflink">#</a></p><div class="subs instances"><p id="control.i:Misc" class="caption collapser" onclick="toggleSection('i:Misc')">Instances</p><div id="section.i:Misc" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Misc:Eq:1" class="instance expander" onclick="toggleSection('i:id:Misc:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-1613" class="link">Source</a> <a href="#t:Misc" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Misc:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> -&gt; <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> -&gt; <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Misc:Ord:2" class="instance expander" onclick="toggleSection('i:id:Misc:Ord:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-1613" class="link">Source</a> <a href="#t:Misc" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Misc:Ord:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> -&gt; <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ordering">Ordering</a> <a href="#v:compare" class="selflink">#</a></p><p class="src"><a href="#v:-60-">(&lt;)</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> -&gt; <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60-" class="selflink">#</a></p><p class="src"><a href="#v:-60--61-">(&lt;=)</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> -&gt; <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62-">(&gt;)</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> -&gt; <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62-" class="selflink">#</a></p><p class="src"><a href="#v:-62--61-">(&gt;=)</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> -&gt; <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62--61-" class="selflink">#</a></p><p class="src"><a href="#v:max">max</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> -&gt; <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> -&gt; <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> -&gt; <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> -&gt; <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> <a href="#v:min" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Misc:GObjectClass:3" class="instance expander" onclick="toggleSection('i:id:Misc:GObjectClass:3')"></span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-1624" class="link">Source</a> <a href="#t:Misc" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Misc:GObjectClass:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toGObject">toGObject</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> -&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> <a href="#v:toGObject" class="selflink">#</a></p><p class="src"><a href="#v:unsafeCastGObject">unsafeCastGObject</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> -&gt; <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> <a href="#v:unsafeCastGObject" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Misc:MiscClass:4" class="instance expander" onclick="toggleSection('i:id:Misc:MiscClass:4')"></span> <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-1622" class="link">Source</a> <a href="#t:Misc" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Misc:MiscClass:4" class="inst-details hide"></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Misc:WidgetClass:5" class="instance expander" onclick="toggleSection('i:id:Misc:WidgetClass:5')"></span> <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-1623" class="link">Source</a> <a href="#t:Misc" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Misc:WidgetClass:5" class="inst-details hide"></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> o =&gt; <a id="t:MiscClass" class="def">MiscClass</a> o <a href="src/Graphics-UI-Gtk-Types.html#MiscClass" class="link">Source</a> <a href="#t:MiscClass" class="selflink">#</a></p><div class="subs instances"><p id="control.i:MiscClass" class="caption collapser" onclick="toggleSection('i:MiscClass')">Instances</p><div id="section.i:MiscClass" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:MiscClass:MiscClass:1" class="instance expander" onclick="toggleSection('i:ic:MiscClass:MiscClass:1')"></span> <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> <a href="Graphics-UI-Gtk-Display-Image.html#t:Image">Image</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-1723" class="link">Source</a> <a href="#t:MiscClass" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:MiscClass:MiscClass:1" class="inst-details hide"></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:MiscClass:MiscClass:2" class="instance expander" onclick="toggleSection('i:ic:MiscClass:MiscClass:2')"></span> <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> <a href="Graphics-UI-Gtk-Misc-Arrow.html#t:Arrow">Arrow</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-1698" class="link">Source</a> <a href="#t:MiscClass" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:MiscClass:MiscClass:2" class="inst-details hide"></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:MiscClass:MiscClass:3" class="instance expander" onclick="toggleSection('i:ic:MiscClass:MiscClass:3')"></span> <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> <a href="Graphics-UI-Gtk-Display-AccelLabel.html#t:AccelLabel">AccelLabel</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-1673" class="link">Source</a> <a href="#t:MiscClass" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:MiscClass:MiscClass:3" class="inst-details hide"></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:MiscClass:MiscClass:4" class="instance expander" onclick="toggleSection('i:ic:MiscClass:MiscClass:4')"></span> <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> <a href="Graphics-UI-Gtk-Display-Label.html#t:Label">Label</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-1647" class="link">Source</a> <a href="#t:MiscClass" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:MiscClass:MiscClass:4" class="inst-details hide"></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:MiscClass:MiscClass:5" class="instance expander" onclick="toggleSection('i:ic:MiscClass:MiscClass:5')"></span> <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-1622" class="link">Source</a> <a href="#t:MiscClass" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:MiscClass:MiscClass:5" class="inst-details hide"></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:castToMisc" class="def">castToMisc</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj =&gt; obj -&gt; <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> <a href="src/Graphics-UI-Gtk-Types.html#castToMisc" class="link">Source</a> <a href="#v:castToMisc" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:gTypeMisc" class="def">gTypeMisc</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a> <a href="src/Graphics-UI-Gtk-Types.html#gTypeMisc" class="link">Source</a> <a href="#v:gTypeMisc" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:toMisc" class="def">toMisc</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:Misc">Misc</a> <a href="src/Graphics-UI-Gtk-Types.html#toMisc" class="link">Source</a> <a href="#v:toMisc" class="selflink">#</a></p></div><h1 id="g:4">Methods</h1><div class="top"><p class="src"><a id="v:miscSetAlignment" class="def">miscSetAlignment</a> <a href="src/Graphics-UI-Gtk-Abstract-Misc.html#miscSetAlignment" class="link">Source</a> <a href="#v:miscSetAlignment" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</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="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a></td><td class="doc"><p><code>xalign</code> - the horizontal alignment, from 0 (left) to 1
 (right).</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a></td><td class="doc"><p><code>yalign</code> - the vertical alignment, from 0 (top) to 1 (bottom).</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Sets the alignment of the widget.</p></div></div><div class="top"><p class="src"><a id="v:miscGetAlignment" class="def">miscGetAlignment</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> self =&gt; self -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a>) <a href="src/Graphics-UI-Gtk-Abstract-Misc.html#miscGetAlignment" class="link">Source</a> <a href="#v:miscGetAlignment" class="selflink">#</a></p><div class="doc"><p>Gets the X and Y alignment of the widget within its allocation. See
 <code><a href="Graphics-UI-Gtk-Abstract-Misc.html#v:miscSetAlignment">miscSetAlignment</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:miscSetPadding" class="def">miscSetPadding</a> <a href="src/Graphics-UI-Gtk-Abstract-Misc.html#miscSetPadding" class="link">Source</a> <a href="#v:miscSetPadding" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</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="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>xpad</code> - the amount of space to add on the left and right of
 the widget, in pixels.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>ypad</code> - the amount of space to add on the top and bottom of
 the widget, in pixels.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Sets the amount of space to add around the widget.</p></div></div><div class="top"><p class="src"><a id="v:miscGetPadding" class="def">miscGetPadding</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> self =&gt; self -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a>) <a href="src/Graphics-UI-Gtk-Abstract-Misc.html#miscGetPadding" class="link">Source</a> <a href="#v:miscGetPadding" class="selflink">#</a></p><div class="doc"><p>Gets the padding in the X and Y directions of the widget. See
 <code><a href="Graphics-UI-Gtk-Abstract-Misc.html#v:miscSetPadding">miscSetPadding</a></code>.</p></div></div><h1 id="g:5">Attributes</h1><div class="top"><p class="src"><a id="v:miscXalign" class="def">miscXalign</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> self =&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a> <a href="src/Graphics-UI-Gtk-Abstract-Misc.html#miscXalign" class="link">Source</a> <a href="#v:miscXalign" class="selflink">#</a></p><div class="doc"><p>The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL
 layouts.</p><p>Allowed values: [0,1]</p><p>Default value: 0.5</p></div></div><div class="top"><p class="src"><a id="v:miscYalign" class="def">miscYalign</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> self =&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a> <a href="src/Graphics-UI-Gtk-Abstract-Misc.html#miscYalign" class="link">Source</a> <a href="#v:miscYalign" class="selflink">#</a></p><div class="doc"><p>The vertical alignment, from 0 (top) to 1 (bottom).</p><p>Allowed values: [0,1]</p><p>Default value: 0.5</p></div></div><div class="top"><p class="src"><a id="v:miscXpad" class="def">miscXpad</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> self =&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="src/Graphics-UI-Gtk-Abstract-Misc.html#miscXpad" class="link">Source</a> <a href="#v:miscXpad" class="selflink">#</a></p><div class="doc"><p>The amount of space to add on the left and right of the widget, in
 pixels.</p><p>Allowed values: &gt;= 0</p><p>Default value: 0</p></div></div><div class="top"><p class="src"><a id="v:miscYpad" class="def">miscYpad</a> :: <a href="Graphics-UI-Gtk-Abstract-Misc.html#t:MiscClass">MiscClass</a> self =&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="src/Graphics-UI-Gtk-Abstract-Misc.html#miscYpad" class="link">Source</a> <a href="#v:miscYpad" class="selflink">#</a></p><div class="doc"><p>The amount of space to add on the top and bottom of the widget, in
 pixels.</p><p>Allowed values: &gt;= 0</p><p>Default value: 0</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>