Gimp.Brush.get_by_name

function get_by_name(name: String): Gimp.Brush {
    // Gjs wrapper for gimp_brush_get_by_name()
}
  

Returns the brush with the given name.

Search and return an existing brush with the name in argument, or nothing if no brush has this name.

Since 3.0

name

The name of the brush.

Returns

The brush.