Creates and adds a Switch toggle to a Layout.

app.AddSwitch( layout, text, width, height, options ) → app object: Switch

See CreateSwitch for full documentation.