Back

AddSwitch

Hello World

Adds an MUI Switch to a given control.

swt = MUI.AddSwitch( parent, value, color ) → Object

See CreateSwitch for a full documentation.

Boolean
String:
  hexadecimal: “#rrggbb”, “#aarrggbb”
  colourName: “red”, “green”, ...
Object: MUI Layout or DS Layout control