[Gimp-developer] GIMP plug-in disabled.

Dream Artist Aspiring raajahamsa at gmail.com
Tue Sep 12 09:21:56 PDT 2006


Thank you very much. That worked for me. But, my initial idea for this
plugin is that, if I select this option from menu; it will create a new
image and layer and draw a circle on that layer. Now, it looks like I will
have to create an image and just draw a circle on it. Thanks again for the
help..

On 9/12/06, David Gowers <00ai99 at gmail.com> wrote:
>
>
>
> On 9/13/06, Dream Artist Aspiring <raajahamsa at gmail.com> wrote:
> >
> > Hi, Thank you very much for the reply. Here is the registration code. If
> > not in Xtns, where should I put this?
> >
> > static void
> > query (void)
> > {
> >   static GimpParamDef args[] =
> >     {
> >       {
> >     GIMP_PDB_INT32,
> >     "run-mode",
> >     "Run mode"
> >       },
> >       {
> >     GIMP_PDB_INT32,
> >     "image",
> >     "Input image"
> >       },
> >       {
> >     GIMP_PDB_INT32,
> >     "drawable",
> >     "Input drawable"
> >       }
> >     };
> >
> >   gimp_install_procedure (
> >               "plug-in-testp",
> >               "TestP",
> >               "A Test Plugin",
> >               " ",
> >               " ",
> >               "2006",
> >               "_testp",
> >               "RGB*, GRAY*",
> >               GIMP_PLUGIN,
> >               G_N_ELEMENTS (args), 0,
> >               args, NULL);
> >
> >   gimp_plugin_menu_register ("plug-in-testp",
> >                              "<Toolbox>/Xtns/Plugins/Misc");
> >
>
> That all looks OK, except the path. I suggest something like
> "<Image>/Test/Testplugin". I think that plugins have to be registered in
> the image menus to be repeatable, too.
> Certainly the ones of mine that reside in the toolbox are not repeatable.
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /lists/gimp-developer/attachments/20060912/acd4a1be/attachment.html


More information about the Gimp-developer mailing list