Constructor
PurpleNotificationLinknew
unstable since: 3.0
Declaration [src]
PurpleNotification*
purple_notification_link_new (
const char* id,
const char* title,
const char* link_text,
const char* link_uri
)
Parameters
id
-
Type:
const char*
An identifier for this notification.
The argument can be NULL
.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. title
-
Type:
const char*
The title for the notification.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. link_text
-
Type:
const char*
The text to display for the link.
The argument can be NULL
.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. link_uri
-
Type:
const char*
The URI of the link.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: PurpleNotification
The new notification.
The caller of the function takes ownership of the data, and is responsible for freeing it. |