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.

  1. 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.

  2. contentFormatsMatch :: (HasCallStack, MonadIO m) => ContentFormats -> ContentFormats -> m Bool

    gi-gdk4 GI.Gdk.Structs.ContentFormats

    Checks if first and second have any matching formats.

  3. contentFormatsMatchGtype :: (HasCallStack, MonadIO m) => ContentFormats -> ContentFormats -> m GType

    gi-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.

  4. contentFormatsMatchMimeType :: (HasCallStack, MonadIO m) => ContentFormats -> ContentFormats -> m (Maybe Text)

    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.

  5. contentFormatsNew :: (HasCallStack, MonadIO m) => Maybe [Text] -> m ContentFormats

    gi-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.

  6. contentFormatsNewForGtype :: (HasCallStack, MonadIO m) => GType -> m ContentFormats

    gi-gdk4 GI.Gdk.Structs.ContentFormats

    Creates a new GdkContentFormats for a given GType.

  7. 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

  8. 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.

  9. contentFormatsRef :: (HasCallStack, MonadIO m) => ContentFormats -> m ContentFormats

    gi-gdk4 GI.Gdk.Structs.ContentFormats

    Increases the reference count of a GdkContentFormats by one.

  10. contentFormatsToString :: (HasCallStack, MonadIO m) => ContentFormats -> m Text

    gi-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.

Page 728 of many | Previous | Next