Gtk.Action.prototype.connect_accelerator

function connect_accelerator():void {
    // Gjs wrapper for gtk_action_connect_accelerator()
}

Installs the accelerator for action if action has an accel path and group. See Gtk.set_accel_path and Gtk.set_accel_group

Since multiple proxies may independently trigger the installation of the accelerator, the action counts the number of times this function has been called and doesn't remove the accelerator until Gtk.disconnect_accelerator has been called as many times.

Since 2.4