GstController.ARGBControlBinding

g GObject.InitiallyUnowned GObject.InitiallyUnowned Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gst.ControlBinding Gst.ControlBinding GstController.ARGBControlBinding GstController.ARGBControlBinding Gst.ControlBinding->GstController.ARGBControlBinding Gst.Object->Gst.ControlBinding

Subclasses:

None

Methods

Inherited:

Gst.ControlBinding (5), Gst.Object (27), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (object, property_name, cs_a, cs_r, cs_g, cs_b)

Virtual Methods

Inherited:

Gst.ControlBinding (3), Gst.Object (1), GObject.Object (7)

Properties

Inherited:

Gst.ControlBinding (1), Gst.Object (2)

Name

Type

Flags

Short Description

control-source-a

Gst.ControlSource

r/w/c

The control source for the alpha color component

control-source-b

Gst.ControlSource

r/w/c

The control source for the blue color component

control-source-g

Gst.ControlSource

r/w/c

The control source for the green color component

control-source-r

Gst.ControlSource

r/w/c

The control source for the red color component

Signals

Inherited:

Gst.Object (1), GObject.Object (1)

Fields

Inherited:

Gst.Object (1), GObject.Object (1)

Name

Type

Access

Description

cs_a

Gst.ControlSource

r

cs_b

Gst.ControlSource

r

cs_g

Gst.ControlSource

r

cs_r

Gst.ControlSource

r

cur_value

GObject.Value

r

last_value

int

r

parent

Gst.ControlBinding

r

Class Details

class GstController.ARGBControlBinding(**kwargs)
Bases:

Gst.ControlBinding

Abstract:

No

Structure:

GstController.ARGBControlBindingClass

A value mapping object that attaches multiple control sources to a int gobject properties representing a color. A control value of 0.0 will turn the color component off and a value of 1.0 will be the color level.

classmethod new(object, property_name, cs_a, cs_r, cs_g, cs_b)
Parameters:
Returns:

the new GstController.ARGBControlBinding

Return type:

Gst.ControlBinding

Create a new control-binding that attaches the given Gst.ControlSource to the GObject.Object property.

Property Details

GstController.ARGBControlBinding.props.control_source_a
Name:

control-source-a

Type:

Gst.ControlSource

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT

The control source for the alpha color component

GstController.ARGBControlBinding.props.control_source_b
Name:

control-source-b

Type:

Gst.ControlSource

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT

The control source for the blue color component

GstController.ARGBControlBinding.props.control_source_g
Name:

control-source-g

Type:

Gst.ControlSource

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT

The control source for the green color component

GstController.ARGBControlBinding.props.control_source_r
Name:

control-source-r

Type:

Gst.ControlSource

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT

The control source for the red color component