2011-04-11 22:35:14 +02:00
|
|
|
<node>
|
|
|
|
<!-- org.gtk.GDBus.Example.ObjectManager.Animal:
|
2011-04-12 15:28:09 +02:00
|
|
|
@short_description: Example docs generated by gdbus-codegen
|
2011-04-12 22:17:28 +02:00
|
|
|
@since: 2.30
|
2011-04-11 22:35:14 +02:00
|
|
|
|
2011-04-12 00:32:11 +02:00
|
|
|
This D-Bus interface is used to describe a simple animal.
|
2011-04-11 22:35:14 +02:00
|
|
|
-->
|
|
|
|
<interface name="org.gtk.GDBus.Example.ObjectManager.Animal">
|
|
|
|
<!-- Mood: The mood of the animal.
|
2011-04-12 22:17:28 +02:00
|
|
|
@since: 2.30
|
2011-04-11 22:35:14 +02:00
|
|
|
|
|
|
|
Known values for this property include
|
|
|
|
<literal>Happy</literal> and <literal>Sad</literal>. Use the
|
|
|
|
org.gtk.GDBus.Example.ObjectManager.Animal.Poke() method to
|
2011-04-12 00:32:11 +02:00
|
|
|
change this property.
|
|
|
|
|
|
|
|
This property influences how often the animal jumps up and
|
|
|
|
down, see the
|
|
|
|
#org.gtk.GDBus.Example.ObjectManager.Animal::Jumped signal
|
|
|
|
for more details.
|
|
|
|
-->
|
2011-04-11 22:35:14 +02:00
|
|
|
<property name="Mood" type="s" access="read"/>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Poke:
|
|
|
|
@make_sad: Whether to make the animal sad.
|
2011-04-12 00:32:11 +02:00
|
|
|
@make_happy: Whether to make the animal happy.
|
2011-04-12 22:17:28 +02:00
|
|
|
@since: 2.30
|
2011-04-11 22:35:14 +02:00
|
|
|
|
|
|
|
Method used to changing the mood of the animal. See also the
|
|
|
|
#org.gtk.GDBus.Example.ObjectManager.Animal:Mood property.
|
|
|
|
-->
|
|
|
|
<method name="Poke">
|
|
|
|
<arg direction="in" type="b" name="make_sad"/>
|
|
|
|
<arg direction="in" type="b" name="make_happy"/>
|
|
|
|
</method>
|
|
|
|
|
2011-04-12 00:32:11 +02:00
|
|
|
<!--
|
|
|
|
Jumped:
|
|
|
|
@height: Height, in meters, that the animal jumped.
|
2011-04-12 22:17:28 +02:00
|
|
|
@since: 2.30
|
2011-04-11 22:35:14 +02:00
|
|
|
|
2011-04-12 00:32:11 +02:00
|
|
|
Emitted when the animal decides to jump.
|
|
|
|
-->
|
|
|
|
<signal name="Jumped">
|
|
|
|
<arg type="d" name="height"/>
|
|
|
|
</signal>
|
2012-10-03 17:07:57 +02:00
|
|
|
|
|
|
|
<!--
|
|
|
|
Foo:
|
|
|
|
Property with no <quote>since</quote> annotation (should inherit the 2.30 from its containing interface).
|
|
|
|
-->
|
|
|
|
<property name="Foo" type="s" access="read"/>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Bar:
|
|
|
|
@since: 2.36
|
|
|
|
Property with a later <quote>since</quote> annotation.
|
|
|
|
-->
|
|
|
|
<property name="Bar" type="s" access="read"/>
|
2011-04-12 00:32:11 +02:00
|
|
|
</interface>
|
2011-04-12 15:28:09 +02:00
|
|
|
|
|
|
|
<!-- org.gtk.GDBus.Example.ObjectManager.Cat:
|
2011-04-12 17:50:34 +02:00
|
|
|
@short_description: More example docs generated by gdbus-codegen
|
2011-04-12 15:28:09 +02:00
|
|
|
|
|
|
|
This D-Bus interface is used to describe a cat. Right now there
|
|
|
|
are no properties, methods or signals associated with this
|
|
|
|
interface so it is essentially a <ulink
|
|
|
|
url="http://en.wikipedia.org/wiki/Marker_interface_pattern">Marker
|
|
|
|
Interface</ulink>.
|
|
|
|
|
|
|
|
Note that D-Bus objects implementing this interface also
|
|
|
|
implement the #org.gtk.GDBus.Example.ObjectManager.Animal
|
|
|
|
interface.
|
|
|
|
-->
|
|
|
|
<interface name="org.gtk.GDBus.Example.ObjectManager.Cat">
|
|
|
|
</interface>
|
2011-04-11 22:35:14 +02:00
|
|
|
</node>
|