TwoPane: haddock docs

This commit is contained in:
Andrea Rossato 2007-11-23 12:31:55 +00:00
parent 33bca8260f
commit 8682f617d0

View File

@ -27,17 +27,18 @@ import XMonad.Layouts ( Resize(..), splitHorizontallyBy )
import XMonad.StackSet ( focus, up, down) import XMonad.StackSet ( focus, up, down)
-- $usage -- $usage
-- -- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@:
-- You can use this module with the following in your Config.hs file:
-- --
-- > import XMonad.Layout.TwoPane -- > import XMonad.Layout.TwoPane
-- --
-- and add, to the list of layouts: -- Then edit your @layoutHook@ by adding the TwoPane layout:
-- --
-- > , (Layout $ TwoPane 0.03 0.5) -- > myLayouts = TwoPane (3/100) (1/2) ||| Full ||| etc..
-- > main = xmonad dafaultConfig { layoutHook = myLayouts }
-- %import XMonad.Layout.TwoPane --
-- %layout , (Layout $ TwoPane 0.03 0.5) -- For more detailed instructions on editing the layoutHook see:
--
-- "XMonad.Doc.Extending#Editing_the_layout_hook"
data TwoPane a = data TwoPane a =
TwoPane Rational Rational TwoPane Rational Rational