MCPcopy Index your code
hub / github.com/Textualize/textual / SelApp

Class SelApp

tests/test_widget.py:744–753  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

test_select_removeFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_select_removeFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…