Method

ValentNotificationadd_button_with_target

unstable since: 1.0

Declaration [src]

void
valent_notification_add_button_with_target (
  ValentNotification* notification,
  const char* label,
  const char* action,
  GVariant* target
)

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.
target

Type: GVariant

An action target.

The argument can be NULL.
The data is owned by the caller of the method.