I'm working on conversion of my Line Border script from script-fu to python-fu + Glade, because the script parameter dialogue does not fit to screen. The Glade interface is powerful and I'm able to implement much more functionality.
There is one problem. Script is registered without parameters, so each run of script means that default values are used. With the standard python-fu interface the previous values are remembered and user is able to correct only one wrong setting, rest remain from previous run.
The solution could be to store somewhere the setting and restore it when is script called again. I'm planning to implement profiles support (save/load current setting) so I need to know whether there is some special gimp variable/directory, where it could be stored. Is there something like this? Or I should use temp directory to store the previous setting and some own directory to store profiles?
Maybe this could be solved by gimp developers - add support for glade dialogues: allow to register script with parameters, but do not generate the python-fu parameter dialogue when glade file is present. This allows batch mode and gimp could re-run the script with the same parameters like last time.