xmonad-contrib-0.13: Third party extensions for xmonad

Copyright | (c) David Roundy <droundy@darcs.net>
License | BSD3-style (see LICENSE)
Maintainer | none
Stability | unstable
Portability | unportable
Safe Haskell | None
Language | Haskell98

XMonad.Util.NamedWindows

Contents

- Usage

Description

This module allows you to associate the X titles of windows with them.

Synopsis

- data NamedWindow
- getName :: Window -> X NamedWindow
- withNamedWindow :: (NamedWindow -> X ()) -> X ()
- unName :: NamedWindow -> Window

# Usage

See XMonad.Layout.Tabbed for an example of its use.

data NamedWindow #

Instances

Eq NamedWindow # |
Methods (==) :: NamedWindow -> NamedWindow -> Bool # (/=) :: NamedWindow -> NamedWindow -> Bool #
Ord NamedWindow # |
Methods compare :: NamedWindow -> NamedWindow -> Ordering # (<) :: NamedWindow -> NamedWindow -> Bool # (<=) :: NamedWindow -> NamedWindow -> Bool # (>) :: NamedWindow -> NamedWindow -> Bool # (>=) :: NamedWindow -> NamedWindow -> Bool # max :: NamedWindow -> NamedWindow -> NamedWindow # min :: NamedWindow -> NamedWindow -> NamedWindow #
Show NamedWindow # |
Methods showsPrec :: Int -> NamedWindow -> ShowS # show :: NamedWindow -> String # showList :: [NamedWindow] -> ShowS #

getName :: Window -> X NamedWindow #

withNamedWindow :: (NamedWindow -> X ()) -> X () #

unName :: NamedWindow -> Window #