Gimp.brushes_popup

@accepts(unicode, unicode, unicode, float, int, Gimp.LayerMode)
@returns(bool)
def brushes_popup(brush_callback, popup_title, initial_brush, opacity, spacing, paint_mode):
    # Python wrapper for gimp_brushes_popup()
  

Invokes the Gimp brush selection.

This procedure opens the brush selection dialog.

brush_callback

The callback PDB proc to call when brush selection is made.

popup_title

Title of the brush selection dialog.

initial_brush

The name of the brush to set as the first selected.

opacity

The initial opacity of the brush.

spacing

The initial spacing of the brush (if < 0 then use brush default spacing).

paint_mode

The initial paint mode.

Returns