Skip to content

Commit 4a8d37f

Browse files
committed
docs(Widget): update set_loading extended description
1 parent 8fa5640 commit 4a8d37f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/textual/widget.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,8 @@ def get_loading_widget(self) -> Widget:
953953
def set_loading(self, loading: bool) -> None:
954954
"""Set or reset the loading state of this widget.
955955
956-
A widget in a loading state will display a LoadingIndicator that obscures the widget.
956+
A widget in a loading state will display a `LoadingIndicator` or a custom widget
957+
set through overriding the `get_loading_widget` method.
957958
958959
Args:
959960
loading: `True` to put the widget into a loading state, or `False` to reset the loading state.

0 commit comments

Comments
 (0)