| 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 #
Constructors
| HorizontalTabs | |
Fields
| |
| VerticalTabs | |
Fields
| |
Instances
data HorizontalTabPlacement #
Placement of tabs when they go horizontally: should they be placed above or below the window.
Instances
| Read HorizontalTabPlacement # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry | |
| Show HorizontalTabPlacement # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods showsPrec :: Int -> HorizontalTabPlacement -> ShowS # show :: HorizontalTabPlacement -> String # showList :: [HorizontalTabPlacement] -> ShowS # | |
| Eq HorizontalTabPlacement # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods (==) :: HorizontalTabPlacement -> HorizontalTabPlacement -> Bool # (/=) :: HorizontalTabPlacement -> HorizontalTabPlacement -> Bool # | |
data VerticalTabPlacement #
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 # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods readsPrec :: Int -> ReadS VerticalTabPlacement # readList :: ReadS [VerticalTabPlacement] # | |
| Show VerticalTabPlacement # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods showsPrec :: Int -> VerticalTabPlacement -> ShowS # show :: VerticalTabPlacement -> String # showList :: [VerticalTabPlacement] -> ShowS # | |
| Eq VerticalTabPlacement # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods (==) :: VerticalTabPlacement -> VerticalTabPlacement -> Bool # (/=) :: VerticalTabPlacement -> VerticalTabPlacement -> Bool # | |
data HorizontalTabWidth #
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 # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods readsPrec :: Int -> ReadS HorizontalTabWidth # readList :: ReadS [HorizontalTabWidth] # | |
| Show HorizontalTabWidth # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods showsPrec :: Int -> HorizontalTabWidth -> ShowS # show :: HorizontalTabWidth -> String # showList :: [HorizontalTabWidth] -> ShowS # | |
| Eq HorizontalTabWidth # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods (==) :: HorizontalTabWidth -> HorizontalTabWidth -> Bool # (/=) :: HorizontalTabWidth -> HorizontalTabWidth -> Bool # | |
data HorizontalTabsAlignment #
Alignment of tabs when they go horizontally.
Constructors
| AlignTabsLeft | |
| AlignTabsCenter | |
| AlignTabsRight |
Instances
| Read HorizontalTabsAlignment # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry | |
| Show HorizontalTabsAlignment # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods showsPrec :: Int -> HorizontalTabsAlignment -> ShowS # show :: HorizontalTabsAlignment -> String # showList :: [HorizontalTabsAlignment] -> ShowS # | |
| Eq HorizontalTabsAlignment # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods (==) :: HorizontalTabsAlignment -> HorizontalTabsAlignment -> Bool # (/=) :: HorizontalTabsAlignment -> HorizontalTabsAlignment -> Bool # | |
data SingleTabMode #
What to do if there is only one tab.
Instances
| Read SingleTabMode # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods readsPrec :: Int -> ReadS SingleTabMode # readList :: ReadS [SingleTabMode] # | |
| Show SingleTabMode # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods showsPrec :: Int -> SingleTabMode -> ShowS # show :: SingleTabMode -> String # showList :: [SingleTabMode] -> ShowS # | |
| Eq SingleTabMode # | |
Defined in XMonad.Layout.DecorationEx.TabbedGeometry Methods (==) :: SingleTabMode -> SingleTabMode -> Bool # (/=) :: SingleTabMode -> SingleTabMode -> Bool # | |