[ Version ( since = "3.6" ) ]
public void set_accel (uint accelerator_key, ModifierType accelerator_mods)
Manually sets a keyval and modifier mask as the accelerator rendered by this.
If a keyval and modifier are explicitly set then these values are used regardless of any associated accel closure or widget.
Providing an accelerator_key
of 0 removes the manual setting.
this | |
accelerator_key |
a keyval, or 0 |
accelerator_mods |
the modifier mask for the accel |