| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
FRP.UISF.Examples.Examples
- timeEx :: UISF () ()
- buttonEx :: UISF () ()
- checkboxEx :: UISF () ()
- radioButtonEx :: UISF () ()
- shoppinglist :: UISF () ()
- colorDemo :: UISF () ()
- textboxdemo :: UISF () ()
- uitext :: UIText
- uitext' :: UIText
- uitextdemo :: UISF a ()
- main :: IO ()
- linesWith :: [Char] -> [[Char]]
Documentation
This example shows off buttons and state by presenting a plus and
minus button with a counter that is adjusted by them.
checkboxEx :: UISF () () Source
This example shows off the checkbox widgets.
radioButtonEx :: UISF () () Source
This example shows off the radio button widget.
shoppinglist :: UISF () () Source
This example shows off integral sliders (horizontal hiSliders in
this case).
colorDemo :: UISF () () Source
This example shows off both vertical sliders as well as the canvas
widget. The canvas widget can be used to easily create custom graphics
in the GUI. Here, it is used to make a color swatch that is
controllable with RGB values by the sliders.
textboxdemo :: UISF () () Source
uitextdemo :: UISF a () Source
This is the main demo that incorporates all of the other examples together. In addition to demonstrating how different widgets can connect, it also shows off the tabbing behavior built in to the GUI. Pressing tab cycles through focusable elements, and pressing shift-tab cycles in reverse.