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.
type
PixbufModuleSaveOptionSupportedFunc = Text -> IO Boolgi-gdkpixbuf GI.GdkPixbuf.Callbacks Checks whether the given option_key is supported when saving.
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
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
type
PixbufModuleStopLoadFunc = Ptr () -> IO ()gi-gdkpixbuf GI.GdkPixbuf.Callbacks Finalizes the image loading state. This function is called on success and error states.
type
PixbufModuleUpdatedFunc = Pixbuf -> Int32 -> Int32 -> Int32 -> Int32 -> IO ()gi-gdkpixbuf GI.GdkPixbuf.Callbacks Defines the type of the function that gets called every time a region of pixbuf is updated. PixbufLoader uses a function of this type to emit the "<link linkend="GdkPixbufLoader-area-updated">area_updated</link>" signal. Since: 2.2
-
gi-gdkpixbuf GI.GdkPixbuf.Callbacks Defines the type of the function that gets called every time a region of pixbuf is updated. PixbufLoader uses a function of this type to emit the "<link linkend="GdkPixbufLoader-area-updated">area_updated</link>" signal. Since: 2.2
type
PixbufSaveFunc = ByteString -> IO (Bool, GError)gi-gdkpixbuf GI.GdkPixbuf.Callbacks Save functions used by Pixbuf.save_to_callback(). This function is called once for each block of bytes that is "written" by gdk_pixbuf_save_to_callback(). If successful it should return TRUE; if an error occurs it should set error and return FALSE, in which case gdk_pixbuf_save_to_callback() will fail with the same error. Since: 2.4
type
PixbufSaveFunc_WithClosures = ByteString -> Ptr () -> IO (Bool, GError)gi-gdkpixbuf GI.GdkPixbuf.Callbacks Save functions used by Pixbuf.save_to_callback(). This function is called once for each block of bytes that is "written" by gdk_pixbuf_save_to_callback(). If successful it should return TRUE; if an error occurs it should set error and return FALSE, in which case gdk_pixbuf_save_to_callback() will fail with the same error. Since: 2.4
-
gi-gdkpixbuf GI.GdkPixbuf.Constants Major version of gdk-pixbuf library, that is the "0" in "0.8.2" for example.
-
gi-gdkpixbuf GI.GdkPixbuf.Constants Micro version of gdk-pixbuf library, that is the "2" in "0.8.2" for example.