# Gimp.brushes_popup

    function brushes_popup(brush_callback: String, popup_title: String, initial_brush: String, opacity: Number(gdouble), spacing: Number(gint), paint_mode: Gimp.LayerMode): Boolean {
        // Gjs 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

  TRUE on success.