mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add docstring to Header
This commit is contained in:
@@ -70,7 +70,11 @@ class HeaderTitle(Widget):
|
||||
|
||||
|
||||
class Header(Widget):
|
||||
"""A header widget with icon and clock."""
|
||||
"""A header widget with icon and clock.
|
||||
|
||||
Args:
|
||||
show_clock (bool, optional): True if the clock should be shown on the right of the header.
|
||||
"""
|
||||
|
||||
DEFAULT_CSS = """
|
||||
Header {
|
||||
|
||||
Reference in New Issue
Block a user