WebContext.connectInitializeNotificationPermissions

gulong connectInitializeNotificationPermissions(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.web_context.WebContext))) && Parameters!T.length < 2)

Connect to InitializeNotificationPermissions signal.

This signal is emitted when a #WebKitWebContext needs to set initial notification permissions for a web process. It is emitted when a new web process is about to be launched, and signals the most appropriate moment to use [webkit.web_context.WebContext.initializeNotificationPermissions]. If no notification permissions have changed since the last time this signal was emitted, then there is no need to call [webkit.web_context.WebContext.initializeNotificationPermissions] again.

Parameters

callbacksignal callback delegate or function to connect void callback(webkit.web_context.WebContext webContext) webContext the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID