Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
contentFormatsBuilderAddGtype :: (HasCallStack, MonadIO m) => ContentFormatsBuilder -> GType -> m ()gi-gdk4 GI.Gdk.Structs.ContentFormatsBuilder Appends type to builder if it has not already been added.
-
gi-gdk4 GI.Gdk.Structs.ContentFormatsBuilder Appends mimeType to builder if it has not already been added.
contentFormatsBuilderNew :: (HasCallStack, MonadIO m) => m ContentFormatsBuildergi-gdk4 GI.Gdk.Structs.ContentFormatsBuilder Create a new GdkContentFormatsBuilder object. The resulting builder would create an empty GdkContentFormats. Use addition functions to add types to it.
-
gi-gdk4 GI.Gdk.Structs.ContentFormatsBuilder Acquires a reference on the given builder. This function is intended primarily for bindings. GdkContentFormatsBuilder objects should not be kept around.
-
gi-gdk4 GI.Gdk.Structs.ContentFormatsBuilder Creates a new GdkContentFormats from the given builder. The given GdkContentFormatsBuilder is reset once this function returns; you cannot call this function multiple times on the same builder instance. This function is intended primarily for bindings. C code should use ContentFormatsBuilder.free_to_formats().
contentFormatsBuilderUnref :: (HasCallStack, MonadIO m) => ContentFormatsBuilder -> m ()gi-gdk4 GI.Gdk.Structs.ContentFormatsBuilder Releases a reference on the given builder.
module GI.Gdk.Structs.
DmabufFormats The GdkDmabufFormats struct provides information about supported DMA buffer formats. You can query whether a given format is supported with dmabufFormatsContains and you can iterate over the list of all supported formats with dmabufFormatsGetNFormats and dmabufFormatsGetFormat. The list of supported formats is sorted by preference, with the best formats coming first. The list may contains (format, modifier) pairs where the modifier is DMA_FORMAT_MOD_INVALID, indicating that _implicit modifiers_ may be used with this format. See DmabufTextureBuilder for more information about DMA buffers. Note that DMA buffers only exist on Linux. Since: 4.14
-
gi-gdk4 GI.Gdk.Structs.DmabufFormats Memory-managed wrapper type.
DmabufFormats :: ManagedPtr DmabufFormats -> DmabufFormatsgi-gdk4 GI.Gdk.Structs.DmabufFormats No documentation available.
dmabufFormatsContains :: (HasCallStack, MonadIO m) => DmabufFormats -> Word32 -> Word64 -> m Boolgi-gdk4 GI.Gdk.Structs.DmabufFormats Returns whether a given format is contained in formats. Since: 4.14