webkit.notification

Module for [Notification] class

Types 3

Holds information about a notification that should be shown to the user.

Methods
GType _gType() @property
Notification self()Returns `this`, for use in `with` statements.
NotificationGidBuilder builder()Get builder for [webkit.notification.Notification] Returns: New builder object
string body_() @propertyGet `body_` property. Returns: The body for the notification.
ulong id() @propertyGet `id` property. Returns: The unique id for the notification.
string tag() @propertyGet `tag` property. Returns: The tag identifier for the notification.
string title() @propertyGet `title` property. Returns: The title for the notification.
void 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 notification
ulong getId()Obtains the unique id for the notification. Returns: the unique id for the notification
string getTag()Obtains the tag identifier for the notification. Returns: the tag for the notification
string getTitle()Obtains the title for the notification. Returns: the title for the notification
gulong 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.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for [webkit.notification.Notification]