All translations

Jump to navigation Jump to search

Enter a message name below to show all available translations.

Message

Found 2 translations.

NameCurrent message text
 h English (en)== Key event handling ==
The most common use case is to call filterAndAccept() for all the key event that you intends to handle. Also, for most input method, key release is not relevant and should be pass-through to application. To make input method engine to work with any user input, be sure to consider all the possible key event that may be typed by user. For example, a common error is forgetting to block certain irrelevant key in composing mode and leaking the key into the application. Also, be careful for key event with modifier, you may want to pass through such key to make application specific hotkey still accessible even when user is composing.
 h Chinese (China) (zh-cn)== 按键事件处理 ==
最常见的用例是为您打算处理的所有按键事件调用 filterAndAccept()。此外,对于大多数输入法,按键释放是不相关的,应该传递给应用程序。要使输入法引擎能够处理任何用户输入,请务必考虑用户可能键入的所有可能的按键事件。例如,一个常见的错误是在组合模式中忘记屏蔽某个不相关的密钥,并将密钥泄露到应用程序中。另外,请注意带有修饰符的键事件,您可能希望传递此类键以使应用程序特定的热键即使在用户正在编写时仍然可以访问。