GimpProcedure

GimpProcedure

Synopsis

GValueArray *       (*GimpMarshalFunc)                  (GimpProcedure *procedure,
                                                         Gimp *gimp,
                                                         GimpContext *context,
                                                         GimpProgress *progress,
                                                         const GValueArray *args,
                                                         GError **error);
                    GimpProcedure;
GimpProcedure *     gimp_procedure_new                  (GimpMarshalFunc marshal_func);
void                gimp_procedure_set_strings          (GimpProcedure *procedure,
                                                         const gchar *original_name,
                                                         const gchar *blurb,
                                                         const gchar *help,
                                                         const gchar *author,
                                                         const gchar *copyright,
                                                         const gchar *date,
                                                         const gchar *deprecated);
void                gimp_procedure_set_static_strings   (GimpProcedure *procedure,
                                                         const gchar *original_name,
                                                         const gchar *blurb,
                                                         const gchar *help,
                                                         const gchar *author,
                                                         const gchar *copyright,
                                                         const gchar *date,
                                                         const gchar *deprecated);
void                gimp_procedure_take_strings         (GimpProcedure *procedure,
                                                         gchar *original_name,
                                                         gchar *blurb,
                                                         gchar *help,
                                                         gchar *author,
                                                         gchar *copyright,
                                                         gchar *date,
                                                         gchar *deprecated);
void                gimp_procedure_add_argument         (GimpProcedure *procedure,
                                                         GParamSpec *pspec);
void                gimp_procedure_add_return_value     (GimpProcedure *procedure,
                                                         GParamSpec *pspec);
GValueArray *       gimp_procedure_get_arguments        (GimpProcedure *procedure);
GValueArray *       gimp_procedure_get_return_values    (GimpProcedure *procedure,
                                                         gboolean success,
                                                         const GError *error);
GimpProcedure *     gimp_procedure_create_override      (GimpProcedure *procedure,
                                                         GimpMarshalFunc new_marshal_func);
GValueArray *       gimp_procedure_execute              (GimpProcedure *procedure,
                                                         Gimp *gimp,
                                                         GimpContext *context,
                                                         GimpProgress *progress,
                                                         GValueArray *args,
                                                         GError **error);
void                gimp_procedure_execute_async        (GimpProcedure *procedure,
                                                         Gimp *gimp,
                                                         GimpContext *context,
                                                         GimpProgress *progress,
                                                         GValueArray *args,
                                                         GimpObject *display,
                                                         GError **error);
gint                gimp_procedure_name_compare         (GimpProcedure *proc1,
                                                         GimpProcedure *proc2);

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpProcedure
               +----GimpPlugInProcedure

Description

Details

GimpMarshalFunc ()

GValueArray *       (*GimpMarshalFunc)                  (GimpProcedure *procedure,
                                                         Gimp *gimp,
                                                         GimpContext *context,
                                                         GimpProgress *progress,
                                                         const GValueArray *args,
                                                         GError **error);


GimpProcedure

typedef struct _GimpProcedure GimpProcedure;


gimp_procedure_new ()

GimpProcedure *     gimp_procedure_new                  (GimpMarshalFunc marshal_func);


gimp_procedure_set_strings ()

void                gimp_procedure_set_strings          (GimpProcedure *procedure,
                                                         const gchar *original_name,
                                                         const gchar *blurb,
                                                         const gchar *help,
                                                         const gchar *author,
                                                         const gchar *copyright,
                                                         const gchar *date,
                                                         const gchar *deprecated);


gimp_procedure_set_static_strings ()

void                gimp_procedure_set_static_strings   (GimpProcedure *procedure,
                                                         const gchar *original_name,
                                                         const gchar *blurb,
                                                         const gchar *help,
                                                         const gchar *author,
                                                         const gchar *copyright,
                                                         const gchar *date,
                                                         const gchar *deprecated);


gimp_procedure_take_strings ()

void                gimp_procedure_take_strings         (GimpProcedure *procedure,
                                                         gchar *original_name,
                                                         gchar *blurb,
                                                         gchar *help,
                                                         gchar *author,
                                                         gchar *copyright,
                                                         gchar *date,
                                                         gchar *deprecated);


gimp_procedure_add_argument ()

void                gimp_procedure_add_argument         (GimpProcedure *procedure,
                                                         GParamSpec *pspec);


gimp_procedure_add_return_value ()

void                gimp_procedure_add_return_value     (GimpProcedure *procedure,
                                                         GParamSpec *pspec);


gimp_procedure_get_arguments ()

GValueArray *       gimp_procedure_get_arguments        (GimpProcedure *procedure);


gimp_procedure_get_return_values ()

GValueArray *       gimp_procedure_get_return_values    (GimpProcedure *procedure,
                                                         gboolean success,
                                                         const GError *error);


gimp_procedure_create_override ()

GimpProcedure *     gimp_procedure_create_override      (GimpProcedure *procedure,
                                                         GimpMarshalFunc new_marshal_func);

Creates a new GimpProcedure that can be used to override the existing procedure.

Returns :

The new GimpProcedure.

gimp_procedure_execute ()

GValueArray *       gimp_procedure_execute              (GimpProcedure *procedure,
                                                         Gimp *gimp,
                                                         GimpContext *context,
                                                         GimpProgress *progress,
                                                         GValueArray *args,
                                                         GError **error);


gimp_procedure_execute_async ()

void                gimp_procedure_execute_async        (GimpProcedure *procedure,
                                                         Gimp *gimp,
                                                         GimpContext *context,
                                                         GimpProgress *progress,
                                                         GValueArray *args,
                                                         GimpObject *display,
                                                         GError **error);


gimp_procedure_name_compare ()

gint                gimp_procedure_name_compare         (GimpProcedure *proc1,
                                                         GimpProcedure *proc2);