⚠️ This documentation corresponds to the latest development branch of axmol. It might diverge from the official releases.
Axmol Engine 2.4.0-ce063c5
|
Input Method Edit Message Dispatcher. More...
#include <IMEDispatcher.h>
Public Member Functions | |
~IMEDispatcher () | |
@js NA @lua NA | |
void | dispatchInsertText (const char *text, size_t len) |
Dispatches the input text from IME. | |
void | dispatchDeleteBackward (int numChars) |
Dispatches the delete-backward operation. | |
void | dispatchControlKey (EventKeyboard::KeyCode keyCode) |
Dispatches the press control key operation. | |
std::string_view | getContentText () |
Get the content text from IMEDelegate, retrieved previously from IME. | |
void | dispatchKeyboardWillShow (IMEKeyboardNotificationInfo &info) |
@lua NA | |
void | dispatchKeyboardDidShow (IMEKeyboardNotificationInfo &info) |
@lua NA | |
void | dispatchKeyboardWillHide (IMEKeyboardNotificationInfo &info) |
@lua NA | |
void | dispatchKeyboardDidHide (IMEKeyboardNotificationInfo &info) |
@lua NA | |
Static Public Member Functions | |
static IMEDispatcher * | sharedDispatcher () |
Returns the shared IMEDispatcher object for the system. | |
Input Method Edit Message Dispatcher.
|
static |
Returns the shared IMEDispatcher object for the system.
@js NA @lua NA
void dispatchInsertText | ( | const char * | text, |
size_t | len ) |
Dispatches the input text from IME.
@lua NA
void dispatchDeleteBackward | ( | int | numChars | ) |
Dispatches the delete-backward operation.
@lua NA
void dispatchControlKey | ( | EventKeyboard::KeyCode | keyCode | ) |
Dispatches the press control key operation.
@lua NA
std::string_view getContentText | ( | ) |
Get the content text from IMEDelegate, retrieved previously from IME.
@lua NA