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.
contentFormatsParse :: (HasCallStack, MonadIO m) => Text -> m (Maybe ContentFormats)gi-gdk4 GI.Gdk.Structs.ContentFormats Parses the given string into GdkContentFormats and returns the formats. Strings printed via contentFormatsToString can be read in again successfully using this function. If string does not describe valid content formats, Nothing is returned. Since: 4.4
contentFormatsPrint :: (HasCallStack, MonadIO m) => ContentFormats -> String -> m ()gi-gdk4 GI.Gdk.Structs.ContentFormats Prints the given formats into a string for human consumption. The result of this function can later be parsed with contentFormatsParse.
contentFormatsRef :: (HasCallStack, MonadIO m) => ContentFormats -> m ContentFormatsgi-gdk4 GI.Gdk.Structs.ContentFormats Increases the reference count of a GdkContentFormats by one.
contentFormatsToString :: (HasCallStack, MonadIO m) => ContentFormats -> m Textgi-gdk4 GI.Gdk.Structs.ContentFormats Prints the given formats into a human-readable string. The resulting string can be parsed with contentFormatsParse. This is a small wrapper around contentFormatsPrint to help when debugging.
-
gi-gdk4 GI.Gdk.Structs.ContentFormats Append all missing types from second to first, in the order they had in second.
-
gi-gdk4 GI.Gdk.Structs.ContentFormats Add GTypes for mime types in formats for which deserializers are registered.
-
gi-gdk4 GI.Gdk.Structs.ContentFormats Add mime types for GTypes in formats for which deserializers are registered.
-
gi-gdk4 GI.Gdk.Structs.ContentFormats Add GTypes for the mime types in formats for which serializers are registered.
-
gi-gdk4 GI.Gdk.Structs.ContentFormats Add mime types for GTypes in formats for which serializers are registered.
contentFormatsUnref :: (HasCallStack, MonadIO m) => ContentFormats -> m ()gi-gdk4 GI.Gdk.Structs.ContentFormats Decreases the reference count of a GdkContentFormats by one. If the resulting reference count is zero, frees the formats.