renpy/doc/reference/functions/Style - Ren'Py

documentation index ◦ reference manual ◦ function 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 index ◦ reference manual ◦ function index