GimpDrawablePreview

GimpDrawablePreview — A widget providing a preview of a GimpDrawable.

Functions

Properties

GimpDrawable * drawable Read / Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBox
                    ╰── GimpPreview
                        ╰── GimpScrolledPreview
                            ╰── GimpDrawablePreview

Implemented Interfaces

GimpDrawablePreview implements AtkImplementorIface, GtkBuildable and GtkOrientable.

Description

A widget providing a preview of a GimpDrawable.

Functions

gimp_drawable_preview_new_from_drawable ()

GtkWidget *
gimp_drawable_preview_new_from_drawable
                               (GimpDrawable *drawable);

Creates a new GimpDrawablePreview widget for drawable .

Parameters

drawable

a drawable.

[transfer none]

Returns

A pointer to the new GimpDrawablePreview widget.

Since: 2.10


gimp_drawable_preview_get_drawable ()

GimpDrawable *
gimp_drawable_preview_get_drawable (GimpDrawablePreview *preview);

Parameters

preview

a GimpDrawablePreview widget

 

Returns

the drawable that has been passed to gimp_drawable_preview_new_from_drawable().

[transfer none]

Since: 2.10

Types and Values

GimpDrawablePreview

typedef struct _GimpDrawablePreview GimpDrawablePreview;

Property Details

The “drawable” property

  “drawable”                 GimpDrawable *

The drawable this preview is attached to.

Owner: GimpDrawablePreview

Flags: Read / Write / Construct Only