setAccelerator

fun setAccelerator(accelerator: String?): Promise<Void>(source)

Sets the accelerator for this menu item.