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. getGLTextureBuilderFormat :: (MonadIO m, IsGLTextureBuilder o) => o -> m MemoryFormat

    gi-gdk4 GI.Gdk.Objects.GLTextureBuilder

    Get the value of the “format” property. When overloading is enabled, this is equivalent to

    get gLTextureBuilder #format
    

  2. setGLTextureBuilderFormat :: (MonadIO m, IsGLTextureBuilder o) => o -> MemoryFormat -> m ()

    gi-gdk4 GI.Gdk.Objects.GLTextureBuilder

    Set the value of the “format” property. When overloading is enabled, this is equivalent to

    set gLTextureBuilder [ #format := value ]
    

  3. textureGetFormat :: (HasCallStack, MonadIO m, IsTexture a) => a -> m MemoryFormat

    gi-gdk4 GI.Gdk.Objects.Texture

    Gets the memory format most closely associated with the data of the texture. Note that it may not be an exact match for texture data stored on the GPU or with compression. The format can give an indication about the bit depth and opacity of the texture and is useful to determine the best format for downloading the texture. Since: 4.10

  4. textureNewForPixbuf :: (HasCallStack, MonadIO m, IsPixbuf a) => a -> m Texture

    gi-gdk4 GI.Gdk.Objects.Texture

    Creates a new texture object representing the GdkPixbuf. This function is threadsafe, so that you can e.g. use GTask and taskRunInThread to avoid blocking the main thread while loading a big image.

  5. module GI.Gdk.Structs.ContentFormats

    The GdkContentFormats structure is used to advertise and negotiate the format of content. You will encounter GdkContentFormats when interacting with objects controlling operations that pass data between different widgets, window or application, like Drag, Drop, Clipboard or ContentProvider. GDK supports content in 2 forms: GType and mime type. Using GTypes is meant only for in-process content transfers. Mime types are meant to be used for data passing both in-process and out-of-process. The details of how data is passed is described in the documentation of the actual implementations. To transform between the two forms, ContentSerializer and ContentDeserializer are used. A GdkContentFormats describes a set of possible formats content can be exchanged in. It is assumed that this set is ordered. GTypes are more important than mime types. Order between different GTypes or mime types is the order they were added in, most important first. Functions that care about order, such as contentFormatsUnion, will describe in their documentation how they interpret that order, though in general the order of the first argument is considered the primary order of the result, followed by the order of further arguments. For debugging purposes, the function contentFormatsToString exists. It will print a comma-separated list of formats from most important to least important. GdkContentFormats is an immutable struct. After creation, you cannot change the types it represents. Instead, new GdkContentFormats have to be created. The ContentFormatsBuilder structure is meant to help in this endeavor.

  6. newtype ContentFormats

    gi-gdk4 GI.Gdk.Structs.ContentFormats

    Memory-managed wrapper type.

  7. ContentFormats :: ManagedPtr ContentFormats -> ContentFormats

    gi-gdk4 GI.Gdk.Structs.ContentFormats

    No documentation available.

  8. contentFormatsContainGtype :: (HasCallStack, MonadIO m) => ContentFormats -> GType -> m Bool

    gi-gdk4 GI.Gdk.Structs.ContentFormats

    Checks if a given GType is part of the given formats.

  9. contentFormatsContainMimeType :: (HasCallStack, MonadIO m) => ContentFormats -> Text -> m Bool

    gi-gdk4 GI.Gdk.Structs.ContentFormats

    Checks if a given mime type is part of the given formats.

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

Page 727 of many | Previous | Next