mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add a docstring to _on_remove
This commit is contained in:
@@ -1824,6 +1824,11 @@ class App(Generic[ReturnType], DOMNode):
|
||||
await self.screen.post_message(event)
|
||||
|
||||
async def _on_remove(self, event: events.Remove) -> None:
|
||||
"""Handle a remove event.
|
||||
|
||||
Args:
|
||||
event (events.Remove): The remove event.
|
||||
"""
|
||||
|
||||
# We've been given a list of widgets to remove, but removing those
|
||||
# will also result in other (descendent) widgets being removed. So
|
||||
|
||||
Reference in New Issue
Block a user