GtkImage Class

The GtkImage class is the class for instantiating image widgets.

This widget can display a variety of graphics formats including GIF, PNG, JPG and others.

The class heirarchy


   Object
      +---GtkWidget
         +---GtkImage

The methods for the GtkImage class are documented below.

GtkImage Method Table of Contents

new - Create and initialize the widget


Method: new

This method creates and initializes the widget.

Example

This is a example of how to create a new image widget.


myimage = .GtkImage~new(filename)

Method Parameters

filename
The path/filename of the image. Most image types are supported.

Method Results

The new GtkImage object.




Valid XHTML 1.0!