Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

Safe HaskellNone

Util.Fltk

Contents

Synopsis

Documentation

data Fltk a Source #

action :: IO a -> Fltk a Source #

run_action :: Fltk a -> IO a Source #

Run an action directly in the main thread.

event_loop :: Channel -> IO () Source #

Enter the fltk event loop. For portability, this should only be called from the main thread.

window

data Window a Source #

type MsgCallback = CInt -> CString -> IO () Source #

data Msg a Source #

Constructors

Msg a Text 

create_window :: (CInt -> a) -> CreateWindow a -> Int -> Int -> Int -> Int -> String -> IO (Window a) Source #