Gtk.Activatable.prototype.set_related_action

function set_related_action(action:Gtk.Action):void {
    // Gjs wrapper for gtk_activatable_set_related_action()
}

Sets the related action on the activatable object.

<note><para>Gtk.Activatable implementors need to handle the Gtk.related-action property and call Gtk.Activatable.prototype.do_set_related_action when it changes.</para></note>

Since 2.16

action

the Gtk.Action to set