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

Method theme_change

examples/code_browser.py:52–54  ·  view source on GitHub ↗

Force the syntax to use a different theme.

(_signal)

Source from the content-addressed store, hash-verified

50 self.query_one(DirectoryTree).focus()
51
52 def theme_change(_signal) -> None:
53 """Force the syntax to use a different theme."""
54 self.watch_path(self.path)
55
56 self.theme_changed_signal.subscribe(self, theme_change)
57

Callers

nothing calls this directly

Calls 1

watch_pathMethod · 0.95

Tested by

no test coverage detected