Copyright © 2020 The Qt Company Ltd. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the copyright holders not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The copyright holders make no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. The qt_text_input_method interface represents input method events associated with a seat, and is intended to exactly match the internal events of the Qt framework. Destroy the qt_text_input_method object. Enable text input in a surface (usually when a text entry inside of it has focus). This can be called before or after a surface gets text (or keyboard) focus via the enter event. Text input to a surface is only active when it has the current text (or keyboard) focus and is enabled. Disable text input in a surface (typically when there is no focus on any text entry inside the surface). Notification that this seat's text-input focus is on a certain surface. When the seat has the keyboard capability the text-input focus follows the keyboard focus. Notification that this seat's text-input focus is no longer on a certain surface. The leave notification is sent before the enter notification for the new focus. When the seat has the keyboard capability the text-input focus follows the keyboard focus. A QKeyEvent has been sent from the input method. Starts an input method event. This can be followed by any number of input_method_event_attribute events and will always be finished by an end_input_method_event. Appends an attribute to the input method event with the given serial. Must be preceded by a start_input_method_event and concluded by a an end_input_method_event. See documentation of QInputMethodEvent for details on the attributes. Concludes a previously started input method event. Together with the preceding input_method_event_attribute events with the same serial, this should be converted into a QInputMethodEvent. Event to notify client that the visibility of the input method has been changed. Event to notify client that the keyboard rectangle of the input method has been changed. Event to notify client that the locale of the input method has been changed. Event to notify client that the input direction of the input method has been changed. Request for the input method to reset. Corresponds to QInputMethod::reset(). Request for the input method to commit its current content. Corresponds to QInputMethod::commit(). Passes a mouse click or context menu request from the client to the server. Corresponds to QInputMethod::invokeAction(). Notifies the server of the client's current input method hints. Notifies the server of the client's current cursor rectangle. Notifies the server of the client's current cursor position. Notifies the server of the client's current surrounding text and its offset in the complete text. Notifies the server of the client's current anchor position. Notifies the server of the client's current absolute cursor position. Notifies the server of the client's current preferred language. Starts an update sequence to notify the server that the client's state has changed. This is followed by any number of update requests for specific parts of the state and concluded by an end_update request. Concludes the previously started update request. Requests that the input panel of the input method is visible. Requests that the input panel of the input method is not visible. Sent on receipt of an end_input_method_event to acknowledge that the client has received and handled the event. Manages qt_text_input_method objects. Destroy the qt_text_input_method_manager object. Creates a new text-input-method object for a given seat.