This method sets the state of a single widget item.
Parameter | Description |
---|---|
index | item index to modify |
state | can be WIDGETSTATE_SELECTED, WIDGETSTATE_UNSELECTED, or WIDGETSTATE_INDETERMINATE |
The boolean values true and false correspond to WIDGETSTATE_SELECTED and WIDGETSTATE_UNSELECTED, respectively.