It seems the widget is missing the label:
Also, it doesn’t support the selection of directories, which is a problem (in my 2.10 scripts I have 21 instances of PF_DIRNAME
versus 5 of PF_FILE
/PF_FILENAME
).
As far as I can tell from the code it uses GTK_FILE_CHOOSER_ACTION_OPEN
that precludes:
- Using a directory
- Creating an output file (which is already a problem in Gimp 2.x)
Gtk.FileChooserAction defines three more flags that would fulfill all needs, so can these be included (perhaps as an additional flag parameter?)