Method

IdeNotificationadd_button

Declaration

void
ide_notification_add_button (
  IdeNotification* self,
  const gchar* label,
  GIcon* icon,
  const gchar* detailed_action
)

Description

Adds a new button that may be displayed with the notification.

See also: ide_notification_add_button_with_target_value().

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

Type: const gchar*

A detailed action name (See GAction)

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