taffybar-4.0.1: A desktop bar similar to xmobar, but with more GUI
Copyright(c) Ivan Malison
LicenseBSD3-style (see LICENSE)
MaintainerIvan Malison <IvanMalison@gmail.com>
Stabilityunstable
Portabilityunportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

System.Taffybar.Widget.Windows

Description

Menu widget that shows the title of the currently focused window and that, when clicked, displays a menu from which the user may select a window to which to switch the focus.

Synopsis

Documentation

data WindowsConfig Source #

Constructors

WindowsConfig 

Fields

Instances

Instances details
Default WindowsConfig Source # 
Instance details

Defined in System.Taffybar.Widget.Windows

Methods

def :: WindowsConfig #

windowsNew :: WindowsConfig -> TaffyIO Widget Source #

Create a new Windows widget that will use the given Pager as its source of events.

fillMenu :: IsMenuShell a => WindowsConfig -> a -> ReaderT Context IO () Source #

Populate the given menu widget with the list of all currently open windows.