Copyright | (c) 2007 Andrea Rossato 2009 Jan Vornberger 2023 Ilya Portnov |
---|---|
License | BSD-style (see xmonad/LICENSE) |
Maintainer | portnov84@rambler.ru |
Stability | unstable |
Portability | unportable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Window decoration engine, that uses text fragments (like "[X]"
) to indicate
widgets (window buttons).
Synopsis
- textDecoration :: Shrinker shrinker => shrinker -> Theme TextDecoration StandardWidget -> l Window -> ModifiedLayout (DecorationEx TextDecoration StandardWidget DefaultGeometry shrinker) l Window
- data TextDecoration widget a = TextDecoration
Documentation
:: Shrinker shrinker | |
=> shrinker | String shrinker, for example |
-> Theme TextDecoration StandardWidget | Decoration theme (font, colors, widgets, etc) |
-> l Window | Layout to be decorated |
-> ModifiedLayout (DecorationEx TextDecoration StandardWidget DefaultGeometry shrinker) l Window |
Add decoration to existing layout. Widgets are indicated by text fragments, like "[+]"
.
Geometry is simple: a horizontal panel at the top of each window, going for the full width
of the window.
data TextDecoration widget a Source #
Decoration engine data type