mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
docstrings
This commit is contained in:
@@ -1095,8 +1095,12 @@ class App(Generic[ReturnType], DOMNode):
|
||||
|
||||
Args:
|
||||
*widgets: The widget(s) to mount.
|
||||
before: Optional location to mount before.
|
||||
after: Optional location to mount after.
|
||||
before: Optional location to mount before. An `int` is the index
|
||||
of the child to mount before, a `str` is a `query_one` query to
|
||||
find the widget to mount before.
|
||||
after: Optional location to mount after. An `int` is the index
|
||||
of the child to mount after, a `str` is a `query_one` query to
|
||||
find the widget to mount after.
|
||||
|
||||
Returns:
|
||||
An awaitable object that waits for widgets to be mounted.
|
||||
@@ -1121,8 +1125,12 @@ class App(Generic[ReturnType], DOMNode):
|
||||
|
||||
Args:
|
||||
widgets: An iterable of widgets.
|
||||
before: Optional location to mount before.
|
||||
after: Optional location to mount after.
|
||||
before: Optional location to mount before. An `int` is the index
|
||||
of the child to mount before, a `str` is a `query_one` query to
|
||||
find the widget to mount before.
|
||||
after: Optional location to mount after. An `int` is the index
|
||||
of the child to mount after, a `str` is a `query_one` query to
|
||||
find the widget to mount after.
|
||||
|
||||
Returns:
|
||||
An awaitable object that waits for widgets to be mounted.
|
||||
|
||||
@@ -629,8 +629,12 @@ class Widget(DOMNode):
|
||||
|
||||
Args:
|
||||
widgets: An iterable of widgets.
|
||||
before: Optional location to mount before.
|
||||
after: Optional location to mount after.
|
||||
before: Optional location to mount before. An `int` is the index
|
||||
of the child to mount before, a `str` is a `query_one` query to
|
||||
find the widget to mount before.
|
||||
after: Optional location to mount after. An `int` is the index
|
||||
of the child to mount after, a `str` is a `query_one` query to
|
||||
find the widget to mount after.
|
||||
|
||||
Returns:
|
||||
An awaitable object that waits for widgets to be mounted.
|
||||
|
||||
Reference in New Issue
Block a user