Previous | Next

Procedure browser to Python


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

This function can either apply to an existing layer, or make a new layer.

It says to use -1 if you want a new layer, but that's for script-fu.

In Python, use None to indicate that you don't want an existing value.