Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
ContentFormats :: ManagedPtr ContentFormats -> ContentFormatsgi-gdk4 GI.Gdk.Structs.ContentFormats No documentation available.
contentFormatsContainGtype :: (HasCallStack, MonadIO m) => ContentFormats -> GType -> m Boolgi-gdk4 GI.Gdk.Structs.ContentFormats Checks if a given GType is part of the given formats.
contentFormatsContainMimeType :: (HasCallStack, MonadIO m) => ContentFormats -> Text -> m Boolgi-gdk4 GI.Gdk.Structs.ContentFormats Checks if a given mime type is part of the given formats.
contentFormatsGetGtypes :: (HasCallStack, MonadIO m) => ContentFormats -> m (Maybe [GType], CSize)gi-gdk4 GI.Gdk.Structs.ContentFormats Gets the GTypes included in formats. Note that formats may not contain any GTypes, in particular when they are empty. In that case Nothing will be returned.
contentFormatsGetMimeTypes :: (HasCallStack, MonadIO m) => ContentFormats -> m (Maybe [Text], CSize)gi-gdk4 GI.Gdk.Structs.ContentFormats Gets the mime types included in formats. Note that formats may not contain any mime types, in particular when they are empty. In that case Nothing will be returned.
contentFormatsMatch :: (HasCallStack, MonadIO m) => ContentFormats -> ContentFormats -> m Boolgi-gdk4 GI.Gdk.Structs.ContentFormats Checks if first and second have any matching formats.
contentFormatsMatchGtype :: (HasCallStack, MonadIO m) => ContentFormats -> ContentFormats -> m GTypegi-gdk4 GI.Gdk.Structs.ContentFormats Finds the first GType from first that is also contained in second. If no matching GType is found, G_TYPE_INVALID is returned.
-
gi-gdk4 GI.Gdk.Structs.ContentFormats Finds the first mime type from first that is also contained in second. If no matching mime type is found, Nothing is returned.
contentFormatsNew :: (HasCallStack, MonadIO m) => Maybe [Text] -> m ContentFormatsgi-gdk4 GI.Gdk.Structs.ContentFormats Creates a new GdkContentFormats from an array of mime types. The mime types must be valid and different from each other or the behavior of the return value is undefined. If you cannot guarantee this, use ContentFormatsBuilder instead.
contentFormatsNewForGtype :: (HasCallStack, MonadIO m) => GType -> m ContentFormatsgi-gdk4 GI.Gdk.Structs.ContentFormats Creates a new GdkContentFormats for a given GType.