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
pixbuf | a gdkpixbuf.pixbuf.Pixbuf |
Returns
a new gtk.picture.Picture
Deprecated
Use gtk.picture.Picture.newForPaintable and
gdk.texture.Texture.newForPixbuf instead