lui-0.0.3: Purely FunctionaL User Interface
Source code
Contents
Index
Graphics.UI.LUI.Widget
Documentation
data
DrawInfo
Source
Constructors
DrawInfo
diHasFocus
::
Bool
Instances
Eq
DrawInfo
Ord
DrawInfo
Read
DrawInfo
Show
DrawInfo
data
WidgetFuncs
model
Source
Constructors
WidgetFuncs
widgetImage
::
DrawInfo
->
Image
widgetSize
::
DrawInfo
->
Size
widgetGetKeymap
::
Maybe
(
ActionHandlers
model)
data
KeyStatus
Source
Constructors
KeyDown
KeyUp
Instances
Eq
KeyStatus
Ord
KeyStatus
Read
KeyStatus
Show
KeyStatus
type
Widget
model = model ->
WidgetFuncs
model
Source
type
New
model mutable =
Accessor
model mutable ->
Widget
model
Source
type
KeyAction
= (
KeyStatus
,
KeyGroup
)
Source
type
Handler
model = (
String
,
ModKey
-> model)
Source
type
ActionHandlers
model =
Map
KeyAction
(
Handler
model)
Source
Produced by
Haddock
version 2.4.2