textual/docs/api/await_remove.md
Will McGugan fddb6ebb08 docs
2024-07-19 12:19:46 +01:00

530 B

title
textual.await_remove

This module contains the AwaitRemove class. An AwaitRemove object is returned by [Widget.remove()][textual.widget.Widget.remove] and other methods which remove widgets. You can await the return value if you need to know exactly when the widget(s) have been removed. Or you can ignore it and Textual will wait for the widgets to be removed before handling the next message.

!!! note

You are unlikely to need to explicitly create these objects yourself.

::: textual.await_remove