pypi textual 0.61.0
The Dynamic Actions release

latest releases: 8.2.8, 8.2.7, 8.2.6...
2 years ago

The highlight of this release is the ability to implement "dynamic actions", so you can provide logic about which bindings should be displayed. See the docs for details: https://textual.textualize.io/guide/actions/#dynamic-actions

[0.61.0] - 2024-05-18

Added

  • Added App.get_default_screen #4520
  • Added dynamic binding via DOMNode.check_action #4516
  • Added "focused" action namespace so you can bind a key to an action on the focused widget #4516
  • Added "focused" to allowed action namespaces #4516

Changed

  • Breaking change: Actions (as used in bindings) will no longer check the app if they are unhandled. This was undocumented anyway, and not that useful. #4516
  • Breaking change: Renamed App.namespace_bindings to active_bindings

Don't miss a new textual release

NewReleases is sending notifications on new releases.