Preview
Object Hierarchy:
Description:
[
CCode ( type_id =
"gimp_preview_get_type ()" ) ]
public abstract class Preview :
Box,
Implementor,
Buildable,
Orientable
A widget providing a PreviewArea plus framework to update the preview.
Content:
Properties:
Creation methods:
Methods:
- public virtual void draw ()
Calls the GimpPreview:GimpPreview:draw method.
- public virtual void draw_buffer (uint8[] buffer, int rowstride)
Calls the GimpPreview:GimpPreview:draw_buffer method.
- public virtual void draw_thumb (PreviewArea area, int width, int height)
- public unowned PreviewArea get_area ()
In most cases, you shouldn't need to access the
PreviewArea that is being used in the this.
- public void get_bounds (out int xmin, out int ymin, out int xmax, out int ymax)
- public unowned Box get_controls ()
Gives access to the horizontal
Box at the bottom of the preview that contains the update toggle.
- public unowned Cursor get_default_cursor ()
- public unowned AspectFrame get_frame ()
- public unowned Grid get_grid ()
- public void get_offsets (out int xoff, out int yoff)
- public void get_position (out int x, out int y)
- public void get_size (out int width, out int height)
- public bool get_update ()
- public void invalidate ()
This function starts or renews a short low-priority timeout.
- public void set_bounds (int xmin, int ymin, int xmax, int ymax)
Sets the lower and upper limits for the previewed area.
- public virtual void set_cursor ()
- public void set_default_cursor (Cursor cursor)
Sets the default mouse cursor for the preview.
- public void set_offsets (int xoff, int yoff)
- public void set_size (int width, int height)
- public void set_update (bool update)
Sets the state of the "Preview" check button.
- public virtual void transform (int src_x, int src_y, out int dest_x, out int dest_y)
Transforms from image to widget coordinates.
- public virtual void untransform (int src_x, int src_y, out int dest_x, out int dest_y)
Transforms from widget to image coordinates.
Signals:
Inherited Members:
All known members inherited from class Gtk.Box
All known members inherited from class Gtk.Container
All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
All known members inherited from interface Atk.Implementor
All known members inherited from interface Gtk.Buildable
All known members inherited from interface Gtk.Orientable