ClutterGst.Aspectratio

g Clutter.Content Clutter.Content ClutterGst.Content ClutterGst.Content Clutter.Content->ClutterGst.Content ClutterGst.Aspectratio ClutterGst.Aspectratio ClutterGst.Content->ClutterGst.Aspectratio GObject.GInterface GObject.GInterface GObject.GInterface->Clutter.Content GObject.Object GObject.Object GObject.Object->ClutterGst.Content

Subclasses:

None

Methods

Inherited:

ClutterGst.Content (9), GObject.Object (37), Clutter.Content (2)

Structs:

GObject.ObjectClass (5)

class

new ()

Virtual Methods

Inherited:

ClutterGst.Content (1), GObject.Object (7), Clutter.Content (5)

Properties

Inherited:

ClutterGst.Content (5)

Name

Type

Flags

Short Description

fill-allocation

bool

r/w

Fill allocation

paint-borders

bool

r/w

Paint borders on side of video

Signals

Inherited:

ClutterGst.Content (1), GObject.Object (1), Clutter.Content (2)

Fields

Inherited:

ClutterGst.Content (1), GObject.Object (1), Clutter.Content (2)

Name

Type

Access

Description

parent

ClutterGst.Content

r

Class Details

class ClutterGst.Aspectratio(**kwargs)
Bases:

ClutterGst.Content

Abstract:

No

Structure:

ClutterGst.AspectratioClass

Implementation of ClutterGst.Content that displays video streams with respects to their aspect ratio.

The ClutterGst.Aspectratio structure contains only private data and should not be accessed directly.

classmethod new()
Returns:

a new ClutterGst.Aspectratio instance

Return type:

Clutter.Content

Property Details

ClutterGst.Aspectratio.props.fill_allocation
Name:

fill-allocation

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Whether the content should fill its allocation with video rather than adding borders.

New in version 3.0.

ClutterGst.Aspectratio.props.paint_borders
Name:

paint-borders

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Whether or not paint borders on the sides of the video

New in version 3.0.