[Gimp-user] Editing gimpfu.py
>If you write a plug-in for the "Load" menu for instance it requires >two PF_STRINGs as input parameters 1 and 2 and a PF_IMAGE as output >parameter 1. -- PyFu_NOOB (via www.gimpusers.com/forums) ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list
[Gimp-user] Editing gimpfu.py
>Describe the goal, not a step. > >There is a reason for what you want to do, please tell us. > >Tell us about the reasoning that led you to modify this file, and >describe what you want to achieve. I am only adding print statements to gimpfu.py so I can see what's going on. As for _query() I discovered it is only called when registration is changed. If you write a plug-in for the menu for instance it requires two PF_STRINGs as input parameters 1 and 2 and a PF_IMAGE as output parameter 1. I wish to find out where in the code this is determined so I can see what input/output parameters are required for each menu location. -- PyFu_NOOB (via www.gimpusers.com/forums) ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list
Re: [Gimp-user] Editing gimpfu.py
On 06/21/2017 12:38 PM, PyFu_NOOB wrote: > Using GIMP 2.8.10 on Windows, Python 2.7.1. > > Making changes to function _query() seems to have no effect. Changes to other > functions in the module do take effect. > > Is _query() called at all? > > Also where is _run(proc_name, params) called from? I wish to know where the > params argument is created. Describe the goal, not a step. There is a reason for what you want to do, please tell us. Tell us about the reasoning that led you to modify this file, and describe what you want to achieve. -- Regards, Michael GPG: 96A8 B38A 728A 577D 724D 60E5 F855 53EC B36D 4CDD ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list
[Gimp-user] Editing gimpfu.py
Using GIMP 2.8.10 on Windows, Python 2.7.1. Making changes to function _query() seems to have no effect. Changes to other functions in the module do take effect. Is _query() called at all? Also where is _run(proc_name, params) called from? I wish to know where the params argument is created. -- PyFu_NOOB (via www.gimpusers.com/forums) ___ gimp-user-list mailing list List address:gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list