Ramu 0.7b doc
SimpleButtonBase.setEnabled()
Parameters
bool
bool: Set whether it will be enabled or not.
Description
If false, the button can not be clicked.
You can test this snippet of code here.
let btn = new SimpleButtonBase(10,10,100,100);
btn.setEnabled(false);