Sets the default action of this to action
.
This action is activated when the notification is clicked on. It must be an application-wide action (it must start with "app.").
If target_format
is given, it is used to collect remaining positional parameters into a Variant
instance, similar to Variant. action
will be activated with that
Variant as its parameter.
When no default action is set, the application that the notification was sent on is activated.
this | |
action |
an action name |
target_format |
a Variant format string, or null |
... |
positional parameters, as determined by |