Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 420a649e6f65db30aa7451f64d08ff92 > files > 691

ghc-xmonad-contrib-devel-0.9.2-4.fc16.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>XMonad.Layout.ThreeColumns</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_XMonad-Layout-ThreeColumns.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/XMonad-Layout-ThreeColumns.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">xmonad-contrib-0.9.2: Third party extensions for xmonad</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>unportable</td></tr><tr><th>Stability</th><td>unstable</td></tr><tr><th>Maintainer</th><td>?</td></tr></table><p class="caption">XMonad.Layout.ThreeColumns</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Usage
</a></li><li><a href="#g:2">Screenshots
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A layout similar to tall but with three columns. With 2560x1600 pixels this
 layout can be used for a huge main window and up to six reasonable sized
 slave windows.
</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:ThreeCol">ThreeCol</a> a<ul class="subs"><li>= <a href="#v:ThreeColMid">ThreeColMid</a> { <ul class="subs"><li><a href="#v:threeColNMaster">threeColNMaster</a> :: !<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li><a href="#v:threeColDelta">threeColDelta</a> :: !<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Rational">Rational</a></li><li><a href="#v:threeColFrac">threeColFrac</a> :: !<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Rational">Rational</a></li></ul> }</li><li>| <a href="#v:ThreeCol">ThreeCol</a> { <ul class="subs"><li><a href="#v:threeColNMaster">threeColNMaster</a> :: !<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li><a href="#v:threeColDelta">threeColDelta</a> :: !<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Rational">Rational</a></li><li><a href="#v:threeColFrac">threeColFrac</a> :: !<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Rational">Rational</a></li></ul> }</li></ul></li></ul></div><div id="interface"><h1 id="g:1">Usage
</h1><div class="doc"><p>You can use this module with the following in your <code>~/.xmonad/xmonad.hs</code>:
</p><pre> import XMonad.Layout.ThreeColumns
</pre><p>Then edit your <code>layoutHook</code> by adding the ThreeCol layout:
</p><pre> myLayout = ThreeCol 1 (3/100) (1/2) ||| ThreeColMid 1 (3/100) (1/2) ||| etc..
 main = xmonad defaultConfig { layoutHook = myLayout }
</pre><p>The first argument specifies how many windows initially appear in the main
 window. The second argument argument specifies the amount to resize while
 resizing and the third argument specifies the initial size of the columns.
 A positive size designates the fraction of the screen that the main window
 should occupy, but if the size is negative the absolute value designates the
 fraction a slave column should occupy. If both slave columns are visible,
 they always occupy the same amount of space.
</p><p>The ThreeColMid variant places the main window between the slave columns.
</p><p>For more detailed instructions on editing the layoutHook see:
</p><p><a href="XMonad-Doc-Extending.html#Editing_the_layout_hook">XMonad.Doc.Extending</a>
</p></div><h1 id="g:2">Screenshots
</h1><div class="doc"><p><img src="http://server.c-otto.de/xmonad/ThreeColumnsMiddle.png" />
</p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:ThreeCol" class="def">ThreeCol</a> a <a href="src/XMonad-Layout-ThreeColumns.html#ThreeCol" class="link">Source</a></p><div class="doc"><p>Arguments are nmaster, delta, fraction
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ThreeColMid" class="def">ThreeColMid</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:threeColNMaster" class="def">threeColNMaster</a> :: !<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:threeColDelta" class="def">threeColDelta</a> :: !<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Rational">Rational</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:threeColFrac" class="def">threeColFrac</a> :: !<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Rational">Rational</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:ThreeCol" class="def">ThreeCol</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:threeColNMaster" class="def">threeColNMaster</a> :: !<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:threeColDelta" class="def">threeColDelta</a> :: !<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Rational">Rational</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:threeColFrac" class="def">threeColFrac</a> :: !<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Prelude.html#t:Rational">Rational</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:ThreeCol" class="caption collapser" onclick="toggleSection('i:ThreeCol')">Instances</p><div id="section.i:ThreeCol" class="show"><table><tr><td class="src">LayoutClass <a href="XMonad-Layout-ThreeColumns.html#t:ThreeCol">ThreeCol</a> 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-Read.html#t:Read">Read</a> (<a href="XMonad-Layout-ThreeColumns.html#t:ThreeCol">ThreeCol</a> 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="XMonad-Layout-ThreeColumns.html#t:ThreeCol">ThreeCol</a> a)</td><td class="doc empty">&nbsp;</td></tr></table></div></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>