Method

GtkImageset_from_surface

since: 3.10

Declaration [src]

void
gtk_image_set_from_surface (
  GtkImage* image,
  cairo_surface_t* surface
)

Description [src]

See gtk_image_new_from_surface() for details.

Available since: 3.10

Parameters

surface

Type: cairo_surface_t

A cairo_surface_t or NULL.

The argument can be NULL.
The data is owned by the caller of the method.