When you write a Gimp plugin in Python, either you do your whole
interactive UI with PyGTK, or you let Gimp auto-generate a dialog to
collect parameters from the user before calling you. Of course the
second solution is a bit less user-friendly(*) but in many scripts,
doing the whole UI would
You should IMHO prevent performing an operation when the input is invalid.
Yes, it's definitely easier to throw an exception, but those are IMHO
rather to deal with some unexpected errors.
On Sat, May 11, 2019, 23:44 Ofnuts wrote:
> If the plugin is for public use, gimp.message() is a better