text-input: Add enum attributes to various arguments

Signed-off-by: onox <denkpadje@gmail.com>
This commit is contained in:
onox 2021-01-03 19:52:39 +01:00
parent ab3c1d5682
commit d10d18f3d4
No known key found for this signature in database
GPG key ID: CF5AC322CA75C647

View file

@ -113,7 +113,7 @@
<arg name="anchor" type="uint"/>
</request>
<enum name="content_hint">
<enum name="content_hint" bitfield="true">
<description summary="content hint">
Content hint is a bitmask to allow to modify the behavior of the text
input.
@ -166,8 +166,8 @@
default hints (auto completion, auto correction, auto capitalization)
should be assumed.
</description>
<arg name="hint" type="uint"/>
<arg name="purpose" type="uint"/>
<arg name="hint" type="uint" enum="content_hint" />
<arg name="purpose" type="uint" enum="content_purpose" />
</request>
<request name="set_cursor_rectangle">
@ -271,7 +271,7 @@
</description>
<arg name="index" type="uint"/>
<arg name="length" type="uint"/>
<arg name="style" type="uint"/>
<arg name="style" type="uint" enum="preedit_style" />
</event>
<event name="preedit_cursor">
@ -365,7 +365,7 @@
direction text is laid out properly.
</description>
<arg name="serial" type="uint" summary="serial of the latest known text input state"/>
<arg name="direction" type="uint"/>
<arg name="direction" type="uint" enum="text_direction" />
</event>
</interface>