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 |
- type ActionCallback = Notification -> Text -> IO ()
- type ActionCallback_WithClosures = Notification -> Text -> Ptr () -> IO ()
- type C_ActionCallback = Ptr Notification -> CString -> Ptr () -> IO ()
- drop_closures_ActionCallback :: ActionCallback -> ActionCallback_WithClosures
- dynamic_ActionCallback :: (HasCallStack, MonadIO m, IsNotification a) => FunPtr C_ActionCallback -> a -> Text -> Ptr () -> m ()
- genClosure_ActionCallback :: ActionCallback -> IO Closure
- mk_ActionCallback :: C_ActionCallback -> IO (FunPtr C_ActionCallback)
- noActionCallback :: Maybe ActionCallback
- noActionCallback_WithClosures :: Maybe ActionCallback_WithClosures
- wrap_ActionCallback :: Maybe (Ptr (FunPtr C_ActionCallback)) -> ActionCallback_WithClosures -> Ptr Notification -> CString -> Ptr () -> IO ()
Signals
ActionCallback
type ActionCallback = Notification -> Text -> IO () Source #
type ActionCallback_WithClosures = Notification -> Text -> Ptr () -> IO () Source #
type C_ActionCallback = Ptr Notification -> CString -> Ptr () -> IO () Source #
dynamic_ActionCallback :: (HasCallStack, MonadIO m, IsNotification a) => FunPtr C_ActionCallback -> a -> Text -> Ptr () -> m () Source #
wrap_ActionCallback :: Maybe (Ptr (FunPtr C_ActionCallback)) -> ActionCallback_WithClosures -> Ptr Notification -> CString -> Ptr () -> IO () Source #