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

Method setAllowedChars

Source/TextInputNode.cpp:379–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377}
378
379void TextInputNode::setAllowedChars(std::string_view allowedChars)
380{
381 _allowedChars = allowedChars;
382 _textField->setString(sanitizeString(_textField->getString()));
383 updateDisplayedLabel();
384}
385
386void TextInputNode::setString(std::string_view str)
387{

Callers

nothing calls this directly

Calls 2

getStringMethod · 0.80
setStringMethod · 0.45

Tested by

no test coverage detected