setFromPixbuf
⚠️ Deprecated ⚠️
This is deprecated since version 4.12.
Use method@Gtk.Image.set_from_paintable instead
---Sets a GtkImage
to show a GdkPixbuf
.
See ctor@Gtk.Image.new_from_pixbuf for details.
Note: This is a helper for method@Gtk.Image.set_from_paintable, and you can't get back the exact pixbuf once this is called, only a paintable.
Parameters
pixbuf
a GdkPixbuf
or NULL