monomer-1.6.0.1: A GUI library for writing native Haskell applications.
Copyright(c) 2022 Gareth Smith Francisco Vallarino
LicenseBSD-3-Clause (see the LICENSE file)
Maintainerfjvallarino@gmail.com
Stabilityexperimental
Portabilitynon-portable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Monomer.Widgets.Containers.BoxShadow

Description

A rectangular drop-shadow. Normally used around alert boxes to give the illusion they are floating above the widgets underneath them.

Synopsis

Configuration

data BoxShadowCfg Source #

Configuration options for boxShadow:

Instances

Instances details
Monoid BoxShadowCfg Source # 
Instance details

Defined in Monomer.Widgets.Containers.BoxShadow

Semigroup BoxShadowCfg Source # 
Instance details

Defined in Monomer.Widgets.Containers.BoxShadow

Default BoxShadowCfg Source # 
Instance details

Defined in Monomer.Widgets.Containers.BoxShadow

Methods

def :: BoxShadowCfg #

CmbAlignBottom BoxShadowCfg Source # 
Instance details

Defined in Monomer.Widgets.Containers.BoxShadow

CmbAlignCenter BoxShadowCfg Source # 
Instance details

Defined in Monomer.Widgets.Containers.BoxShadow

CmbAlignLeft BoxShadowCfg Source # 
Instance details

Defined in Monomer.Widgets.Containers.BoxShadow

CmbAlignMiddle BoxShadowCfg Source # 
Instance details

Defined in Monomer.Widgets.Containers.BoxShadow

CmbAlignRight BoxShadowCfg Source # 
Instance details

Defined in Monomer.Widgets.Containers.BoxShadow

CmbAlignTop BoxShadowCfg Source # 
Instance details

Defined in Monomer.Widgets.Containers.BoxShadow

CmbRadius BoxShadowCfg Source # 
Instance details

Defined in Monomer.Widgets.Containers.BoxShadow

Constructors

boxShadow Source #

Arguments

:: WidgetNode s e

The content to display inside the boxShadow.

-> WidgetNode s e

The created boxShadow.

Creates a boxShadow around the provided content.

boxShadow_ Source #

Arguments

:: [BoxShadowCfg]

The config options for the boxShadow.

-> WidgetNode s e

The content to display inside the boxShadow.

-> WidgetNode s e

The created boxShadow.

Creates a boxShadow around the provided content. Accepts config.