Method

ValentNotificationadd_button

unstable since: 1.0

Declaration [src]

void
valent_notification_add_button (
  ValentNotification* notification,
  const char* label,
  const char* action
)

Description [src]

Add a notification button.

Available since: 1.0

Parameters

label

Type: const char*

A button label.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
action

Type: const char*

An action name.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.