GimpAspectPreview

GimpAspectPreview — A widget providing a preview with fixed aspect ratio.

Functions

Properties

GimpDrawable * drawable Read / Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBox
                    ╰── GimpPreview
                        ╰── GimpAspectPreview

Implemented Interfaces

GimpAspectPreview implements AtkImplementorIface, GtkBuildable and GtkOrientable.

Description

A widget providing a preview with fixed aspect ratio.

Functions

gimp_aspect_preview_new_from_drawable ()

GtkWidget *
gimp_aspect_preview_new_from_drawable (GimpDrawable *drawable);

Creates a new GimpAspectPreview widget for drawable_ . See also gimp_drawable_preview_new_from_drawable().

Parameters

drawable

a drawable.

[transfer none]

Returns

a new GimpAspectPreview.

Since: 2.10

Types and Values

GimpAspectPreview

typedef struct _GimpAspectPreview GimpAspectPreview;

Property Details

The “drawable” property

  “drawable”                 GimpDrawable *

The drawable this preview is attached to.

Owner: GimpAspectPreview

Flags: Read / Write / Construct Only