AccelGroup.connect

Installs an accelerator in this group. When accel_group is being activated in response to a call to gtk_accel_groups_activate(), closure will be invoked if the accel_key and accel_mods from gtk_accel_groups_activate() 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 uint

key value of the accelerator

accelMods GdkModifierType

modifier combination of the accelerator

accelFlags GtkAccelFlags

a flag mask to configure this accelerator

closure Closure

closure to be executed upon accelerator activation

Meta