MCPcopy Create free account
hub / github.com/axmolengine/axmol / detachWithIME

Method detachWithIME

core/ui/UITextFieldEx.cpp:480–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478}
479
480bool TextFieldEx::detachWithIME()
481{
482 bool ret = IMEDelegate::detachWithIME();
483 if (ret)
484 {
485 // close keyboard
486 RenderView* renderView = _director->getRenderView();
487 if (renderView)
488 renderView->setIMEKeyboardState(false);
489 }
490 return ret;
491}
492
493void TextFieldEx::keyboardDidShow(IMEKeyboardNotificationInfo& /*info*/)
494{

Callers 1

closeIMEMethod · 0.95

Calls 1

setIMEKeyboardStateMethod · 0.45

Tested by

no test coverage detected