# GimpUi.BrushSelectButton.get_brush

    @accepts(GimpUi.BrushSelectButton, float, int, Gimp.LayerMode)
    @returns(unicode)
    def get_brush(self, opacity, spacing, paint_mode):
        # Python wrapper for gimp_brush_select_button_get_brush()

Retrieves the properties of currently selected brush.

Since 2.4

self

  A GimpUi.BrushSelectButton

opacity

  Opacity of the selected brush.

spacing

  Spacing of the selected brush.

paint_mode

  Paint mode of the selected brush.

Returns