Installs an accelerator in this group, using an accelerator path to look up the appropriate key and modifiers (see AccelMap.addEntry). 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 the key and modifiers for the path.

The signature used for the closure is that of GtkAccelGroupActivate

Note that accel_path string will be stored in a GQuark Therefore, if you pass a static string, you can save some memory by interning it first with g_intern_static_string().

class AccelGroup


accelPath string

path used for determining key and modifiers

closure Closure

closure to be executed upon accelerator activation