add_button


Description:

public void add_button (string label, string detailed_action)

Adds a button to this that activates the action in detailed_action when clicked.

That action must be an application-wide action (starting with "app."). If detailed_action contains a target, the action will be activated with that target as its parameter.

See parse_detailed_name for a description of the format for detailed_action.

Parameters:

this

a Notification

label

label of the button

detailed_action

a detailed action name




2022 vala-language.org