Gimp.BatchProcedure.set_interpreter_name
@accepts(Gimp.BatchProcedure, unicode)
@returns(none)
def set_interpreter_name(self, interpreter_name):
# Python wrapper for gimp_batch_procedure_set_interpreter_name()
Associates an interpreter name with a batch procedure.
This name can be used for any public-facing strings, such as graphical interface labels or command line usage. E.g. the command line interface could list all available interface, displaying both a procedure name and a "pretty printing" title.
Note that since the format name is public-facing, it is recommended to localize it at runtime, for instance through gettext, like:
```c gimp_batch_procedure_set_interpreter_name (procedure, _("Python 3")); ```
Some language would indeed localize even some technical terms or acronyms, even if sometimes just to rewrite them with the local writing system.
Since 3.0
- self
A batch procedure.
- interpreter_name
A public-facing name for the interpreter, e.g. "Python 3".