/usr/share/dbus-1/interfaces/org.kde.Spectacle.xml is in kde-spectacle 17.12.3-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | <!DOCTYPE node PUBLIC
"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<!--
This file contains the definition for the org.kde.Spectacle D-Bus interface.
Originally written by Boudhayan Gupta <bgupta@kde.org>. It may be copied
freely and modified as needed.
-->
<node xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
<interface name="org.kde.Spectacle">
<method name="StartAgent">
<doc:doc>
<doc:description>
<doc:para>Starts Spectacle and shows the GUI</doc:para>
</doc:description>
</doc:doc>
</method>
<method name="FullScreen">
<arg name="includeMousePointer" direction="in" type="b">
<doc:doc>
<doc:summary>Whether to include an image of the mouse pointer.</doc:summary>
</doc:doc>
</arg>
<doc:doc>
<doc:description>
<doc:para>Takes a full-screen screenshot.</doc:para>
<doc:para>If Spectacle was started via D-Bus, it takes a screenshot in the background without spawning the GUI and exits after the shot has been taken.</doc:para>
</doc:description>
</doc:doc>
</method>
<method name="CurrentScreen">
<arg name="includeMousePointer" direction="in" type="b">
<doc:doc>
<doc:summary>Whether to include an image of the mouse pointer.</doc:summary>
</doc:doc>
</arg>
<doc:doc>
<doc:description>
<doc:para>Takes a screenshot of the current screen.</doc:para>
<doc:para>If Spectacle was started via D-Bus, it takes a screenshot in the background without spawning the GUI and exits after the shot has been taken.</doc:para>
</doc:description>
</doc:doc>
</method>
<method name="ActiveWindow">
<arg name="includeWindowDecorations" direction="in" type="b">
<doc:doc>
<doc:summary>Whether to include the window titlebars and frames.</doc:summary>
</doc:doc>
</arg>
<arg name="includeMousePointer" direction="in" type="b">
<doc:doc>
<doc:summary>Whether to include an image of the mouse pointer.</doc:summary>
</doc:doc>
</arg>
<doc:doc>
<doc:description>
<doc:para>Takes a screenshot of the window that currently has window focus.</doc:para>
<doc:para>If Spectacle was started via D-Bus, it takes a screenshot in the background without spawning the GUI and exits after the shot has been taken.</doc:para>
</doc:description>
</doc:doc>
</method>
<method name="WindowUnderCursor">
<arg name="includeWindowDecorations" direction="in" type="b">
<doc:doc>
<doc:summary>Whether to include the window titlebars and frames.</doc:summary>
</doc:doc>
</arg>
<arg name="includeMousePointer" direction="in" type="b">
<doc:doc>
<doc:summary>Whether to include an image of the mouse pointer.</doc:summary>
</doc:doc>
</arg>
<doc:doc>
<doc:description>
<doc:para>Takes a screenshot of the window that is currently under the mouse cursor.</doc:para>
<doc:para>If Spectacle was started via D-Bus, it takes a screenshot in the background without spawning the GUI and exits after the shot has been taken.</doc:para>
</doc:description>
</doc:doc>
</method>
<method name="RectangularRegion">
<arg name="includeMousePointer" direction="in" type="b">
<doc:doc>
<doc:summary>Whether to include an image of the mouse pointer.</doc:summary>
</doc:doc>
</arg>
<doc:doc>
<doc:description>
<doc:para>Takes a screenshot of a rectangular region.</doc:para>
<doc:para>The user is prompted to select the region to capture. If Spectacle was started via D-Bus, it exits after the shot has been taken.</doc:para>
</doc:description>
</doc:doc>
</method>
<signal name="ScreenshotTaken">
<arg name="fileName" direction="out" type="s">
<doc:doc>
<doc:summary>The file name with which the screenshot was saved.</doc:summary>
</doc:doc>
</arg>
<doc:doc>
<doc:description>
<doc:para>Emitted if the screenshot was successfully taken.</doc:para>
</doc:description>
</doc:doc>
</signal>
<signal name="ScreenshotFailed">
<doc:doc>
<doc:description>
<doc:para>Emitted if the screenshot capture failed.</doc:para>
</doc:description>
</doc:doc>
</signal>
</interface>
</node>
|