GimpUi.DrawablePreview¶
- Subclasses:
 None
Methods¶
- Inherited:
 GimpUi.ScrolledPreview (5), 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.DrawablePreview(*args, **kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
A widget providing a preview of a
Gimp.Drawable.- classmethod new_from_drawable(drawable)¶
 - Parameters:
 drawable (
Gimp.Drawable) – a drawable- Returns:
 A pointer to the new
GimpUi.DrawablePreviewwidget.- Return type:
 
Creates a new
GimpUi.DrawablePreviewwidget for drawable.New in version 2.10.
- get_drawable()¶
 - Returns:
 the drawable that has been passed to
GimpUi.DrawablePreview.new_from_drawable().- Return type:
 
New in version 2.10.
Property Details¶
- GimpUi.DrawablePreview.props.drawable¶
 - Name:
 drawable- Type:
 - Default Value:
 - Flags:
 
The drawable this preview is attached to