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 (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.
this | |
action |
an action name |
target |
a Variant to use as |