Scripts in Gimp, whether in scheme, or in python, are running in one of three modes:
1 Interactive
2 Non-Interactive
3 Reuse last values.
From a scheme written plugin, determining the mode is easy since it is passed in as a parameter.
How (if it is even possible) is it done in a python-fu plugin?
(I have a plugin which has to return two values visually (via gimp-message) if in interactive mode, or as a tuple (gimp list) if otherwise...)
_________________
The answer was 42. The question is long forgotten. The computer that solved it is now destroyed.
The MK-2 has been built. Should this be the next question?
(Solve if you can ...
)