mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 11:30:22 -07:00
LayouModifier: haddock docs
This commit is contained in:
parent
8f641ff025
commit
ec0d5129a3
@ -11,7 +11,7 @@
|
|||||||
-- Stability : unstable
|
-- Stability : unstable
|
||||||
-- Portability : portable
|
-- Portability : portable
|
||||||
--
|
--
|
||||||
-- A module for writing easy Layouts
|
-- A module for writing easy Llayouts and layout modifiers
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
|
|
||||||
module XMonad.Layout.LayoutModifier (
|
module XMonad.Layout.LayoutModifier (
|
||||||
@ -25,7 +25,13 @@ import XMonad
|
|||||||
import XMonad.StackSet ( Stack )
|
import XMonad.StackSet ( Stack )
|
||||||
|
|
||||||
-- $usage
|
-- $usage
|
||||||
-- Use LayoutHelpers to help write easy Layouts.
|
-- Use LayoutModifier to help write easy Layouts.
|
||||||
|
--
|
||||||
|
-- LayouModifier defines a class 'LayoutModifier'. Each method as a
|
||||||
|
-- default implementation.
|
||||||
|
--
|
||||||
|
-- For usage examples you can see "XMonad.Layout.WorkspaceDir",
|
||||||
|
-- "XMonad.Layout.Magnifier", "XMonad.Layout.NoBorder",
|
||||||
|
|
||||||
class (Show (m a), Read (m a)) => LayoutModifier m a where
|
class (Show (m a), Read (m a)) => LayoutModifier m a where
|
||||||
handleMess :: m a -> SomeMessage -> X (Maybe (m a))
|
handleMess :: m a -> SomeMessage -> X (Maybe (m a))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user