| 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 |
GI.Gst.Objects.FlagSet
Contents
Description
A fundamental type that describes a 32-bit flag bitfield, with 32-bit mask indicating which of the bits in the field are explicitly set.
Synopsis
- newtype FlagSet = FlagSet (ManagedPtr FlagSet)
- class (BoxedPtr o, TypedObject o, IsDescendantOf FlagSet o) => IsFlagSet o
- toFlagSet :: (MonadIO m, IsFlagSet o) => o -> m FlagSet
- flagSetRegister :: (HasCallStack, MonadIO m) => GType -> m GType
Exported types
Memory-managed wrapper type.
Constructors
| FlagSet (ManagedPtr FlagSet) |
Instances
| Eq FlagSet Source # | |
| BoxedPtr FlagSet Source # | |
Defined in GI.Gst.Objects.FlagSet | |
| ManagedPtrNewtype FlagSet Source # | |
Defined in GI.Gst.Objects.FlagSet Methods toManagedPtr :: FlagSet -> ManagedPtr FlagSet # | |
| TypedObject FlagSet Source # | |
Defined in GI.Gst.Objects.FlagSet | |
| HasParentTypes FlagSet Source # | |
Defined in GI.Gst.Objects.FlagSet | |
| type ParentTypes FlagSet Source # | |
Defined in GI.Gst.Objects.FlagSet | |
class (BoxedPtr o, TypedObject o, IsDescendantOf FlagSet o) => IsFlagSet o Source #
Instances
| (BoxedPtr o, TypedObject o, IsDescendantOf FlagSet o) => IsFlagSet o Source # | |
Defined in GI.Gst.Objects.FlagSet | |
Methods
register
Arguments
| :: (HasCallStack, MonadIO m) | |
| => GType |
|
| -> m GType |
Create a new sub-class of GST_TYPE_FLAG_SET
which will pretty-print the human-readable flags
when serializing, for easier debugging.
Since: 1.6