Class

MateDesktopBGCrossfade

unstable since: 2.0

Description

class MateDesktop.BGCrossfade : GObject.Object
{
  priv: MateBGCrossfadePrivate*
}
No description available.

Available since: 2.0

Ancestors

Constructors

mate_bg_crossfade_new

Creates a new object to manage crossfading a window background between two #cairo_surface_ts.

unstable since: 2.0

Instance methods

mate_bg_crossfade_is_started

This function reveals whether or not fade is currently running on a window. See mate_bg_crossfade_start() for information on how to initiate a crossfade.

unstable since: 2.0

mate_bg_crossfade_set_end_surface

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.

unstable since: 2.0

mate_bg_crossfade_set_start_surface

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.

unstable since: 2.0

mate_bg_crossfade_start

This function initiates a quick crossfade between two surfaces on the background of window. Before initiating the crossfade both mate_bg_crossfade_set_start_surface() and mate_bg_crossfade_set_end_surface() need to be called. If animations are disabled, the crossfade is skipped, and the window background is set immediately to the end surface.

unstable since: 2.0

mate_bg_crossfade_start_widget

This function initiates a quick crossfade between two surfaces on the background of widget. Before initiating the crossfade both mate_bg_crossfade_set_start_surface() and mate_bg_crossfade_set_end_surface() need to be called. If animations are disabled, the crossfade is skipped, and the window background is set immediately to the end surface.

unstable since: 2.0

mate_bg_crossfade_stop

This function stops any in progress crossfades that may be happening. It’s harmless to call this function if fade is already stopped.

unstable since: 2.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

MateDesktop.BGCrossfade:height

When a crossfade is running, this is height of the fading surface.

unstable since: 2.0

MateDesktop.BGCrossfade:width

When a crossfade is running, this is width of the fading surface.

unstable since: 2.0

Signals

MateDesktop.BGCrossfade::finished

When a crossfade finishes, window will have a copy of the end surface as its background, and this signal will get emitted.

unstable since: 2.0

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

unstable since: 2.0

Class structure

struct MateDesktopBGCrossfadeClass {
  GObjectClass parent_class;
  void (* finished) (
    MateBGCrossfade* fade,
    GdkWindow* window
  );
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.
finished: void (* finished) ( MateBGCrossfade* fade, GdkWindow* window )
No description available.

Virtual methods

MateDesktop.BGCrossfadeClass.finished
No description available.

unstable since: 2.0