Text Display
"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
Name | Description | Type |
---|---|---|
text | The text to display to the user | str |
size | The size of the text: 'small', 'medium', 'large' | str |
end_program | Whether the program should end after the widget is shown. Defaults to False. | bool |
full_width | Whether the input should use full screen width. Defaults to False. | bool |
button_text | What text to display on the button when the widget is not part of a Page. Defaults to 'Next'. | str |