text: Add show/hide_input_panel requests

Allows to show/hide the input panel (virtual keyboard) more independent
of focus (some applications might to require additionaly click on a
focused entry to show the input panel).

Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
This commit is contained in:
Jan Arne Petersen
2013-01-31 15:52:21 +01:00
committed by Kristian Høgsberg
parent 0eabcaafae
commit 6138197337
4 changed files with 81 additions and 3 deletions
+16
View File
@@ -140,6 +140,16 @@
</request>
<request name="commit">
</request>
<request name="show_input_panel">
<description summary="show input panels">
Requests input panels (virtual keyboard) to show.
</description>
</request>
<request name="hide_input_panel">
<description summary="hide input panels">
Requests input panels (virtual keyboard) to hide.
</description>
</request>
<event name="commit_string">
<description summary="commit">
Notify when text should be inserted into the editor widget. The text
@@ -248,6 +258,12 @@
destroyed.
</description>
</event>
<event name="input_panel_state">
<description summary="state of the input panel">
Notify when the visibility state of the input panel changed.
</description>
<arg name="state" type="uint"/>
</event>
</interface>
<interface name="text_model_factory" version="1">