<filename>test01.py
def test():
    # Set the window title.
    Driftwood.window.title("Driftwood 2D - UI Test #1")

    # Load the widgets.
    a = Driftwood.widget.load("widgets/textbox1.json", {
        "contents": "This is a textbox that has had its text wrapped a whole danged awful lot.",
        "wrap": 110
    })
    b = Driftwood.widget.load("widgets/textbox2.json", {
        "contents": "This text will be replaced by the vars property.",
        "line_height": "0.6"
    })

    print(a)
    print(b)

<filename>test01.py
def test():
    # Set the window title.
    Driftwood.window.title("Driftwood 2D - UI Test #1")

    # Load the widgets.
    a = Driftwood.widget.load("widgets/textbox1.json", {
        "contents": "This is a textbox that has had its text wrapped a whole danged awful lot.",
        "wrap": 110
    })
    b = Driftwood.widget.load("widgets/textbox2.json", {
        "contents": "This text will be replaced by the vars property.",
        "line_height": "0.6"
    })

    print(a)
    print(b)

# Set the window title. #1") # Load the widgets.