Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
Contains the fields which are common to all event structs. Any event pointer can safely be cast to a pointer to a #GdkEventAny to access these fields.
- newtype EventAny = EventAny (ForeignPtr EventAny)
- noEventAny :: Maybe EventAny
- eventAnyReadSendEvent :: EventAny -> IO Int8
- eventAnyReadType :: EventAny -> IO EventType
- eventAnyReadWindow :: EventAny -> IO Window