lgtk-0.5.2: lens-based API for Gtk
LGtk.Demos.Tri
Description
An editor for integers x, y, z such that x + y = z always hold and the last edited value change.
Synopsis
data S Source
Information pieces: what is known?
Constructors
getX :: [S] -> IntSource
Getter
getXY :: [S] -> IntSource
getY :: [S] -> IntSource
setX :: Int -> [S] -> [S]Source
Setter
setXY :: Int -> [S] -> [S]Source
setY :: Int -> [S] -> [S]Source
tri :: EffRef m => Widget mSource
The editor