Hoogle Search
Within LTS Haskell 24.58 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
pixbufAnimationIsStaticImage :: (HasCallStack, MonadIO m, IsPixbufAnimation a) => a -> m Boolgi-gdkpixbuf GI.GdkPixbuf.Objects.PixbufAnimation Checks whether the animation is a static image. If you load a file with pixbufAnimationNewFromFile and it turns out to be a plain, unanimated image, then this function will return TRUE. Use pixbufAnimationGetStaticImage to retrieve the image.
pixbufAnimationNewFromFile :: (HasCallStack, MonadIO m) => [Char] -> m (Maybe PixbufAnimation)gi-gdkpixbuf GI.GdkPixbuf.Objects.PixbufAnimation Creates a new animation by loading it from a file. The file format is detected automatically. If the file's format does not support multi-frame images, then an animation with a single frame will be created. Possible errors are in the GDK_PIXBUF_ERROR and G_FILE_ERROR domains.
pixbufAnimationNewFromResource :: (HasCallStack, MonadIO m) => Text -> m (Maybe PixbufAnimation)gi-gdkpixbuf GI.GdkPixbuf.Objects.PixbufAnimation Creates a new pixbuf animation by loading an image from an resource. The file format is detected automatically. If NULL is returned, then error will be set. Since: 2.28
-
gi-gdkpixbuf GI.GdkPixbuf.Objects.PixbufAnimation Creates a new animation by loading it from an input stream. The file format is detected automatically. If NULL is returned, then error will be set. The cancellable can be used to abort the operation from another thread. If the operation was cancelled, the error G_IO_ERROR_CANCELLED will be returned. Other possible errors are in the GDK_PIXBUF_ERROR and G_IO_ERROR domains. The stream is not closed. Since: 2.28
-
gi-gdkpixbuf GI.GdkPixbuf.Objects.PixbufAnimation Creates a new animation by asynchronously loading an image from an input stream. For more details see pixbufNewFromStream, which is the synchronous version of this function. When the operation is finished, callback will be called in the main thread. You can then call pixbufAnimationNewFromStreamFinish to get the result of the operation. Since: 2.28
-
gi-gdkpixbuf GI.GdkPixbuf.Objects.PixbufAnimation Finishes an asynchronous pixbuf animation creation operation started with pixbufAnimationNewFromStreamAsync. Since: 2.28
toPixbufAnimation :: (MonadIO m, IsPixbufAnimation o) => o -> m PixbufAnimationgi-gdkpixbuf GI.GdkPixbuf.Objects.PixbufAnimation Cast to PixbufAnimation, for types for which this is known to be safe. For general casts, use castTo.
module GI.GdkPixbuf.Objects.
PixbufAnimationIter An opaque object representing an iterator which points to a certain position in an animation.
class (GObject o, IsDescendantOf PixbufAnimationIter o) =>
IsPixbufAnimationIter ogi-gdkpixbuf GI.GdkPixbuf.Objects.PixbufAnimationIter Type class for types which can be safely cast to PixbufAnimationIter, for instance with toPixbufAnimationIter.
-
gi-gdkpixbuf GI.GdkPixbuf.Objects.PixbufAnimationIter Memory-managed wrapper type.