Copyright | (c) 2007 Andrea Rossato 2023 Ilya Portnov |
---|---|
License | BSD-style (see xmonad/LICENSE) |
Maintainer | portnov84@rambler.ru |
Stability | unstable |
Portability | unportable |
Safe Haskell | None |
Language | Haskell2010 |
XMonad.Layout.DecorationEx.TabbedGeometry
Description
This module defines window decoration geometry based on tabs. The tabs can follow horizontally and be placed above or below windows; in such case, tabs can occupy full width of the window or be aligned to left or right. Or tabs can go vertically near left or right side of the window.
Synopsis
- textTabbed :: Shrinker shrinker => shrinker -> ThemeEx StandardWidget -> l Window -> ModifiedLayout (DecorationEx TextDecoration StandardWidget TabbedGeometry shrinker) l Window
- data TabbedGeometry a
- = HorizontalTabs { }
- | VerticalTabs { }
- data HorizontalTabPlacement
- data VerticalTabPlacement
- data HorizontalTabWidth
- data HorizontalTabsAlignment
- data SingleTabMode
Documentation
Arguments
:: Shrinker shrinker | |
=> shrinker | Strings shrinker, e.g. |
-> ThemeEx StandardWidget | Decoration theme |
-> l Window | Layout to be decorated |
-> ModifiedLayout (DecorationEx TextDecoration StandardWidget TabbedGeometry shrinker) l Window |
Add tabbed decorations (with default settings) with text-based widgets to a layout.
data TabbedGeometry a Source #
Constructors
HorizontalTabs | |
Fields
| |
VerticalTabs | |
Fields
|
Instances
data HorizontalTabPlacement Source #
Placement of tabs when they go horizontally: should they be placed above or below the window.
Instances
Read HorizontalTabPlacement Source # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry | |
Show HorizontalTabPlacement Source # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods showsPrec :: Int -> HorizontalTabPlacement -> ShowS # show :: HorizontalTabPlacement -> String # showList :: [HorizontalTabPlacement] -> ShowS # | |
Eq HorizontalTabPlacement Source # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods (==) :: HorizontalTabPlacement -> HorizontalTabPlacement -> Bool # (/=) :: HorizontalTabPlacement -> HorizontalTabPlacement -> Bool # |
data VerticalTabPlacement Source #
Placement of tabs when they go vertically: should they appear at left or at right side of the window.
Constructors
TabsAtLeft | |
TabsAtRight |
Instances
Read VerticalTabPlacement Source # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods readsPrec :: Int -> ReadS VerticalTabPlacement # readList :: ReadS [VerticalTabPlacement] # | |
Show VerticalTabPlacement Source # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods showsPrec :: Int -> VerticalTabPlacement -> ShowS # show :: VerticalTabPlacement -> String # showList :: [VerticalTabPlacement] -> ShowS # | |
Eq VerticalTabPlacement Source # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods (==) :: VerticalTabPlacement -> VerticalTabPlacement -> Bool # (/=) :: VerticalTabPlacement -> VerticalTabPlacement -> Bool # |
data HorizontalTabWidth Source #
Width of tabs when they go horizontally.
Constructors
AutoWidth | Define the width automatically by evenly dividing windows' width |
FixedWidth !Dimension | Use fixed width of the tab |
Instances
Read HorizontalTabWidth Source # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods readsPrec :: Int -> ReadS HorizontalTabWidth # readList :: ReadS [HorizontalTabWidth] # | |
Show HorizontalTabWidth Source # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods showsPrec :: Int -> HorizontalTabWidth -> ShowS # show :: HorizontalTabWidth -> String # showList :: [HorizontalTabWidth] -> ShowS # | |
Eq HorizontalTabWidth Source # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods (==) :: HorizontalTabWidth -> HorizontalTabWidth -> Bool # (/=) :: HorizontalTabWidth -> HorizontalTabWidth -> Bool # |
data HorizontalTabsAlignment Source #
Alignment of tabs when they go horizontally.
Constructors
AlignTabsLeft | |
AlignTabsCenter | |
AlignTabsRight |
Instances
Read HorizontalTabsAlignment Source # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry | |
Show HorizontalTabsAlignment Source # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods showsPrec :: Int -> HorizontalTabsAlignment -> ShowS # show :: HorizontalTabsAlignment -> String # showList :: [HorizontalTabsAlignment] -> ShowS # | |
Eq HorizontalTabsAlignment Source # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods (==) :: HorizontalTabsAlignment -> HorizontalTabsAlignment -> Bool # (/=) :: HorizontalTabsAlignment -> HorizontalTabsAlignment -> Bool # |
data SingleTabMode Source #
What to do if there is only one tab.
Instances
Read SingleTabMode Source # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods readsPrec :: Int -> ReadS SingleTabMode # readList :: ReadS [SingleTabMode] # | |
Show SingleTabMode Source # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods showsPrec :: Int -> SingleTabMode -> ShowS # show :: SingleTabMode -> String # showList :: [SingleTabMode] -> ShowS # | |
Eq SingleTabMode Source # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods (==) :: SingleTabMode -> SingleTabMode -> Bool # (/=) :: SingleTabMode -> SingleTabMode -> Bool # |