Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 16551e78563a5b49ff9624ee1c8b8101 > files > 814

ghc-xmonad-contrib-devel-0.11-1.1.fc18.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.Groups.Examples</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-Groups-Examples.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/XMonad-Layout-Groups-Examples.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.11: 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>orphaned</td></tr><tr><th>Safe Haskell</th><td>Safe-Infered</td></tr></table><p class="caption">XMonad.Layout.Groups.Examples</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">Example: Row of columns
</a></li><li><a href="#g:3">Example: Tiled tab groups
</a></li><li><a href="#g:4">Useful re-exports and utils
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Example layouts for <a href="XMonad-Layout-Groups.html">XMonad.Layout.Groups</a>.
</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"><a href="#v:rowOfColumns">rowOfColumns</a> :: <a href="XMonad-Layout-Groups.html#t:Groups">Groups</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> (<a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Mirror">Mirror</a> (<a href="XMonad-Layout-ZoomRow.html#t:ZoomRow">ZoomRow</a> <a href="XMonad-Layout-ZoomRow.html#t:ClassEQ">ClassEQ</a>))) (<a href="XMonad-Layout-ZoomRow.html#t:ZoomRow">ZoomRow</a> <a href="XMonad-Layout-Groups-Examples.html#t:GroupEQ">GroupEQ</a>) <a href="/usr/share/doc/ghc/html/libraries/X11-1.6.0/Graphics-X11-Types.html#t:Window">Window</a></li><li class="src short"><a href="#v:zoomColumnIn">zoomColumnIn</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:zoomColumnOut">zoomColumnOut</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:zoomColumnReset">zoomColumnReset</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:toggleColumnFull">toggleColumnFull</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:zoomWindowIn">zoomWindowIn</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:zoomWindowOut">zoomWindowOut</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:zoomWindowReset">zoomWindowReset</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:toggleWindowFull">toggleWindowFull</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:tallTabs">tallTabs</a> :: <a href="XMonad-Layout-Decoration.html#t:Shrinker">Shrinker</a> s =&gt; <a href="XMonad-Layout-Groups-Examples.html#t:TiledTabsConfig">TiledTabsConfig</a> s -&gt; <a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> (<a href="XMonad-Layout-Decoration.html#t:Decoration">Decoration</a> <a href="XMonad-Layout-Tabbed.html#t:TabbedDecoration">TabbedDecoration</a> s) (<a href="XMonad-Layout-Groups.html#t:Groups">Groups</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> <a href="XMonad-Layout-Simplest.html#t:Simplest">Simplest</a>) (<a href="XMonad-Layout-LayoutCombinators.html#t:NewSelect">NewSelect</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Tall">Tall</a>) (<a href="XMonad-Layout-LayoutCombinators.html#t:NewSelect">NewSelect</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> (<a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Mirror">Mirror</a> <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Tall">Tall</a>)) <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Full">Full</a>)))) <a href="/usr/share/doc/ghc/html/libraries/X11-1.6.0/Graphics-X11-Types.html#t:Window">Window</a></li><li class="src short"><a href="#v:mirrorTallTabs">mirrorTallTabs</a> :: <a href="XMonad-Layout-Decoration.html#t:Shrinker">Shrinker</a> s =&gt; <a href="XMonad-Layout-Groups-Examples.html#t:TiledTabsConfig">TiledTabsConfig</a> s -&gt; <a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> (<a href="XMonad-Layout-Decoration.html#t:Decoration">Decoration</a> <a href="XMonad-Layout-Tabbed.html#t:TabbedDecoration">TabbedDecoration</a> s) (<a href="XMonad-Layout-Groups.html#t:Groups">Groups</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> <a href="XMonad-Layout-Simplest.html#t:Simplest">Simplest</a>) (<a href="XMonad-Layout-LayoutCombinators.html#t:NewSelect">NewSelect</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> (<a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Mirror">Mirror</a> <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Tall">Tall</a>)) (<a href="XMonad-Layout-LayoutCombinators.html#t:NewSelect">NewSelect</a> <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Full">Full</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Tall">Tall</a>))))) <a href="/usr/share/doc/ghc/html/libraries/X11-1.6.0/Graphics-X11-Types.html#t:Window">Window</a></li><li class="src short"><a href="#v:fullTabs">fullTabs</a> :: <a href="XMonad-Layout-Decoration.html#t:Shrinker">Shrinker</a> s =&gt; <a href="XMonad-Layout-Groups-Examples.html#t:TiledTabsConfig">TiledTabsConfig</a> s -&gt; <a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> (<a href="XMonad-Layout-Decoration.html#t:Decoration">Decoration</a> <a href="XMonad-Layout-Tabbed.html#t:TabbedDecoration">TabbedDecoration</a> s) (<a href="XMonad-Layout-Groups.html#t:Groups">Groups</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> <a href="XMonad-Layout-Simplest.html#t:Simplest">Simplest</a>) (<a href="XMonad-Layout-LayoutCombinators.html#t:NewSelect">NewSelect</a> <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Full">Full</a> (<a href="XMonad-Layout-LayoutCombinators.html#t:NewSelect">NewSelect</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Tall">Tall</a>) (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> (<a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Mirror">Mirror</a> <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Tall">Tall</a>)))))) <a href="/usr/share/doc/ghc/html/libraries/X11-1.6.0/Graphics-X11-Types.html#t:Window">Window</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:TiledTabsConfig">TiledTabsConfig</a> s = <a href="#v:TTC">TTC</a> {<ul class="subs"><li><a href="#v:vNMaster">vNMaster</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a></li><li><a href="#v:vRatio">vRatio</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Prelude.html#t:Rational">Rational</a></li><li><a href="#v:vIncrement">vIncrement</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Prelude.html#t:Rational">Rational</a></li><li><a href="#v:hNMaster">hNMaster</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a></li><li><a href="#v:hRatio">hRatio</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Prelude.html#t:Rational">Rational</a></li><li><a href="#v:hIncrement">hIncrement</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Prelude.html#t:Rational">Rational</a></li><li><a href="#v:tabsShrinker">tabsShrinker</a> :: s</li><li><a href="#v:tabsTheme">tabsTheme</a> :: <a href="XMonad-Layout-Decoration.html#t:Theme">Theme</a></li></ul>}</li><li class="src short"><a href="#v:defaultTiledTabsConfig">defaultTiledTabsConfig</a> :: <a href="XMonad-Layout-Groups-Examples.html#t:TiledTabsConfig">TiledTabsConfig</a> <a href="XMonad-Layout-Decoration.html#t:DefaultShrinker">DefaultShrinker</a></li><li class="src short"><a href="#v:increaseNMasterGroups">increaseNMasterGroups</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:decreaseNMasterGroups">decreaseNMasterGroups</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:shrinkMasterGroups">shrinkMasterGroups</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:expandMasterGroups">expandMasterGroups</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:nextOuterLayout">nextOuterLayout</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li><li class="src short">module <a href="XMonad-Layout-Groups-Helpers.html">XMonad.Layout.Groups.Helpers</a></li><li class="src short"><a href="#v:shrinkText">shrinkText</a> :: <a href="XMonad-Layout-Decoration.html#t:DefaultShrinker">DefaultShrinker</a></li><li class="src short"><a href="#v:defaultTheme">defaultTheme</a> :: <a href="XMonad-Layout-Decoration.html#t:Theme">Theme</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:GroupEQ">GroupEQ</a> a = <a href="#v:GroupEQ">GroupEQ</a></li><li class="src short"><a href="#v:zoomRowG">zoomRowG</a> :: (<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Eq.html#t:Eq">Eq</a> a, <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> a, <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Text-Read.html#t:Read">Read</a> a, <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> (l a), <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Text-Read.html#t:Read">Read</a> (l a)) =&gt; <a href="XMonad-Layout-ZoomRow.html#t:ZoomRow">ZoomRow</a> <a href="XMonad-Layout-Groups-Examples.html#t:GroupEQ">GroupEQ</a> (<a href="XMonad-Layout-Groups.html#t:Group">Group</a> l a)</li></ul></div><div id="interface"><h1 id="g:1">Usage
</h1><div class="doc"><p>This module contains example <code><a href="XMonad-Layout-Groups.html#t:Groups">Groups</a></code>-based layouts.
 You can either import this module directly, or look at its source
 for ideas of how <a href="XMonad-Layout-Groups.html">XMonad.Layout.Groups</a> may be used.
