Previous | Next

Procedure browser to Python


layer = pdb.gimp_text_fontname(img, None, 0, 0,
                               initstr, 10, True,
                               size, PIXELS, font)

The PDB browser is written for script-fu. Sometimes it doesn't exactly match what you need in Python.

For instance, that function name has dashes in it. Obviously that wouldn't work in Python -- they'd be seen as minus signs.

So change dashes to underscores.