Picture.newForPixbuf

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.

More...
class Picture
static
newForPixbuf

Parameters

pixbuf gdkpixbuf.pixbuf.Pixbuf

Return Value

Type: gtk.picture.Picture

Detailed Description