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

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

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