gtkPreviewUninit()
gtkPreviewNew(type, show = TRUE)
gtkPreviewSize(object, width, height)
gtkPreviewPut(object, window, gc, srcx, srcy, destx, desty, width, height)
gtkPreviewDrawRow(object, data, y, w)
gtkPreviewSetExpand(object, expand)
gtkPreviewSetGamma(gamma)
gtkPreviewSetColorCube(nred.shades, ngreen.shades, nblue.shades, ngray.shades)
gtkPreviewSetInstallCmap(install.cmap)
gtkPreviewSetReserved(nreserved)
gtkPreviewSetDither(object, dither)
gtkPreviewGetVisual()
gtkPreviewGetCmap()
gtkPreviewGetInfo()
gtkPreviewReset()
gtkPreview(type, show = TRUE)GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkPreviewGtkBuildable.GtkPreview widget provides a simple interface
used to display images as RGB or grayscale data.
It's deprecated; just use a GdkPixbuf displayed by a GtkImage, or
perhaps a GtkDrawingArea. GtkPreview has no advantage over those
approaches.GtkPreviewGtkPreview is deprecated and should not be used in newly-written code.
The GtkPreview struct contains private data only, and
should be accessed using the functions below. GtkPreviewInfoGtkPreviewInfo is deprecated and should not be used in newly-written code.
Contains information about global properties
of preview widgets.
The GtkPreviewInfo struct contains the following fields.
(These fields should be considered read-only. They should never be set by
an application.)
GdkVisual *visual; |
| the visual used by all previews. |
GdkColormap *cmap; |
| the colormap used by all previews. |
| gdouble gamma; |
the gamma correction value used by all previews (See gtkPreviewSetGamma ). |
gtkPreview is the equivalent of gtkPreviewNew.