PF_FILE of the register function in python plugins with 'new file' support

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

 



>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. So there should be a text box either in the file dialogue or in 
>the plug-in GUI that allows to enter any file name.
>The only workaround in the moment is a PF_STRING element. But this is 
>really inconvenient because the whole path has to be entered. A 
>graphical selection is much easier.
>
>Thanks in advance!
>Mathias
>
My way around this was to use a PF_DIRNAME immediately above the PF_STRING
and combining them for the total path.

-- 
Scott (via www.gimpusers.com)
_______________________________________________
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