Gimp.context_set_mypaint_brush

@accepts(unicode)
@returns(bool)
def context_set_mypaint_brush(name):
    # Python wrapper for gimp_context_set_mypaint_brush()
  

Set the specified MyPaint brush as the active MyPaint brush.

This procedure allows the active MyPaint brush to be set by specifying its name. The name is simply a string which corresponds to one of the names of the installed MyPaint brushes. If there is no matching MyPaint brush found, this procedure will return an error. Otherwise, the specified MyPaint brush becomes active and will be used in all subsequent MyPaint paint operations.

Since 2.10

name

The name of the MyPaint brush.

Returns