GimpUi.AspectPreview¶
- Subclasses:
 None
Methods¶
- Inherited:
 GimpUi.Preview (20), Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)
- Structs:
 Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class  | 
  | 
Virtual Methods¶
Properties¶
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w/co  | 
The drawable this preview is attached to  | 
Child Properties¶
- Inherited:
 
Style Properties¶
- Inherited:
 
Signals¶
- Inherited:
 GimpUi.Preview (1), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Fields¶
- Inherited:
 GimpUi.Preview (1), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Class Details¶
- class GimpUi.AspectPreview(*args, **kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
A widget providing a preview with fixed aspect ratio.
- classmethod new_from_drawable(drawable)¶
 - Parameters:
 drawable (
Gimp.Drawable) – a drawable- Returns:
 a new
GimpUi.AspectPreview.- Return type:
 
Creates a new
GimpUi.AspectPreviewwidget for drawable_. See alsoGimpUi.DrawablePreview.new_from_drawable().New in version 2.10.
Property Details¶
- GimpUi.AspectPreview.props.drawable¶
 - Name:
 drawable- Type:
 - Default Value:
 - Flags:
 
The drawable this preview is attached to