| Top |
GimpDrawablePreviewGimpDrawablePreview — A widget providing a preview of a GimpDrawable. |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkContainer ╰── GtkBox ╰── GimpPreview ╰── GimpScrolledPreview ╰── GimpDrawablePreview
GimpDrawablePreview implements AtkImplementorIface, GtkBuildable and GtkOrientable.
GtkWidget * gimp_drawable_preview_new (GimpDrawable *drawable,gboolean *toggle);
Creates a new GimpDrawablePreview widget for drawable
.
In GIMP 2.2 the toggle
parameter was provided to conviently access
the state of the "Preview" check-button. This is not any longer
necessary as the preview itself now stores this state, as well as
the scroll offset.
Since: GIMP 2.2
GimpDrawable *
gimp_drawable_preview_get_drawable (GimpDrawablePreview *preview);
Since: GIMP 2.2
void gimp_drawable_preview_draw_region (GimpDrawablePreview *preview,const GimpPixelRgn *region);
Since: GIMP 2.2