Method
ValentNotificationset_action_and_target
unstable since: 1.0
Declaration [src]
void
valent_notification_set_action_and_target (
ValentNotification* notification,
const char* action,
GVariant* target
)
Description [src]
Set the default notification action.
If target
is non-NULL
, action
will be activated with target
as its parameter.
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:
GVariant
A
GVariant
to use asaction
‘s parameter.The argument can be NULL
.The data is owned by the caller of the method.