Notification

Constructors

this
this(WebKitNotification* webKitNotification, bool ownedRef)

Sets our main struct and passes it to the parent class.

Members

Functions

addOnClicked
gulong addOnClicked(void delegate(Notification) dlg, ConnectFlags connectFlags)

Emitted when a notification has been clicked. See webkit_notification_clicked().

addOnClosed
gulong addOnClosed(void delegate(Notification) dlg, ConnectFlags connectFlags)

Emitted when a notification has been withdrawn.

clicked
void clicked()

Tells WebKit the notification has been clicked. This will emit the #WebKitNotification::clicked signal.

close
void close()

Closes the notification.

getBody
string getBody()

Obtains the body for the notification.

getId
ulong getId()

Obtains the unique id for the notification.

getNotificationStruct
WebKitNotification* getNotificationStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getTag
string getTag()

Obtains the tag identifier for the notification.

getTitle
string getTitle()

Obtains the title for the notification.

Static functions

getType
GType getType()

Variables

webKitNotification
WebKitNotification* webKitNotification;

the main Gtk struct

Meta