The Freddy's Revenge Release
This versions updates the demo app. The previous demo was written quite a while ago and needed a refresh. It's not quite finished (there are plenty more widgets to cover), but it is still a bug improvement over the old one.
python -m textual
Give it a shot, we think it is pretty fun to play with.
Screen.Recording.2024-10-25.at.16.02.46.mov
There are a number of other updates in this release, and some under-the-hood changes for even smoother updates and optimizations. See below for the full list...
Enjoy!
[0.85.0] - 2024-10-25
Changed
- Grid will now size children to the maximum height of a row #5113
- Markdown links will be opened with
App.open_urlautomatically #5113 - The universal selector (
*) will now not match widgets with the class-textual-system(scrollbars, notifications etc) #5113 - Renamed
Screen.can_viewandWidget.can_viewtoScreen.can_view_entireandWidget.can_view_entire#5174
Added
- Added Link widget #5113
- Added
open_linkstoMarkdownandMarkdownViewerwidgets #5113 - Added
App.DEFAULT_MODE#5113 - Added
Containers.HorizontalGroupandContainers.VerticalGroup#5113 - Added
$,£,€,(,)symbols to Digits #5113 - Added
Button.actionparameter to invoke action when clicked #5113 - Added
immediateparameter to scroll methods #5164 - Added
textual._loop.loop_from_index#5164 - Added
min_colorandmax_colorto Sparklines constructor, which take precedence over CSS #5174 - Added new demo
python -m textual, not quite finished but better than the old one #5174 - Added
Screen.can_view_partialandWidget.can_view_partial#5174 - Added
App.is_webproperty to indicate if the app is running via a web browser #5128 EnterandLeaveevents can now be used with theondecorator #5159
Fixed
- Fixed glitchy ListView #5163