Sophie

Sophie

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

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.MouseResizableTile</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-MouseResizableTile.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/XMonad-Layout-MouseResizableTile.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>not portable</td></tr><tr><th>Stability</th><td>unstable</td></tr><tr><th>Maintainer</th><td>jan.vornberger@informatik.uni-oldenburg.de</td></tr></table><p class="caption">XMonad.Layout.MouseResizableTile</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Usage
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A layout in the spirit of <a href="XMonad-Layout-ResizableTile.html">XMonad.Layout.ResizableTile</a>, but with the option
 to use the mouse to adjust the layout.
</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:mouseResizableTile">mouseResizableTile</a> ::  MouseResizableTile a</li><li class="src short"><a href="#v:mouseResizableTileMirrored">mouseResizableTileMirrored</a> ::  MouseResizableTile a</li><li class="src short"><span class="keyword">data</span>  <a href="#t:MRTMessage">MRTMessage</a> <ul class="subs"><li>= <a href="#v:ShrinkSlave">ShrinkSlave</a>  </li><li>| <a href="#v:ExpandSlave">ExpandSlave</a>  </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.MouseResizableTile
</pre><p>Then edit your <code>layoutHook</code> by adding the MouseResizableTile layout.
 Either in its normal form or the mirrored version. (The mirror layout modifier
 will not work correctly here because of the use of the mouse.)
</p><pre> myLayout = mouseResizableTile ||| etc..
 main = xmonad defaultConfig { layoutHook = myLayout }
</pre><p>or
</p><pre> myLayout = mouseResizableTileMirrored ||| etc..
 main = xmonad defaultConfig { layoutHook = myLayout }
</pre><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><p>You may also want to add the following key bindings:
</p><pre> , ((modm,               xK_u), sendMessage ShrinkSlave) -- %! Shrink a slave area
 , ((modm,               xK_i), sendMessage ExpandSlave) -- %! Expand a slave area
</pre><p>For detailed instruction on editing the key binding see:
</p><p><a href="XMonad-Doc-Extending.html#Editing_key_bindings">XMonad.Doc.Extending</a>.
</p></div><div class="top"><p class="src"><a name="v:mouseResizableTile" class="def">mouseResizableTile</a> ::  MouseResizableTile a<a href="src/XMonad-Layout-MouseResizableTile.html#mouseResizableTile" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:mouseResizableTileMirrored" class="def">mouseResizableTileMirrored</a> ::  MouseResizableTile a<a href="src/XMonad-Layout-MouseResizableTile.html#mouseResizableTileMirrored" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:MRTMessage" class="def">MRTMessage</a>  <a href="src/XMonad-Layout-MouseResizableTile.html#MRTMessage" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ShrinkSlave" class="def">ShrinkSlave</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:ExpandSlave" class="def">ExpandSlave</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:MRTMessage" class="caption collapser" onclick="toggleSection('i:MRTMessage')">Instances</p><div id="section.i:MRTMessage" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Typeable.html#t:Typeable">Typeable</a> <a href="XMonad-Layout-MouseResizableTile.html#t:MRTMessage">MRTMessage</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">Message <a href="XMonad-Layout-MouseResizableTile.html#t:MRTMessage">MRTMessage</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>