gi-gstvideo-1.0.25: GStreamerVideo bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GstVideo.Objects.ColorBalanceChannel

Description

The ColorBalanceChannel object represents a parameter for modifying the color balance implemented by an element providing the ColorBalance interface. For example, Hue or Saturation.

Synopsis

Exported types

class (GObject o, IsDescendantOf ColorBalanceChannel o) => IsColorBalanceChannel o Source #

Type class for types which can be safely cast to ColorBalanceChannel, for instance with toColorBalanceChannel.

Instances

Instances details
(GObject o, IsDescendantOf ColorBalanceChannel o) => IsColorBalanceChannel o Source # 
Instance details

Defined in GI.GstVideo.Objects.ColorBalanceChannel

toColorBalanceChannel :: (MonadIO m, IsColorBalanceChannel o) => o -> m ColorBalanceChannel Source #

Cast to ColorBalanceChannel, for types for which this is known to be safe. For general casts, use castTo.

Methods

Signals

valueChanged

type ColorBalanceChannelValueChangedCallback Source #

Arguments

 = Int32

value: The new value

-> IO () 

Fired when the value of the indicated channel has changed.

afterColorBalanceChannelValueChanged :: (IsColorBalanceChannel a, MonadIO m) => a -> ((?self :: a) => ColorBalanceChannelValueChangedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the valueChanged signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after colorBalanceChannel #valueChanged callback

By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

onColorBalanceChannelValueChanged :: (IsColorBalanceChannel a, MonadIO m) => a -> ((?self :: a) => ColorBalanceChannelValueChangedCallback) -> m SignalHandlerId Source #

Connect a signal handler for the valueChanged signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on colorBalanceChannel #valueChanged callback