GstController.ARGBControlBinding¶
- Subclasses:
None
Methods¶
- Inherited:
Gst.ControlBinding (5), Gst.Object (27), GObject.Object (37)
- Structs:
class |
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c |
The control source for the alpha color component |
||
r/w/c |
The control source for the blue color component |
||
r/w/c |
The control source for the green color component |
||
r/w/c |
The control source for the red color component |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
cs_a |
r |
||
cs_b |
r |
||
cs_g |
r |
||
cs_r |
r |
||
cur_value |
r |
||
last_value |
r |
||
parent |
r |
Class Details¶
- class GstController.ARGBControlBinding(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
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)[source]¶
- Parameters:
object (
Gst.Object
) – the object of the propertyproperty_name (
str
) – the property-name to attach the control sourcecs_a (
Gst.ControlSource
) – the control source for the alpha channelcs_r (
Gst.ControlSource
) – the control source for the red channelcs_g (
Gst.ControlSource
) – the control source for the green channelcs_b (
Gst.ControlSource
) – the control source for the blue channel
- Returns:
the new
GstController.ARGBControlBinding
- Return type:
Create a new control-binding that attaches the given
Gst.ControlSource
to theGObject.Object
property.
Property Details¶
- GstController.ARGBControlBinding.props.control_source_a¶
- Name:
control-source-a
- Type:
- Default Value:
- Flags:
The control source for the alpha color component
- GstController.ARGBControlBinding.props.control_source_b¶
- Name:
control-source-b
- Type:
- Default Value:
- Flags:
The control source for the blue color component
- GstController.ARGBControlBinding.props.control_source_g¶
- Name:
control-source-g
- Type:
- Default Value:
- Flags:
The control source for the green color component