MCPcopy
hub / github.com/Textualize/textual / handle_ok

Method handle_ok

tests/test_screens.py:565–566  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

563
564 @on(Button.Pressed, "#ok")
565 def handle_ok(self) -> None:
566 self.dismiss(True) # Changed the `dismiss` result to compatible type
567
568 class ExampleApp(App):
569 BINDINGS = [("i", "info", "Info")]

Callers

nothing calls this directly

Calls 1

dismissMethod · 0.80

Tested by

no test coverage detected