desktop-portal-0.6.0.0: Desktop Portal.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Desktop.Portal.Notification

Synopsis

Add Notification

addNotificationOptions Source #

Arguments

:: Text

The id of the notification

-> AddNotificationOptions 

Remove Notification

Signals

type NotificationActionInvokedCallback Source #

Arguments

 = Text

The id of the notification that was clicked.

-> Text

The name of the action that was invoked.

-> Maybe Variant

The target parameter that goes along with the action, if any.

-> IO ()

A command to run when the action is invoked.