Image.setFromPixbuf

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.

class Image
void
setFromPixbuf

Parameters

pixbuf Pixbuf

a GdkPixbuf or NULL

Meta