enabled
Sets isEnabled on this component only - whether it responds to user input and paints in its enabled state. Disabling a container does not disable the components inside it, so disable each child you want disabled.
Return
this chain with the enabled state declared on it.
Parameters
enabled
false keeps the component out of the Tab cycle and stops its key bindings firing. A lightweight component still receives mouse events while disabled, so the listeners declared on it go on reporting; it is the widget's own listeners that read the enabled state before acting on one.