set_secondary_activate_target


Description:

public void set_secondary_activate_target (string? action)

Set the action to be activated when a secondary activation event (i.

e. a middle-click) is emitted over the Indicator icon/label.

For the action to get activated when a secondary activation occurs in the Indicator, it must be defined as a stateless Action with no parameter, it needs to be enabled and associated with an item of the menu.

Setting action to null disables this feature.

Parameters:

this

The Indicator

action

The action to be activated on secondary activation