SetEnable() is used to enable widgets. Works similarly to the enable XML attribute, but overrides it if the attribute and this method are both used.
Syntax
<widget_id>.SetEnable(<BOOLEAN>)
Parameters
|
<widget_id> |
id of the widget (STRING) |
|
<BOOLEAN> |
set to TRUE to enable the widget |