github Textualize/textual v0.28.0
Who remembers Tab Clear ?

latest releases: v0.79.1, v0.79.0, v0.78.0...
15 months ago

[0.28.0] - 2023-06-19

Added

  • The devtools console now confirms when CSS files have been successfully loaded after a previous error #2716
  • Class variable CSS to screens #2137
  • Class variable CSS_PATH to screens #2137
  • Added cursor_foreground_priority and cursor_background_priority to DataTable #2736
  • Added Region.center
  • Added center parameter to Widget.scroll_to_region
  • Added origin_visible parameter to Widget.scroll_to_region
  • Added origin_visible parameter to Widget.scroll_to_center
  • Added TabbedContent.tab_count #2751
  • Added TabbedContent.add_pane #2751
  • Added TabbedContent.remove_pane #2751
  • Added TabbedContent.clear_panes #2751
  • Added TabbedContent.Cleared #2751

Fixed

  • Fixed setting TreeNode.label on an existing Tree node not immediately refreshing #2713
  • Correctly implement __eq__ protocol in DataTable #2705
  • Fixed exceptions in Pilot tests being silently ignored #2754
  • Fixed issue where internal data of OptionList could be invalid for short window after clear_options #2754
  • Fixed Tooltip causing a query_one on a lone Static to fail #2723
  • Nested widgets wouldn't lose focus when parent is disabled #2772
  • Fixed the Tabs Underline highlight getting "lost" in some extreme situations #2751

Changed

  • Breaking change: The @on decorator will now match a message class and any child classes #2746
  • Breaking change: Styles update to checkbox, radiobutton, OptionList, Select, SelectionList, Switch #2777
  • Tabs.add_tab is now optionally awaitable #2778
  • Tabs.add_tab now takes before and after arguments to position a new tab #2778
  • Tabs.remove_tab is now optionally awaitable #2778
  • Breaking change: Tabs.clear has been changed from returning self to being optionally awaitable #2778

Don't miss a new textual release

NewReleases is sending notifications on new releases.