Sophie

Sophie

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

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.BorderResize</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-BorderResize.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/XMonad-Layout-BorderResize.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>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><tr><th>Safe Haskell</th><td>Safe-Infered</td></tr></table><p class="caption">XMonad.Layout.BorderResize</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>This layout modifier will allow to resize windows by dragging their
 borders with the mouse. However, it only works in layouts or modified
 layouts that react to the <code><a href="XMonad-Layout-WindowArranger.html#v:SetGeometry">SetGeometry</a></code> message.
 <a href="XMonad-Layout-WindowArranger.html">XMonad.Layout.WindowArranger</a> can be used to create such a setup,
 but it is probably must useful in a floating layout such as
 <a href="XMonad-Layout-PositionStoreFloat.html">XMonad.Layout.PositionStoreFloat</a> with which it has been mainly tested.
 See the documentation of PositionStoreFloat for a typical usage example.
</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:borderResize">borderResize</a> ::  l a -&gt; <a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-BorderResize.html#t:BorderResize">BorderResize</a> l a</li><li class="src short"><span class="keyword">data</span>  <a href="#t:BorderResize">BorderResize</a> a = <a href="#v:BR">BR</a> (<a href="/usr/share/doc/ghc/html/libraries/containers-0.4.2.1/Data-Map.html#t:Map">Map</a> <a href="/usr/share/doc/ghc/html/libraries/X11-1.6.0/Graphics-X11-Types.html#t:Window">Window</a> <a href="XMonad-Layout-BorderResize.html#t:RectWithBorders">RectWithBorders</a>)</li><li class="src short"><span class="keyword">type</span> <a href="#t:RectWithBorders">RectWithBorders</a> = (<a href="/usr/share/doc/ghc/html/libraries/X11-1.6.0/Graphics-X11-Xlib-Types.html#t:Rectangle">Rectangle</a>, [<a href="XMonad-Layout-BorderResize.html#t:BorderInfo">BorderInfo</a>])</li><li class="src short"><span class="keyword">data</span>  <a href="#t:BorderInfo">BorderInfo</a> </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.BorderResize
 myLayout = borderResize (... layout setup that reacts to SetGeometry ...)
 main = xmonad defaultConfig { layoutHook = myLayout }
</pre></div><div class="top"><p class="src"><a name="v:borderResize" class="def">borderResize</a> ::  l a -&gt; <a href="XMonad-Layout-LayoutModifier.html#t:ModifiedLayout">ModifiedLayout</a> <a href="XMonad-Layout-BorderResize.html#t:BorderResize">BorderResize</a> l a<a href="src/XMonad-Layout-BorderResize.html#borderResize" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:BorderResize" class="def">BorderResize</a> a <a href="src/XMonad-Layout-BorderResize.html#BorderResize" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:BR" class="def">BR</a> (<a href="/usr/share/doc/ghc/html/libraries/containers-0.4.2.1/Data-Map.html#t:Map">Map</a> <a href="/usr/share/doc/ghc/html/libraries/X11-1.6.0/Graphics-X11-Types.html#t:Window">Window</a> <a href="XMonad-Layout-BorderResize.html#t:RectWithBorders">RectWithBorders</a>)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:BorderResize" class="caption collapser" onclick="toggleSection('i:BorderResize')">Instances</p><div id="section.i:BorderResize" class="show"><table><tr><td class="src"><a href="XMonad-Layout-LayoutModifier.html#t:LayoutModifier">LayoutModifier</a> <a href="XMonad-Layout-BorderResize.html#t:BorderResize">BorderResize</a> <a href="/usr/share/doc/ghc/html/libraries/X11-1.6.0/Graphics-X11-Types.html#t:Window">Window</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-BorderResize.html#t:BorderResize">BorderResize</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-BorderResize.html#t:BorderResize">BorderResize</a> a)</td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:RectWithBorders" class="def">RectWithBorders</a> = (<a href="/usr/share/doc/ghc/html/libraries/X11-1.6.0/Graphics-X11-Xlib-Types.html#t:Rectangle">Rectangle</a>, [<a href="XMonad-Layout-BorderResize.html#t:BorderInfo">BorderInfo</a>])<a href="src/XMonad-Layout-BorderResize.html#RectWithBorders" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:BorderInfo" class="def">BorderInfo</a>  <a href="src/XMonad-Layout-BorderResize.html#BorderInfo" class="link">Source</a></p><div class="subs instances"><p id="control.i:BorderInfo" class="caption collapser" onclick="toggleSection('i:BorderInfo')">Instances</p><div id="section.i:BorderInfo" class="show"><table><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-BorderResize.html#t:BorderInfo">BorderInfo</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-BorderResize.html#t:BorderInfo">BorderInfo</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.10.0</p></div></body></html>