reflex-vty-0.1.1.0: Reflex FRP host and widgets for vty applications

Safe HaskellNone
LanguageHaskell2010

Reflex.Vty.Widget.Input

Description

 
Synopsis

Documentation

data CheckboxConfig t Source #

Configuration options for a checkbox

Instances
Reflex t => Default (CheckboxConfig t) Source # 
Instance details

Defined in Reflex.Vty.Widget.Input

Methods

def :: CheckboxConfig t #

data CheckboxStyle Source #

Characters used to render checked and unchecked textboxes

Instances
Default CheckboxStyle Source # 
Instance details

Defined in Reflex.Vty.Widget.Input

Methods

def :: CheckboxStyle #

data ButtonConfig t Source #

Configuration options for the button widget

Instances
Reflex t => Default (ButtonConfig t) Source # 
Instance details

Defined in Reflex.Vty.Widget.Input

Methods

def :: ButtonConfig t #

button :: (Reflex t, Monad m, MonadNodeId m) => ButtonConfig t -> VtyWidget t m () -> VtyWidget t m (Event t ()) Source #

A button widget that contains a sub-widget

textButton :: (Reflex t, Monad m, MonadNodeId m) => ButtonConfig t -> Behavior t Text -> VtyWidget t m (Event t ()) Source #

A button widget that displays text that can change

textButtonStatic :: (Reflex t, Monad m, MonadNodeId m) => ButtonConfig t -> Text -> VtyWidget t m (Event t ()) Source #

A button widget that displays a static bit of text

link :: (Reflex t, Monad m) => Behavior t Text -> VtyWidget t m (Event t MouseUp) Source #

A clickable link widget

linkStatic :: (Reflex t, Monad m) => Text -> VtyWidget t m (Event t MouseUp) Source #

A clickable link widget with a static label

checkboxStyleX :: CheckboxStyle Source #

This checkbox style uses an "x" to indicate the checked state

checkboxStyleTick :: CheckboxStyle Source #

This checkbox style uses a unicode tick mark to indicate the checked state

checkbox :: (MonadHold t m, MonadFix m, Reflex t) => CheckboxConfig t -> Bool -> VtyWidget t m (Dynamic t Bool) Source #

A checkbox widget