Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
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 C_ColorBalanceChannelValueChangedCallback = Ptr () -> Int32 -> Ptr () -> IO ()
- type ColorBalanceChannelValueChangedCallback = Int32 -> IO ()
- afterColorBalanceChannelValueChanged :: (IsColorBalanceChannel a, MonadIO m) => a -> ColorBalanceChannelValueChangedCallback -> m SignalHandlerId
- genClosure_ColorBalanceChannelValueChanged :: MonadIO m => ColorBalanceChannelValueChangedCallback -> m (GClosure C_ColorBalanceChannelValueChangedCallback)
- 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.
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 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 valueChanged signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
colorBalanceChannel #valueChanged callback
genClosure_ColorBalanceChannelValueChanged :: MonadIO m => ColorBalanceChannelValueChangedCallback -> m (GClosure C_ColorBalanceChannelValueChangedCallback) Source #
Wrap the callback into a GClosure
.
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 valueChanged signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
colorBalanceChannel #valueChanged callback