ARGBControlBinding

class ARGBControlBinding(**properties: Any)

Superclasses: ControlBinding, Object, InitiallyUnowned, Object

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

class ARGBControlBinding
classmethod new(object: Object, property_name: str, cs_a: ControlSource, cs_r: ControlSource, cs_g: ControlSource, cs_b: ControlSource) ControlBinding

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

Parameters:
  • object – the object of the property

  • property_name – the property-name to attach the control source

  • cs_a – the control source for the alpha channel

  • cs_r – the control source for the red channel

  • cs_g – the control source for the green channel

  • cs_b – the control source for the blue channel

Properties

class ARGBControlBinding
props.control_source_a: ControlSource
props.control_source_b: ControlSource
props.control_source_g: ControlSource
props.control_source_r: ControlSource

Fields

class ARGBControlBinding
cs_a
cs_b
cs_g
cs_r
cur_value
last_value
parent