ShortcutLabel.setDisabledText

void setDisabledText(string disabledText)

Sets the text to be displayed by self when no accelerator is set.

Parameters

disabledTextthe text to be displayed when no accelerator is set