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 NotificationAddButtonMethodInfo
- notificationAddButton :: (MonadIO m, NotificationK a) => a -> Text -> Text -> m ()
- data NotificationAddButtonWithTargetMethodInfo
- notificationAddButtonWithTarget :: (MonadIO m, NotificationK a) => a -> Text -> Text -> Maybe GVariant -> m ()
- notificationNew :: MonadIO m => Text -> m Notification
- data NotificationSetBodyMethodInfo
- notificationSetBody :: (MonadIO m, NotificationK a) => a -> Maybe Text -> m ()
- data NotificationSetDefaultActionMethodInfo
- notificationSetDefaultAction :: (MonadIO m, NotificationK a) => a -> Text -> m ()
- data NotificationSetDefaultActionAndTargetMethodInfo
- notificationSetDefaultActionAndTarget :: (MonadIO m, NotificationK a) => a -> Text -> Maybe GVariant -> m ()
- data NotificationSetIconMethodInfo
- notificationSetIcon :: (MonadIO m, NotificationK a, IconK b) => a -> b -> m ()
- data NotificationSetPriorityMethodInfo
- notificationSetPriority :: (MonadIO m, NotificationK a) => a -> NotificationPriority -> m ()
- data NotificationSetTitleMethodInfo
- notificationSetTitle :: (MonadIO m, NotificationK a) => a -> Text -> m ()
- data NotificationSetUrgentMethodInfo
- notificationSetUrgent :: (MonadIO m, NotificationK a) => a -> Bool -> m ()
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
notificationAddButton
data NotificationAddButtonMethodInfo Source
((~) (TYPE Lifted) signature (Text -> Text -> m ()), MonadIO m, NotificationK a) => MethodInfo (TYPE Lifted) NotificationAddButtonMethodInfo a signature Source | |
notificationAddButton :: (MonadIO m, NotificationK a) => a -> Text -> Text -> m () Source
notificationAddButtonWithTarget
data NotificationAddButtonWithTargetMethodInfo Source
((~) (TYPE Lifted) signature (Text -> Text -> Maybe GVariant -> m ()), MonadIO m, NotificationK a) => MethodInfo (TYPE Lifted) NotificationAddButtonWithTargetMethodInfo a signature Source | |
notificationAddButtonWithTarget :: (MonadIO m, NotificationK a) => a -> Text -> Text -> Maybe GVariant -> m () Source
notificationNew
notificationNew :: MonadIO m => Text -> m Notification Source
notificationSetBody
data NotificationSetBodyMethodInfo Source
((~) (TYPE Lifted) signature (Maybe Text -> m ()), MonadIO m, NotificationK a) => MethodInfo (TYPE Lifted) NotificationSetBodyMethodInfo a signature Source | |
notificationSetBody :: (MonadIO m, NotificationK a) => a -> Maybe Text -> m () Source
notificationSetDefaultAction
data NotificationSetDefaultActionMethodInfo Source
((~) (TYPE Lifted) signature (Text -> m ()), MonadIO m, NotificationK a) => MethodInfo (TYPE Lifted) NotificationSetDefaultActionMethodInfo a signature Source | |
notificationSetDefaultAction :: (MonadIO m, NotificationK a) => a -> Text -> m () Source
notificationSetDefaultActionAndTarget
data NotificationSetDefaultActionAndTargetMethodInfo Source
((~) (TYPE Lifted) signature (Text -> Maybe GVariant -> m ()), MonadIO m, NotificationK a) => MethodInfo (TYPE Lifted) NotificationSetDefaultActionAndTargetMethodInfo a signature Source | |
notificationSetDefaultActionAndTarget :: (MonadIO m, NotificationK a) => a -> Text -> Maybe GVariant -> m () Source
notificationSetIcon
data NotificationSetIconMethodInfo Source
((~) (TYPE Lifted) signature (b -> m ()), MonadIO m, NotificationK a, IconK b) => MethodInfo (TYPE Lifted) NotificationSetIconMethodInfo a signature Source | |
notificationSetIcon :: (MonadIO m, NotificationK a, IconK b) => a -> b -> m () Source
notificationSetPriority
data NotificationSetPriorityMethodInfo Source
((~) (TYPE Lifted) signature (NotificationPriority -> m ()), MonadIO m, NotificationK a) => MethodInfo (TYPE Lifted) NotificationSetPriorityMethodInfo a signature Source | |
notificationSetPriority :: (MonadIO m, NotificationK a) => a -> NotificationPriority -> m () Source
notificationSetTitle
data NotificationSetTitleMethodInfo Source
((~) (TYPE Lifted) signature (Text -> m ()), MonadIO m, NotificationK a) => MethodInfo (TYPE Lifted) NotificationSetTitleMethodInfo a signature Source | |
notificationSetTitle :: (MonadIO m, NotificationK a) => a -> Text -> m () Source
notificationSetUrgent
data NotificationSetUrgentMethodInfo Source
((~) (TYPE Lifted) signature (Bool -> m ()), MonadIO m, NotificationK a) => MethodInfo (TYPE Lifted) NotificationSetUrgentMethodInfo a signature Source | |
notificationSetUrgent :: (MonadIO m, NotificationK a) => a -> Bool -> m () Source