Added ENABLE and DISABLE functions.

Need more tests on different widgets.