One item of UI.setCustomSettings: one switch row in the settings dialog (UI.CustomSettingItem).
Called immediately when the switch is toggled.
The new state of the switch.
Description shown under the label.
State of the switch, or a function returning it (called again after each toggle).
Label of the row.
One item of UI.setCustomSettings: one switch row in the settings dialog (UI.CustomSettingItem).