Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
A GParamSpec derived structure that contains the meta data for fractional properties.
Synopsis
- newtype ParamSpecFraction = ParamSpecFraction (ManagedPtr ParamSpecFraction)
- newZeroParamSpecFraction :: MonadIO m => m ParamSpecFraction
- noParamSpecFraction :: Maybe ParamSpecFraction
- getParamSpecFractionDefDen :: MonadIO m => ParamSpecFraction -> m Int32
- setParamSpecFractionDefDen :: MonadIO m => ParamSpecFraction -> Int32 -> m ()
- getParamSpecFractionDefNum :: MonadIO m => ParamSpecFraction -> m Int32
- setParamSpecFractionDefNum :: MonadIO m => ParamSpecFraction -> Int32 -> m ()
- getParamSpecFractionMaxDen :: MonadIO m => ParamSpecFraction -> m Int32
- setParamSpecFractionMaxDen :: MonadIO m => ParamSpecFraction -> Int32 -> m ()
- getParamSpecFractionMaxNum :: MonadIO m => ParamSpecFraction -> m Int32
- setParamSpecFractionMaxNum :: MonadIO m => ParamSpecFraction -> Int32 -> m ()
- getParamSpecFractionMinDen :: MonadIO m => ParamSpecFraction -> m Int32
- setParamSpecFractionMinDen :: MonadIO m => ParamSpecFraction -> Int32 -> m ()
- getParamSpecFractionMinNum :: MonadIO m => ParamSpecFraction -> m Int32
- setParamSpecFractionMinNum :: MonadIO m => ParamSpecFraction -> Int32 -> m ()
- clearParamSpecFractionParentInstance :: MonadIO m => ParamSpecFraction -> m ()
- getParamSpecFractionParentInstance :: MonadIO m => ParamSpecFraction -> m (Maybe GParamSpec)
- setParamSpecFractionParentInstance :: MonadIO m => ParamSpecFraction -> Ptr GParamSpec -> m ()
Exported types
newtype ParamSpecFraction Source #
Memory-managed wrapper type.
Instances
Eq ParamSpecFraction Source # | |
Defined in GI.Gst.Structs.ParamSpecFraction (==) :: ParamSpecFraction -> ParamSpecFraction -> Bool # (/=) :: ParamSpecFraction -> ParamSpecFraction -> Bool # | |
WrappedPtr ParamSpecFraction Source # | |
tag ~ 'AttrSet => Constructible ParamSpecFraction tag Source # | |
Defined in GI.Gst.Structs.ParamSpecFraction new :: MonadIO m => (ManagedPtr ParamSpecFraction -> ParamSpecFraction) -> [AttrOp ParamSpecFraction tag] -> m ParamSpecFraction # |
newZeroParamSpecFraction :: MonadIO m => m ParamSpecFraction Source #
Construct a ParamSpecFraction
struct initialized to zero.
noParamSpecFraction :: Maybe ParamSpecFraction Source #
A convenience alias for Nothing
:: Maybe
ParamSpecFraction
.
Methods
Overloaded methods
Properties
defDen
default denominator
getParamSpecFractionDefDen :: MonadIO m => ParamSpecFraction -> m Int32 Source #
Get the value of the “def_den
” field.
When overloading is enabled, this is equivalent to
get
paramSpecFraction #defDen
setParamSpecFractionDefDen :: MonadIO m => ParamSpecFraction -> Int32 -> m () Source #
Set the value of the “def_den
” field.
When overloading is enabled, this is equivalent to
set
paramSpecFraction [ #defDen:=
value ]
defNum
default numerator
getParamSpecFractionDefNum :: MonadIO m => ParamSpecFraction -> m Int32 Source #
Get the value of the “def_num
” field.
When overloading is enabled, this is equivalent to
get
paramSpecFraction #defNum
setParamSpecFractionDefNum :: MonadIO m => ParamSpecFraction -> Int32 -> m () Source #
Set the value of the “def_num
” field.
When overloading is enabled, this is equivalent to
set
paramSpecFraction [ #defNum:=
value ]
maxDen
maximal denominator
getParamSpecFractionMaxDen :: MonadIO m => ParamSpecFraction -> m Int32 Source #
Get the value of the “max_den
” field.
When overloading is enabled, this is equivalent to
get
paramSpecFraction #maxDen
setParamSpecFractionMaxDen :: MonadIO m => ParamSpecFraction -> Int32 -> m () Source #
Set the value of the “max_den
” field.
When overloading is enabled, this is equivalent to
set
paramSpecFraction [ #maxDen:=
value ]
maxNum
maximal numerator
getParamSpecFractionMaxNum :: MonadIO m => ParamSpecFraction -> m Int32 Source #
Get the value of the “max_num
” field.
When overloading is enabled, this is equivalent to
get
paramSpecFraction #maxNum
setParamSpecFractionMaxNum :: MonadIO m => ParamSpecFraction -> Int32 -> m () Source #
Set the value of the “max_num
” field.
When overloading is enabled, this is equivalent to
set
paramSpecFraction [ #maxNum:=
value ]
minDen
minimal denominator
getParamSpecFractionMinDen :: MonadIO m => ParamSpecFraction -> m Int32 Source #
Get the value of the “min_den
” field.
When overloading is enabled, this is equivalent to
get
paramSpecFraction #minDen
setParamSpecFractionMinDen :: MonadIO m => ParamSpecFraction -> Int32 -> m () Source #
Set the value of the “min_den
” field.
When overloading is enabled, this is equivalent to
set
paramSpecFraction [ #minDen:=
value ]
minNum
minimal numerator
getParamSpecFractionMinNum :: MonadIO m => ParamSpecFraction -> m Int32 Source #
Get the value of the “min_num
” field.
When overloading is enabled, this is equivalent to
get
paramSpecFraction #minNum
setParamSpecFractionMinNum :: MonadIO m => ParamSpecFraction -> Int32 -> m () Source #
Set the value of the “min_num
” field.
When overloading is enabled, this is equivalent to
set
paramSpecFraction [ #minNum:=
value ]
parentInstance
super class
clearParamSpecFractionParentInstance :: MonadIO m => ParamSpecFraction -> m () Source #
Set the value of the “parent_instance
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#parentInstance
getParamSpecFractionParentInstance :: MonadIO m => ParamSpecFraction -> m (Maybe GParamSpec) Source #
Get the value of the “parent_instance
” field.
When overloading is enabled, this is equivalent to
get
paramSpecFraction #parentInstance
setParamSpecFractionParentInstance :: MonadIO m => ParamSpecFraction -> Ptr GParamSpec -> m () Source #
Set the value of the “parent_instance
” field.
When overloading is enabled, this is equivalent to
set
paramSpecFraction [ #parentInstance:=
value ]