GtkImage Constructor

GtkImage::new_from_image (GdkImage image, mask);

Creates a GtkImage widget displaying a image with a mask. A GdkImage is a client-side image buffer in the pixel format of the current display.

You should use this GtkImage constructor if your want to catch loading errors by yourself, as the GdkImage constructors will give you proper error messages.

This method must be called statically.