[Gimp-developer] A question about python gimpfu - "home folder"
Chris Mohler
cr33dog at gmail.com
Fri Oct 10 13:39:05 PDT 2008
On Fri, Oct 10, 2008 at 3:31 PM, paul taney <paultaney at yahoo.com> wrote:
>> >
>> > Maybe a pallette or something is passed by default and
>> you have to have a placeholder for it -- as with (image,
>> drawable) when it lives at <Image>.
>> >
>> > def test_attach(p, this_file):
>> > print "Test type(p): " + type(p)
>> > print "Test file: " + this_file
>>
>> D'oh! - you are correct. I had to add a parameter when
>> registering:
>> [
>> (PF_PALETTE, "palette",
>> _("Palette"), ""),
>> (PF_FILE, "this_file",
>> _("File"), ""),
>> ]
>>
>> That seems odd to me - is this behavior documented
>> somewhere?
>
> I guessed :-)
>
> Not on http://www.gimp.org/docs/python/index.html
> Use the Aussie spelling to look for "palette".
> 2 occurances.
>
> Is there other gimpfu documentation? This is dated July 1999.
That's what I've been using. The procedure browser and python-fu
console are also very handy.
Chris
More information about the Gimp-developer
mailing list