Method

Gtk.Image.set_from_file

Declaration [src]

void
gtk_image_set_from_file (
  GtkImage* image,
  const char* filename
)

Description [src]

Sets a GtkImage to show a file.

See gtk_image_new_from_file() for details.

Sets propertyGtk.Image:file

Parameters

filename const char*
 

a filename or NULL

 Can be NULL
 Ownership is not transferred to the callee
 The string is a file system path, using the OS encoding