mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add docstrings to the Welcome widget
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
"""Provides a Textual welcome widget."""
|
||||
|
||||
from rich.markdown import Markdown
|
||||
|
||||
from ..app import ComposeResult
|
||||
@@ -24,6 +26,13 @@ Where the fear has gone there will be nothing. Only I will remain."
|
||||
|
||||
|
||||
class Welcome(Static):
|
||||
"""A Textual welcome widget.
|
||||
|
||||
This widget can be used as a form of placeholder within a Textual
|
||||
application; although also see
|
||||
[Placeholder][textual.widgets._placeholder.Placeholder].
|
||||
"""
|
||||
|
||||
DEFAULT_CSS = """
|
||||
Welcome {
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user