• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<node>
2  <!-- org.gtk.GDBus.Example.ObjectManager.Animal:
3       @short_description: Example docs generated by gdbus-codegen
4       @since: 2.30
5
6       This D-Bus interface is used to describe a simple animal.
7    -->
8  <interface name="org.gtk.GDBus.Example.ObjectManager.Animal">
9    <!-- Mood: The mood of the animal.
10         @since: 2.30
11
12         Known values for this property include
13         <literal>Happy</literal> and <literal>Sad</literal>. Use the
14         org.gtk.GDBus.Example.ObjectManager.Animal.Poke() method to
15         change this property.
16
17         This property influences how often the animal jumps up and
18         down, see the
19         #org.gtk.GDBus.Example.ObjectManager.Animal::Jumped signal
20         for more details.
21    -->
22    <property name="Mood" type="s" access="read"/>
23
24    <!--
25        Poke:
26        @make_sad: Whether to make the animal sad.
27        @make_happy: Whether to make the animal happy.
28        @since: 2.30
29
30        Method used to changing the mood of the animal. See also the
31        #org.gtk.GDBus.Example.ObjectManager.Animal:Mood property.
32      -->
33    <method name="Poke">
34      <arg direction="in" type="b" name="make_sad"/>
35      <arg direction="in" type="b" name="make_happy"/>
36    </method>
37
38    <!--
39        Jumped:
40        @height: Height, in meters, that the animal jumped.
41        @since: 2.30
42
43        Emitted when the animal decides to jump.
44      -->
45    <signal name="Jumped">
46      <arg type="d" name="height"/>
47    </signal>
48
49    <!--
50        Foo:
51        Property with no <quote>since</quote> annotation (should inherit the 2.30 from its containing interface).
52      -->
53    <property name="Foo" type="s" access="read"/>
54
55    <!--
56        Bar:
57        @since: 2.36
58        Property with a later <quote>since</quote> annotation.
59      -->
60    <property name="Bar" type="s" access="read"/>
61  </interface>
62
63  <!-- org.gtk.GDBus.Example.ObjectManager.Cat:
64       @short_description: More example docs generated by gdbus-codegen
65
66       This D-Bus interface is used to describe a cat. Right now there
67       are no properties, methods or signals associated with this
68       interface so it is essentially a <ulink
69       url="http://en.wikipedia.org/wiki/Marker_interface_pattern">Marker
70       Interface</ulink>.
71
72       Note that D-Bus objects implementing this interface also
73       implement the #org.gtk.GDBus.Example.ObjectManager.Animal
74       interface.
75    -->
76  <interface name="org.gtk.GDBus.Example.ObjectManager.Cat">
77  </interface>
78</node>
79