# Gimp.brushes_set_popup

    @accepts(unicode, unicode, float, int, Gimp.LayerMode)
    @returns(bool)
    def brushes_set_popup(brush_callback, brush_name, opacity, spacing, paint_mode):
        # Python wrapper for gimp_brushes_set_popup()

Sets the current brush in a brush selection dialog.

Sets the current brush in a brush selection dialog.

brush_callback

  The name of the callback registered for this pop-up.

brush_name

  The name of the brush to set as 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