Package: gio

Function g-notification-set-default-action

Lambda List

g-notification-set-default-action (notification action)

Arguments

notifiaction -- a g-notification instance
action -- a string with a detailed action name

Details

Sets the default action of the notification to action. The action is activated when the notification is clicked on.

The action in action must be an application wide action, it must start with "app.". If the action argument contains a target, the given action will be activated with that target as its parameter. See the g-action-parse-detailed-name function for a description of the format for action.

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

See also

2021-10-11