</p><p>You can use the contents of this module by adding
</p><pre> import XMonad.Layout.Groups.Examples
</pre><p>to the top of your <code>./.xmonad/xmonad.hs</code>.
</p><p>For more information on using any of the layouts, jump directly
   to its &quot;Example&quot; section.
</p><p>Whichever layout you choose to use, you will probably want to be
   able to move focus and windows between groups in a consistent
   manner. For this, you should take a look at the functions from
   the <a href="XMonad-Layout-Groups-Helpers.html">XMonad.Layout.Groups.Helpers</a> module, which are all
   re-exported by this module.
</p><p>For more information on how to extend your layour hook and key bindings, see
   <a href="XMonad-Doc-Extending.html">XMonad.Doc.Extending</a>.
</p></div><h1 id="g:2">Example: Row of columns
</h1><div class="doc"><p>A layout that arranges windows in a row of columns. It uses <code><a href="XMonad-Layout-ZoomRow.html#t:ZoomRow">ZoomRow</a></code>s for
 both, allowing you to:
</p><ul><li> Freely change the proportion of the screen width allocated to each column
</li><li> Freely change the proportion of a column's heigth allocated to each of its windows
</li><li> Set a column to occupy the whole screen space whenever it has focus
</li><li> Set a window to occupy its whole column whenever it has focus
</li></ul><p>to use this layout, add <code><a href="XMonad-Layout-Groups-Examples.html#v:rowOfColumns">rowOfColumns</a></code> to your layout hook, for example:
</p><pre> myLayout = rowOfColumns
</pre><p>To be able to change the sizes of columns and windows, you can create key bindings
 for the relevant actions:
