Hoogle Search

Within LTS Haskell 24.49 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. type PixbufModuleLoadAnimationFunc = Ptr () -> IO PixbufAnimation

    gi-gdkpixbuf GI.GdkPixbuf.Callbacks

    Loads a file from a standard C file stream into a new GdkPixbufAnimation. In case of error, this function should return NULL and set the error argument.

  2. type PixbufModuleLoadFunc = Ptr () -> IO Pixbuf

    gi-gdkpixbuf GI.GdkPixbuf.Callbacks

    Loads a file from a standard C file stream into a new GdkPixbuf. In case of error, this function should return NULL and set the error argument.

  3. type PixbufModuleLoadXpmDataFunc = [Text] -> IO Pixbuf

    gi-gdkpixbuf GI.GdkPixbuf.Callbacks

    Loads XPM data into a new GdkPixbuf.

  4. type PixbufModulePreparedFunc = Pixbuf -> PixbufAnimation -> IO ()

    gi-gdkpixbuf GI.GdkPixbuf.Callbacks

    Defines the type of the function that gets called once the initial setup of pixbuf is done. PixbufLoader uses a function of this type to emit the "<link linkend="GdkPixbufLoader-area-prepared">area_prepared</link>" signal. Since: 2.2

  5. type PixbufModulePreparedFunc_WithClosures = Pixbuf -> PixbufAnimation -> Ptr () -> IO ()

    gi-gdkpixbuf GI.GdkPixbuf.Callbacks

    Defines the type of the function that gets called once the initial setup of pixbuf is done. PixbufLoader uses a function of this type to emit the "<link linkend="GdkPixbufLoader-area-prepared">area_prepared</link>" signal. Since: 2.2

  6. type PixbufModuleSaveFunc = Ptr () -> Pixbuf -> Maybe [Text] -> Maybe [Text] -> IO ()

    gi-gdkpixbuf GI.GdkPixbuf.Callbacks

    Saves a GdkPixbuf into a standard C file stream. The optional param_keys and param_values arrays contain the keys and values (in the same order) for attributes to be saved alongside the image data.

  7. type PixbufModuleSaveOptionSupportedFunc = Text -> IO Bool

    gi-gdkpixbuf GI.GdkPixbuf.Callbacks

    Checks whether the given option_key is supported when saving.

  8. type PixbufModuleSizeFunc = Int32 -> Int32 -> IO ()

    gi-gdkpixbuf GI.GdkPixbuf.Callbacks

    Defines the type of the function that gets called once the size of the loaded image is known. The function is expected to set width and height to the desired size to which the image should be scaled. If a module has no efficient way to achieve the desired scaling during the loading of the image, it may either ignore the size request, or only approximate it - gdk-pixbuf will then perform the required scaling on the completely loaded image. If the function sets width or height to zero, the module should interpret this as a hint that it will be closed soon and shouldn't allocate further resources. This convention is used to implement pixbufGetFileInfo efficiently. Since: 2.2

  9. type PixbufModuleSizeFunc_WithClosures = Int32 -> Int32 -> Ptr () -> IO ()

    gi-gdkpixbuf GI.GdkPixbuf.Callbacks

    Defines the type of the function that gets called once the size of the loaded image is known. The function is expected to set width and height to the desired size to which the image should be scaled. If a module has no efficient way to achieve the desired scaling during the loading of the image, it may either ignore the size request, or only approximate it - gdk-pixbuf will then perform the required scaling on the completely loaded image. If the function sets width or height to zero, the module should interpret this as a hint that it will be closed soon and shouldn't allocate further resources. This convention is used to implement pixbufGetFileInfo efficiently. Since: 2.2

  10. type PixbufModuleStopLoadFunc = Ptr () -> IO ()

    gi-gdkpixbuf GI.GdkPixbuf.Callbacks

    Finalizes the image loading state. This function is called on success and error states.

Page 366 of many | Previous | Next