Re: resizing GtkImage



stewartb ilm com wrote:

what is the proper way to resize a GtkImage?

for instance i want to create a GtkImage from a jpeg file, but display it at 50%
actual size. im not seeing how to do this by cruising the api docs...

gdk-pixbuf provides image scaling (as I can guess you use it for file loading).
Consider gdk_pixbuf_scale(), gdk_pixbuf_scale_simple() functions.

Olexiy




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]