You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
weston/protocol/text.xml

53 lines
1.6 KiB

<protocol name="text">
<interface name="text_model" version="1">
<request name="set_surrounding_text">
<arg name="text" type="string"/>
</request>
<request name="set_cursor_index">
<arg name="index" type="uint"/>
</request>
<request name="activate"/>
<request name="deactivate"/>
<request name="set_selected_text">
<arg name="text" type="string"/>
<arg name="index" type="int"/>
</request>
<request name="set_micro_focus">
<arg name="x" type="int"/>
<arg name="y" type="int"/>
<arg name="width" type="int"/>
<arg name="height" type="int"/>
</request>
<request name="set_preedit"/>
<request name="set_content_type"/>
<event name="commit_string">
<arg name="text" type="string"/>
<arg name="index" type="uint"/>
</event>
<event name="preedit_string">
<arg name="text" type="string"/>
<arg name="index" type="uint"/>
</event>
<event name="preedit_styling"/>
<event name="key"/>
<event name="selection_replacement"/>
<event name="direction"/>
<event name="locale"/>
</interface>
<interface name="text_model_manager" version="1">
<request name="create_text_model">
<arg name="id" type="new_id" interface="text_model"/>
<arg name="surface" type="object" interface="wl_surface"/>
</request>
</interface>
<interface name="input_method" version="1">
<request name="commit_string">
<arg name="text" type="string"/>
<arg name="index" type="uint"/>
</request>
</interface>
</protocol>