theme

Typeproperty
Dictionarywidget.switchbutton
LibrarySwitch Button
Syntax
get the theme of <widget>
set the theme of <widget> to <pWidgetTheme>
Associationscom.livecode.widget.switchbutton
Summary

Specifies the theme to use when drawing the switch button.

Values
NameTypeDescription
Value

The theme of the switch button is a name identifying the style to use when drawing it.

Description

Use the theme property to control the general appearance of the switch button. The currently-supported values are "native", "iOS" and "Android".

Note: The value of the theme property is not saved by the switch button. Set the theme property to preview the way the switch button will appear when used on an Android or iOS device.