AppIndicator.Indicator.prototype.set_secondary_activate_target
function set_secondary_activate_target(menuitem:Gtk.Widget):void { // Gjs wrapper for app_indicator_set_secondary_activate_target() }
Set the menuitem to be activated when a secondary activation event (i.e. a middle-click) is emitted over the AppIndicator.Indicator icon/label.
The menuitem can be also a complex Gtk.Widget, but to get activated when a secondary activation occurs in the #Appindicator, it must be a visible and active child (or inner-child) of the #AppIndicator:menu.
Setting menuitem to null causes to disable this feature.
- menuitem
A Gtk.Widget to be activated on secondary activation