Class
MetaBackgroundContent
Description [src]
final class Meta.BackgroundContent : GObject.Object {
/* No available fields */
}
This class handles tracking and painting the root window background.
By integrating with MetaWindowGroup
we can avoid painting parts of
the background that are obscured by other windows.
Functions
meta_background_content_new
Creates a new actor to draw the background for the given monitor.
Instance methods
meta_background_content_set_background
meta_background_content_set_gradient
meta_background_content_set_rounded_clip_bounds
Sets the bounding clip rectangle of the MetaBackgroundContent
that’s used
when a rounded clip set via meta_background_content_set_rounded_clip_radius()
is in effect, set it to NULL
to use no bounding clip, rounding the edges
of the full texture.
meta_background_content_set_rounded_clip_radius
meta_background_content_set_vignette
Methods inherited from ClutterContent (3)
clutter_content_get_preferred_size
Retrieves the natural size of the content
, if any.
Available since: 1.10
clutter_content_invalidate
Invalidates a ClutterContent
.
Available since: 1.10
clutter_content_invalidate_size
Signals that content
‘s size changed. Attached actors with request mode
set to CLUTTER_REQUEST_CONTENT_SIZE
will have a relayout queued.
Properties
Meta.BackgroundContent:background
Meta.BackgroundContent:brightness
Meta.BackgroundContent:gradient
Meta.BackgroundContent:gradient-height
Meta.BackgroundContent:gradient-max-darkness
Meta.BackgroundContent:meta-display
Meta.BackgroundContent:monitor
Meta.BackgroundContent:rounded-clip-radius
Meta.BackgroundContent:vignette
Meta.BackgroundContent:vignette-sharpness
Signals
Signals inherited from GObject (1)
GObject.Object::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.
Signals inherited from ClutterContent (2)
Clutter.Content::attached
This signal is emitted each time a ClutterContent
implementation is
assigned to a ClutterActor
.
Available since: 1.10
Clutter.Content::detached
This signal is emitted each time a ClutterContent
implementation is
removed from a ClutterActor
.
Available since: 1.10