GimpUi.BrushSelectButton.set_brush
@accepts(GimpUi.BrushSelectButton, unicode, float, int, Gimp.LayerMode)
@returns(none)
def set_brush(self, brush_name, opacity, spacing, paint_mode):
# Python wrapper for gimp_brush_select_button_set_brush()
Sets the current brush and other values for the brush select button.
Since 2.4
- self
- brush_name
Brush name to set; None means no change.
- opacity
Opacity to set. -1.0 means no change.
- spacing
Spacing to set. -1 means no change.
- paint_mode
Paint mode to set. -1 means no change.