AccelLabel.setAccel

void setAccel(uint acceleratorKey, gdk.types.ModifierType acceleratorMods)

Manually sets a keyval and modifier mask as the accelerator rendered by accel_label.

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

acceleratorKeya keyval, or 0
acceleratorModsthe modifier mask for the accel