Re: [Gimp-developer] PF_FILE of the register function in python plugins with 'new file' support (Scott)

2010-01-12 Thread David Gowers
On Wed, Jan 13, 2010 at 5:52 PM, Mathias Lindner wrote: > "My way around this was to use a PF_DIRNAME immediately above the PF_STRING > and combining them for the total path." > > Ah, thank you very much. I wasn't aware of PF_DIRNAME. It's missing in the > GIMP Python docs. This way I have a nice

[Gimp-developer] PF_FILE of the register function in python plugins with 'new file' support

2010-01-12 Thread Scott
>Hi > >Imagine a python-fu plug-in with a GUI that is initialized through the >register function. >One of the elements is of the PF_FILE type to select a file. > >Unfortunately, the dialogue that pops up when entering a file only >allows the selection of an existing file. But I want to select a n

Re: [Gimp-developer] PF_FILE of the register function in python plugins with 'new file' support

2010-01-10 Thread Sven Neumann
On Sun, 2010-01-10 at 18:46 +0100, Mathias Lindner wrote: > Because it's much more effort to implement this. The GUI from the > register function is easy to learn and fast to implement. So I thought - > since this seems to be no extra functionality for the python interface - > it might be imple

Re: [Gimp-developer] PF_FILE of the register function in python plugins with 'new file' support

2010-01-10 Thread Mathias Lindner
Alexia Death schrieb: > On Sun, Jan 10, 2010 at 3:36 PM, Mathias Lindner > wrote: >> Hi >> >> Imagine a python-fu plug-in with a GUI that is initialized through the >> register function. >> One of the elements is of the PF_FILE type to select a file. > why not use pygtk and the gtk file chooser?

Re: [Gimp-developer] PF_FILE of the register function in python plugins with 'new file' support

2010-01-10 Thread Alexia Death
On Sun, Jan 10, 2010 at 3:36 PM, Mathias Lindner wrote: > Hi > > Imagine a python-fu plug-in with a GUI that is initialized through the > register function. > One of the elements is of the PF_FILE type to select a file. why not use pygtk and the gtk file chooser? -- --Alexia ___

[Gimp-developer] PF_FILE of the register function in python plugins with 'new file' support

2010-01-10 Thread Mathias Lindner
Hi Imagine a python-fu plug-in with a GUI that is initialized through the register function. One of the elements is of the PF_FILE type to select a file. Unfortunately, the dialogue that pops up when entering a file only allows the selection of an existing file. But I want to select a new file