webkit.notification
Module for [Notification] class
Types 3
Holds information about a notification that should be shown to the user.
Methods
Notification self()Returns `this`, for use in `with` statements.NotificationGidBuilder builder()Get builder for [webkit.notification.Notification] Returns: New builder objectvoid clicked()Tells WebKit the notification has been clicked.void close()Closes the notification.string getBody()Obtains the body for the notification. Returns: the body for the notificationulong getId()Obtains the unique id for the notification. Returns: the unique id for the notificationstring getTag()Obtains the tag identifier for the notification. Returns: the tag for the notificationstring getTitle()Obtains the title for the notification. Returns: the title for the notificationgulong connectClicked(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.notification.Notification)))
&& Parameters!T.length < 2)Connect to `Clicked` signal.gulong connectClosed(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.notification.Notification)))
&& Parameters!T.length < 2)Connect to `Closed` signal.Fluent builder for [webkit.notification.Notification]
Methods