slide a surface from a location to another

Ask the compositor to move the surface from a location to another with a slide animation.

The from argument provides a clue about where the slide animation begins, offset is the distance from screen edge to begin the animation.

set_location(location: uint)
Argument
Type
Description
locationuint
set_offset(offset: int)
Argument
Type
Description
offsetint
release()
release the slide object
location { left, top, right, bottom } 
Argument
Value
Description
left0
top1
right2
bottom3

Compositor Support

org_kde_kwin_slide_manager↓
Compositors
CageCage0.3.0
x
COSMICCOSMIC1.11.0
x
flakewm3.0.5
1
GameScopeGameScope3.17.0
x
HyprlandHyprland0.57.2
x
Jay1.14.0
x
KWinKWin6.7
x
LabwcLabwc0.20.2
x
LouvreLouvre2.14.1
x
MangoMango0.16.3
x
MirMir2.26
x
MuffinMuffin6.7.4
x
MutterMutter51
x
niriniri26.04
x
phocphoc0.55
x
Pila0.5.1
x
QtileQtile0.37.1
x
riverriver0.5.0
x
SwaySway1.11
x
TreelandTreeland0.8.0
x
WayfireWayfire0.9.0
x
WestonWeston15.0.1
x

SPDX-FileCopyrightText: 2015 Martin Gräßlin SPDX-FileCopyrightText: 2015 Marco Martin

SPDX-License-Identifier: LGPL-2.1-or-later