Back
AddSwitch
Hello World
Creates and adds a Switch toggle to a Layout.
app.AddSwitch(
layout
,
text
,
width
,
height
,
options
) →
app object:
Switch
See
CreateSwitch
for full documentation.
String
Number:
fraction (0..1)
String:
comma
“,”
separated:
“Monospace”
,
“Custom”
,
“NoPad”
,
“FillX/Y”
,
“NoSound”
app object:
Layout