[Gimp-developer] A question about python gimpfu - "home folder"
Chris Mohler
cr33dog at gmail.com
Fri Oct 10 12:13:16 PDT 2008
On Fri, Oct 10, 2008 at 2:28 AM, David Gowers <00ai99 at gmail.com> wrote:
[...]
>>
>> And (in the interest of being a pest) a follow-up:
>>
>> Can I attach a plug-in to the Palettes sub-menu?
> Other python plugins, like the 'Sort palette' plugin, certainly do.
Hmm - I can't seem to figure this out. When I register a plug-in on
the Palettes menu, the 'PF_FILE' parameter seems to be ignored. Can
someone please take a look at the attached test script? Instead of
getting a GUI file chooser, the main plug-in function is executed, and
the the name of the currently selected palette is passed instead of
"this_file"
Attaching to another menu (<Toolbox>/Xtns/, for example) works as expected.
Thanks,
Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_attach.py
Type: text/x-python
Size: 547 bytes
Desc: not available
Url : /lists/gimp-developer/attachments/20081010/cc98f8f4/attachment.py
More information about the Gimp-developer
mailing list