Structured canvas arrays.
Before, TextWidget
canvas arrays had dtype object
. Now canvas arrays have dtype ("char", "U1"), ("bold", "?"), ("italic", "?"), ("underline", "?"), ("strikethrough", "?")
.
Additional changes:
add_text
method ofTextWidget
is nowadd_str
andadd_text
is now a function that adds multiline text to arbitrary views of a canvas array.- Color theming is completely revamped.
- CanvasView removed.
- Animated toggle buttons added.