xmonad-0.7: A tiling window managerSource codeContentsIndex
XMonad.Layout
Portabilitynot portable, Typeable deriving, mtl, posix
Stabilityunstable
Maintainersjanssen@cse.unl.edu
Description
The collection of core layouts.
Synopsis
data ChangeLayout
= FirstLayout
| NextLayout
data Choose l r a
(|||) :: (LayoutClass l a, LayoutClass r a) => l a -> r a -> Choose l r a
data Resize
= Shrink
| Expand
data IncMasterN = IncMasterN !Int
data Full a = Full
data Tall a = Tall !Int !Rational !Rational
data Mirror l a = Mirror (l a)
mirrorRect :: Rectangle -> Rectangle
splitVertically :: Int -> Rectangle -> [Rectangle]
splitHorizontally :: Int -> Rectangle -> [Rectangle]
splitHorizontallyBy :: RealFrac r => r -> Rectangle -> (Rectangle, Rectangle)
splitVerticallyBy :: RealFrac r => r -> Rectangle -> (Rectangle, Rectangle)
tile :: Rational -> Rectangle -> Int -> Int -> [Rectangle]
Documentation
data ChangeLayout Source

A layout that allows users to switch between various layout options.

Messages to change the current layout.

Constructors
FirstLayout
NextLayout
show/hide Instances
data Choose l r a Source
show/hide Instances
(LayoutClass l a, LayoutClass r a) => LayoutClass (Choose l r) a
(Read (l a), Read (r a)) => Read (Choose l r a)
(Show (l a), Show (r a)) => Show (Choose l r a)
(|||) :: (LayoutClass l a, LayoutClass r a) => l a -> r a -> Choose l r aSource
The layout choice combinator
data Resize Source

Builtin basic layout algorithms:

 fullscreen mode
 tall mode

The latter algorithms support the following operations:

    Shrink
    Expand
Constructors
Shrink
Expand
show/hide Instances
data IncMasterN Source
You can also increase the number of clients in the master pane
Constructors
IncMasterN !Int
show/hide Instances
data Full a Source
Simple fullscreen mode, just render all windows fullscreen.
Constructors
Full
show/hide Instances
data Tall a Source
The builtin tiling mode of xmonad, and its operations.
Constructors
Tall !Int !Rational !Rational
show/hide Instances
data Mirror l a Source

Mirror a layout, compute its 90 degree rotated form.

Mirror a layout, compute its 90 degree rotated form.

Constructors
Mirror (l a)
show/hide Instances
LayoutClass l a => LayoutClass (Mirror l) a
Read (l a) => Read (Mirror l a)
Show (l a) => Show (Mirror l a)
mirrorRect :: Rectangle -> RectangleSource
Mirror a rectangle
splitVertically :: Int -> Rectangle -> [Rectangle]Source
splitHorizontally :: Int -> Rectangle -> [Rectangle]Source
splitHorizontallyBy :: RealFrac r => r -> Rectangle -> (Rectangle, Rectangle)Source
splitVerticallyBy :: RealFrac r => r -> Rectangle -> (Rectangle, Rectangle)Source
tile :: Rational -> Rectangle -> Int -> Int -> [Rectangle]Source

tile. Compute the positions for windows using the default 2 pane tiling algorithm.

The screen is divided (currently) into two panes. all clients are then partioned between these two panes. one pane, the master, by convention has the least number of windows in it (by default, 1). the variable nmaster controls how many windows are rendered in the master pane.

delta specifies the ratio of the screen to resize by.

frac specifies what proportion of the screen to devote to the master area.

Produced by Haddock version 2.4.2