documentation index ◦ reference manual ◦ function index

# ui.detached

Function: | ui.detached | ():

This function prevents the next widget from being added to a widget or layer. Since the ui functions return displayables, this can be used to create a displayable using only ui functions.

    init python:
        ui.detached()
        text = ui.text("Hello, World")

    image text = text

documentation index ◦ reference manual ◦ function index