Gimp.brush_select_new

@accepts(unicode, unicode, float, int, Gimp.LayerMode, Gimp.RunBrushCallback, gpointer, GLib.DestroyNotify)
@returns(unicode)
def brush_select_new(title, brush_name, opacity, spacing, paint_mode, callback, data, data_destroy):
    # Python wrapper for gimp_brush_select_new()
  

Invokes a brush selection dialog then run callback with the selected brush, various settings and user's data.

title

Title of the brush selection dialog.

brush_name

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.

callback

The callback function to call each time a settings change.

data

the run_data given to callback.

data_destroy

the destroy function for data.

Returns