set_accel_group


Description:

public void set_accel_group (AccelGroup? accel_group)

Set the AccelGroup which holds global accelerators for the menu.

This accelerator group needs to also be added to all windows that this menu is being used in with add_accel_group, in order for those windows to support all the accelerators contained in this group.

Parameters:

this

a Menu

accel_group

the AccelGroup to be associated with the menu.




2022 vala-language.org