Tabbed content activated message (#2260)

* Add a message for the tabbed content activated

* Add a docstring

* Testing tabbed content activated message

* Update changelog

* Add reference to the docs about TabbedContent.TabActivated
This commit is contained in:
darrenburns
2023-04-12 10:55:14 +01:00
committed by GitHub
parent 6352ceb61b
commit f95e30870b
5 changed files with 63 additions and 4 deletions

View File

@@ -101,6 +101,10 @@ The following example contains a `TabbedContent` with three tabs.
| `active` | `str` | `""` | The `id` attribute of the active tab. Set this to switch tabs. |
## Messages
- [TabbedContent.TabActivated][textual.widgets.TabbedContent.TabActivated]
## See also

View File

@@ -61,7 +61,7 @@ The following example adds a `Tabs` widget above a text label. Press ++a++ to ad
## Messages
- [Tabs.TabActivate][textual.widgets.Tabs.TabActivated]
- [Tabs.TabActivated][textual.widgets.Tabs.TabActivated]
- [Tabs.Cleared][textual.widgets.Tabs.Cleared]
## Bindings