setPixbuf

open fun setPixbuf(pixbuf: <Error class: unknown class>? = null)(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.12.

Use method@Gtk.Picture.set_paintable instead

---

Sets a GtkPicture to show a GdkPixbuf.

See ctor@Gtk.Picture.new_for_pixbuf for details.

This is a utility function that calls method@Gtk.Picture.set_paintable.

Parameters

pixbuf

a GdkPixbuf