Package: gdk-pixbuf
Function gdk-pixbuf-loader-pixbuf
Lambda Listgdk-pixbuf-loader-pixbuf (loader) ArgumentsReturn Value The gdk-pixbuf object that the loader is creating, or nil if
not enough data has been read to determine how to create the image buffer. Details Queries the gdk-pixbuf object that a pixbuf loader is currently
creating.
In general it only makes sense to call this function after the
"area-prepared" signal has been emitted by the loader. This means that
enough data has been read to know the size of the image that will be
allocated. If the loader has not received enough data via the gdk-pixbuf-loader-write function, then this function returns nil.
The returned pixbuf will be the same in all future calls to the loader.
Additionally, if the loader is an animation, it will return the
"static image" of the animation, see the gdk-pixbuf-animation-static-image function. | See also |
*2021-12-22