Constructor

ValentNotificationnew

unstable since: 1.0

Declaration [src]

ValentNotification*
valent_notification_new (
  const char* title
)

Description [src]

Create a new ValentNotification.

A notification without a title (or primary text) is not strictly possible, but this is allowed during construction for the case where it is more convenient to set it later.

Available since: 1.0

Parameters

title

Type: const char*

A notification title.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: ValentNotification

A ValentNotification.

The caller of the function takes ownership of the data, and is responsible for freeing it.