Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
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
- noEncodingContainerProfile :: Maybe 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.
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
(GObject o, IsDescendantOf EncodingContainerProfile o) => IsEncodingContainerProfile o Source # | |
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
.
noEncodingContainerProfile :: Maybe EncodingContainerProfile Source #
A convenience alias for Nothing
:: Maybe
EncodingContainerProfile
.
Methods
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
.