Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/textual/widgets/_tabbed_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,10 @@ def __init__(
Args:
*titles: Positional argument will be used as title.
initial: The id of the initial tab, or empty string to select the first tab.
name: The name of the button.
id: The ID of the button in the DOM.
classes: The CSS classes of the button.
disabled: Whether the button is disabled or not.
name: The name of the tabbed content.
id: The ID of the tabbed content in the DOM.
classes: The CSS classes of the tabbed content.
disabled: Whether the tabbed content is disabled or not.
"""
self.titles = [self.render_str(title) for title in titles]
self._tab_content: list[Widget] = []
Expand Down
4 changes: 2 additions & 2 deletions src/textual/widgets/_tabs.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,10 +328,10 @@ def __init__(
Args:
*tabs: Positional argument should be explicit Tab objects, or a str or Text.
active: ID of the tab which should be active on start.
name: Optional name for the input widget.
name: Optional name for the tabs widget.
id: Optional ID for the widget.
classes: Optional initial classes for the widget.
disabled: Whether the input is disabled or not.
disabled: Whether the widget is disabled or not.
"""
self._tabs_counter = 0

Expand Down
Loading