set_surface_as_root_with_crossfade


Description:

[ Version ( deprecated = true , deprecated_since = "3.36" ) ]
public static BGCrossfade set_surface_as_root_with_crossfade (Screen screen, Surface surface)

Warning: set_surface_as_root_with_crossfade is deprecated since 3.36.

Set the root pixmap, and properties pointing to it.

This function differs from set_surface_as_root in that it adds a subtle crossfade animation from the current root pixmap to the new one.

Parameters:

screen

the Screen to change root background on

surface

the cairo xlib surface to set root background from

Returns:

a BGCrossfade object