Content-Length: 18818 | pFad | http://hackage.haskell.org/package/monomer-1.6.0.1/docs/Monomer-Widgets-Singles-ColorPopup.html

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

Monomer.Widgets.Singles.ColorPopup

Contents

Description

Color popup, displayed inside its parent container as a colored square. When clicked, it opens a color picker overlay.

Shows sliders for the color components.

colorPopup colorLens

Optionally shows a slider for the alpha channel.

colorPopup_ colorLens [showAlpha]
Synopsis

Constructors

colorPopup Source #

Arguments

:: (WidgetModel s, WidgetEvent e) 
=> ALens' s Color

The lens into the model.

-> WidgetNode s e

The created color popup.

Creates a colorPopup using the given lens.

colorPopup_ Source #

Arguments

:: (WidgetModel s, WidgetEvent e) 
=> ALens' s Color

The lens into the model.

-> [ColorPopupCfg s e]

The config options.

-> WidgetNode s e

The created color popup.

Creates a colorPopup using the given lens. Accepts config.

colorPopupV Source #

Arguments

:: (WidgetModel s, WidgetEvent e) 
=> Color

The current value.

-> (Color -> e)

The event to raise on change.

-> WidgetNode s e

The created color popup.

Creates a colorPopup using the given value and onChange event handler.

colorPopupV_ Source #

Arguments

:: (WidgetModel s, WidgetEvent e) 
=> Color

The current value.

-> (Color -> e)

The event to raise on change.

-> [ColorPopupCfg s e]

The config options.

-> WidgetNode s e

The created color popup.

Creates a colorPopup using the given value and onChange event handler. Accepts config.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://hackage.haskell.org/package/monomer-1.6.0.1/docs/Monomer-Widgets-Singles-ColorPopup.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy