Image.this

Creates a GtkImage widget displaying pixmap with a mask. A GdkPixmap is a server-side image buffer in the pixel format of the current display. The GtkImage does not assume a reference to the pixmap or mask; you still need to unref them if you own references. GtkImage will add its own reference rather than adopting yours.

Parameters

pixmap Pixmap

a GdkPixmap, or NULL. [allow-none]

mask Bitmap

a GdkBitmap, or NULL. [allow-none]

Throws

ConstructionException GTK+ fails to create the object.

Meta