setSkin

sets the active skin

void setSkin(string skin);
skinstringthe name of the skin. The allowed values are: "terrace", "dark", "material", "flat", "contrast-white", "contrast-black"

Example

scheduler.setSkin("flat");

Related samples

Details

If the method is called after a scheduler is initialized, it will trigger the repaint method.

If called before initialization, the method will have the same effect as the assignment of the scheduler.skin property:

scheduler.skin = "flat";
Back to top