MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / onTextFieldDetachWithIME

Method onTextFieldDetachWithIME

Source/TextInputNode.cpp:175–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175void TextInputNode::onTextFieldDetachWithIME()
176{
177 if (_displayedLabel && _cursor)
178 {
179 _textField->setString(sanitizeString(_textField->getString()));
180
181 _cursor->setVisible(false);
182
183 updateDisplayedLabel();
184 }
185
186 if (_delegate)
187 _delegate->textInputClosed(this);
188}
189
190void TextInputNode::onTextFieldChanged()
191{

Callers

nothing calls this directly

Calls 3

getStringMethod · 0.80
textInputClosedMethod · 0.80
setStringMethod · 0.45

Tested by

no test coverage detected