setButtonEnabled

open fun setButtonEnabled(cmd: SimControlCommand, enabled: Boolean)

Parameters

cmd

the command corresponding to the button

enabled

true if you want the button to be enabled, false otherwise