GimpDisplay

GimpDisplay

Synopsis

                    GimpDisplay;
GimpDisplay *       gimp_display_new                    (Gimp *gimp,
                                                         GimpImage *image,
                                                         GimpUnit unit,
                                                         gdouble scale,
                                                         GimpMenuFactory *menu_factory,
                                                         GimpUIManager *popup_manager,
                                                         GimpDialogFactory *dialog_factory);
void                gimp_display_delete                 (GimpDisplay *display);
void                gimp_display_close                  (GimpDisplay *display);
gint                gimp_display_get_ID                 (GimpDisplay *display);
GimpDisplay *       gimp_display_get_by_ID              (Gimp *gimp,
                                                         gint ID);
gchar *             gimp_display_get_action_name        (GimpDisplay *display);
Gimp *              gimp_display_get_gimp               (GimpDisplay *display);
GimpImage *         gimp_display_get_image              (GimpDisplay *display);
void                gimp_display_set_image              (GimpDisplay *display,
                                                         GimpImage *image);
gint                gimp_display_get_instance           (GimpDisplay *display);
GimpDisplayShell *  gimp_display_get_shell              (GimpDisplay *display);
void                gimp_display_empty                  (GimpDisplay *display);
void                gimp_display_fill                   (GimpDisplay *display,
                                                         GimpImage *image,
                                                         GimpUnit unit,
                                                         gdouble scale);
void                gimp_display_update_area            (GimpDisplay *display,
                                                         gboolean now,
                                                         gint x,
                                                         gint y,
                                                         gint w,
                                                         gint h);
void                gimp_display_flush                  (GimpDisplay *display);
void                gimp_display_flush_now              (GimpDisplay *display);

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpDisplay

Implemented Interfaces

GimpDisplay implements GimpProgressInterface.

Properties

  "gimp"                     Gimp*                 : Read / Write / Construct Only
  "id"                       gint                  : Read
  "image"                    GimpImage*            : Read
  "shell"                    GimpDisplayShell*     : Read

Description

Details

GimpDisplay

typedef struct _GimpDisplay GimpDisplay;


gimp_display_new ()

GimpDisplay *       gimp_display_new                    (Gimp *gimp,
                                                         GimpImage *image,
                                                         GimpUnit unit,
                                                         gdouble scale,
                                                         GimpMenuFactory *menu_factory,
                                                         GimpUIManager *popup_manager,
                                                         GimpDialogFactory *dialog_factory);


gimp_display_delete ()

void                gimp_display_delete                 (GimpDisplay *display);

Closes the display and removes it from the display list. You should not call this function directly, use gimp_display_close() instead.


gimp_display_close ()

void                gimp_display_close                  (GimpDisplay *display);

Closes the display. If this is the last display, it will remain open, but without an image.


gimp_display_get_ID ()

gint                gimp_display_get_ID                 (GimpDisplay *display);


gimp_display_get_by_ID ()

GimpDisplay *       gimp_display_get_by_ID              (Gimp *gimp,
                                                         gint ID);


gimp_display_get_action_name ()

gchar *             gimp_display_get_action_name        (GimpDisplay *display);

Returns :

The action name for the given display. The action name depends on the display ID. The result must be freed with g_free().

gimp_display_get_gimp ()

Gimp *              gimp_display_get_gimp               (GimpDisplay *display);


gimp_display_get_image ()

GimpImage *         gimp_display_get_image              (GimpDisplay *display);


gimp_display_set_image ()

void                gimp_display_set_image              (GimpDisplay *display,
                                                         GimpImage *image);


gimp_display_get_instance ()

gint                gimp_display_get_instance           (GimpDisplay *display);


gimp_display_get_shell ()

GimpDisplayShell *  gimp_display_get_shell              (GimpDisplay *display);


gimp_display_empty ()

void                gimp_display_empty                  (GimpDisplay *display);


gimp_display_fill ()

void                gimp_display_fill                   (GimpDisplay *display,
                                                         GimpImage *image,
                                                         GimpUnit unit,
                                                         gdouble scale);


gimp_display_update_area ()

void                gimp_display_update_area            (GimpDisplay *display,
                                                         gboolean now,
                                                         gint x,
                                                         gint y,
                                                         gint w,
                                                         gint h);


gimp_display_flush ()

void                gimp_display_flush                  (GimpDisplay *display);


gimp_display_flush_now ()

void                gimp_display_flush_now              (GimpDisplay *display);

Property Details

The "gimp" property

  "gimp"                     Gimp*                 : Read / Write / Construct Only


The "id" property

  "id"                       gint                  : Read

Allowed values: >= 0

Default value: 0


The "image" property

  "image"                    GimpImage*            : Read


The "shell" property

  "shell"                    GimpDisplayShell*     : Read