GtkTV-0.0.1

Stabilityexperimental
Maintainerconal@conal.net
Safe HaskellNone

Interface.TV.Gtk

Description

Gtk-based GUIs in the TV (tangible value) framework

Synopsis

Documentation

newtype MkI a Source

Constructors

MkI 

Fields

unMkI :: MkI' a
 

type MkI' a = IO () -> IO (Widget, IO a, IO ())Source

newtype MkO a Source

Constructors

MkO 

Fields

unMkO :: MkO' a
 

type MkO' a = IO (Widget, OI a, IO ())Source

type OI a = a -> IO ()Source

Sink of information

result :: (b -> b') -> (a -> b) -> a -> b'Source

Add post-processing

runOut :: Out a -> String -> a -> IO ()Source

data Orient Source

Constructors

Horizontal 
Vertical 

Instances

boxer :: BoxClass box => (a -> b -> IO box) -> a -> b -> IO BoxSource

type R = FloatSource

sliderRI :: (R, R) -> R -> In RSource

sliderGIn :: Eq a => (a -> Double) -> (Double -> a) -> a -> Int -> (a, a) -> a -> In aSource

clockDtI :: R -> In RSource

A clock that reports time in seconds and updates at the given period (in seconds).

clockI :: In RSource

A clock that updates every 1/60 second