</p><pre> ((modMask, xK_minus), zoomWindowOut)
</pre><p>and so on.
</p></div><div class="top"><p class="src"><a name="v:rowOfColumns" class="def">rowOfColumns</a> :: <a href="XMonad-Layout-Groups.html#t:Groups">Groups</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> (<a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Mirror">Mirror</a> (<a href="XMonad-Layout-ZoomRow.html#t:ZoomRow">ZoomRow</a> <a href="XMonad-Layout-ZoomRow.html#t:ClassEQ">ClassEQ</a>))) (<a href="XMonad-Layout-ZoomRow.html#t:ZoomRow">ZoomRow</a> <a href="XMonad-Layout-Groups-Examples.html#t:GroupEQ">GroupEQ</a>) <a href="/usr/share/doc/ghc/html/libraries/X11-1.6.0/Graphics-X11-Types.html#t:Window">Window</a><a href="src/XMonad-Layout-Groups-Examples.html#rowOfColumns" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:zoomColumnIn" class="def">zoomColumnIn</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/XMonad-Layout-Groups-Examples.html#zoomColumnIn" class="link">Source</a></p><div class="doc"><p>Increase the width of the focused column
</p></div></div><div class="top"><p class="src"><a name="v:zoomColumnOut" class="def">zoomColumnOut</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/XMonad-Layout-Groups-Examples.html#zoomColumnOut" class="link">Source</a></p><div class="doc"><p>Decrease the width of the focused column
</p></div></div><div class="top"><p class="src"><a name="v:zoomColumnReset" class="def">zoomColumnReset</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/XMonad-Layout-Groups-Examples.html#zoomColumnReset" class="link">Source</a></p><div class="doc"><p>Reset the width of the focused column
</p></div></div><div class="top"><p class="src"><a name="v:toggleColumnFull" class="def">toggleColumnFull</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/XMonad-Layout-Groups-Examples.html#toggleColumnFull" class="link">Source</a></p><div class="doc"><p>Toggle whether the currently focused column should
 take up all available space whenever it has focus
</p></div></div><div class="top"><p class="src"><a name="v:zoomWindowIn" class="def">zoomWindowIn</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/XMonad-Layout-Groups-Examples.html#zoomWindowIn" class="link">Source</a></p><div class="doc"><p>Increase the heigth of the focused window
</p></div></div><div class="top"><p class="src"><a name="v:zoomWindowOut" class="def">zoomWindowOut</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/XMonad-Layout-Groups-Examples.html#zoomWindowOut" class="link">Source</a></p><div class="doc"><p>Decrease the height of the focused window
</p></div></div><div class="top"><p class="src"><a name="v:zoomWindowReset" class="def">zoomWindowReset</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/XMonad-Layout-Groups-Examples.html#zoomWindowReset" class="link">Source</a></p><div class="doc"><p>Reset the height of the focused window
</p></div></div><div class="top"><p class="src"><a name="v:toggleWindowFull" class="def">toggleWindowFull</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/XMonad-Layout-Groups-Examples.html#toggleWindowFull" class="link">Source</a></p><div class="doc"><p>Toggle whether the currently focused window should
 take up the whole column whenever it has focus
</p></div></div><h1 id="g:3">Example: Tiled tab groups
</h1><div class="doc"><p>A layout which arranges windows into tabbed groups, and the groups
 themselves according to XMonad's default algorithm
 (<code><code><a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Tall">Tall</a></code> ||| <code><a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Mirror">Mirror</a></code> <code><a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Tall">Tall</a></code> ||| <code><a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Full">Full</a></code></code>). As their names
 indicate, <code><a href="XMonad-Layout-Groups-Examples.html#v:tallTabs">tallTabs</a></code> starts as <code><a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Tall">Tall</a></code>, <code><a href="XMonad-Layout-Groups-Examples.html#v:mirrorTallTabs">mirrorTallTabs</a></code> starts
 as <code><a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Mirror">Mirror</a></code> <code><a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Tall">Tall</a></code> and <code><a href="XMonad-Layout-Groups-Examples.html#v:fullTabs">fullTabs</a></code> starts as <code><a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Full">Full</a></code>, but in any
 case you can freely switch between the three afterwards.
</p><p>You can use any of these three layouts by including it in your layout hook.
 You will need to provide it with a <code><a href="XMonad-Layout-Groups-Examples.html#t:TiledTabsConfig">TiledTabsConfig</a></code> containing the size
 parameters for <code><a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Tall">Tall</a></code> and <code><a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Mirror">Mirror</a></code> <code><a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Tall">Tall</a></code>, and the shrinker and decoration theme
 for the tabs. If you're happy with defaults, you can use <code><a href="XMonad-Layout-Groups-Examples.html#v:defaultTiledTabsConfig">defaultTiledTabsConfig</a></code>:
</p><pre> myLayout = tallTabs defaultTiledTabsConfig
</pre><p>To be able to increase/decrease the number of master groups and shrink/expand
 the master area, you can create key bindings for the relevant actions:
</p><pre> ((modMask, xK_h), shrinkMasterGroups)
</pre><p>and so on.
</p></div><div class="top"><p class="src"><a name="v:tallTabs" class="def">tallTabs</a> :: <a href="XMonad-Layout-Decoration.html#t:Shrinker">Shrinker</a> s =&gt; <a href="XMonad-Layout-Groups-Examples.html#t:TiledTabsConfig">TiledTabsConfig</a> s -&gt; <a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> (<a href="XMonad-Layout-Decoration.html#t:Decoration">Decoration</a> <a href="XMonad-Layout-Tabbed.html#t:TabbedDecoration">TabbedDecoration</a> s) (<a href="XMonad-Layout-Groups.html#t:Groups">Groups</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> <a href="XMonad-Layout-Simplest.html#t:Simplest">Simplest</a>) (<a href="XMonad-Layout-LayoutCombinators.html#t:NewSelect">NewSelect</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Tall">Tall</a>) (<a href="XMonad-Layout-LayoutCombinators.html#t:NewSelect">NewSelect</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> (<a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Mirror">Mirror</a> <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Tall">Tall</a>)) <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Full">Full</a>)))) <a href="/usr/share/doc/ghc/html/libraries/X11-1.6.0/Graphics-X11-Types.html#t:Window">Window</a><a href="src/XMonad-Layout-Groups-Examples.html#tallTabs" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:mirrorTallTabs" class="def">mirrorTallTabs</a> :: <a href="XMonad-Layout-Decoration.html#t:Shrinker">Shrinker</a> s =&gt; <a href="XMonad-Layout-Groups-Examples.html#t:TiledTabsConfig">TiledTabsConfig</a> s -&gt; <a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> (<a href="XMonad-Layout-Decoration.html#t:Decoration">Decoration</a> <a href="XMonad-Layout-Tabbed.html#t:TabbedDecoration">TabbedDecoration</a> s) (<a href="XMonad-Layout-Groups.html#t:Groups">Groups</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> <a href="XMonad-Layout-Simplest.html#t:Simplest">Simplest</a>) (<a href="XMonad-Layout-LayoutCombinators.html#t:NewSelect">NewSelect</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> (<a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Mirror">Mirror</a> <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Tall">Tall</a>)) (<a href="XMonad-Layout-LayoutCombinators.html#t:NewSelect">NewSelect</a> <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Full">Full</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Tall">Tall</a>))))) <a href="/usr/share/doc/ghc/html/libraries/X11-1.6.0/Graphics-X11-Types.html#t:Window">Window</a><a href="src/XMonad-Layout-Groups-Examples.html#mirrorTallTabs" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:fullTabs" class="def">fullTabs</a> :: <a href="XMonad-Layout-Decoration.html#t:Shrinker">Shrinker</a> s =&gt; <a href="XMonad-Layout-Groups-Examples.html#t:TiledTabsConfig">TiledTabsConfig</a> s -&gt; <a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> (<a href="XMonad-Layout-Decoration.html#t:Decoration">Decoration</a> <a href="XMonad-Layout-Tabbed.html#t:TabbedDecoration">TabbedDecoration</a> s) (<a href="XMonad-Layout-Groups.html#t:Groups">Groups</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> <a href="XMonad-Layout-Simplest.html#t:Simplest">Simplest</a>) (<a href="XMonad-Layout-LayoutCombinators.html#t:NewSelect">NewSelect</a> <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Full">Full</a> (<a href="XMonad-Layout-LayoutCombinators.html#t:NewSelect">NewSelect</a> (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Tall">Tall</a>) (<a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-Renamed.html#t:Rename">Rename</a> (<a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Mirror">Mirror</a> <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Layout.html#t:Tall">Tall</a>)))))) <a href="/usr/share/doc/ghc/html/libraries/X11-1.6.0/Graphics-X11-Types.html#t:Window">Window</a><a href="src/XMonad-Layout-Groups-Examples.html#fullTabs" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:TiledTabsConfig" class="def">TiledTabsConfig</a> s <a href="src/XMonad-Layout-Groups-Examples.html#TiledTabsConfig" class="link">Source</a></p><div class="doc"><p>Configuration data for the <a href="tiled tab groups.html">tiled tab groups</a> layout
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:TTC" class="def">TTC</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:vNMaster" class="def">vNMaster</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:vRatio" class="def">vRatio</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Prelude.html#t:Rational">Rational</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:vIncrement" class="def">vIncrement</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Prelude.html#t:Rational">Rational</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:hNMaster" class="def">hNMaster</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Int.html#t:Int">Int</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:hRatio" class="def">hRatio</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Prelude.html#t:Rational">Rational</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:hIncrement" class="def">hIncrement</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Prelude.html#t:Rational">Rational</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:tabsShrinker" class="def">tabsShrinker</a> :: s</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:tabsTheme" class="def">tabsTheme</a> :: <a href="XMonad-Layout-Decoration.html#t:Theme">Theme</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div></div><div class="top"><p class="src"><a name="v:defaultTiledTabsConfig" class="def">defaultTiledTabsConfig</a> :: <a href="XMonad-Layout-Groups-Examples.html#t:TiledTabsConfig">TiledTabsConfig</a> <a href="XMonad-Layout-Decoration.html#t:DefaultShrinker">DefaultShrinker</a><a href="src/XMonad-Layout-Groups-Examples.html#defaultTiledTabsConfig" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:increaseNMasterGroups" class="def">increaseNMasterGroups</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/XMonad-Layout-Groups-Examples.html#increaseNMasterGroups" class="link">Source</a></p><div class="doc"><p>Increase the number of master groups by one
</p></div></div><div class="top"><p class="src"><a name="v:decreaseNMasterGroups" class="def">decreaseNMasterGroups</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/XMonad-Layout-Groups-Examples.html#decreaseNMasterGroups" class="link">Source</a></p><div class="doc"><p>Decrease the number of master groups by one
</p></div></div><div class="top"><p class="src"><a name="v:shrinkMasterGroups" class="def">shrinkMasterGroups</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/XMonad-Layout-Groups-Examples.html#shrinkMasterGroups" class="link">Source</a></p><div class="doc"><p>Shrink the master area
</p></div></div><div class="top"><p class="src"><a name="v:expandMasterGroups" class="def">expandMasterGroups</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/XMonad-Layout-Groups-Examples.html#expandMasterGroups" class="link">Source</a></p><div class="doc"><p>Expand the master area
</p></div></div><div class="top"><p class="src"><a name="v:nextOuterLayout" class="def">nextOuterLayout</a> :: <a href="/usr/share/doc/ghc/html/libraries/xmonad-0.11/XMonad-Core.html#t:X">X</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/XMonad-Layout-Groups-Examples.html#nextOuterLayout" class="link">Source</a></p><div class="doc"><p>Rotate the available outer layout algorithms
</p></div></div><h1 id="g:4">Useful re-exports and utils
</h1><div class="top"><p class="src">module <a href="XMonad-Layout-Groups-Helpers.html">XMonad.Layout.Groups.Helpers</a></p></div><div class="top"><p class="src"><a name="v:shrinkText" class="def">shrinkText</a> :: <a href="XMonad-Layout-Decoration.html#t:DefaultShrinker">DefaultShrinker</a><a href="src/XMonad-Layout-Decoration.html#shrinkText" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:defaultTheme" class="def">defaultTheme</a> :: <a href="XMonad-Layout-Decoration.html#t:Theme">Theme</a><a href="src/XMonad-Layout-Decoration.html#defaultTheme" class="link">Source</a></p><div class="doc"><p>The default xmonad <code><a href="XMonad-Layout-Decoration.html#t:Theme">Theme</a></code>.
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:GroupEQ" class="def">GroupEQ</a> a <a href="src/XMonad-Layout-Groups-Examples.html#GroupEQ" class="link">Source</a></p><div class="doc"><p>Compare two <code>Group</code>s by comparing the ids of their layouts.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:GroupEQ" class="def">GroupEQ</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:GroupEQ" class="caption collapser" onclick="toggleSection('i:GroupEQ')">Instances</p><div id="section.i:GroupEQ" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Eq.html#t:Eq">Eq</a> a =&gt; <a href="XMonad-Layout-ZoomRow.html#t:EQF">EQF</a> <a href="XMonad-Layout-Groups-Examples.html#t:GroupEQ">GroupEQ</a> (<a href="XMonad-Layout-Groups.html#t:Group">Group</a> l a)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Text-Read.html#t:Read">Read</a> (<a href="XMonad-Layout-Groups-Examples.html#t:GroupEQ">GroupEQ</a> a)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> (<a href="XMonad-Layout-Groups-Examples.html#t:GroupEQ">GroupEQ</a> a)</td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:zoomRowG" class="def">zoomRowG</a> :: (<a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Data-Eq.html#t:Eq">Eq</a> a, <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> a, <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Text-Read.html#t:Read">Read</a> a, <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Text-Show.html#t:Show">Show</a> (l a), <a href="/usr/share/doc/ghc/html/libraries/base-4.5.0.0/Text-Read.html#t:Read">Read</a> (l a)) =&gt; <a href="XMonad-Layout-ZoomRow.html#t:ZoomRow">ZoomRow</a> <a href="XMonad-Layout-Groups-Examples.html#t:GroupEQ">GroupEQ</a> (<a href="XMonad-Layout-Groups.html#t:Group">Group</a> l a)<a href="src/XMonad-Layout-Groups-Examples.html#zoomRowG" class="link">Source</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.10.0</p></div></body></html>