lgtk-0.6: 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 :: [S] -> Int -> [S]Source
Setter
setXY :: [S] -> Int -> [S]Source
setY :: [S] -> Int -> [S]Source
tri :: EffRef m => Widget mSource
The editor