Method

MateDesktopBGCrossfadeset_end_surface

Declaration [src]

gboolean
mate_bg_crossfade_set_end_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 end of the crossfade effect.

Parameters

surface

Type: cairo_surface_t

The cairo surface to fade to.

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.