set_size


Description:

[ Version ( since = "2.2" ) ]
public void set_size (int width, int height)

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 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.

Parameters:

this

A pixbuf loader.

width

The desired width of the image being loaded.

height

The desired height of the image being loaded.