On Fri, Oct 10, 2008 at 3:31 PM, paul taney <paultaney@xxxxxxxxx> 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 _______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer