1 hour ago
If you’re developing Python plug-ins or Script-Fu scripts for GIMP 3, you’ll know the frustration of tracking down correct enum values. The official API docs are written for C developers, leaving Python authors to piece things together from source code, forum posts, and trial and error.
I’ve put together what I hope is the definitive reference: every enum available in GIMP 3.0, compiled directly from a live GIMP 3.0.8 instance using a Python-Fu console script. That means the values are guaranteed accurate for that version. And the script is available as a free download so you can regenerate the complete listing for any future GIMP 3 release.
Each enum includes:
Every enum has a plain-English description written specifically for Python and Script-Fu developers.
https://www.chuckhenrich.com/gimp-3-pyth...reference/
Comments/suggestions welcome.
I’ve put together what I hope is the definitive reference: every enum available in GIMP 3.0, compiled directly from a live GIMP 3.0.8 instance using a Python-Fu console script. That means the values are guaranteed accurate for that version. And the script is available as a free download so you can regenerate the complete listing for any future GIMP 3 release.
Each enum includes:
- the Python form you actually use in your plug-ins (e.g. Gimp.LayerMode.NORMAL)
- the uppercase PDB identifier, most useful when cross-referencing with the C API docs or porting code from GIMP 2.x Script-Fu scripts
- the raw integer value for legacy Script-Fu work
- the GEGL nickname for serialisation.
Every enum has a plain-English description written specifically for Python and Script-Fu developers.
https://www.chuckhenrich.com/gimp-3-pyth...reference/
Comments/suggestions welcome.


