Picture.this

Creates a new GtkPicture displaying @pixbuf.

This is a utility function that calls [ctor@Gtk.Picture.new_for_paintable], See that function for details.

The pixbuf must not be modified after passing it to this function.

Parameters

pixbuf Pixbuf

a GdkPixbuf, or %NULL

Return Value

a new GtkPicture

Throws

ConstructionException GTK+ fails to create the object.

Meta