GtkPreview
Widget to display RGB or grayscale data.
Object Hierarchy
Direct subclasses
None.
Description
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.
Constructor
--
Create a new GtkPreview.
Methods
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.