Top |
GimpDrawablePreviewGimpDrawablePreview — A widget providing a preview of a GimpDrawable. |
GtkWidget * | gimp_drawable_preview_new () |
GtkWidget * | gimp_drawable_preview_new_from_drawable_id () |
GimpDrawable * | gimp_drawable_preview_get_drawable () |
gint32 | gimp_drawable_preview_get_drawable_id () |
void | gimp_drawable_preview_draw_region () |
gpointer | drawable | Read / Write / Construct Only |
int | drawable-id | Read / Write / Construct Only |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkContainer ╰── GtkBox ╰── GimpPreview ╰── GimpScrolledPreview ╰── GimpDrawablePreview
GimpDrawablePreview implements AtkImplementorIface, GtkBuildable and GtkOrientable.
GtkWidget * gimp_drawable_preview_new (GimpDrawable *drawable
,gboolean *toggle
);
gimp_drawable_preview_new
is deprecated and should not be used in newly-written code.
Use gimp_drawable_preview_new_from_drawable_id()
instead.
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: 2.2
GtkWidget *
gimp_drawable_preview_new_from_drawable_id
(gint32 drawable_ID
);
Creates a new GimpDrawablePreview widget for drawable_ID
.
Since: 2.10
GimpDrawable *
gimp_drawable_preview_get_drawable (GimpDrawablePreview *preview
);
gimp_drawable_preview_get_drawable
is deprecated and should not be used in newly-written code.
use gimp_drawable_preview_get_drawable_id()
instead.
Since: 2.2
gint32
gimp_drawable_preview_get_drawable_id (GimpDrawablePreview *preview
);
Since: 2.10
void gimp_drawable_preview_draw_region (GimpDrawablePreview *preview
,const GimpPixelRgn *region
);
gimp_drawable_preview_draw_region
is deprecated and should not be used in newly-written code.
Since: 2.2
“drawable”
property “drawable” gpointer
Deprecated: use the drawable-id property instead.
GimpDrawablePreview:drawable
is deprecated and should not be used in newly-written code.
use the drawable-id property instead.
Owner: GimpDrawablePreview
Flags: Read / Write / Construct Only
Since: 2.4
“drawable-id”
property “drawable-id” int
The drawable the GimpDrawablePreview is attached to.
Owner: GimpDrawablePreview
Flags: Read / Write / Construct Only
Allowed values: >= -1
Default value: -1
Since: 2.10