setFromPixbuf

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

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