Karya, built on 2018-05-31T02:46:59 (patch 0a1a35479c514820d77330ae8a978975ba22a47a)

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 #