Changeset View
Changeset View
Standalone View
Standalone View
src/client/protocols/plasma-window-management.xml
Show All 11 Lines | 3 | <copyright><![CDATA[ | |||
---|---|---|---|---|---|
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | GNU Lesser General Public License for more details. | 14 | GNU Lesser General Public License for more details. | ||
15 | 15 | | |||
16 | You should have received a copy of the GNU Lesser General Public License | 16 | You should have received a copy of the GNU Lesser General Public License | ||
17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | ]]></copyright> | 18 | ]]></copyright> | ||
19 | 19 | | |||
20 | <interface name="org_kde_plasma_window_management" version="6"> | 20 | <interface name="org_kde_plasma_window_management" version="7"> | ||
21 | <description summary="application windows management"> | 21 | <description summary="application windows management"> | ||
22 | This interface manages application windows. | 22 | This interface manages application windows. | ||
23 | It provides requests to show and hide the desktop and emits | 23 | It provides requests to show and hide the desktop and emits | ||
24 | an event every time a window is created so that the client can | 24 | an event every time a window is created so that the client can | ||
25 | use it to manage the window. | 25 | use it to manage the window. | ||
26 | 26 | | |||
27 | Only one client can bind this interface at a time. | 27 | Only one client can bind this interface at a time. | ||
28 | </description> | 28 | </description> | ||
▲ Show 20 Lines • Show All 49 Lines • ▼ Show 20 Line(s) | |||||
78 | <event name="window"> | 78 | <event name="window"> | ||
79 | <description summary="notify the client that a window was mapped"> | 79 | <description summary="notify the client that a window was mapped"> | ||
80 | This event will be sent immediately after a window is mapped. | 80 | This event will be sent immediately after a window is mapped. | ||
81 | </description> | 81 | </description> | ||
82 | <arg name="id" type="uint" summary="internal window Id"/> | 82 | <arg name="id" type="uint" summary="internal window Id"/> | ||
83 | </event> | 83 | </event> | ||
84 | </interface> | 84 | </interface> | ||
85 | 85 | | |||
86 | <interface name="org_kde_plasma_window" version="6"> | 86 | <interface name="org_kde_plasma_window" version="7"> | ||
87 | <description summary="interface to control application windows"> | 87 | <description summary="interface to control application windows"> | ||
88 | Manages and control an application window. | 88 | Manages and control an application window. | ||
89 | 89 | | |||
90 | Only one client can bind this interface at a time. | 90 | Only one client can bind this interface at a time. | ||
91 | </description> | 91 | </description> | ||
92 | 92 | | |||
93 | <request name="set_state"> | 93 | <request name="set_state"> | ||
94 | <description summary="set window state"> | 94 | <description summary="set window state"> | ||
▲ Show 20 Lines • Show All 64 Lines • ▼ Show 20 Line(s) | 141 | --> | |||
159 | </request> | 159 | </request> | ||
160 | 160 | | |||
161 | <request name="destroy" type="destructor" since="4"> | 161 | <request name="destroy" type="destructor" since="4"> | ||
162 | <description summary="remove resource for the org_kde_plasma_window"> | 162 | <description summary="remove resource for the org_kde_plasma_window"> | ||
163 | Removes the resource bound for this org_kde_plasma_window. | 163 | Removes the resource bound for this org_kde_plasma_window. | ||
164 | </description> | 164 | </description> | ||
165 | </request> | 165 | </request> | ||
166 | 166 | | |||
167 | <request name="get_icon" since="7"> | ||||
168 | <description summary="Requests to get the window icon"> | ||||
169 | The compositor will write the window icon into the provided file descriptor. | ||||
170 | The data is a serialized QIcon with QDataStream. | ||||
171 | </description> | ||||
172 | <arg name="fd" type="fd" summary="file descriptor for the icon"/> | ||||
173 | </request> | ||||
174 | | ||||
167 | <event name="title_changed"> | 175 | <event name="title_changed"> | ||
168 | <description summary="window title has been changed"> | 176 | <description summary="window title has been changed"> | ||
169 | This event will be sent as soon as the window title is changed. | 177 | This event will be sent as soon as the window title is changed. | ||
170 | </description> | 178 | </description> | ||
171 | <arg name="title" type="string" summary="window title"/> | 179 | <arg name="title" type="string" summary="window title"/> | ||
172 | </event> | 180 | </event> | ||
173 | 181 | | |||
174 | <event name="app_id_changed"> | 182 | <event name="app_id_changed"> | ||
▲ Show 20 Lines • Show All 60 Lines • ▼ Show 20 Line(s) | 242 | <description summary="The geometry of this window in absolute coordinates"> | |||
235 | This event will be sent whenever the window geometry of this org_kde_plasma_window changes. | 243 | This event will be sent whenever the window geometry of this org_kde_plasma_window changes. | ||
236 | The coordinages are in absolute coordinates of the windowing system. | 244 | The coordinages are in absolute coordinates of the windowing system. | ||
237 | </description> | 245 | </description> | ||
238 | <arg name="x" type="int" summary="x position of the org_kde_plasma_window"/> | 246 | <arg name="x" type="int" summary="x position of the org_kde_plasma_window"/> | ||
239 | <arg name="y" type="int" summary="y position of the org_kde_plasma_window"/> | 247 | <arg name="y" type="int" summary="y position of the org_kde_plasma_window"/> | ||
240 | <arg name="width" type="uint" summary="width of the org_kde_plasma_window"/> | 248 | <arg name="width" type="uint" summary="width of the org_kde_plasma_window"/> | ||
241 | <arg name="height" type="uint" summary="height of the org_kde_plasma_window"/> | 249 | <arg name="height" type="uint" summary="height of the org_kde_plasma_window"/> | ||
242 | </event> | 250 | </event> | ||
251 | | ||||
252 | <event name="icon_changed" since="7"> | ||||
253 | <description summary="The icon of the window changed"> | ||||
254 | This event will be sent whenever the icon of the window changes, but there is no themed | ||||
255 | icon name. Common examples are Xwayland windows which have a pixmap based icon. | ||||
256 | | ||||
257 | The client can request the icon using get_icon. | ||||
258 | </description> | ||||
259 | </event> | ||||
243 | </interface> | 260 | </interface> | ||
244 | </protocol> | 261 | </protocol> |