summaryrefslogtreecommitdiffstats
path: root/gnome-session/org.gnome.SessionManager.Presence.xml
blob: 044197016d9e219213ff3ef75e22386c55071a48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?xml version="1.0" encoding="UTF-8" ?>
<!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">
  <interface name="org.gnome.SessionManager.Presence">

    <property name="status" type="u" access="readwrite">
      <doc:doc>
        <doc:description>
          <doc:para>
            The status of the session.
          </doc:para>
          <doc:para>
            The status parameter must be one of the following:
            <doc:list>
              <doc:item>
                <doc:term>0</doc:term>
                <doc:definition>Available</doc:definition>
              </doc:item>
              <doc:item>
                <doc:term>1</doc:term>
                <doc:definition>Invisible</doc:definition>
              </doc:item>
              <doc:item>
                <doc:term>2</doc:term>
                <doc:definition>Busy</doc:definition>
              </doc:item>
              <doc:item>
                <doc:term>3</doc:term>
                <doc:definition>Idle</doc:definition>
              </doc:item>
            </doc:list>
          </doc:para>
        </doc:description>
      </doc:doc>
    </property>
    <property name="status-text" type="s" access="readwrite">
      <doc:doc>
        <doc:description>
          <doc:para>The descriptive status for the session.
          </doc:para>
        </doc:description>
      </doc:doc>
    </property>
    <method name="SetStatus">
      <arg type="u" name="status" direction="in">
        <doc:doc>
          <doc:summary>The status value</doc:summary>
        </doc:doc>
      </arg>
      <doc:doc>
        <doc:description>
          <doc:para>Set the status value of the session.</doc:para>
        </doc:description>
      </doc:doc>
    </method>
    <method name="SetStatusText">
      <arg type="s" name="status_text" direction="in">
        <doc:doc>
          <doc:summary>The descriptive status for the session.</doc:summary>
        </doc:doc>
      </arg>
      <doc:doc>
        <doc:description>
          <doc:para>Set the descriptive status text for the session.</doc:para>
        </doc:description>
      </doc:doc>
    </method>

    <signal name="StatusChanged">
      <arg name="status" type="u">
        <doc:doc>
          <doc:summary>The new status value</doc:summary>
        </doc:doc>
      </arg>
      <doc:doc>
        <doc:description>
          <doc:para>Indicates that the session status value has changed.</doc:para>
        </doc:description>
      </doc:doc>
    </signal>
    <signal name="StatusTextChanged">
      <arg name="status_text" type="s">
        <doc:doc>
          <doc:summary>The new status text</doc:summary>
        </doc:doc>
      </arg>
      <doc:doc>
        <doc:description>
          <doc:para>Indicates that the descriptive session status text has changed.</doc:para>
        </doc:description>
      </doc:doc>
    </signal>

  </interface>
</node>