Creates a new gtk.Image displaying surface. The gtk.Image does not assume a reference to the surface; you still need to unref it if you own references. gtk.Image will add its own reference rather than adopting yours.
a cairo_surface_t, or NULL
a new gtk.Image
ConstructionException GTK+ fails to create the object.
3.10
Creates a new gtk.Image displaying surface. The gtk.Image does not assume a reference to the surface; you still need to unref it if you own references. gtk.Image will add its own reference rather than adopting yours.