mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Docstring for tabs widget
This commit is contained in:
@@ -51,7 +51,7 @@ class BasicApp(App):
|
||||
self.bind("d", "toggle_class('#footer', 'dim')")
|
||||
|
||||
def on_key(self, event: events.Key) -> None:
|
||||
self.tabs.active_tab_name = self.tab_keys.get(event.key, "one")
|
||||
self.tabs._active_tab_name = self.tab_keys.get(event.key, "one")
|
||||
|
||||
def on_mount(self):
|
||||
"""Build layout here."""
|
||||
|
||||
Reference in New Issue
Block a user