Picture.newForPixbuf

gtk.picture.Picture newForPixbuf(gdkpixbuf.pixbuf.Pixbuf pixbuf = null)

Creates a new gtk.picture.Picture displaying pixbuf.

This is a utility function that calls gtk.picture.Picture.newForPaintable, See that function for details.

The pixbuf must not be modified after passing it to this function.

Parameters

pixbufa gdkpixbuf.pixbuf.Pixbuf

Returns

Deprecated