GLFW-b-1.4.7.3: Bindings to GLFW OpenGL library

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.GLFW

Contents

Synopsis

Error handling

Initialization and version information

Monitor handling

Window handling

createWindow :: Int -> Int -> String -> Maybe Monitor -> Maybe Window -> IO (Maybe Window) Source

Creates a new window. Note: If running in GHCI don't forget to `:set -fno-ghci-sandbox` or you may run into an assertion failure, segfault or other nasty crash.

 
 
 
 
 
 
 
 
 
 
 
 

Input handling

 
 
 
 
 

type CharCallback = Window -> Char -> IO () Source

Time

Context

Clipboard