Message
Similar to a Label, except it will wrap the text over multiple lines.
from appJar import gui
app=gui()
app.setFont(12)
app.addMessage("mess", """You can put a lot of text in this widget.
The text will be wrapped over multiple lines.
It's not possible to apply different styles to different words.""")
app.go()
Add Messages
-
.addMessage(title, text)
Adds a Message widget, with the specified text.
If not text is provided, the title will be used for the text. -
.addEmptyMessage(title)
Adds an empty Message widget.
Set Messages
-
.clearMessage(title)
Clears the specified Message widget. -
.setMessage(title, text)
Sets the contents of the specified Message widget, to the specified text.