Layer.onKeyPress

機能/意味
Character entered
タイプ
Layerクラスのイベント
構文
onKeyPress(key, process=true)
引数
key  The character entered.
process  If you pass false for this argument when calling the parent class's onKeyPress, the parent class will not perform default processing (such as moving focus) for that key.
説明
 Occurs when a character is entered. Unlike Layer.onKeyDown, onKeyDown handles virtual key codes, whereas this event deals with the characters themselves. This event does not occur if the pressed key is a key that is not related to characters (such as a function key).