setDefaultActionAndTarget
Sets the default action of @notification to @action. This action is activated when the notification is clicked on. It must be an application-wide action (start with "app.").
If @target is non-null, @action will be activated with @target as its parameter. If @target is floating, it will be consumed.
When no default action is set, the application that the notification was sent on is activated.
Since
2.40
Parameters
action
an action name
target
a #GVariant to use as @action's parameter, or null