AccelGroup.connect
void connect(uint accelKey, gdk.types.ModifierType accelMods, gtk.types.AccelFlags accelFlags, gobject.closure.Closure closure)Installs an accelerator in this group. When accel_group is being activated in response to a call to [gtk.global.accelGroupsActivate], closure will be invoked if the accel_key and accel_mods from [gtk.global.accelGroupsActivate] match those of this connection.
The signature used for the closure is that of #GtkAccelGroupActivate.
Note that, due to implementation details, a single closure can only be connected to one accelerator group.
Parameters
accelKey | key value of the accelerator |
accelMods | modifier combination of the accelerator |
accelFlags | a flag mask to configure this accelerator |
closure | closure to be executed upon accelerator activation |