connectShowNotification
fun connectShowNotification(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (notification: Notification) -> Boolean): <Error class: unknown class>
This signal is emitted when a notification should be presented to the user. The @notification is kept alive until either: 1) the web page cancels it or 2) a navigation happens.
The default handler will emit a notification using libnotify, if built with support for it.
Since
2.8
Parameters
connectFlags
A combination of ConnectFlags
handler
the Callback to connect. Params: notification
a #WebKitNotification. Returns true to stop other handlers from being invoked. false otherwise.