fltkhs-0.4.0.2: FLTK bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.Button

Contents

Synopsis

Documentation

buttonCustom Source

Arguments

:: Rectangle

The bounds of this button

-> Maybe String

The button label

-> Maybe (Ref Button -> IO ())

Optional custom drawing function

-> Maybe (CustomWidgetFuncs Button)

Optional custom widget functions

-> IO (Ref Button) 

Hierarchy

Fl_Button functions

clear :: Ref Button -> ( IO (Bool))

destroy :: Ref Button -> ( IO ())

drawBackdrop :: Ref Button -> IO ()

drawBox :: Ref Button -> (IO ())

drawBoxWithBoxtype :: Ref Button -> ( Boxtype -> Color -> Maybe Rectangle -> IO ())

drawFocus :: Ref Button -> Maybe (Boxtype, Rectangle) -> IO ()

drawSuper :: Ref Button -> ( IO ())

getDownBox :: Ref Button -> ( IO (Boxtype))

getDownColor :: Ref Button -> ( IO (Color))

getShortcut :: Ref Button -> ( IO (Maybe ShortcutKeySequence))

getType_ :: Ref Button -> IO (ButtonType)

getValue :: Ref Button -> ( IO (Bool))

handle :: Ref Button -> (Event -> IO Int)

handleSuper :: Ref Button -> (Int -> IO (Int))

hide :: Ref Button -> ( IO ())

hideSuper :: Ref Button -> ( IO ())

resize :: Ref Button -> (Rectangle -> IO ())

resizeSuper :: Ref Button -> (Rectangle -> IO ())

set :: Ref Button -> ( IO (Bool))

setDownBox :: Ref Button -> (Boxtype -> IO ())

setDownColor :: Ref Button -> (Color -> IO ())

setShortcut :: Ref Button -> (ShortcutKeySequence -> IO ())

setType :: Ref Button -> ButtonType -> IO ()

setValue :: Ref Button -> (Bool -> IO (Bool))

setonly :: Ref Button -> ( IO ())

showWidget :: Ref Button -> (IO ())

showWidgetSuper :: Ref Button -> ( IO ())