set_default_action


Description:

public void set_default_action (string detailed_action)

Sets the default action of this to detailed_action.

This action is activated when the notification is clicked on.

The action in detailed_action must be an application-wide action (it must start with "app."). If detailed_action contains a target, the given action will be activated with that target as its parameter. See parse_detailed_name for a description of the format for detailed_action.

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

Parameters:

this

a Notification

detailed_action

a detailed action name