ARGBControlBinding

A value mapping object that attaches multiple control sources to a guint 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.

Constructors

this
this(void* ptr, Flag!"Take" take)
this
this(gst.object.ObjectWrap object, string propertyName, gst.control_source.ControlSource csA, gst.control_source.ControlSource csR, gst.control_source.ControlSource csG, gst.control_source.ControlSource csB)

Create a new control-binding that attaches the given #GstControlSource to the #GObject property.

Members

Functions

self
ARGBControlBinding self()

Returns this, for use in with statements.

Properties

_gType
GType _gType [@property getter]
controlSourceA
gst.control_source.ControlSource controlSourceA [@property getter]
controlSourceA
gst.control_source.ControlSource controlSourceA [@property setter]
controlSourceB
gst.control_source.ControlSource controlSourceB [@property getter]
controlSourceB
gst.control_source.ControlSource controlSourceB [@property setter]
controlSourceG
gst.control_source.ControlSource controlSourceG [@property getter]
controlSourceG
gst.control_source.ControlSource controlSourceG [@property setter]
controlSourceR
gst.control_source.ControlSource controlSourceR [@property getter]
controlSourceR
gst.control_source.ControlSource controlSourceR [@property setter]

Static functions

_getGType
GType _getGType()
builder
ARGBControlBindingGidBuilder builder()

Get builder for gstcontroller.argbcontrol_binding.ARGBControlBinding

Inherited Members

From ControlBinding

_getGType
GType _getGType()
_gType
GType _gType [@property getter]
self
ControlBinding self()

Returns this, for use in with statements.

builder
ControlBindingGidBuilder builder()

Get builder for gst.control_binding.ControlBinding

name
string name [@property getter]
object
gst.object.ObjectWrap object [@property getter]
getGValueArray
bool getGValueArray(gst.types.ClockTime timestamp, gst.types.ClockTime interval, gobject.value.Value[] values)

Gets a number of #GValues for the given controlled property starting at the requested time. The array values need to hold enough space for n_values of #GValue.

getValue
gobject.value.Value getValue(gst.types.ClockTime timestamp)

Gets the value for the given controlled property at the requested time.

isDisabled
bool isDisabled()

Checks if the control binding is disabled.

setDisabled
void setDisabled(bool disabled)

This function is used to disable a control binding for some time, i.e. gst.object.ObjectWrap.syncValues will do nothing.

syncValues
bool syncValues(gst.object.ObjectWrap object, gst.types.ClockTime timestamp, gst.types.ClockTime lastSync)

Sets the property of the object, according to the #GstControlSources that handles it and for the given timestamp.