documentation indexreference manualfunction index

ui.image

Function: ui.image (im, **properties):

This loads an image, and displays it as a widget. The image may be the name of a file containing the image, or an arbitrary displayable.

Example

python:
    ui.window()  # Single child widget. Will contain the image.
    ui.image("apple.jpg")



documentation indexreference manualfunction index