-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Libnotify bindings
--
-- Bindings for Libnotify, autogenerated by haskell-gi.
@package gi-notify
@version 0.7.7
module GI.Notify.Functions
getAppName :: (MonadIO m) => m Text
getServerCaps :: (MonadIO m) => m [Text]
getServerInfo :: (MonadIO m) => m (Bool, Text, Text, Text, Text)
init :: (MonadIO m) => Text -> m Bool
isInitted :: (MonadIO m) => m Bool
setAppName :: (MonadIO m) => Text -> m ()
uninit :: (MonadIO m) => m ()
module GI.Notify.Enums
data Urgency
UrgencyLow :: Urgency
UrgencyNormal :: Urgency
UrgencyCritical :: Urgency
AnotherUrgency :: Int -> Urgency
instance GHC.Classes.Eq GI.Notify.Enums.Urgency
instance GHC.Show.Show GI.Notify.Enums.Urgency
instance GHC.Enum.Enum GI.Notify.Enums.Urgency
instance GHC.Classes.Ord GI.Notify.Enums.Urgency
module GI.Notify.Constants
module GI.Notify.Callbacks
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 :: (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 ()
module GI.Notify.Objects.Notification
newtype Notification
Notification :: (ManagedPtr Notification) -> Notification
class GObject o => IsNotification o
toNotification :: IsNotification o => o -> IO Notification
noNotification :: Maybe Notification
data NotificationAddActionMethodInfo
notificationAddAction :: (MonadIO m, IsNotification a) => a -> Text -> Text -> ActionCallback -> m ()
data NotificationClearActionsMethodInfo
notificationClearActions :: (MonadIO m, IsNotification a) => a -> m ()
data NotificationClearHintsMethodInfo
notificationClearHints :: (MonadIO m, IsNotification a) => a -> m ()
data NotificationCloseMethodInfo
notificationClose :: (MonadIO m, IsNotification a) => a -> m ()
data NotificationGetClosedReasonMethodInfo
notificationGetClosedReason :: (MonadIO m, IsNotification a) => a -> m Int32
notificationNew :: (MonadIO m) => Text -> Maybe (Text) -> Maybe (Text) -> m Notification
data NotificationSetAppNameMethodInfo
notificationSetAppName :: (MonadIO m, IsNotification a) => a -> Text -> m ()
data NotificationSetCategoryMethodInfo
notificationSetCategory :: (MonadIO m, IsNotification a) => a -> Text -> m ()
data NotificationSetHintMethodInfo
notificationSetHint :: (MonadIO m, IsNotification a) => a -> Text -> Maybe (GVariant) -> m ()
data NotificationSetHintByteMethodInfo
-- | Deprecated: (Since version 0.6.)Use notify_notification_set_hint()
-- instead
notificationSetHintByte :: (MonadIO m, IsNotification a) => a -> Text -> Word8 -> m ()
data NotificationSetHintByteArrayMethodInfo
-- | Deprecated: (Since version 0.6.)Use notify_notification_set_hint()
-- instead
notificationSetHintByteArray :: (MonadIO m, IsNotification a) => a -> Text -> Word8 -> Word64 -> m ()
data NotificationSetHintDoubleMethodInfo
-- | Deprecated: (Since version 0.6.)Use notify_notification_set_hint()
-- instead
notificationSetHintDouble :: (MonadIO m, IsNotification a) => a -> Text -> Double -> m ()
data NotificationSetHintInt32MethodInfo
-- | Deprecated: (Since version 0.6.)Use notify_notification_set_hint()
-- instead
notificationSetHintInt32 :: (MonadIO m, IsNotification a) => a -> Text -> Int32 -> m ()
data NotificationSetHintStringMethodInfo
-- | Deprecated: (Since version 0.6.)Use notify_notification_set_hint()
-- instead
notificationSetHintString :: (MonadIO m, IsNotification a) => a -> Text -> Text -> m ()
data NotificationSetHintUint32MethodInfo
-- | Deprecated: (Since version 0.6.)Use notify_notification_set_hint()
-- instead
notificationSetHintUint32 :: (MonadIO m, IsNotification a) => a -> Text -> Word32 -> m ()
data NotificationSetIconFromPixbufMethodInfo
-- | Deprecated: use notify_notification_set_image_from_pixbuf()
-- instead.
notificationSetIconFromPixbuf :: (MonadIO m, IsNotification a, IsPixbuf b) => a -> b -> m ()
data NotificationSetImageFromPixbufMethodInfo
notificationSetImageFromPixbuf :: (MonadIO m, IsNotification a, IsPixbuf b) => a -> b -> m ()
data NotificationSetTimeoutMethodInfo
notificationSetTimeout :: (MonadIO m, IsNotification a) => a -> Int32 -> m ()
data NotificationSetUrgencyMethodInfo
notificationSetUrgency :: (MonadIO m, IsNotification a) => a -> Urgency -> m ()
data NotificationShowMethodInfo
notificationShow :: (MonadIO m, IsNotification a) => a -> m ()
data NotificationUpdateMethodInfo
notificationUpdate :: (MonadIO m, IsNotification a) => a -> Text -> Maybe (Text) -> Maybe (Text) -> m Bool
data NotificationAppNamePropertyInfo
constructNotificationAppName :: (IsNotification o) => Text -> IO (GValueConstruct o)
getNotificationAppName :: (MonadIO m, IsNotification o) => o -> m (Maybe Text)
notificationAppName :: AttrLabelProxy "appName"
setNotificationAppName :: (MonadIO m, IsNotification o) => o -> Text -> m ()
data NotificationBodyPropertyInfo
clearNotificationBody :: (MonadIO m, IsNotification o) => o -> m ()
constructNotificationBody :: (IsNotification o) => Text -> IO (GValueConstruct o)
getNotificationBody :: (MonadIO m, IsNotification o) => o -> m (Maybe Text)
notificationBody :: AttrLabelProxy "body"
setNotificationBody :: (MonadIO m, IsNotification o) => o -> Text -> m ()
data NotificationClosedReasonPropertyInfo
getNotificationClosedReason :: (MonadIO m, IsNotification o) => o -> m Int32
notificationClosedReason :: AttrLabelProxy "closedReason"
data NotificationIconNamePropertyInfo
clearNotificationIconName :: (MonadIO m, IsNotification o) => o -> m ()
constructNotificationIconName :: (IsNotification o) => Text -> IO (GValueConstruct o)
getNotificationIconName :: (MonadIO m, IsNotification o) => o -> m (Maybe Text)
notificationIconName :: AttrLabelProxy "iconName"
setNotificationIconName :: (MonadIO m, IsNotification o) => o -> Text -> m ()
data NotificationIdPropertyInfo
constructNotificationId :: (IsNotification o) => Int32 -> IO (GValueConstruct o)
getNotificationId :: (MonadIO m, IsNotification o) => o -> m Int32
notificationId :: AttrLabelProxy "id"
setNotificationId :: (MonadIO m, IsNotification o) => o -> Int32 -> m ()
data NotificationSummaryPropertyInfo
clearNotificationSummary :: (MonadIO m, IsNotification o) => o -> m ()
constructNotificationSummary :: (IsNotification o) => Text -> IO (GValueConstruct o)
getNotificationSummary :: (MonadIO m, IsNotification o) => o -> m (Maybe Text)
notificationSummary :: AttrLabelProxy "summary"
setNotificationSummary :: (MonadIO m, IsNotification o) => o -> Text -> m ()
type C_NotificationClosedCallback = Ptr () -> Ptr () -> IO ()
type NotificationClosedCallback = IO ()
data NotificationClosedSignalInfo
afterNotificationClosed :: (GObject a, MonadIO m) => a -> NotificationClosedCallback -> m SignalHandlerId
genClosure_NotificationClosed :: NotificationClosedCallback -> IO Closure
mk_NotificationClosedCallback :: C_NotificationClosedCallback -> IO (FunPtr C_NotificationClosedCallback)
noNotificationClosedCallback :: Maybe NotificationClosedCallback
onNotificationClosed :: (GObject a, MonadIO m) => a -> NotificationClosedCallback -> m SignalHandlerId
wrap_NotificationClosedCallback :: NotificationClosedCallback -> Ptr () -> Ptr () -> IO ()
instance Data.GI.Base.BasicTypes.GObject GI.Notify.Objects.Notification.Notification
instance (Data.GI.Base.BasicTypes.GObject a, Data.GI.Base.Overloading.UnknownAncestorError GI.Notify.Objects.Notification.Notification a) => GI.Notify.Objects.Notification.IsNotification a
instance GI.Notify.Objects.Notification.IsNotification GI.Notify.Objects.Notification.Notification
instance GI.GObject.Objects.Object.IsObject GI.Notify.Objects.Notification.Notification
instance (info ~ GI.Notify.Objects.Notification.ResolveNotificationMethod t GI.Notify.Objects.Notification.Notification, Data.GI.Base.Overloading.MethodInfo info GI.Notify.Objects.Notification.Notification p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.Notify.Objects.Notification.Notification -> p)
instance (info ~ GI.Notify.Objects.Notification.ResolveNotificationMethod t GI.Notify.Objects.Notification.Notification, Data.GI.Base.Overloading.MethodInfo info GI.Notify.Objects.Notification.Notification p) => GHC.OverloadedLabels.IsLabel t (GI.Notify.Objects.Notification.Notification -> p)
instance Data.GI.Base.Attributes.AttrInfo GI.Notify.Objects.Notification.NotificationAppNamePropertyInfo
instance Data.GI.Base.Attributes.AttrInfo GI.Notify.Objects.Notification.NotificationBodyPropertyInfo
instance Data.GI.Base.Attributes.AttrInfo GI.Notify.Objects.Notification.NotificationClosedReasonPropertyInfo
instance Data.GI.Base.Attributes.AttrInfo GI.Notify.Objects.Notification.NotificationIconNamePropertyInfo
instance Data.GI.Base.Attributes.AttrInfo GI.Notify.Objects.Notification.NotificationIdPropertyInfo
instance Data.GI.Base.Attributes.AttrInfo GI.Notify.Objects.Notification.NotificationSummaryPropertyInfo
instance Data.GI.Base.Overloading.HasAttributeList GI.Notify.Objects.Notification.Notification
instance Data.GI.Base.Signals.SignalInfo GI.Notify.Objects.Notification.NotificationClosedSignalInfo
instance (signature ~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> GI.Notify.Callbacks.ActionCallback -> m ()), Control.Monad.IO.Class.MonadIO m, GI.Notify.Objects.Notification.IsNotification a) => Data.GI.Base.Overloading.MethodInfo GI.Notify.Objects.Notification.NotificationAddActionMethodInfo a signature
instance (signature ~ m (), Control.Monad.IO.Class.MonadIO m, GI.Notify.Objects.Notification.IsNotification a) => Data.GI.Base.Overloading.MethodInfo GI.Notify.Objects.Notification.NotificationClearActionsMethodInfo a signature
instance (signature ~ m (), Control.Monad.IO.Class.MonadIO m, GI.Notify.Objects.Notification.IsNotification a) => Data.GI.Base.Overloading.MethodInfo GI.Notify.Objects.Notification.NotificationClearHintsMethodInfo a signature
instance (signature ~ m (), Control.Monad.IO.Class.MonadIO m, GI.Notify.Objects.Notification.IsNotification a) => Data.GI.Base.Overloading.MethodInfo GI.Notify.Objects.Notification.NotificationCloseMethodInfo a signature
instance (signature ~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m, GI.Notify.Objects.Notification.IsNotification a) => Data.GI.Base.Overloading.MethodInfo GI.Notify.Objects.Notification.NotificationGetClosedReasonMethodInfo a signature
instance (signature ~ (Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m, GI.Notify.Objects.Notification.IsNotification a) => Data.GI.Base.Overloading.MethodInfo GI.Notify.Objects.Notification.NotificationSetAppNameMethodInfo a signature
instance (signature ~ (Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m, GI.Notify.Objects.Notification.IsNotification a) => Data.GI.Base.Overloading.MethodInfo GI.Notify.Objects.Notification.NotificationSetCategoryMethodInfo a signature
instance (signature ~ (Data.Text.Internal.Text -> GHC.Base.Maybe Data.GI.Base.BasicTypes.GVariant -> m ()), Control.Monad.IO.Class.MonadIO m, GI.Notify.Objects.Notification.IsNotification a) => Data.GI.Base.Overloading.MethodInfo GI.Notify.Objects.Notification.NotificationSetHintMethodInfo a signature
instance (signature ~ (Data.Text.Internal.Text -> GHC.Word.Word8 -> m ()), Control.Monad.IO.Class.MonadIO m, GI.Notify.Objects.Notification.IsNotification a) => Data.GI.Base.Overloading.MethodInfo GI.Notify.Objects.Notification.NotificationSetHintByteMethodInfo a signature
instance (signature ~ (Data.Text.Internal.Text -> GHC.Word.Word8 -> GHC.Word.Word64 -> m ()), Control.Monad.IO.Class.MonadIO m, GI.Notify.Objects.Notification.IsNotification a) => Data.GI.Base.Overloading.MethodInfo GI.Notify.Objects.Notification.NotificationSetHintByteArrayMethodInfo a signature
instance (signature ~ (Data.Text.Internal.Text -> GHC.Types.Double -> m ()), Control.Monad.IO.Class.MonadIO m, GI.Notify.Objects.Notification.IsNotification a) => Data.GI.Base.Overloading.MethodInfo GI.Notify.Objects.Notification.NotificationSetHintDoubleMethodInfo a signature
instance (signature ~ (Data.Text.Internal.Text -> GHC.Int.Int32 -> m ()), Control.Monad.IO.Class.MonadIO m, GI.Notify.Objects.Notification.IsNotification a) => Data.GI.Base.Overloading.MethodInfo GI.Notify.Objects.Notification.NotificationSetHintInt32MethodInfo a signature
instance (signature ~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m, GI.Notify.Objects.Notification.IsNotification a) => Data.GI.Base.Overloading.MethodInfo GI.Notify.Objects.Notification.NotificationSetHintStringMethodInfo a signature
instance (signature ~ (Data.Text.Internal.Text -> GHC.Word.Word32 -> m ()), Control.Monad.IO.Class.MonadIO m, GI.Notify.Objects.Notification.IsNotification a) => Data.GI.Base.Overloading.MethodInfo GI.Notify.Objects.Notification.NotificationSetHintUint32MethodInfo a signature
instance (signature ~ (b -> m ()), Control.Monad.IO.Class.MonadIO m, GI.Notify.Objects.Notification.IsNotification a, GI.GdkPixbuf.Objects.Pixbuf.IsPixbuf b) => Data.GI.Base.Overloading.MethodInfo GI.Notify.Objects.Notification.NotificationSetIconFromPixbufMethodInfo a signature
instance (signature ~ (b -> m ()), Control.Monad.IO.Class.MonadIO m, GI.Notify.Objects.Notification.IsNotification a, GI.GdkPixbuf.Objects.Pixbuf.IsPixbuf b) => Data.GI.Base.Overloading.MethodInfo GI.Notify.Objects.Notification.NotificationSetImageFromPixbufMethodInfo a signature
instance (signature ~ (GHC.Int.Int32 -> m ()), Control.Monad.IO.Class.MonadIO m, GI.Notify.Objects.Notification.IsNotification a) => Data.GI.Base.Overloading.MethodInfo GI.Notify.Objects.Notification.NotificationSetTimeoutMethodInfo a signature
instance (signature ~ (GI.Notify.Enums.Urgency -> m ()), Control.Monad.IO.Class.MonadIO m, GI.Notify.Objects.Notification.IsNotification a) => Data.GI.Base.Overloading.MethodInfo GI.Notify.Objects.Notification.NotificationSetUrgencyMethodInfo a signature
instance (signature ~ m (), Control.Monad.IO.Class.MonadIO m, GI.Notify.Objects.Notification.IsNotification a) => Data.GI.Base.Overloading.MethodInfo GI.Notify.Objects.Notification.NotificationShowMethodInfo a signature
instance (signature ~ (Data.Text.Internal.Text -> GHC.Base.Maybe Data.Text.Internal.Text -> GHC.Base.Maybe Data.Text.Internal.Text -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m, GI.Notify.Objects.Notification.IsNotification a) => Data.GI.Base.Overloading.MethodInfo GI.Notify.Objects.Notification.NotificationUpdateMethodInfo a signature
module GI.Notify.Objects
module GI.Notify
module GI.Notify.PkgInfo
pkgConfigVersions :: [(String, String)]
flags :: [(String, Bool)]