Gimp-gui

Gimp-gui

Synopsis

struct              GimpGui;
void                gimp_gui_init                       (Gimp *gimp);
void                gimp_gui_ungrab                     (Gimp *gimp);
void                gimp_threads_enter                  (Gimp *gimp);
void                gimp_threads_leave                  (Gimp *gimp);
GimpObject *        gimp_get_window_strategy            (Gimp *gimp);
GimpObject *        gimp_get_empty_display              (Gimp *gimp);
GimpObject *        gimp_get_display_by_ID              (Gimp *gimp,
                                                         gint ID);
gint                gimp_get_display_ID                 (Gimp *gimp,
                                                         GimpObject *display);
guint32             gimp_get_display_window_id          (Gimp *gimp,
                                                         GimpObject *display);
GimpObject *        gimp_create_display                 (Gimp *gimp,
                                                         GimpImage *image,
                                                         GimpUnit unit,
                                                         gdouble scale);
void                gimp_delete_display                 (Gimp *gimp,
                                                         GimpObject *display);
void                gimp_reconnect_displays             (Gimp *gimp,
                                                         GimpImage *old_image,
                                                         GimpImage *new_image);
void                gimp_set_busy                       (Gimp *gimp);
void                gimp_set_busy_until_idle            (Gimp *gimp);
void                gimp_unset_busy                     (Gimp *gimp);
void                gimp_show_message                   (Gimp *gimp,
                                                         GObject *handler,
                                                         GimpMessageSeverity severity,
                                                         const gchar *domain,
                                                         const gchar *message);
void                gimp_help                           (Gimp *gimp,
                                                         GimpProgress *progress,
                                                         const gchar *help_domain,
                                                         const gchar *help_id);
GimpProgress *      gimp_new_progress                   (Gimp *gimp,
                                                         GimpObject *display);
void                gimp_free_progress                  (Gimp *gimp,
                                                         GimpProgress *progress);
const gchar *       gimp_get_program_class              (Gimp *gimp);
gchar *             gimp_get_display_name               (Gimp *gimp,
                                                         gint display_ID,
                                                         gint *monitor_number);
guint32             gimp_get_user_time                  (Gimp *gimp);
const gchar *       gimp_get_theme_dir                  (Gimp *gimp);
gboolean            gimp_pdb_dialog_new                 (Gimp *gimp,
                                                         GimpContext *context,
                                                         GimpProgress *progress,
                                                         GimpContainer *container,
                                                         const gchar *title,
                                                         const gchar *callback_name,
                                                         const gchar *object_name,
                                                         ...);
gboolean            gimp_pdb_dialog_set                 (Gimp *gimp,
                                                         GimpContainer *container,
                                                         const gchar *callback_name,
                                                         const gchar *object_name,
                                                         ...);
gboolean            gimp_pdb_dialog_close               (Gimp *gimp,
                                                         GimpContainer *container,
                                                         const gchar *callback_name);
gboolean            gimp_recent_list_add_uri            (Gimp *gimp,
                                                         const gchar *uri,
                                                         const gchar *mime_type);
void                gimp_recent_list_load               (Gimp *gimp);

Description

Details

struct GimpGui

struct GimpGui {
  void           (* ungrab)                (Gimp                *gimp);

  void           (* threads_enter)         (Gimp                *gimp);
  void           (* threads_leave)         (Gimp                *gimp);

  void           (* set_busy)              (Gimp                *gimp);
  void           (* unset_busy)            (Gimp                *gimp);

  void           (* show_message)          (Gimp                *gimp,
                                            GObject             *handler,
                                            GimpMessageSeverity  severity,
                                            const gchar         *domain,
                                            const gchar         *message);
  void           (* help)                  (Gimp                *gimp,
                                            GimpProgress        *progress,
                                            const gchar         *help_domain,
                                            const gchar         *help_id);

  const gchar  * (* get_program_class)     (Gimp                *gimp);
  gchar        * (* get_display_name)      (Gimp                *gimp,
                                            gint                 display_ID,
                                            gint                *monitor_number);
  guint32        (* get_user_time)         (Gimp                *gimp);

  const gchar  * (* get_theme_dir)         (Gimp                *gimp);

  GimpObject   * (* get_window_strategy)   (Gimp                *gimp);
  GimpObject   * (* get_empty_display)     (Gimp                *gimp);
  GimpObject   * (* display_get_by_id)     (Gimp                *gimp,
                                            gint                 ID);
  gint           (* display_get_id)        (GimpObject          *display);
  guint32        (* display_get_window_id) (GimpObject          *display);
  GimpObject   * (* display_create)        (Gimp                *gimp,
                                            GimpImage           *image,
                                            GimpUnit             unit,
                                            gdouble              scale);
  void           (* display_delete)        (GimpObject          *display);
  void           (* displays_reconnect)    (Gimp                *gimp,
                                            GimpImage           *old_image,
                                            GimpImage           *new_image);

  GimpProgress * (* progress_new)          (Gimp                *gimp,
                                            GimpObject          *display);
  void           (* progress_free)         (Gimp                *gimp,
                                            GimpProgress        *progress);

  gboolean       (* pdb_dialog_new)        (Gimp                *gimp,
                                            GimpContext         *context,
                                            GimpProgress        *progress,
                                            GimpContainer       *container,
                                            const gchar         *title,
                                            const gchar         *callback_name,
                                            const gchar         *object_name,
                                            va_list              args);
  gboolean       (* pdb_dialog_set)        (Gimp                *gimp,
                                            GimpContainer       *container,
                                            const gchar         *callback_name,
                                            const gchar         *object_name,
                                            va_list              args);
  gboolean       (* pdb_dialog_close)      (Gimp                *gimp,
                                            GimpContainer       *container,
                                            const gchar         *callback_name);
  gboolean       (* recent_list_add_uri)   (Gimp                *gimp,
                                            const gchar         *uri,
                                            const gchar         *mime_type);
  void           (* recent_list_load)      (Gimp                *gimp);
};


gimp_gui_init ()

void                gimp_gui_init                       (Gimp *gimp);


gimp_gui_ungrab ()

void                gimp_gui_ungrab                     (Gimp *gimp);


gimp_threads_enter ()

void                gimp_threads_enter                  (Gimp *gimp);


gimp_threads_leave ()

void                gimp_threads_leave                  (Gimp *gimp);


gimp_get_window_strategy ()

GimpObject *        gimp_get_window_strategy            (Gimp *gimp);


gimp_get_empty_display ()

GimpObject *        gimp_get_empty_display              (Gimp *gimp);


gimp_get_display_by_ID ()

GimpObject *        gimp_get_display_by_ID              (Gimp *gimp,
                                                         gint ID);


gimp_get_display_ID ()

gint                gimp_get_display_ID                 (Gimp *gimp,
                                                         GimpObject *display);


gimp_get_display_window_id ()

guint32             gimp_get_display_window_id          (Gimp *gimp,
                                                         GimpObject *display);


gimp_create_display ()

GimpObject *        gimp_create_display                 (Gimp *gimp,
                                                         GimpImage *image,
                                                         GimpUnit unit,
                                                         gdouble scale);


gimp_delete_display ()

void                gimp_delete_display                 (Gimp *gimp,
                                                         GimpObject *display);


gimp_reconnect_displays ()

void                gimp_reconnect_displays             (Gimp *gimp,
                                                         GimpImage *old_image,
                                                         GimpImage *new_image);


gimp_set_busy ()

void                gimp_set_busy                       (Gimp *gimp);


gimp_set_busy_until_idle ()

void                gimp_set_busy_until_idle            (Gimp *gimp);


gimp_unset_busy ()

void                gimp_unset_busy                     (Gimp *gimp);


gimp_show_message ()

void                gimp_show_message                   (Gimp *gimp,
                                                         GObject *handler,
                                                         GimpMessageSeverity severity,
                                                         const gchar *domain,
                                                         const gchar *message);


gimp_help ()

void                gimp_help                           (Gimp *gimp,
                                                         GimpProgress *progress,
                                                         const gchar *help_domain,
                                                         const gchar *help_id);


gimp_new_progress ()

GimpProgress *      gimp_new_progress                   (Gimp *gimp,
                                                         GimpObject *display);


gimp_free_progress ()

void                gimp_free_progress                  (Gimp *gimp,
                                                         GimpProgress *progress);


gimp_get_program_class ()

const gchar *       gimp_get_program_class              (Gimp *gimp);


gimp_get_display_name ()

gchar *             gimp_get_display_name               (Gimp *gimp,
                                                         gint display_ID,
                                                         gint *monitor_number);


gimp_get_user_time ()

guint32             gimp_get_user_time                  (Gimp *gimp);

Returns the timestamp of the last user interaction. The timestamp is taken from events caused by user interaction such as key presses or pointer movements. See gdk_x11_display_get_user_time().

Returns :

the timestamp of the last user interaction

gimp_get_theme_dir ()

const gchar *       gimp_get_theme_dir                  (Gimp *gimp);


gimp_pdb_dialog_new ()

gboolean            gimp_pdb_dialog_new                 (Gimp *gimp,
                                                         GimpContext *context,
                                                         GimpProgress *progress,
                                                         GimpContainer *container,
                                                         const gchar *title,
                                                         const gchar *callback_name,
                                                         const gchar *object_name,
                                                         ...);


gimp_pdb_dialog_set ()

gboolean            gimp_pdb_dialog_set                 (Gimp *gimp,
                                                         GimpContainer *container,
                                                         const gchar *callback_name,
                                                         const gchar *object_name,
                                                         ...);


gimp_pdb_dialog_close ()

gboolean            gimp_pdb_dialog_close               (Gimp *gimp,
                                                         GimpContainer *container,
                                                         const gchar *callback_name);


gimp_recent_list_add_uri ()

gboolean            gimp_recent_list_add_uri            (Gimp *gimp,
                                                         const gchar *uri,
                                                         const gchar *mime_type);


gimp_recent_list_load ()

void                gimp_recent_list_load               (Gimp *gimp);