This site permanently moved to
https://droidscript.github.io
. Please update links accordingly.
You are being forwarded automatically in 3...
[stay here]
Back
AddToggle
JS
Py
Hello World
Creates and adds a Toggle to a Layout.
app.AddToggle(
layout
,
text
,
width=-1
,
height=-1
,
options?
) →
app object:
Toggle
See
CreateToggle
for full documentation.
String
Number:
fraction (0..1)
String:
comma
“,”
separated:
“Monospace”
,
“Custom”
,
“NoPad”
,
“FillX/Y”
,
“NoSound”
app object:
Layout
loading