Method
ValentNotificationadd_button
unstable since: 1.0
Declaration [src]
void
valent_notification_add_button (
ValentNotification* notification,
const char* label,
const char* action,
GVariant* target
)
Description [src]
Add a notification button.
If target is NULL, then action may be a detailed action name.
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:
GVariantAn action target.
The argument can be NULL.The data is owned by the caller of the method.