Method

MateDesktopBGCrossfadeset_start_surface

Declaration [src]

gboolean
mate_bg_crossfade_set_start_surface (
  MateBGCrossfade* fade,
  cairo_surface_t* surface
)

Description [src]

Before initiating a crossfade with mate_bg_crossfade_start() a start and end surface have to be set. This function sets the surface shown at the beginning of the crossfade effect.

Parameters

surface

Type: cairo_surface_t

The cairo surface to fade from.

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE if successful, or FALSE if the surface could not be copied.