taffybar-2.1.1: A desktop bar similar to xmobar, but with more GUI

Safe HaskellNone
LanguageHaskell2010

System.Taffybar.Widget.Decorators

Synopsis

Documentation

buildPadBox :: (WidgetClass widget, MonadIO m) => widget -> m Widget Source #

Wrap a widget with two container boxes. The inner box will have the class InnerPad, and the outer box will have the class OuterPad. These boxes can be used to add padding between the outline of the widget and its contents, or for the purpose of displaying a different background behind the widget.

buildContentsBox :: (WidgetClass widget, MonadIO m) => widget -> m Widget Source #