webkit.notification

Module for [Notification] class

Types 3

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

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
Notification self() nothrowReturns `this`, for use in `with` statements.
NotificationGidBuilder builder() static nothrowGet builder for [webkit.notification.Notification] Returns: New builder object
string body_() @property nothrowGet `body_` property. Returns: The body for the notification.
ulong id() @property nothrowGet `id` property. Returns: The unique id for the notification.
string tag() @property nothrowGet `tag` property. Returns: The tag identifier for the notification.
string title() @property nothrowGet `title` property. Returns: The title for the notification.
void clicked() nothrowTells WebKit the notification has been clicked.
void close() nothrowCloses the notification.
string getBody() nothrowObtains the body for the notification. Returns: the body for the notification
ulong getId() nothrowObtains the unique id for the notification. Returns: the unique id for the notification
string getTag() nothrowObtains the tag identifier for the notification. Returns: the tag for the notification
string getTitle() nothrowObtains 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) nothrowConnect 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) nothrowConnect to `Closed` signal.
Constructors
this(void * ptr, Flag!"Take" take)
Methods
Notification build() nothrowCreate object from builder. Returns: New object