mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
docstrings
This commit is contained in:
@@ -308,6 +308,9 @@ class Compositor:
|
||||
parent: The root widget.
|
||||
size: Size of the area to be filled.
|
||||
|
||||
Returns:
|
||||
Set of widgets that were exposed by the scroll.
|
||||
|
||||
"""
|
||||
self._cuts = None
|
||||
self._layers = None
|
||||
|
||||
@@ -18,8 +18,11 @@ ArrangeResult: TypeAlias = "tuple[list[WidgetPlacement], set[Widget]]"
|
||||
@dataclass
|
||||
class DockArrangeResult:
|
||||
placements: list[WidgetPlacement]
|
||||
"""A `WidgetPlacement` for every widget to describe it's location on screen."""
|
||||
widgets: set[Widget]
|
||||
"""A set of widgets in the arrangement."""
|
||||
spacing: Spacing
|
||||
"""Shared spacing around the widgets."""
|
||||
|
||||
_spatial_map: SpatialMap[WidgetPlacement] | None = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user