MCPcopy Create free account
hub / github.com/dialect-app/dialect / _on_src_activated

Method _on_src_activated

dialect/window.py:1107–1110  ·  view source on GitHub ↗

Called on self.src_text::active signal

(self, _texview)

Source from the content-addressed store, hash-verified

1105
1106 @Gtk.Template.Callback()
1107 def _on_src_activated(self, _texview):
1108 """Called on self.src_text::active signal"""
1109 if not Settings.get().live_translation:
1110 self._on_translation()
1111
1112 @Gtk.Template.Callback()
1113 def _on_mistakes_clicked(self, *_args):

Callers

nothing calls this directly

Calls 2

_on_translationMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected