weston/protocol/text.xml
2012-06-21 16:41:09 -04:00

51 lines
1.5 KiB
XML

<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="input_method" 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>
<request name="commit_string">
<arg name="text" type="string"/>
<arg name="index" type="uint"/>
</request>
</interface>
</protocol>