set_default_action_and_target_value


Description:

public void set_default_action_and_target_value (string action, Variant? target)

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.

When no default action is set, the application that the notification was sent on is activated.

Parameters:

this

a Notification

action

an action name

target

a Variant to use as action's parameter, or null