.. index:: pair: class; EE::Window::InputMethod .. _doxid-class_e_e_1_1_window_1_1_input_method: class EE::Window::InputMethod ============================= .. toctree:: :hidden: struct_EE_Window_InputMethod_State.rst Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class InputMethod { public: // typedefs typedef std::function`&, :ref:`Int32`, :ref:`Int32`)> :target:`TextEditingCb`; // structs struct :ref:`State`; // methods void :ref:`setLocation`(:ref:`Rect` rect); bool :target:`isEditing`() const; void :target:`reset`(); void :target:`stop`(); void :target:`onTextEditing`(const :ref:`String`& text, const :ref:`Int32`& start, const :ref:`Int32`& length); const :ref:`InputMethod::State`& :target:`getState`() const; void :target:`draw`(const :ref:`Vector2f`& screenPos, const :ref:`Float`& lineHeight, const :ref:`FontStyleConfig`& fontStyle, const :ref:`Color`& lineColor = Color::Transparent, const :ref:`Color`& backgroundColor = Color::Transparent, bool drawText = false); :ref:`Uint32` :target:`addTextEditingCb`(:ref:`TextEditingCb` cb); void :target:`removeTextEditingCb`(:ref:`Uint32` cbId); }; .. _details-class_e_e_1_1_window_1_1_input_method: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Methods ------- .. index:: pair: function; setLocation .. _doxid-class_e_e_1_1_window_1_1_input_method_1af4e5129cde4f46548ab7d51ae5e8f6b8: .. ref-code-block:: cpp :class: doxyrest-title-code-block void setLocation(:ref:`Rect` rect) Queues the text-input candidate location. Backend updates are coalesced globally and limited to one every 50 ms by default. Set EEPP_IME_LOCATION_UPDATE_INTERVAL_MS to a non-negative integer to override the interval (values are capped at 65535 ms); 0 applies the latest location once per rendered frame.