documentation indexreference manualfunction index

Style

Function: Style (parent):

Constructs a new style, with the given style as its parent. It's expected that the result of this call will be assigned to a field of the style object.

Example

init python:
    style.my_style = Style(style.default)
    style.my_style.size = 36



documentation indexreference manualfunction index