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 () |
const gchar * | webkit_notification_get_tag () |
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
const gchar *
webkit_notification_get_tag (WebKitNotification *notification
);
Obtains the tag identifier for the notification.
Since: 2.16
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
“tag”
property“tag” gchar *
The tag identifier for the notification.
Flags: Read
Default value: NULL
Since: 2.16
“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