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 |
- newtype Notification = Notification (ForeignPtr Notification)
- class GObject o => NotificationK o
- toNotification :: NotificationK o => o -> IO Notification
- noNotification :: Maybe Notification
- data NotificationCloseMethodInfo
- notificationClose :: (MonadIO m, NotificationK a) => a -> m ()
- data NotificationGetBodyMethodInfo
- notificationGetBody :: (MonadIO m, NotificationK a) => a -> m Text
- data NotificationGetIdMethodInfo
- notificationGetId :: (MonadIO m, NotificationK a) => a -> m Word64
- data NotificationGetTitleMethodInfo
- notificationGetTitle :: (MonadIO m, NotificationK a) => a -> m Text
- data NotificationBodyPropertyInfo
- getNotificationBody :: (MonadIO m, NotificationK o) => o -> m Text
- data NotificationIdPropertyInfo
- getNotificationId :: (MonadIO m, NotificationK o) => o -> m Word64
- data NotificationTitlePropertyInfo
- getNotificationTitle :: (MonadIO m, NotificationK o) => o -> m Text
- type NotificationClosedCallback = IO ()
- type NotificationClosedCallbackC = Ptr () -> Ptr () -> IO ()
- data NotificationClosedSignalInfo
- afterNotificationClosed :: (GObject a, MonadIO m) => a -> NotificationClosedCallback -> m SignalHandlerId
- mkNotificationClosedCallback :: NotificationClosedCallbackC -> IO (FunPtr NotificationClosedCallbackC)
- noNotificationClosedCallback :: Maybe NotificationClosedCallback
- notificationClosedCallbackWrapper :: NotificationClosedCallback -> Ptr () -> Ptr () -> IO ()
- notificationClosedClosure :: NotificationClosedCallback -> IO Closure
- onNotificationClosed :: (GObject a, MonadIO m) => a -> NotificationClosedCallback -> m SignalHandlerId
Exported types
newtype Notification Source
GObject Notification Source | |
((~) * info (ResolveNotificationMethod t Notification), MethodInfo * info Notification p) => IsLabel t (Notification -> p) Source | |
((~) * info (ResolveNotificationMethod t Notification), MethodInfo * info Notification p) => IsLabelProxy t (Notification -> p) Source | |
type ParentTypes Notification Source | |
type AttributeList Notification Source | |
type SignalList Notification Source |
class GObject o => NotificationK o Source
(GObject o, IsDescendantOf Notification o) => NotificationK o Source | |
toNotification :: NotificationK o => o -> IO Notification Source
Methods
notificationClose
data NotificationCloseMethodInfo Source
((~) (TYPE Lifted) signature (m ()), MonadIO m, NotificationK a) => MethodInfo (TYPE Lifted) NotificationCloseMethodInfo a signature Source | |
notificationClose :: (MonadIO m, NotificationK a) => a -> m () Source
notificationGetBody
data NotificationGetBodyMethodInfo Source
((~) (TYPE Lifted) signature (m Text), MonadIO m, NotificationK a) => MethodInfo (TYPE Lifted) NotificationGetBodyMethodInfo a signature Source | |
notificationGetBody :: (MonadIO m, NotificationK a) => a -> m Text Source
notificationGetId
data NotificationGetIdMethodInfo Source
((~) (TYPE Lifted) signature (m Word64), MonadIO m, NotificationK a) => MethodInfo (TYPE Lifted) NotificationGetIdMethodInfo a signature Source | |
notificationGetId :: (MonadIO m, NotificationK a) => a -> m Word64 Source
notificationGetTitle
data NotificationGetTitleMethodInfo Source
((~) (TYPE Lifted) signature (m Text), MonadIO m, NotificationK a) => MethodInfo (TYPE Lifted) NotificationGetTitleMethodInfo a signature Source | |
notificationGetTitle :: (MonadIO m, NotificationK a) => a -> m Text Source
Properties
Body
data NotificationBodyPropertyInfo Source
getNotificationBody :: (MonadIO m, NotificationK o) => o -> m Text Source
Id
data NotificationIdPropertyInfo Source
getNotificationId :: (MonadIO m, NotificationK o) => o -> m Word64 Source
Title
data NotificationTitlePropertyInfo Source
getNotificationTitle :: (MonadIO m, NotificationK o) => o -> m Text Source
Signals
Closed
type NotificationClosedCallback = IO () Source
type NotificationClosedCallbackC = Ptr () -> Ptr () -> IO () Source
afterNotificationClosed :: (GObject a, MonadIO m) => a -> NotificationClosedCallback -> m SignalHandlerId Source
mkNotificationClosedCallback :: NotificationClosedCallbackC -> IO (FunPtr NotificationClosedCallbackC) Source
notificationClosedCallbackWrapper :: NotificationClosedCallback -> Ptr () -> Ptr () -> IO () Source
onNotificationClosed :: (GObject a, MonadIO m) => a -> NotificationClosedCallback -> m SignalHandlerId Source