hs-fltk-0.2.5: Binding to GUI library FLTK

Graphics.UI.FLTK.WidgetMisc

Synopsis

Documentation

data Progress Source

Type for progress bars.

Instances

Widget_C Progress 
Value_FC Progress Float

Current value for the progress bar.

newProgress :: Int -> Int -> Int -> Int -> [Prop Progress] -> IO ProgressSource

New progress bar.

maxValue :: Attr Progress FloatSource

Maximum value for the progress bar.

minValue :: Attr Progress FloatSource

Minumum value for the progress bar.

data Pack Source

Pack multiple widgets with layout.

newPack :: Int -> Int -> Int -> Int -> [Prop Pack] -> IO PackSource

new Pack for managing multiple widgets with layout.

spacing :: Attr Pack IntSource

Spacing between widgets in a Pack.