dbus: Update OSK0 protocol from phosh

No functional change. Let's just make sure people copy pasting from here
get the commented version.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/678>
This commit is contained in:
Guido Günther
2024-09-18 12:12:03 +02:00
committed by Marge Bot
parent dc13e378e6
commit 3604b93797

View File

@ -1,20 +1,31 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
<!--
sm.puri.OSK0:
This interface is exported by on screen keyboards (OSK) to
indicate and set state like visibility.
-->
<interface name="sm.puri.OSK0">
<!--
SetVisible:
@visible: %TRUE if the OSK should be shown to the user, %FALSE otherwise
Toggle keyboard visibility.
-->
<method name="SetVisible">
<arg name="visible" type="b" direction="in"/>
<doc:doc><doc:description>
Switch keyboard visibility
</doc:description></doc:doc>
<arg type="b" direction="in" name="visible"/>
</method>
<method name="GetVisible">
<arg name="visible" type="b" direction="out"/>
<doc:doc><doc:description>
Get keyboard visibility
</doc:description></doc:doc>
</method>
<property name="Visible" type="b" access="read">
</property>
<!--
Visible:
Indicates whether the on screen keyboard is currently
unfolded. %TRUE if the OSK is currently visible to the user,
%FALSE otherwise.
-->
<property name="Visible" type="b" access="read"/>
</interface>
</node>