Gimp.brush_select_new
function brush_select_new(title: String, brush_name: String, opacity: Number(gdouble), spacing: Number(gint), paint_mode: Gimp.LayerMode): String {
// Gjs 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.
- Returns
the name of a temporary PDB procedure. The string belongs to the brush selection dialog and will be freed automatically when the dialog is closed.