minilight-0.2.0: A SDL2-based graphics library, batteries-included.

Safe HaskellNone
LanguageHaskell2010

MiniLight.Event

Synopsis

Documentation

data Event Source #

Event type representation

Constructors

Never 
Signal Text Dynamic 
RawEvent Event 

class Typeable e => EventType e Source #

EventType says some type can be used as an event type.

Instances
EventType ButtonEvent Source # 
Instance details

Defined in Data.Component.Button

EventType Signal Source # 
Instance details

Defined in Data.Component.Basic

signal :: EventType a => Text -> a -> Event Source #