soegtk-0.12.1: GUI functions as used in the book "The Haskell School of Expression".

Portabilityportable (depends on GHC)
Stabilitystable
Maintainergtk2hs-devel@lists.sourceforge.net
Safe HaskellNone

Graphics.SOE.Gtk

Description

An alternative implementation of the graphics library used in The Haskell School of Expression, by Paul Hudak, http://www.haskell.org/soe/.

It has exaclty the same interface as the original implementation Graphics.SOE. See the original for an API reference.

Synopsis

Documentation

runGraphics :: IO () -> IO ()Source

type Size = (Int, Int)Source

type Point = (Int, Int)Source

data Event Source

Constructors

Key 

Fields

char :: Char
 
isDown :: Bool
 
Button 

Fields

pt :: Point
 
isLeft :: Bool
 
isDown :: Bool
 
MouseMove 

Fields

pt :: Point
 
Resize 
Closed 

Instances