documentation index ◦ reference manual ◦ function index

# Style.set_parent

Method: | Style.set_parent | (parent):

Changes the parent of this style to be parent.

    init python:
        # Make prompts look just like labels.
        style.prompt.clear()
        style.prompt.set_parent(style.label)
        style.prompt_text.clear()
        style.prompt_text.set_parent(style.label_text)

documentation index ◦ reference manual ◦ function index