Package: gtk

Function gtk-action-connect-accelerator

Lambda List

gtk-action-connect-accelerator (action)

Arguments

action -- a gtk-action object

Details

Installs the accelerator for the action if the action has an accel path and group. See the functions gtk-action-accel-path and gtk-action-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 does not remove the accelerator until the function gtk-action-disconnect-accelerator has been called as many times.

Warning

The function gtk-action-connect-accelerator has been deprecated since version 3.10 and should not be used in newly written code. Use the g-action interface and the accelerator group on an associated gtk-menu widget instead.
 

See also

2021-7-20