[ CCode ( cname = "gimp_preview_area_new" , has_construct_function = false , type = "GtkWidget*" ) ]
public PreviewArea ()
Creates a new PreviewArea widget.
If the preview area is used to draw an image with transparency, you might want to default the checkboard size and colors to user-set Preferences. To do this, you may set the following properties on the newly created PreviewArea:
g_object_set (area,
"check-size", gimp_check_size (),
"check-type", gimp_check_type (),
"check-custom-color1", gimp_check_custom_color1 (),
"check-custom-color2", gimp_check_custom_color2 (),
NULL);
|
a new PreviewArea widget. Since GIMP 2.2 |