MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / detachIME

Method detachIME

Source/Input/Keyboard.cpp:206–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206void Keyboard::detachIME() {
207 if (_imeHandler) {
208 Event detachEvent("DetachIME"_slice);
209 _imeHandler(&detachEvent);
210 _imeHandler = nullptr;
211 SharedApplication.invokeInRender(SDL_StopTextInput);
212 }
213}
214
215bool Keyboard::isIMEAttached() const {
216 return !_imeHandler.IsEmpty();

Callers

nothing calls this directly

Calls 1

invokeInRenderMethod · 0.80

Tested by

no test coverage detected