context_set_brush


Description:


[ Version ( since = "2.2" ) ]
public bool context_set_brush (Brush brush)

Set the active brush.

Sets the active brush in the current context. The brush will be used in subsequent paint and stroke operations. Returns an error when the brush data was uninstalled since the brush object was created.

Parameters:

brush

The brush.

Returns:

TRUE on success.


Namespace: Gimp
Package: gimp-3.0