Safe Haskell | None |
---|---|
Language | Haskell98 |
- timeEx :: UISF () ()
- buttonEx :: UISF () ()
- checkboxEx :: UISF () ()
- radioButtonEx :: UISF () ()
- shoppinglist :: UISF () ()
- colorDemo :: UISF () ()
- textboxdemo :: UISF () ()
- main :: IO ()
Documentation
This example shows off button
s 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 hiSlider
s 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
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 focuable elements, and pressing shift-tab cycles in reverse.