AccelLabel.setAccel

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.

class AccelLabel
void
setAccel

Parameters

acceleratorKey uint

a keyval, or 0

acceleratorMods GdkModifierType

the modifier mask for the accel

Meta