Widget to display RGB or grayscale data.
None.
The GtkPreview widget provides a simple interface used to display images as RGB or grayscale data.
The use of GtkPreview is deprecated and should not be used in new code. Use a GdkPixbuf displayed by a GtkImage or a GtkDrawingArea instead.
GtkPreview ( GtkPreviewType type );-- Create a new GtkPreview.
size() Set the size of the preview. put() Draw a portion of the preview image into the drawable window. draw_row() Set the data for a portion of one row of the preview. set_expand() Set the behavior of the preview when the allocated size is larger than the requested size.