MCPcopy Create free account
hub / github.com/EasyIME/PIME / destroySession

Method destroySession

python/input_methods/rime/rime_ime.py:178–184  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

176 rime.clear_composition(self.session_id)
177
178 def destroySession(self):
179 self.clear()
180 if self.session_id:
181 rime.destroy_session(self.session_id)
182 self.session_id = None
183 #rime.finalize()
184 #self.style = None
185
186 def getKeyState(self, keyCode):
187 return WinDLL("User32.dll").GetKeyState(keyCode)

Callers 4

onDeactivateMethod · 0.95
onCommandMethod · 0.95

Calls 1

clearMethod · 0.95

Tested by

no test coverage detected