| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
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.
- newtype ColorBalanceChannel = ColorBalanceChannel (ManagedPtr ColorBalanceChannel)
- class GObject o => IsColorBalanceChannel o
- toColorBalanceChannel :: (MonadIO m, IsColorBalanceChannel o) => o -> m ColorBalanceChannel
- noColorBalanceChannel :: Maybe ColorBalanceChannel
- type C_ColorBalanceChannelValueChangedCallback = Ptr () -> Int32 -> Ptr () -> IO ()
- type ColorBalanceChannelValueChangedCallback = Int32 -> IO ()
- afterColorBalanceChannelValueChanged :: (IsColorBalanceChannel a, MonadIO m) => a -> ColorBalanceChannelValueChangedCallback -> m SignalHandlerId
- genClosure_ColorBalanceChannelValueChanged :: ColorBalanceChannelValueChangedCallback -> IO Closure
- mk_ColorBalanceChannelValueChangedCallback :: C_ColorBalanceChannelValueChangedCallback -> IO (FunPtr C_ColorBalanceChannelValueChangedCallback)
- noColorBalanceChannelValueChangedCallback :: Maybe ColorBalanceChannelValueChangedCallback
- onColorBalanceChannelValueChanged :: (IsColorBalanceChannel a, MonadIO m) => a -> ColorBalanceChannelValueChangedCallback -> m SignalHandlerId
- wrap_ColorBalanceChannelValueChangedCallback :: ColorBalanceChannelValueChangedCallback -> C_ColorBalanceChannelValueChangedCallback
Exported types
newtype ColorBalanceChannel Source #
Memory-managed wrapper type.
Constructors
| ColorBalanceChannel (ManagedPtr ColorBalanceChannel) |
class GObject o => IsColorBalanceChannel o Source #
Type class for types which can be safely cast to ColorBalanceChannel, for instance with toColorBalanceChannel.
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.
noColorBalanceChannel :: Maybe ColorBalanceChannel Source #
A convenience alias for Nothing :: Maybe ColorBalanceChannel.
Signals
valueChanged
type C_ColorBalanceChannelValueChangedCallback = Ptr () -> Int32 -> Ptr () -> IO () Source #
Type for the callback on the (unwrapped) C side.
type ColorBalanceChannelValueChangedCallback Source #
Fired when the value of the indicated channel has changed.
afterColorBalanceChannelValueChanged :: (IsColorBalanceChannel a, MonadIO m) => a -> ColorBalanceChannelValueChangedCallback -> m SignalHandlerId Source #
Connect a signal handler for the “value-changed” signal, to be run after the default handler.
When overloading is enabled, this is equivalent to
after colorBalanceChannel #valueChanged callback
genClosure_ColorBalanceChannelValueChanged :: ColorBalanceChannelValueChangedCallback -> IO Closure Source #
Wrap the callback into a Closure.
mk_ColorBalanceChannelValueChangedCallback :: C_ColorBalanceChannelValueChangedCallback -> IO (FunPtr C_ColorBalanceChannelValueChangedCallback) Source #
Generate a function pointer callable from C code, from a C_ColorBalanceChannelValueChangedCallback.
noColorBalanceChannelValueChangedCallback :: Maybe ColorBalanceChannelValueChangedCallback Source #
A convenience synonym for .Nothing :: Maybe ColorBalanceChannelValueChangedCallback
onColorBalanceChannelValueChanged :: (IsColorBalanceChannel a, MonadIO m) => a -> ColorBalanceChannelValueChangedCallback -> m SignalHandlerId Source #
Connect a signal handler for the “value-changed” signal, to be run before the default handler.
When overloading is enabled, this is equivalent to
on colorBalanceChannel #valueChanged callback