Image.setFromPixbuf

void setFromPixbuf(gdkpixbuf.pixbuf.Pixbuf pixbuf = null)

Sets a gtk.image.Image to show a gdkpixbuf.pixbuf.Pixbuf.

See gtk.image.Image.newFromPixbuf for details.

Note

This is a helper for gtk.image.Image.setFromPaintable,

and you can't get back the exact pixbuf once this is called, only a paintable.

Parameters

pixbufa gdkpixbuf.pixbuf.Pixbuf or NULL

Deprecated