Action.connectAccelerator

void connectAccelerator()

Installs the accelerator for action if action has an accel path and group. See [gtk.action.Action.setAccelPath] and [gtk.action.Action.setAccelGroup]

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.action.Action.disconnectAccelerator] has been called as many times.

Deprecated

Use #GAction and the accelerator group on an associated

#GtkMenu instead