set_accel


Description:

[ 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.

Parameters:

this

a AccelLabel

accelerator_key

a keyval, or 0

accelerator_mods

the modifier mask for the accel




2022 vala-language.org