| 742 | vanish_text = "This will vanish " * 10 |
| 743 | |
| 744 | class SelApp(App): |
| 745 | |
| 746 | BINDINGS = [("space", "vanish")] |
| 747 | |
| 748 | def compose(self) -> ComposeResult: |
| 749 | yield Static(top_text) |
| 750 | yield Static(vanish_text, id="vanish") |
| 751 | |
| 752 | def action_vanish(self) -> None: |
| 753 | self.query_one("#vanish").remove() |
| 754 | |
| 755 | app = SelApp() |
| 756 | # Simulate mouse down, move to second widget, remove second widget, move mouse, mouse up |
no outgoing calls
searching dependent graphs…