ToggleAction.setActive

void setActive(bool isActive) nothrow

Sets the checked state on the toggle action.

Parameters

isActivewhether the action should be checked or not