Re: A question about python gimpfu - "home folder"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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.

I didnt find it (where is this menu?)...

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


BTW, I have noticed that this fails "trying to convert to Unicode".

    (PF_FILENAME, "filename", "Output file:", \
    os.path.expanduser("~/tmp.svg")),  # fails 

_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux