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 gtk:action-accel-path and gtk:action-set-accel-group functions.

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 gtk:action-disconnect-accelerator function has been called as many times.

Warning

The gtk:action-connect-accelerator function 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

2024-9-26