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 EventAny
to
access these fields.
- newtype EventAny = EventAny (ManagedPtr EventAny)
- newZeroEventAny :: MonadIO m => m EventAny
- noEventAny :: Maybe EventAny
- eventAny_sendEvent :: AttrLabelProxy "sendEvent"
- getEventAnySendEvent :: MonadIO m => EventAny -> m Int8
- setEventAnySendEvent :: MonadIO m => EventAny -> Int8 -> m ()
- eventAny_type :: AttrLabelProxy "type"
- getEventAnyType :: MonadIO m => EventAny -> m EventType
- setEventAnyType :: MonadIO m => EventAny -> EventType -> m ()
- clearEventAnyWindow :: MonadIO m => EventAny -> m ()
- eventAny_window :: AttrLabelProxy "window"
- getEventAnyWindow :: MonadIO m => EventAny -> m (Maybe Window)
- setEventAnyWindow :: MonadIO m => EventAny -> Ptr Window -> m ()
Exported types
WrappedPtr EventAny Source # | |
(~) AttrOpTag tag AttrSet => Constructible EventAny tag Source # | |
((~) * info (ResolveEventAnyMethod t EventAny), MethodInfo * info EventAny p) => IsLabel t (EventAny -> p) Source # | |
((~) * info (ResolveEventAnyMethod t EventAny), MethodInfo * info EventAny p) => IsLabelProxy t (EventAny -> p) Source # | |
HasAttributeList * EventAny Source # | |
type AttributeList EventAny Source # | |
Properties
sendEvent
eventAny_sendEvent :: AttrLabelProxy "sendEvent" Source #
type
eventAny_type :: AttrLabelProxy "type" Source #
window
clearEventAnyWindow :: MonadIO m => EventAny -> m () Source #
eventAny_window :: AttrLabelProxy "window" Source #