Image (C) Monica Kochofar monicakochofar@gmail.com 2012 A widget displaying an image Image

This GtkApplication displays an image file from the current directory.

If the image file isn't loaded successfully, the image will contain a "broken image" icon. The filename.png needs to be in the current directory for this code to work. Use your favorite picture!

In this sample we used the following:

GtkApplication

GtkWindow

GtkImage