Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
newtype SaferEventListener t e Source
data EventListener Source
unEventListener :: EventListener -> Ptr GClosure Source
class EventListenerClass a where Source
toEventListener :: a -> EventListener Source
eventListenerNew :: EventClass event => (event -> IO ()) -> IO EventListener Source
eventListenerNewAsync :: EventClass event => (event -> IO ()) -> IO EventListener Source
eventListenerNewSync :: EventClass event => (event -> IO ()) -> IO EventListener Source
eventListenerRelease :: EventListener -> IO () Source