WebKit2.WebView::show-notification
connect('show-notification', function (webView, notification: WebKit2.Notification, ): Boolean);
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
- webView
instance of WebKit2.WebView that is emitting the signal
- notification
- Returns
true to stop other handlers from being invoked. false otherwise.