Gimp.FileProcedure.set_format_name
@accepts(Gimp.FileProcedure, unicode)
@returns(none)
def set_format_name(self, format_name):
# Python wrapper for gimp_file_procedure_set_format_name()
Associates a format name with a file handler procedure.
This name can be used for any public-facing strings, such as graphical interface labels. An example usage would be %GimpSaveProcedureDialog title looking like "Export Image as %s".
Note that since the format name is public-facing, it is recommended to localize it at runtime, for instance through gettext, like:
```c gimp_file_procedure_set_format_name (procedure, _("JPEG")); ```
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 file procedure.
- format_name
A public-facing name for the format, e.g. "PNG".