Package: gdk-pixbuf

Function gdk-pixbuf-loader-set-size

Lambda List

gdk-pixbuf-loader-set-size (loader width height)

Arguments

loader -- a gdk-pixbuf-loader object
width -- an integer with the desired width of the image being loaded
height -- an integer with the desired height of the image being loaded

Details

Causes the image to be scaled while it is loaded. The desired image size can be determined relative to the original size of the image by calling the function gdk-pixbuf-loader-set-size from a signal handler for the "size-prepared" signal.

Attempts to set the desired image size are ignored after the emission of the "size-prepared" signal.
 

See also

2020-11-22