Method GTK2.Widget()->add_accelerator()
- Method add_accelerator
GTK2.Widget
add_accelerator(string
accel_signal
,GTK2.AccelGroup
accel_group
,int
accel_key
,int
accel_mods
,int
accel_flags
)- Description
Installs an accelerator in accel_group that causes accel_signal to be emitted if the accelerator is activated. The signal must be of type G_RUN_ACTION.