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 |
Encoding profiles for containers. Keeps track of a list of EncodingProfile
Synopsis
- newtype EncodingContainerProfile = EncodingContainerProfile (ManagedPtr EncodingContainerProfile)
- class (GObject o, IsDescendantOf EncodingContainerProfile o) => IsEncodingContainerProfile o
- toEncodingContainerProfile :: (MonadIO m, IsEncodingContainerProfile o) => o -> m EncodingContainerProfile
- encodingContainerProfileAddProfile :: (HasCallStack, MonadIO m, IsEncodingContainerProfile a, IsEncodingProfile b) => a -> b -> m Bool
- encodingContainerProfileContainsProfile :: (HasCallStack, MonadIO m, IsEncodingContainerProfile a, IsEncodingProfile b) => a -> b -> m Bool
- encodingContainerProfileGetProfiles :: (HasCallStack, MonadIO m, IsEncodingContainerProfile a) => a -> m [EncodingProfile]
- encodingContainerProfileNew :: (HasCallStack, MonadIO m) => Maybe Text -> Maybe Text -> Caps -> Maybe Text -> m EncodingContainerProfile
Exported types
newtype EncodingContainerProfile Source #
Memory-managed wrapper type.
Instances
class (GObject o, IsDescendantOf EncodingContainerProfile o) => IsEncodingContainerProfile o Source #
Type class for types which can be safely cast to EncodingContainerProfile
, for instance with toEncodingContainerProfile
.
Instances
toEncodingContainerProfile :: (MonadIO m, IsEncodingContainerProfile o) => o -> m EncodingContainerProfile Source #
Cast to EncodingContainerProfile
, 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
addProfile, bindProperty, bindPropertyFull, containsProfile, copy, forceFloating, freezeNotify, getv, isEnabled, isEqual, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getAllowDynamicOutput, getData, getDescription, getElementProperties, getFileExtension, getFormat, getInputCaps, getName, getPresence, getPreset, getPresetName, getProfiles, getProperty, getQdata, getRestriction, getSingleSegment, getTypeNick.
Setters
setAllowDynamicOutput, setData, setDataFull, setDescription, setElementProperties, setEnabled, setFormat, setName, setPresence, setPreset, setPresetName, setProperty, setRestriction, setSingleSegment.
addProfile
encodingContainerProfileAddProfile Source #
:: (HasCallStack, MonadIO m, IsEncodingContainerProfile a, IsEncodingProfile b) | |
=> a |
|
-> b |
|
-> m Bool |
Add a EncodingProfile
to the list of profiles handled by container
.
No copy of profile
will be made, if you wish to use it elsewhere after this
method you should increment its reference count.
containsProfile
encodingContainerProfileContainsProfile Source #
:: (HasCallStack, MonadIO m, IsEncodingContainerProfile a, IsEncodingProfile b) | |
=> a |
|
-> b |
|
-> m Bool | Returns: |
Checks if container
contains a EncodingProfile
identical to
profile
.
getProfiles
encodingContainerProfileGetProfiles Source #
:: (HasCallStack, MonadIO m, IsEncodingContainerProfile a) | |
=> a |
|
-> m [EncodingProfile] | Returns:
the list of contained |
No description available in the introspection data.
new
encodingContainerProfileNew Source #
:: (HasCallStack, MonadIO m) | |
=> Maybe Text |
|
-> Maybe Text |
|
-> Caps |
|
-> Maybe Text |
|
-> m EncodingContainerProfile | Returns: The newly created |
Creates a new EncodingContainerProfile
.