Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- newtype ColorBalanceChannel = ColorBalanceChannel (ManagedPtr ColorBalanceChannel)
- class (GObject o, IsDescendantOf ColorBalanceChannel o) => IsColorBalanceChannel o
- toColorBalanceChannel :: (MonadIO m, IsColorBalanceChannel o) => o -> m ColorBalanceChannel
- type ColorBalanceChannelValueChangedCallback = Int32 -> IO ()
- afterColorBalanceChannelValueChanged :: (IsColorBalanceChannel a, MonadIO m) => a -> ((?self :: a) => ColorBalanceChannelValueChangedCallback) -> m SignalHandlerId
- onColorBalanceChannelValueChanged :: (IsColorBalanceChannel a, MonadIO m) => a -> ((?self :: a) => ColorBalanceChannelValueChangedCallback) -> m SignalHandlerId
Exported types
newtype ColorBalanceChannel Source #
Memory-managed wrapper type.
ColorBalanceChannel (ManagedPtr ColorBalanceChannel) |
Instances
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
(GObject o, IsDescendantOf ColorBalanceChannel o) => IsColorBalanceChannel o Source # | |
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
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getProperty, getQdata.
Setters
Signals
valueChanged
type ColorBalanceChannelValueChangedCallback Source #
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