Method

IdeNotificationadd_button_with_target_value

Declaration

void
ide_notification_add_button_with_target_value (
  IdeNotification* self,
  const gchar* label,
  GIcon* icon,
  const gchar* action,
  GVariant* target
)

Description

Adds a new button, used the parsed GVariant format for the action target.

Parameters

label

Type: const gchar*

The label for the button.

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

Type: GIcon

An optional icon for the button.

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

Type: const gchar*

An action name (See GAction)

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

Type: GVariant

An optional GVariant for the action target.

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