Rdocumentation
powered by
Learn R Programming
RGtk2 (version 2.12.17)
gdkPixbufLoaderSetSize: gdkPixbufLoaderSetSize
Description
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
gdkPixbufLoaderSetSize
from a signal handler for the ::size_prepared signal.
Usage
gdkPixbufLoaderSetSize(object, width, height)
Arguments
object
[
GdkPixbufLoader
] A pixbuf loader.
width
[integer] The desired width of the image being loaded.
height
[integer] The desired height of the image being loaded.
Details
Attempts to set the desired image size are ignored after the emission of the ::size_prepared signal.
Since 2.2