Loading [MathJax]/extensions/tex2jax.js

⚠️ This documentation corresponds to the latest development branch of axmol. It might diverge from the official releases.

 
Axmol Engine 2.4.0-ce063c5
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Modules Pages
Loading...
Searching...
No Matches
IMEDispatcher Class Reference

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 IMEDispatchersharedDispatcher ()
 Returns the shared IMEDispatcher object for the system.
 

Detailed Description

Input Method Edit Message Dispatcher.

Member Function Documentation

◆ sharedDispatcher()

static IMEDispatcher * sharedDispatcher ( )
static

Returns the shared IMEDispatcher object for the system.

@js NA @lua NA

◆ dispatchInsertText()

void dispatchInsertText ( const char * text,
size_t len )

Dispatches the input text from IME.

@lua NA

◆ dispatchDeleteBackward()

void dispatchDeleteBackward ( int numChars)

Dispatches the delete-backward operation.

@lua NA

◆ dispatchControlKey()

void dispatchControlKey ( EventKeyboard::KeyCode keyCode)

Dispatches the press control key operation.

@lua NA

◆ getContentText()

std::string_view getContentText ( )

Get the content text from IMEDelegate, retrieved previously from IME.

@lua NA


The documentation for this class was generated from the following file: