GimpPDB

GimpPDB

Synopsis

                    GimpPDB;
GimpPDB *           gimp_pdb_new                        (Gimp *gimp);
void                gimp_pdb_register_procedure         (GimpPDB *pdb,
                                                         GimpProcedure *procedure);
void                gimp_pdb_unregister_procedure       (GimpPDB *pdb,
                                                         GimpProcedure *procedure);
GimpProcedure *     gimp_pdb_lookup_procedure           (GimpPDB *pdb,
                                                         const gchar *name);
void                gimp_pdb_register_compat_proc_name  (GimpPDB *pdb,
                                                         const gchar *old_name,
                                                         const gchar *new_name);
const gchar *       gimp_pdb_lookup_compat_proc_name    (GimpPDB *pdb,
                                                         const gchar *old_name);
GValueArray *       gimp_pdb_execute_procedure_by_name_args
                                                        (GimpPDB *pdb,
                                                         GimpContext *context,
                                                         GimpProgress *progress,
                                                         GError **error,
                                                         const gchar *name,
                                                         GValueArray *args);
GValueArray *       gimp_pdb_execute_procedure_by_name  (GimpPDB *pdb,
                                                         GimpContext *context,
                                                         GimpProgress *progress,
                                                         GError **error,
                                                         const gchar *name,
                                                         ...);
GList *             gimp_pdb_get_deprecated_procedures  (GimpPDB *pdb);

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpPDB

Signals

  "register-procedure"                             : Run First
  "unregister-procedure"                           : Run First

Description

Details

GimpPDB

typedef struct _GimpPDB GimpPDB;


gimp_pdb_new ()

GimpPDB *           gimp_pdb_new                        (Gimp *gimp);


gimp_pdb_register_procedure ()

void                gimp_pdb_register_procedure         (GimpPDB *pdb,
                                                         GimpProcedure *procedure);


gimp_pdb_unregister_procedure ()

void                gimp_pdb_unregister_procedure       (GimpPDB *pdb,
                                                         GimpProcedure *procedure);


gimp_pdb_lookup_procedure ()

GimpProcedure *     gimp_pdb_lookup_procedure           (GimpPDB *pdb,
                                                         const gchar *name);


gimp_pdb_register_compat_proc_name ()

void                gimp_pdb_register_compat_proc_name  (GimpPDB *pdb,
                                                         const gchar *old_name,
                                                         const gchar *new_name);


gimp_pdb_lookup_compat_proc_name ()

const gchar *       gimp_pdb_lookup_compat_proc_name    (GimpPDB *pdb,
                                                         const gchar *old_name);


gimp_pdb_execute_procedure_by_name_args ()

GValueArray *       gimp_pdb_execute_procedure_by_name_args
                                                        (GimpPDB *pdb,
                                                         GimpContext *context,
                                                         GimpProgress *progress,
                                                         GError **error,
                                                         const gchar *name,
                                                         GValueArray *args);


gimp_pdb_execute_procedure_by_name ()

GValueArray *       gimp_pdb_execute_procedure_by_name  (GimpPDB *pdb,
                                                         GimpContext *context,
                                                         GimpProgress *progress,
                                                         GError **error,
                                                         const gchar *name,
                                                         ...);


gimp_pdb_get_deprecated_procedures ()

GList *             gimp_pdb_get_deprecated_procedures  (GimpPDB *pdb);

Returns :

A new GList with the deprecated procedures. Free with g_list_free().

Signal Details

The "register-procedure" signal

void                user_function                      (GimpPDB       *gimppdb,
                                                        GimpProcedure *arg1,
                                                        gpointer       user_data)      : Run First

gimppdb :

the object which received the signal.

user_data :

user data set when the signal handler was connected.

The "unregister-procedure" signal

void                user_function                      (GimpPDB       *gimppdb,
                                                        GimpProcedure *arg1,
                                                        gpointer       user_data)      : Run First

gimppdb :

the object which received the signal.

user_data :

user data set when the signal handler was connected.