GtkAction::connect_accelerator

void connect_accelerator();

Installs the accelerator for the specified action if action has an accelerator path and group. See set_accel_path() and set_accel_group() for more information on how to set these.

Please ensure that you have set the accelerator's path and group before using this method. Not doing so nullifies the effect of this method

See also: disconnect_accelerator()