DirectControlBinding
Superclasses: ControlBinding
, Object
, InitiallyUnowned
, Object
- Constructors:
DirectControlBinding(**properties)
new(object:Gst.Object, property_name:str, cs:Gst.ControlSource) -> Gst.ControlBinding
new_absolute(object:Gst.Object, property_name:str, cs:Gst.ControlSource) -> Gst.ControlBinding
Constructors
- class DirectControlBinding
- classmethod new(object: Object, property_name: str, cs: ControlSource) ControlBinding
Create a new control-binding that attaches the
ControlSource
to theObject
property. It will map the control source range [0.0 … 1.0] to the full target property range, and clip all values outside this range.- Parameters:
object – the object of the property
property_name – the property-name to attach the control source
cs – the control source
- classmethod new_absolute(object: Object, property_name: str, cs: ControlSource) ControlBinding
Create a new control-binding that attaches the
ControlSource
to theObject
property. It will directly map the control source values to the target property range without any transformations.Added in version 1.6.
- Parameters:
object – the object of the property
property_name – the property-name to attach the control source
cs – the control source
Properties
- class DirectControlBinding
-
- props.control_source: ControlSource