Skip to content

The On decorator

Compare
Choose a tag to compare
@willmcgugan willmcgugan released this 03 May 12:27
· 3397 commits to main since this release
e5c54a3

https://textual.textualize.io/blog/2023/05/03/textual-0230-improves-message-handling/

[0.23.0] - 2023-05-03

Fixed

  • Fixed outline top and bottom not handling alpha - #2371
  • Fixed !important not applying to align #2420
  • Fixed !important not applying to border #2420
  • Fixed !important not applying to content-align #2420
  • Fixed !important not applying to outline #2420
  • Fixed !important not applying to overflow #2420
  • Fixed !important not applying to scrollbar-size #2420
  • Fixed outline-right not being recognised #2446

Changed

  • Setting attributes with a compute_ method will now raise an AttributeError #2383
  • Unknown psuedo-selectors will now raise a tokenizer error (previously they were silently ignored) #2445
  • Breaking change: DirectoryTree.FileSelected.path is now always a Path #2448
  • Breaking change: Directorytree.load_directory renamed to Directorytree._load_directory #2448
  • Unknown pseudo-selectors will now raise a tokenizer error (previously they were silently ignored) #2445

Added

  • Watch methods can now optionally be private #2382
  • Added DirectoryTree.path reactive attribute #2448
  • Added DirectoryTree.FileSelected.node #2463
  • Added DirectoryTree.reload #2448
  • Added textual.on decorator #2398