We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pane
tab
We tried adding an event listener for a tab change using the docs here, but couldn't get it to work: https://textual.textualize.io/guide/events/#applying-css-selectors-to-arbitrary-attributes. Should the docs be updated to use pane instead of tab, or are we doing something wrong? Specifically this snippet:
@on(TabbedContent.TabActivated, tab="#home") def home_tab(self) -> None: self.log("Switched back to home tab.")
I got it working, I think it's related to the breaking change described in https://github.com/Textualize/textual/blob/main/CHANGELOG.md#0460---2023-12-17
Breaking change: tab is no longer a @on decorator selector for TabbedContent.TabActivated -- use pane instead #3815
The text was updated successfully, but these errors were encountered:
We found the following entries in the FAQ which you may find helpful:
Feel free to close this issue if you found an answer in the FAQ. Otherwise, please give us a little time to review.
This is an automated reply, generated by FAQtory
Sorry, something went wrong.
Don't forget to star the repository!
Follow @textualizeio for Textual updates.
Successfully merging a pull request may close this issue.
We tried adding an event listener for a tab change using the docs here, but couldn't get it to work: https://textual.textualize.io/guide/events/#applying-css-selectors-to-arbitrary-attributes. Should the docs be updated to use
pane
instead oftab
, or are we doing something wrong? Specifically this snippet:I got it working, I think it's related to the breaking change described in https://github.com/Textualize/textual/blob/main/CHANGELOG.md#0460---2023-12-17
The text was updated successfully, but these errors were encountered: