Method
ValentNotificationset_default_action
unstable since: 1.0
Declaration [src]
void
valent_notification_set_default_action (
ValentNotification* notification,
const char* action,
GVariant* target
)
Description [src]
Set the default notification action.
If target is NULL, then action may be a detailed action name.
Available since: 1.0
Parameters
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:
GVariantA
GVariantto use asaction‘s parameter.The argument can be NULL.The data is owned by the caller of the method.