From 029cfb4e867813e7d665d676dcfce347beb156dc Mon Sep 17 00:00:00 2001 From: Darren Burns Date: Thu, 6 Oct 2022 16:41:23 +0100 Subject: [PATCH] Add docstring to Header --- src/textual/widgets/_header.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/textual/widgets/_header.py b/src/textual/widgets/_header.py index 3ef5ad29c..b75418a1a 100644 --- a/src/textual/widgets/_header.py +++ b/src/textual/widgets/_header.py @@ -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 {