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
- notificationAddButton :: (MonadIO m, NotificationK a) => a -> Text -> Text -> m ()
- notificationAddButtonWithTarget :: (MonadIO m, NotificationK a) => a -> Text -> Text -> Maybe GVariant -> m ()
- notificationNew :: MonadIO m => Text -> m Notification
- notificationSetBody :: (MonadIO m, NotificationK a) => a -> Maybe Text -> m ()
- notificationSetDefaultAction :: (MonadIO m, NotificationK a) => a -> Text -> m ()
- notificationSetDefaultActionAndTarget :: (MonadIO m, NotificationK a) => a -> Text -> Maybe GVariant -> m ()
- notificationSetIcon :: (MonadIO m, NotificationK a, IconK b) => a -> b -> m ()
- notificationSetPriority :: (MonadIO m, NotificationK a) => a -> NotificationPriority -> m ()
- notificationSetTitle :: (MonadIO m, NotificationK a) => a -> Text -> m ()
- notificationSetUrgent :: (MonadIO m, NotificationK a) => a -> Bool -> m ()
Exported types
newtype 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
notificationAddButton :: (MonadIO m, NotificationK a) => a -> Text -> Text -> m () Source
notificationAddButtonWithTarget
notificationAddButtonWithTarget :: (MonadIO m, NotificationK a) => a -> Text -> Text -> Maybe GVariant -> m () Source
notificationNew
notificationNew :: MonadIO m => Text -> m Notification Source
notificationSetBody
notificationSetBody :: (MonadIO m, NotificationK a) => a -> Maybe Text -> m () Source
notificationSetDefaultAction
notificationSetDefaultAction :: (MonadIO m, NotificationK a) => a -> Text -> m () Source
notificationSetDefaultActionAndTarget
notificationSetDefaultActionAndTarget :: (MonadIO m, NotificationK a) => a -> Text -> Maybe GVariant -> m () Source
notificationSetIcon
notificationSetIcon :: (MonadIO m, NotificationK a, IconK b) => a -> b -> m () Source
notificationSetPriority
notificationSetPriority :: (MonadIO m, NotificationK a) => a -> NotificationPriority -> m () Source
notificationSetTitle
notificationSetTitle :: (MonadIO m, NotificationK a) => a -> Text -> m () Source
notificationSetUrgent
notificationSetUrgent :: (MonadIO m, NotificationK a) => a -> Bool -> m () Source