Skip to main content

Text Display

info

This widget is deprecated. Use the Text Display widget instead.

"Text display" adds textual information into the app.

Examples

Basic Example

The following example demonstrate some of the available functionality for read_display

from abstra.forms import display

display("Hello world!")

Parameters

NameDescriptionType
textThe text to display to the userstr
sizeThe size of the text: 'small', 'medium', 'large'str
end_programWhether the program should end after the widget is shown. Defaults to False.bool
full_widthWhether the input should use full screen width. Defaults to False.bool
button_textWhat text to display on the button when the widget is not part of a Page. Defaults to 'Next'.str