1<!DOCTYPE node PUBLIC
2'-//freedesktop//DTD D-BUS Object Introspection 1.0//EN'
3'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'>
4<node>
5
6  <!--
7      org.gnome.Shell.Introspect:
8      @short_description: Introspection interface
9
10      The interface used to introspect the state of Shell, such as running
11      applications, currently active application, etc.
12  -->
13  <interface name="org.gnome.Shell.Introspect">
14
15    <!--
16        RunningApplicationsChanged:
17        @short_description: Notifies when the running applications changes
18    -->
19    <signal name="RunningApplicationsChanged" />
20
21    <!--
22        GetRunningApplications:
23        @short_description: Retrieves the description of all running applications
24
25        Each application is associated by an application ID. The details of
26        each application consists of a varlist of keys and values. Available
27        keys are listed below.
28
29        'active-on-seats' - (as)   list of seats the application is active on
30                                   (a seat only has at most one active
31                                   application)
32    -->
33    <method name="GetRunningApplications">
34      <arg name="apps" direction="out" type="a{sa{sv}}" />
35    </method>
36
37    <!--
38        GetWindows:
39        @short_description: Retrieves the current list of windows and their properties
40
41        A window is exposed as:
42        * t ID: unique ID of the window
43        * a{sv} properties: high-level properties
44
45          Known properties:
46
47          - "title"       (s): (readonly) title of the window
48          - "app-id"      (s): (readonly) application ID of the window
49          - "wm-class"    (s): (readonly) class of the window
50          - "client-type" (u): (readonly) 0 for Wayland, 1 for X11
51          - "is-hidden"   (b): (readonly) if the window is currently hidden
52          - "has-focus"   (b): (readonly) if the window currently have
53                                          keyboard focus
54          - "width"       (u): (readonly) width of the window
55          - "height"      (u): (readonly) height of the window
56    -->
57    <method name="GetWindows">
58      <arg name="windows" direction="out" type="a{ta{sv}}" />
59    </method>
60
61    <!--
62       AnimationsEnabled:
63       @short_description: Whether the shell animations are enabled
64
65       By default determined by the org.gnome.desktop.interface enable-animations
66       gsetting, but may be overridden, e.g. if there is an active screen cast or
67       remote desktop session that asked for animations to be disabled.
68
69       Since: 2
70    -->
71    <property name="AnimationsEnabled" type="b" access="read"/>
72
73    <!--
74       ScreenSize:
75       @short_description: The size of the screen
76
77       Since: 3
78    -->
79    <property name="ScreenSize" type="(ii)" access="read"/>
80
81    <property name="version" type="u" access="read"/>
82  </interface>
83</node>
84