Method

GimpUiBrushSelectButtonset_brush

since: 2.4

Declaration [src]

void
gimp_brush_select_button_set_brush (
  GimpBrushSelectButton* button,
  const gchar* brush_name,
  gdouble opacity,
  gint spacing,
  GimpLayerMode paint_mode
)

Description [src]

Sets the current brush and other values for the brush select button.

Available since: 2.4

Parameters

brush_name

Type: const gchar*

Brush name to set; NULL means no change.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
opacity

Type: gdouble

Opacity to set. -1.0 means no change.

spacing

Type: gint

Spacing to set. -1 means no change.

paint_mode

Type: GimpLayerMode

Paint mode to set. -1 means no change.