Re: [Gimp-developer] A question about python gimpfu - "home folder"

2008-10-10 Thread Chris Mohler
On Fri, Oct 10, 2008 at 3:31 PM, paul taney <[EMAIL PROTECTED]> 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 . >> > >> > def test_attach(p, this_file): >> >print "Test type(p): "

Re: [Gimp-developer] A question about python gimpfu - "home folder"

2008-10-10 Thread paul taney
--- On Fri, 10/10/08, Chris Mohler <[EMAIL PROTECTED]> wrote: > From: Chris Mohler <[EMAIL PROTECTED]> > Subject: Re: [Gimp-developer] A question about python gimpfu - "home folder" > To: [EMAIL PROTECTED] > Cc: "gimp" > Date: Friday, October 1

Re: [Gimp-developer] A question about python gimpfu - "home folder"

2008-10-10 Thread Chris Mohler
On Fri, Oct 10, 2008 at 2:56 PM, paul taney <[EMAIL PROTECTED]> wrote: > >> 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 (/Xtns/, for >

Re: [Gimp-developer] A question about python gimpfu - "home folder"

2008-10-10 Thread paul taney
> 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 (/Xtns/, for > example) works as expected. I didnt find it (where is this menu?)... Maybe a

Re: [Gimp-developer] A question about python gimpfu - "home folder"

2008-10-10 Thread Chris Mohler
On Fri, Oct 10, 2008 at 11:57 AM, paul taney <[EMAIL PROTECTED]> wrote: > > > > --- On Fri, 10/10/08, Chris Mohler <[EMAIL PROTECTED]> wrote: > >> From: Chris Mohler <[EMAIL PROTECTED]> >> Subject: Re: [Gimp-developer] A question about python gimpfu -

Re: [Gimp-developer] A question about python gimpfu - "home folder"

2008-10-10 Thread Chris Mohler
On Fri, Oct 10, 2008 at 2:28 AM, David Gowers <[EMAIL PROTECTED]> 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

Re: [Gimp-developer] A question about python gimpfu - "home folder"

2008-10-10 Thread paul taney
--- On Fri, 10/10/08, Chris Mohler <[EMAIL PROTECTED]> wrote: > From: Chris Mohler <[EMAIL PROTECTED]> > Subject: Re: [Gimp-developer] A question about python gimpfu - "home folder" > To: [EMAIL PROTECTED] > Cc: "gimp" > Date: Friday, October 10,

Re: [Gimp-developer] A question about python gimpfu - "home folder"

2008-10-10 Thread Chris Mohler
On Fri, Oct 10, 2008 at 10:11 AM, paul taney <[EMAIL PROTECTED]> wrote: > Hi, > >> >> Is there a method to discover the GIMP version >> and/or ~/.gimp folder >> >> that works across platform (from python)? >> gimp.directory > > > On a Mac running gimp2.4.5 > > print "gimp.directory = %s" % gimp.d

Re: [Gimp-developer] A question about python gimpfu - "home folder"

2008-10-10 Thread paul taney
Hi, > >> Is there a method to discover the GIMP version > and/or ~/.gimp folder > >> that works across platform (from python)? > gimp.directory On a Mac running gimp2.4.5 print "gimp.directory = %s" % gimp.directory prints gimp.directory = /Users/paultaney/Library/Application Support/Gim

Re: [Gimp-developer] A question about python gimpfu - "home folder"

2008-10-10 Thread David Gowers
Hi, On Fri, Oct 10, 2008 at 4:42 PM, Chris Mohler <[EMAIL PROTECTED]> wrote: > On Fri, Oct 10, 2008 at 12:24 AM, Chris Mohler <[EMAIL PROTECTED]> wrote: >> Hi list, >> >> I've been mucking around with a GIMP plugin a la python, and I have a >> question: >> >> Is there a method to discover the GIM

Re: [Gimp-developer] A question about python gimpfu - "home folder"

2008-10-09 Thread Chris Mohler
On Fri, Oct 10, 2008 at 12:24 AM, Chris Mohler <[EMAIL PROTECTED]> wrote: > Hi list, > > I've been mucking around with a GIMP plugin a la python, and I have a > question: > > Is there a method to discover the GIMP version and/or ~/.gimp folder > that works across platform (from python)? And (in t

[Gimp-developer] A question about python gimpfu - "home folder"

2008-10-09 Thread Chris Mohler
Hi list, I've been mucking around with a GIMP plugin a la python, and I have a question: Is there a method to discover the GIMP version and/or ~/.gimp folder that works across platform (from python)? Thanks, Chris ___ Gimp-developer mailing list Gimp-d