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.
type
PixbufModuleLoadAnimationFunc = Ptr () -> IO PixbufAnimationgi-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.
type
PixbufModuleLoadFunc = Ptr () -> IO Pixbufgi-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.
type
PixbufModuleLoadXpmDataFunc = [Text] -> IO Pixbufgi-gdkpixbuf GI.GdkPixbuf.Callbacks Loads XPM data into a new GdkPixbuf.
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
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
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.
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.