hs-fltk-0.2.5: Binding to GUI library FLTK

Graphics.UI.FLTK.Button

Synopsis

Documentation

data Button Source

The Button type is used for all buttons.

Instances

newButton :: Int -> Int -> Int -> Int -> [Prop Button] -> IO ButtonSource

Create a new normal button.

newCheckButton :: Int -> Int -> Int -> Int -> [Prop Button] -> IO ButtonSource

Create a new checkbox

newLightButton :: Int -> Int -> Int -> Int -> [Prop Button] -> IO ButtonSource

Create a new button with a light showing the current state.

newRepeatButton :: Int -> Int -> Int -> Int -> [Prop Button] -> IO ButtonSource

Create a button that sends the callback in a repeated fashion.

newReturnButton :: Int -> Int -> Int -> Int -> [Prop Button] -> IO ButtonSource

Create a new button with a "Return" symbol on it (for Ok buttons).

newRoundButton :: Int -> Int -> Int -> Int -> [Prop Button] -> IO ButtonSource

Create a new radiobutton.