Top |
WebKitNotificationWebKitNotification — Object used to hold information about a notification that should be shown to the user. |
guint64 | webkit_notification_get_id () |
const gchar * | webkit_notification_get_title () |
const gchar * | webkit_notification_get_body () |
void | webkit_notification_close () |
void | webkit_notification_clicked () |
guint64
webkit_notification_get_id (WebKitNotification *notification
);
Obtains the unique id for the notification.
Since: 2.8
const gchar *
webkit_notification_get_title (WebKitNotification *notification
);
Obtains the title for the notification.
Since: 2.8
const gchar *
webkit_notification_get_body (WebKitNotification *notification
);
Obtains the body for the notification.
Since: 2.8
void
webkit_notification_close (WebKitNotification *notification
);
Closes the notification.
Since: 2.8
void
webkit_notification_clicked (WebKitNotification *notification
);
Tells WebKit the notification has been clicked. This will emit the “clicked” signal.
Since: 2.12
“body”
property“body” gchar *
The body for the notification.
Flags: Read
Default value: NULL
Since: 2.8
“id”
property“id” guint64
The unique id for the notification.
Flags: Read
Default value: 0
Since: 2.8
“clicked”
signalvoid user_function (WebKitNotification *notification, gpointer user_data)
Emitted when a notification has been clicked. See webkit_notification_clicked()
.
notification |
the WebKitNotification on which the signal is emitted |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.12
“closed”
signalvoid user_function (WebKitNotification *notification, gpointer user_data)
Emitted when a notification has been withdrawn.
The default handler will close the notification using libnotify, if built with support for it.
notification |
the WebKitNotification on which the signal is emitted |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.8